| { | |
| "algorithm": "AES-FF1", | |
| "generatorVersion": "0.9rc5", | |
| "numberOfTests": 2417, | |
| "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": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "fb9fc869af3e4828da6efa18b5fa71a0", | |
| "tweak": "379f81cab6ed2517", | |
| "msg": [], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 1, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "7325733095d90aff456a1e00fa977365", | |
| "tweak": "a5f8950069a56f6c", | |
| "msg": [40], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 0, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 3, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "af2463f51df63a015178e30edcf25dacbeb2abbc5144d0a6", | |
| "tweak": "5d9c3dfb797c952a", | |
| "msg": [], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 1, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 4, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "e9e279f5fad3e7fd7922e838cf07da528ddcc5387f6145bf", | |
| "tweak": "a25989a2e4360bae", | |
| "msg": [19], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 0, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 5, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "f25e816c4d42629a428e48f2d48a31f79d6b1e8ef47e5ed3e7e5bbdf37f1806d", | |
| "tweak": "42dbc8913a275520", | |
| "msg": [], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 1, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 6, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "b8c800bed3286920bd1d9ad89a78808e9f815ec638663a725f256cc7078fdaf0", | |
| "tweak": "90120912eba3c19c", | |
| "msg": [35], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 2, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 7, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "ad65778960d778c614e2673dee073acb", | |
| "tweak": "4505f45a8fa30b90", | |
| "msg": [33, 31], | |
| "ct": [34, 37], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 3, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 8, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "aa6f23f573da39b110f4e155c418ba1f", | |
| "tweak": "8402018f66fd2cb9", | |
| "msg": [0, 36, 33], | |
| "ct": [2, 54, 47], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 2, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 9, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "911c9e0a87977587050ebb48f4f9e199fde8472781ecaf7a", | |
| "tweak": "cf98ea96ef005bc6", | |
| "msg": [1, 26], | |
| "ct": [49, 6], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 3, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 10, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "3c453964f4e42587db3a6de5de00673ede7e17672a4deb84", | |
| "tweak": "fe6290783f11946c", | |
| "msg": [47, 56, 7], | |
| "ct": [5, 7, 41], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 2, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 11, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "d05ae6e3819e2dcdd218be7c62465e8f1474f1fec8e79a1a3f7b88040d0f4160", | |
| "tweak": "823988f1ffb8ce23", | |
| "msg": [13, 29], | |
| "ct": [61, 21], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 3, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 12, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "1399758fa1ebf7cfda5f601c643443adaea4f4f8c19fc8772c5d5e3cc0cc6955", | |
| "tweak": "8c5a263a91b7cb4f", | |
| "msg": [5, 47, 36], | |
| "ct": [22, 55, 35], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 4, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 13, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "5dd5899794ff9b5007b4481aaa97f882", | |
| "tweak": "742f7f8b2ab0dc48", | |
| "msg": [35, 63, 18, 22], | |
| "ct": [34, 40, 60, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 14, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [0, 0, 0, 0], | |
| "ct": [35, 15, 45, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 15, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [63, 63, 63, 63], | |
| "ct": [22, 26, 26, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 16, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [32, 0, 32, 0], | |
| "ct": [43, 24, 34, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 17, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [31, 63, 31, 63], | |
| "ct": [1, 5, 16, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 18, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [2, 43, 3, 38], | |
| "ct": [33, 61, 13, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 19, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [62, 49, 47, 13], | |
| "ct": [54, 3, 59, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 20, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [1, 15, 20, 37], | |
| "ct": [55, 26, 1, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 21, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [46, 3, 47, 44], | |
| "ct": [36, 8, 9, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 22, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [7, 41, 26, 35], | |
| "ct": [33, 9, 28, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 23, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [25, 58, 33, 5], | |
| "ct": [39, 10, 43, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 24, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [19, 37, 27, 22], | |
| "ct": [8, 40, 6, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 25, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [63, 54, 36, 35], | |
| "ct": [54, 10, 61, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 26, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [52, 11, 11, 48], | |
| "ct": [0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 27, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [11, 15, 57, 57], | |
| "ct": [63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 28, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [4, 57, 17, 54], | |
| "ct": [32, 0, 32, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 29, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [43, 33, 31, 6], | |
| "ct": [31, 63, 31, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 30, | |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "22ca94dfc3b4dde5da900bf38c", | |
| "msg": [59, 62, 30, 41], | |
| "ct": [42, 7, 6, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 31, | |
| "comment": "y = 0 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "22ca94dfc3b4dde5da900bf38c", | |
| "msg": [16, 33, 20, 17], | |
| "ct": [20, 26, 10, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 32, | |
| "comment": "y = 0 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "22ca94dfc3b4dde5da900bf38c", | |
| "msg": [60, 17, 0, 47], | |
| "ct": [51, 41, 10, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 33, | |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "22ca94dfc3b4dde5da900bf38c", | |
| "msg": [15, 48, 17, 21], | |
| "ct": [28, 42, 37, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 34, | |
| "comment": "y = 1 and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "8a8e0bdedfaf7ce1915560ef62", | |
| "msg": [53, 63, 48, 62], | |
| "ct": [25, 16, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 35, | |
| "comment": "y = 1 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "8a8e0bdedfaf7ce1915560ef62", | |
| "msg": [20, 20, 40, 51], | |
| "ct": [25, 16, 0, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 36, | |
| "comment": "y = 1 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "8a8e0bdedfaf7ce1915560ef62", | |
| "msg": [55, 60, 7, 34], | |
| "ct": [25, 16, 32, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 37, | |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "8a8e0bdedfaf7ce1915560ef62", | |
| "msg": [24, 35, 4, 54], | |
| "ct": [25, 16, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 38, | |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "8a8e0bdedfaf7ce1915560ef62", | |
| "msg": [11, 45, 15, 60], | |
| "ct": [25, 16, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 39, | |
| "comment": "y is maximal and (y + a) % radix**2 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "c2ba173995293f493d03ae61fe", | |
| "msg": [3, 60, 55, 49], | |
| "ct": [13, 26, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 40, | |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "c2ba173995293f493d03ae61fe", | |
| "msg": [43, 15, 60, 11], | |
| "ct": [13, 26, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 41, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "c2ba173995293f493d03ae61fe", | |
| "msg": [7, 36, 26, 51], | |
| "ct": [13, 26, 31, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 42, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "c2ba173995293f493d03ae61fe", | |
| "msg": [50, 61, 60, 56], | |
| "ct": [13, 26, 63, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 43, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "e54433a5d6f6cdfc3f7e92055c", | |
| "msg": [32, 15, 47, 0], | |
| "ct": [10, 59, 63, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 44, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "e54433a5d6f6cdfc3f7e92055c", | |
| "msg": [31, 5, 23, 21], | |
| "ct": [10, 59, 63, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 45, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "e54433a5d6f6cdfc3f7e92055c", | |
| "msg": [32, 49, 33, 1], | |
| "ct": [10, 59, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 46, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "e54433a5d6f6cdfc3f7e92055c", | |
| "msg": [21, 29, 26, 30], | |
| "ct": [10, 59, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 47, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "e54433a5d6f6cdfc3f7e92055c", | |
| "msg": [62, 35, 21, 63], | |
| "ct": [10, 59, 31, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 48, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "e54433a5d6f6cdfc3f7e92055c", | |
| "msg": [18, 27, 12, 19], | |
| "ct": [10, 59, 62, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 49, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "bfc2e0e87a8cc7a0bef375ce3d", | |
| "msg": [41, 31, 62, 51], | |
| "ct": [63, 63, 42, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 50, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "bfc2e0e87a8cc7a0bef375ce3d", | |
| "msg": [53, 18, 43, 8], | |
| "ct": [0, 0, 48, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 51, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "bfc2e0e87a8cc7a0bef375ce3d", | |
| "msg": [54, 50, 5, 33], | |
| "ct": [31, 63, 61, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 52, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "bfc2e0e87a8cc7a0bef375ce3d", | |
| "msg": [48, 27, 54, 45], | |
| "ct": [63, 62, 5, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 53, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8a74f1cae832ef8d58c26b49157c187b", | |
| "tweak": "d7b8bdae53aba381", | |
| "msg": [-1, 44, 11, 56], | |
| "ct": [31, 35, 7, 40], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 54, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8a74f1cae832ef8d58c26b49157c187b", | |
| "tweak": "d7b8bdae53aba381", | |
| "msg": [36, -1, 11, 56], | |
| "ct": [51, 13, 48, 51], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 55, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8a74f1cae832ef8d58c26b49157c187b", | |
| "tweak": "d7b8bdae53aba381", | |
| "msg": [36, 44, 11, -1], | |
| "ct": [38, 20, 26, 53], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 56, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d600f52590bcf531eb1d1b45dfdd4825", | |
| "tweak": "9b77188de6f4fcbd", | |
| "msg": [64, 12, 57, 53], | |
| "ct": [6, 32, 32, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 57, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d600f52590bcf531eb1d1b45dfdd4825", | |
| "tweak": "9b77188de6f4fcbd", | |
| "msg": [58, 64, 57, 53], | |
| "ct": [56, 46, 63, 62], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 58, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d600f52590bcf531eb1d1b45dfdd4825", | |
| "tweak": "9b77188de6f4fcbd", | |
| "msg": [58, 12, 57, 64], | |
| "ct": [32, 27, 48, 48], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 5, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 59, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "0319599d6c7ca301230ec2b06c681097", | |
| "tweak": "125fd8f86c787e2d", | |
| "msg": [0, 41, 19, 9, 34], | |
| "ct": [44, 11, 34, 0, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 60, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [0, 0, 0, 0, 0], | |
| "ct": [18, 0, 46, 31, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 61, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [63, 63, 63, 63, 63], | |
| "ct": [18, 46, 8, 47, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 62, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [32, 0, 32, 0, 0], | |
| "ct": [59, 18, 62, 18, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 63, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [31, 63, 31, 63, 63], | |
| "ct": [26, 1, 29, 38, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 64, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [54, 30, 0, 2, 41], | |
| "ct": [44, 3, 19, 44, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 65, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [37, 43, 35, 44, 18], | |
| "ct": [38, 1, 7, 16, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 66, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [54, 13, 51, 23, 27], | |
| "ct": [52, 13, 37, 29, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 67, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [59, 38, 37, 15, 12], | |
| "ct": [19, 42, 54, 63, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 68, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [30, 33, 30, 31, 42], | |
| "ct": [50, 44, 35, 60, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 69, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [40, 53, 52, 22, 16], | |
| "ct": [16, 11, 4, 59, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 70, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [16, 18, 61, 14, 2], | |
| "ct": [47, 16, 56, 22, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 71, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [1, 27, 3, 35, 16], | |
| "ct": [57, 0, 33, 23, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 72, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [48, 50, 46, 59, 20], | |
| "ct": [0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 73, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [37, 10, 8, 14, 14], | |
| "ct": [63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 74, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [53, 22, 58, 52, 2], | |
| "ct": [32, 0, 32, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 75, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [18, 13, 8, 45, 37], | |
| "ct": [31, 63, 31, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 76, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "a73bdd667924a055e4e676cd", | |
| "msg": [32, 56, 20, 60, 17], | |
| "ct": [8, 23, 26, 30, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 77, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "a73bdd667924a055e4e676cd", | |
| "msg": [57, 48, 1, 58, 47], | |
| "ct": [27, 19, 45, 51, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 78, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "a73bdd667924a055e4e676cd", | |
| "msg": [31, 53, 9, 30, 23], | |
| "ct": [49, 23, 9, 49, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 79, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "a73bdd667924a055e4e676cd", | |
| "msg": [25, 2, 61, 20, 53], | |
| "ct": [30, 61, 26, 29, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 80, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "a73bdd667924a055e4e676cd", | |
| "msg": [50, 53, 21, 34, 4], | |
| "ct": [5, 10, 53, 34, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 81, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "a73bdd667924a055e4e676cd", | |
| "msg": [25, 11, 56, 8, 6], | |
| "ct": [52, 61, 13, 7, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 82, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "143c0fba8168001bb64e7379", | |
| "msg": [34, 14, 5, 34, 12], | |
| "ct": [33, 51, 45, 27, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 83, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "143c0fba8168001bb64e7379", | |
| "msg": [52, 31, 22, 19, 17], | |
| "ct": [17, 57, 43, 59, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 84, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "143c0fba8168001bb64e7379", | |
| "msg": [17, 60, 7, 57, 35], | |
| "ct": [7, 11, 59, 36, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 85, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "143c0fba8168001bb64e7379", | |
| "msg": [1, 57, 29, 24, 45], | |
| "ct": [48, 21, 17, 50, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 86, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", | |
| "tweak": "ea7fef1b2f555ad8", | |
| "msg": [-1, 57, 22, 33, 19], | |
| "ct": [11, 12, 30, 31, 51], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 87, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", | |
| "tweak": "ea7fef1b2f555ad8", | |
| "msg": [4, -1, 22, 33, 19], | |
| "ct": [51, 35, 46, 30, 0], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 88, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", | |
| "tweak": "ea7fef1b2f555ad8", | |
| "msg": [4, 57, 22, 33, -1], | |
| "ct": [10, 22, 2, 50, 4], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 89, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9b2927b6388a31a86714390db6f99b59", | |
| "tweak": "70aa79f9eb3447e2", | |
| "msg": [64, 21, 43, 12, 58], | |
| "ct": [34, 23, 42, 48, 60], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 90, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9b2927b6388a31a86714390db6f99b59", | |
| "tweak": "70aa79f9eb3447e2", | |
| "msg": [14, 64, 43, 12, 58], | |
| "ct": [16, 48, 14, 47, 15], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 91, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9b2927b6388a31a86714390db6f99b59", | |
| "tweak": "70aa79f9eb3447e2", | |
| "msg": [14, 21, 43, 12, 64], | |
| "ct": [57, 38, 13, 38, 6], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 6, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 92, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "474bbf2aff5c252419c49a07d50e2bdf", | |
| "tweak": "d64296c362368a3d", | |
| "msg": [39, 36, 50, 23, 42, 33], | |
| "ct": [34, 13, 48, 55, 8, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 93, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [0, 0, 0, 0, 0, 0], | |
| "ct": [27, 1, 62, 44, 3, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 94, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [63, 63, 63, 63, 63, 63], | |
| "ct": [33, 43, 51, 24, 18, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 95, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [32, 0, 0, 32, 0, 0], | |
| "ct": [59, 60, 58, 14, 15, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 96, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [31, 63, 63, 31, 63, 63], | |
| "ct": [11, 52, 15, 3, 33, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 97, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [33, 12, 14, 61, 4, 26], | |
| "ct": [60, 28, 10, 2, 16, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 98, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [63, 29, 60, 34, 47, 45], | |
| "ct": [11, 37, 23, 24, 36, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 99, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [27, 61, 2, 19, 47, 59], | |
| "ct": [32, 7, 12, 61, 40, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 100, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [61, 2, 49, 27, 12, 61], | |
| "ct": [10, 44, 43, 35, 1, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 101, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [30, 15, 17, 17, 1, 3], | |
| "ct": [27, 43, 4, 27, 9, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 102, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [40, 2, 55, 52, 41, 26], | |
| "ct": [30, 52, 33, 36, 4, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 103, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [42, 60, 37, 46, 43, 9], | |
| "ct": [19, 10, 25, 21, 22, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 104, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [36, 26, 41, 25, 44, 10], | |
| "ct": [55, 54, 5, 47, 63, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 105, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [3, 21, 62, 15, 55, 22], | |
| "ct": [0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 106, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [31, 55, 21, 23, 22, 38], | |
| "ct": [63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 107, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [37, 2, 1, 9, 61, 4], | |
| "ct": [32, 0, 0, 32, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 108, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [30, 26, 19, 50, 4, 10], | |
| "ct": [31, 63, 63, 31, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 109, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "969ed5aee638b33c1cf2db3d", | |
| "msg": [51, 48, 38, 4, 43, 27], | |
| "ct": [59, 60, 22, 38, 20, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 110, | |
| "comment": "y = 0 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "969ed5aee638b33c1cf2db3d", | |
| "msg": [40, 42, 53, 5, 15, 44], | |
| "ct": [31, 53, 27, 46, 10, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 111, | |
| "comment": "y = 0 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "969ed5aee638b33c1cf2db3d", | |
| "msg": [63, 5, 51, 24, 32, 11], | |
| "ct": [43, 14, 24, 27, 56, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 112, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "969ed5aee638b33c1cf2db3d", | |
| "msg": [13, 5, 34, 20, 20, 13], | |
| "ct": [24, 6, 55, 23, 3, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 113, | |
| "comment": "y = 1 and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "ef7976ba5037aa5eaab116fe", | |
| "msg": [50, 28, 12, 37, 3, 32], | |
| "ct": [34, 61, 31, 9, 3, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 114, | |
| "comment": "y = 1 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "ef7976ba5037aa5eaab116fe", | |
| "msg": [44, 62, 24, 16, 40, 58], | |
| "ct": [24, 63, 26, 2, 7, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 115, | |
| "comment": "y = 1 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "ef7976ba5037aa5eaab116fe", | |
| "msg": [24, 30, 36, 2, 47, 31], | |
| "ct": [26, 43, 38, 21, 63, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 116, | |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "ef7976ba5037aa5eaab116fe", | |
| "msg": [19, 49, 31, 44, 30, 39], | |
| "ct": [29, 55, 11, 33, 54, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 117, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "ef7976ba5037aa5eaab116fe", | |
| "msg": [61, 2, 31, 61, 0, 10], | |
| "ct": [10, 20, 14, 8, 20, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 118, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "f1dbe9ed989ec4a90ccfc4c3", | |
| "msg": [36, 17, 41, 36, 29, 3], | |
| "ct": [59, 21, 10, 54, 12, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 119, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "f1dbe9ed989ec4a90ccfc4c3", | |
| "msg": [19, 13, 4, 17, 59, 48], | |
| "ct": [31, 26, 11, 7, 8, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 120, | |
| "comment": "y is maximal and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "f1dbe9ed989ec4a90ccfc4c3", | |
| "msg": [50, 54, 3, 10, 43, 27], | |
| "ct": [42, 1, 30, 23, 38, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 121, | |
| "comment": "y is maximal and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "f1dbe9ed989ec4a90ccfc4c3", | |
| "msg": [1, 14, 19, 34, 31, 4], | |
| "ct": [35, 32, 45, 39, 21, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 122, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "b90c957a55a622719d8c9cee", | |
| "msg": [29, 28, 27, 6, 25, 15], | |
| "ct": [18, 55, 28, 22, 29, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 123, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "b90c957a55a622719d8c9cee", | |
| "msg": [63, 46, 6, 29, 3, 63], | |
| "ct": [29, 34, 29, 11, 57, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 124, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "b90c957a55a622719d8c9cee", | |
| "msg": [46, 13, 33, 62, 17, 29], | |
| "ct": [26, 30, 2, 4, 43, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 125, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "b90c957a55a622719d8c9cee", | |
| "msg": [3, 45, 59, 43, 27, 29], | |
| "ct": [19, 1, 52, 53, 1, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 126, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": [-1, 50, 4, 12, 47, 33], | |
| "ct": [54, 55, 3, 34, 22, 50], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 127, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": [32, 50, -1, 12, 47, 33], | |
| "ct": [4, 31, 9, 3, 22, 43], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 128, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": [32, 50, 4, 12, 47, -1], | |
| "ct": [8, 62, 37, 19, 4, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 129, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2e30ffe60124da692c553d837657163a", | |
| "tweak": "15dc2d2627697d86", | |
| "msg": [64, 15, 9, 30, 12, 25], | |
| "ct": [50, 26, 24, 0, 41, 0], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 130, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2e30ffe60124da692c553d837657163a", | |
| "tweak": "15dc2d2627697d86", | |
| "msg": [35, 15, 64, 30, 12, 25], | |
| "ct": [14, 16, 35, 27, 34, 59], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 131, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2e30ffe60124da692c553d837657163a", | |
| "tweak": "15dc2d2627697d86", | |
| "msg": [35, 15, 9, 30, 12, 64], | |
| "ct": [14, 42, 2, 35, 38, 9], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 7, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 132, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "20b2c30d44c72c32a4564541332f45c3", | |
| "tweak": "3de9de4b8736f463", | |
| "msg": [49, 59, 54, 54, 37, 8, 18], | |
| "ct": [61, 17, 0, 35, 30, 59, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 133, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [0, 0, 0, 0, 0, 0, 0], | |
| "ct": [30, 26, 17, 42, 32, 15, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 134, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [63, 63, 63, 63, 63, 63, 63], | |
| "ct": [59, 32, 26, 4, 33, 33, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 135, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [32, 0, 0, 32, 0, 0, 0], | |
| "ct": [62, 17, 45, 59, 43, 22, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 136, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [31, 63, 63, 31, 63, 63, 63], | |
| "ct": [59, 33, 34, 14, 4, 3, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 137, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [41, 3, 5, 43, 34, 52, 43], | |
| "ct": [34, 37, 33, 25, 4, 0, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 138, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [34, 15, 61, 49, 57, 18, 40], | |
| "ct": [32, 35, 45, 27, 26, 57, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 139, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [47, 21, 46, 25, 45, 45, 1], | |
| "ct": [63, 17, 24, 61, 25, 47, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 140, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [31, 19, 47, 36, 62, 39, 21], | |
| "ct": [57, 10, 51, 32, 24, 14, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 141, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [24, 42, 53, 33, 12, 30, 54], | |
| "ct": [29, 9, 35, 11, 0, 26, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 142, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [59, 53, 59, 13, 59, 40, 38], | |
| "ct": [13, 27, 15, 57, 62, 17, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 143, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [58, 49, 41, 29, 27, 42, 58], | |
| "ct": [33, 54, 7, 15, 37, 23, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 144, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [18, 3, 27, 18, 29, 60, 47], | |
| "ct": [52, 62, 34, 55, 14, 55, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 145, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [30, 11, 35, 60, 12, 39, 24], | |
| "ct": [0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 146, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [29, 51, 30, 0, 47, 24, 23], | |
| "ct": [63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 147, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [13, 50, 14, 28, 4, 37, 33], | |
| "ct": [32, 0, 0, 32, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 148, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [23, 28, 55, 16, 28, 60, 38], | |
| "ct": [31, 63, 63, 31, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 149, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "f4f034e7337ede5790ab8872", | |
| "msg": [10, 9, 37, 45, 16, 23, 63], | |
| "ct": [56, 52, 27, 49, 53, 11, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 150, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "f4f034e7337ede5790ab8872", | |
| "msg": [9, 50, 3, 44, 25, 61, 53], | |
| "ct": [54, 57, 39, 19, 55, 24, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 151, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "f4f034e7337ede5790ab8872", | |
| "msg": [39, 53, 61, 17, 38, 32, 8], | |
| "ct": [7, 31, 14, 42, 39, 0, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 152, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "f4f034e7337ede5790ab8872", | |
| "msg": [23, 7, 24, 33, 41, 0, 63], | |
| "ct": [57, 24, 50, 28, 13, 59, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 153, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "4afb665fd4309b09433740f5", | |
| "msg": [47, 0, 18, 6, 8, 9, 1], | |
| "ct": [21, 58, 22, 15, 15, 20, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 154, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "4afb665fd4309b09433740f5", | |
| "msg": [1, 12, 52, 9, 52, 8, 29], | |
| "ct": [31, 21, 58, 40, 54, 28, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 155, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "4afb665fd4309b09433740f5", | |
| "msg": [44, 47, 33, 61, 37, 17, 44], | |
| "ct": [29, 44, 17, 23, 10, 29, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 156, | |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "4afb665fd4309b09433740f5", | |
| "msg": [5, 7, 40, 38, 38, 11, 17], | |
| "ct": [23, 62, 61, 42, 57, 48, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 157, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "4afb665fd4309b09433740f5", | |
| "msg": [45, 57, 35, 7, 48, 29, 34], | |
| "ct": [2, 30, 20, 21, 36, 48, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 158, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "958e3ca676bc34a316b2bba8", | |
| "msg": [37, 58, 5, 62, 5, 19, 22], | |
| "ct": [32, 14, 9, 60, 19, 54, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 159, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "958e3ca676bc34a316b2bba8", | |
| "msg": [63, 60, 46, 52, 54, 20, 16], | |
| "ct": [1, 43, 15, 20, 42, 28, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 160, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "958e3ca676bc34a316b2bba8", | |
| "msg": [19, 13, 39, 58, 41, 43, 51], | |
| "ct": [43, 8, 23, 41, 8, 16, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 161, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "958e3ca676bc34a316b2bba8", | |
| "msg": [7, 25, 33, 41, 34, 46, 56], | |
| "ct": [26, 27, 20, 58, 10, 54, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 162, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "60861e05ad216032a4fe1b9c", | |
| "msg": [46, 11, 7, 47, 42, 13, 49], | |
| "ct": [54, 0, 11, 39, 18, 62, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 163, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "60861e05ad216032a4fe1b9c", | |
| "msg": [46, 19, 29, 43, 33, 7, 51], | |
| "ct": [53, 2, 14, 10, 58, 49, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 164, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "60861e05ad216032a4fe1b9c", | |
| "msg": [37, 55, 46, 21, 4, 48, 43], | |
| "ct": [8, 19, 25, 24, 38, 48, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 165, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "60861e05ad216032a4fe1b9c", | |
| "msg": [55, 4, 29, 7, 60, 58, 61], | |
| "ct": [1, 23, 46, 12, 34, 56, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 166, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "60861e05ad216032a4fe1b9c", | |
| "msg": [39, 57, 52, 7, 57, 10, 23], | |
| "ct": [17, 25, 11, 14, 63, 38, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 167, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "60861e05ad216032a4fe1b9c", | |
| "msg": [50, 22, 20, 61, 7, 60, 57], | |
| "ct": [43, 25, 19, 40, 4, 40, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 168, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "589bf338ddcb8c56af495fcc", | |
| "msg": [63, 45, 47, 34, 26, 4, 54], | |
| "ct": [47, 49, 49, 30, 53, 63, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 169, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "589bf338ddcb8c56af495fcc", | |
| "msg": [36, 61, 10, 24, 60, 14, 40], | |
| "ct": [22, 44, 48, 2, 60, 16, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 170, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "589bf338ddcb8c56af495fcc", | |
| "msg": [61, 42, 61, 45, 12, 35, 39], | |
| "ct": [32, 43, 7, 3, 41, 10, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 171, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "589bf338ddcb8c56af495fcc", | |
| "msg": [34, 24, 47, 52, 52, 1, 20], | |
| "ct": [16, 56, 28, 10, 34, 8, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 172, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": [-1, 10, 17, 61, 13, 18, 4], | |
| "ct": [34, 59, 5, 55, 19, 51, 18], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 173, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": [58, 10, -1, 61, 13, 18, 4], | |
| "ct": [56, 45, 14, 41, 3, 25, 38], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 174, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": [58, 10, 17, 61, 13, 18, -1], | |
| "ct": [28, 14, 4, 59, 27, 56, 63], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 175, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "72e286c4aa163f62176b31a16e524c75", | |
| "tweak": "ab3d5c86e9b7827f", | |
| "msg": [64, 51, 2, 57, 39, 6, 15], | |
| "ct": [20, 49, 61, 48, 2, 0, 60], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 176, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "72e286c4aa163f62176b31a16e524c75", | |
| "tweak": "ab3d5c86e9b7827f", | |
| "msg": [50, 51, 64, 57, 39, 6, 15], | |
| "ct": [27, 22, 51, 32, 63, 21, 38], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 177, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "72e286c4aa163f62176b31a16e524c75", | |
| "tweak": "ab3d5c86e9b7827f", | |
| "msg": [50, 51, 2, 57, 39, 6, 64], | |
| "ct": [23, 4, 36, 51, 15, 41, 50], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 8, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 178, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "60d83b209822c0d9b7033dca86444fa1", | |
| "tweak": "23ef05b155a108c4", | |
| "msg": [33, 58, 45, 53, 46, 26, 40, 55], | |
| "ct": [55, 60, 11, 44, 29, 29, 56, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 179, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [55, 54, 0, 57, 52, 39, 13, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 180, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [0, 18, 1, 11, 43, 21, 0, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 181, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [32, 0, 0, 0, 32, 0, 0, 0], | |
| "ct": [20, 12, 50, 43, 4, 11, 49, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 182, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [31, 63, 63, 63, 31, 63, 63, 63], | |
| "ct": [28, 50, 13, 29, 56, 47, 61, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 183, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [54, 53, 54, 37, 39, 55, 21, 42], | |
| "ct": [41, 19, 24, 17, 42, 62, 37, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 184, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [54, 31, 29, 14, 52, 6, 48, 47], | |
| "ct": [35, 8, 54, 8, 60, 26, 19, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 185, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [52, 35, 48, 44, 12, 17, 61, 60], | |
| "ct": [23, 39, 20, 5, 40, 55, 30, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 186, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [0, 47, 34, 43, 7, 20, 27, 51], | |
| "ct": [41, 49, 35, 31, 26, 57, 52, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 187, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [22, 27, 53, 55, 43, 34, 6, 43], | |
| "ct": [18, 1, 48, 11, 53, 27, 16, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 188, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [19, 25, 31, 7, 20, 51, 0, 15], | |
| "ct": [15, 60, 22, 34, 13, 21, 12, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 189, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [11, 35, 43, 44, 25, 1, 39, 40], | |
| "ct": [10, 44, 42, 59, 8, 40, 39, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 190, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [56, 1, 47, 47, 0, 4, 8, 4], | |
| "ct": [26, 39, 26, 38, 25, 37, 13, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 191, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [19, 55, 40, 51, 52, 58, 16, 49], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 192, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [10, 21, 5, 60, 18, 0, 9, 7], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 193, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [7, 36, 5, 58, 51, 22, 55, 16], | |
| "ct": [32, 0, 0, 0, 32, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 194, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [5, 16, 28, 33, 43, 55, 37, 23], | |
| "ct": [31, 63, 63, 63, 31, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 195, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "55c826ecf195b4ddf287e2a2", | |
| "msg": [7, 45, 62, 60, 45, 20, 49, 41], | |
| "ct": [16, 60, 5, 52, 0, 4, 44, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 196, | |
| "comment": "y = 0 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "55c826ecf195b4ddf287e2a2", | |
| "msg": [35, 59, 45, 1, 4, 19, 4, 58], | |
| "ct": [55, 52, 48, 46, 22, 39, 10, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 197, | |
| "comment": "y = 0 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "55c826ecf195b4ddf287e2a2", | |
| "msg": [37, 43, 42, 6, 63, 19, 37, 55], | |
| "ct": [39, 37, 23, 36, 28, 5, 3, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 198, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "55c826ecf195b4ddf287e2a2", | |
| "msg": [1, 59, 49, 7, 12, 32, 51, 20], | |
| "ct": [5, 44, 41, 7, 63, 3, 54, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 199, | |
| "comment": "y = 1 and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "ae040a0fedf6c99792bddd1d", | |
| "msg": [56, 15, 33, 26, 17, 19, 21, 18], | |
| "ct": [30, 56, 27, 32, 29, 4, 22, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 200, | |
| "comment": "y = 1 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "ae040a0fedf6c99792bddd1d", | |
| "msg": [33, 13, 38, 24, 3, 38, 13, 2], | |
| "ct": [21, 63, 17, 28, 63, 16, 50, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 201, | |
| "comment": "y = 1 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "ae040a0fedf6c99792bddd1d", | |
| "msg": [34, 42, 14, 18, 52, 30, 53, 49], | |
| "ct": [39, 46, 39, 17, 40, 53, 3, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 202, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "ae040a0fedf6c99792bddd1d", | |
| "msg": [13, 34, 35, 54, 43, 46, 52, 58], | |
| "ct": [11, 14, 11, 11, 35, 22, 13, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 203, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "ae040a0fedf6c99792bddd1d", | |
| "msg": [19, 53, 58, 46, 9, 63, 26, 33], | |
| "ct": [52, 31, 15, 42, 12, 27, 0, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 204, | |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "d3e3009fe5ed5604bb5935fe", | |
| "msg": [46, 1, 6, 35, 4, 20, 3, 51], | |
| "ct": [22, 24, 9, 51, 38, 19, 3, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 205, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "d3e3009fe5ed5604bb5935fe", | |
| "msg": [37, 60, 40, 15, 0, 58, 18, 59], | |
| "ct": [21, 44, 62, 12, 35, 42, 23, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 206, | |
| "comment": "y is maximal and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "d3e3009fe5ed5604bb5935fe", | |
| "msg": [13, 11, 10, 58, 21, 47, 23, 56], | |
| "ct": [0, 58, 16, 33, 32, 31, 18, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 207, | |
| "comment": "y is maximal and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "d3e3009fe5ed5604bb5935fe", | |
| "msg": [48, 54, 61, 51, 1, 9, 7, 48], | |
| "ct": [19, 40, 23, 55, 21, 41, 29, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 208, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "1c6b8b0d241776b025dbad32", | |
| "msg": [18, 50, 59, 35, 63, 28, 41, 7], | |
| "ct": [45, 5, 37, 41, 37, 19, 7, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 209, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "1c6b8b0d241776b025dbad32", | |
| "msg": [22, 50, 40, 55, 34, 1, 9, 55], | |
| "ct": [55, 56, 2, 27, 34, 32, 1, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 210, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "1c6b8b0d241776b025dbad32", | |
| "msg": [58, 55, 25, 13, 29, 51, 60, 62], | |
| "ct": [57, 40, 19, 18, 24, 28, 51, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 211, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "1c6b8b0d241776b025dbad32", | |
| "msg": [54, 17, 9, 45, 17, 49, 7, 7], | |
| "ct": [4, 17, 41, 9, 45, 45, 37, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 212, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "1c6b8b0d241776b025dbad32", | |
| "msg": [63, 6, 37, 40, 7, 62, 17, 46], | |
| "ct": [6, 26, 40, 17, 8, 0, 6, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 213, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "1c6b8b0d241776b025dbad32", | |
| "msg": [1, 2, 63, 59, 37, 18, 10, 37], | |
| "ct": [55, 32, 20, 59, 22, 56, 18, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 214, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "d57c61fad8183ffa34439fc1", | |
| "msg": [3, 54, 58, 10, 47, 59, 19, 38], | |
| "ct": [17, 12, 40, 46, 26, 20, 41, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 215, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "d57c61fad8183ffa34439fc1", | |
| "msg": [49, 55, 17, 51, 19, 44, 21, 27], | |
| "ct": [56, 12, 33, 51, 12, 29, 49, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 216, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "d57c61fad8183ffa34439fc1", | |
| "msg": [39, 24, 41, 1, 39, 48, 17, 28], | |
| "ct": [47, 21, 60, 0, 48, 7, 14, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 217, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "d57c61fad8183ffa34439fc1", | |
| "msg": [39, 27, 42, 13, 63, 0, 45, 2], | |
| "ct": [0, 58, 36, 24, 48, 21, 35, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 218, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": [-1, 33, 47, 46, 53, 31, 22, 61], | |
| "ct": [54, 32, 43, 9, 57, 40, 50, 9], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 219, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": [56, 33, -1, 46, 53, 31, 22, 61], | |
| "ct": [13, 52, 57, 35, 7, 54, 63, 47], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 220, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": [56, 33, 47, 46, 53, 31, 22, -1], | |
| "ct": [11, 20, 53, 60, 53, 9, 34, 49], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 221, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5453b38972df2df0db8db08aa5ebf04f", | |
| "tweak": "f1ce6e18009b5343", | |
| "msg": [64, 46, 41, 7, 47, 62, 61, 49], | |
| "ct": [47, 47, 60, 37, 51, 49, 2, 34], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 222, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5453b38972df2df0db8db08aa5ebf04f", | |
| "tweak": "f1ce6e18009b5343", | |
| "msg": [19, 46, 64, 7, 47, 62, 61, 49], | |
| "ct": [22, 39, 39, 10, 60, 59, 54, 38], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 223, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5453b38972df2df0db8db08aa5ebf04f", | |
| "tweak": "f1ce6e18009b5343", | |
| "msg": [19, 46, 41, 7, 47, 62, 61, 64], | |
| "ct": [18, 16, 43, 29, 43, 30, 7, 57], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 9, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 224, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "2215b9528000f5f306fcdfe2969c6785", | |
| "tweak": "0539d85c7b076285", | |
| "msg": [15, 29, 24, 58, 6, 4, 11, 39, 58], | |
| "ct": [37, 13, 32, 0, 56, 21, 2, 36, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 225, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [7, 35, 15, 23, 51, 58, 56, 7, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 226, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [20, 52, 18, 60, 0, 17, 14, 41, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 227, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [32, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "ct": [47, 29, 33, 3, 3, 20, 27, 6, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 228, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [31, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "ct": [36, 45, 3, 47, 27, 62, 1, 23, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 229, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [25, 11, 58, 57, 46, 53, 7, 29, 36], | |
| "ct": [5, 13, 17, 29, 8, 35, 13, 62, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 230, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [23, 0, 15, 53, 51, 11, 25, 62, 9], | |
| "ct": [28, 8, 42, 38, 28, 46, 50, 26, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 231, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [44, 31, 36, 36, 24, 25, 32, 42, 6], | |
| "ct": [33, 50, 48, 44, 63, 1, 48, 16, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 232, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [40, 6, 47, 60, 23, 43, 45, 9, 27], | |
| "ct": [15, 10, 14, 48, 45, 13, 49, 44, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 233, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [62, 18, 4, 46, 35, 26, 10, 41, 61], | |
| "ct": [30, 1, 26, 48, 42, 44, 18, 12, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 234, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [5, 21, 36, 26, 42, 59, 10, 41, 59], | |
| "ct": [60, 0, 15, 3, 8, 48, 15, 54, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 235, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [0, 54, 47, 20, 40, 10, 11, 25, 48], | |
| "ct": [54, 29, 25, 36, 36, 12, 58, 4, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 236, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [44, 33, 49, 30, 24, 15, 48, 6, 30], | |
| "ct": [43, 22, 41, 49, 25, 23, 23, 20, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 237, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [51, 5, 29, 36, 17, 40, 59, 18, 50], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 238, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [11, 8, 6, 48, 2, 42, 41, 18, 7], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 239, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [49, 3, 16, 56, 36, 16, 20, 41, 61], | |
| "ct": [32, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 240, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [31, 23, 60, 21, 13, 28, 20, 23, 41], | |
| "ct": [31, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 241, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "ca54139f48ffdd9cc88405", | |
| "msg": [36, 4, 56, 40, 34, 63, 10, 22, 20], | |
| "ct": [0, 0, 0, 0, 44, 25, 56, 15, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 242, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "ca54139f48ffdd9cc88405", | |
| "msg": [7, 25, 40, 13, 18, 49, 60, 21, 62], | |
| "ct": [0, 0, 0, 1, 27, 13, 47, 30, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 243, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "ca54139f48ffdd9cc88405", | |
| "msg": [61, 31, 54, 0, 24, 6, 59, 49, 49], | |
| "ct": [32, 0, 0, 0, 16, 13, 11, 4, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 244, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "ca54139f48ffdd9cc88405", | |
| "msg": [35, 44, 61, 29, 13, 62, 35, 51, 56], | |
| "ct": [63, 63, 63, 63, 29, 48, 10, 3, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 245, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "9cf4492d17267e32e6ab96", | |
| "msg": [0, 0, 0, 0, 26, 55, 20, 59, 0], | |
| "ct": [63, 4, 5, 26, 38, 20, 41, 40, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 246, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "9cf4492d17267e32e6ab96", | |
| "msg": [0, 0, 0, 1, 26, 55, 20, 59, 0], | |
| "ct": [26, 38, 0, 23, 32, 4, 45, 5, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 247, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "9cf4492d17267e32e6ab96", | |
| "msg": [32, 0, 0, 0, 26, 55, 20, 59, 0], | |
| "ct": [7, 23, 17, 26, 9, 7, 44, 19, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 248, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "9cf4492d17267e32e6ab96", | |
| "msg": [63, 63, 63, 62, 26, 55, 20, 59, 0], | |
| "ct": [21, 46, 45, 10, 61, 39, 48, 17, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 249, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "9cf4492d17267e32e6ab96", | |
| "msg": [63, 63, 63, 63, 26, 55, 20, 59, 0], | |
| "ct": [24, 15, 47, 9, 25, 23, 45, 32, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 250, | |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "247dcbdc13841c98451c08", | |
| "msg": [54, 25, 46, 20, 5, 49, 9, 4, 59], | |
| "ct": [51, 17, 48, 23, 13, 43, 40, 28, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 251, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "247dcbdc13841c98451c08", | |
| "msg": [43, 36, 53, 2, 29, 51, 1, 59, 30], | |
| "ct": [18, 19, 8, 31, 16, 49, 23, 57, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 252, | |
| "comment": "y is maximal and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "247dcbdc13841c98451c08", | |
| "msg": [60, 51, 27, 6, 44, 54, 53, 52, 53], | |
| "ct": [40, 14, 27, 55, 37, 6, 18, 49, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 253, | |
| "comment": "y is maximal and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "247dcbdc13841c98451c08", | |
| "msg": [36, 60, 21, 31, 15, 1, 1, 36, 28], | |
| "ct": [47, 39, 26, 25, 61, 46, 17, 34, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 254, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "34d0c5eeaa88dcdf9776d6", | |
| "msg": [32, 19, 23, 53, 42, 10, 13, 13, 21], | |
| "ct": [34, 37, 47, 9, 38, 3, 11, 17, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 255, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "34d0c5eeaa88dcdf9776d6", | |
| "msg": [3, 5, 36, 24, 60, 26, 34, 4, 17], | |
| "ct": [60, 12, 36, 33, 7, 49, 56, 39, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 256, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "34d0c5eeaa88dcdf9776d6", | |
| "msg": [31, 24, 12, 32, 13, 5, 17, 0, 55], | |
| "ct": [59, 12, 40, 45, 61, 49, 13, 17, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 257, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "34d0c5eeaa88dcdf9776d6", | |
| "msg": [46, 50, 3, 21, 9, 15, 62, 31, 21], | |
| "ct": [51, 23, 42, 8, 13, 37, 27, 32, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 258, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "34d0c5eeaa88dcdf9776d6", | |
| "msg": [51, 55, 23, 23, 30, 52, 20, 54, 32], | |
| "ct": [7, 41, 31, 58, 1, 38, 9, 13, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 259, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "34d0c5eeaa88dcdf9776d6", | |
| "msg": [52, 49, 42, 35, 19, 3, 25, 55, 12], | |
| "ct": [51, 59, 44, 44, 24, 35, 57, 24, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 260, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "759c9f89f02bae0e068485", | |
| "msg": [0, 0, 0, 0, 57, 31, 11, 18, 52], | |
| "ct": [27, 3, 40, 55, 62, 53, 45, 35, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 261, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "759c9f89f02bae0e068485", | |
| "msg": [0, 0, 0, 1, 57, 31, 11, 18, 52], | |
| "ct": [20, 52, 18, 23, 34, 47, 25, 55, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 262, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "759c9f89f02bae0e068485", | |
| "msg": [32, 0, 0, 0, 57, 31, 11, 18, 52], | |
| "ct": [44, 42, 39, 45, 55, 16, 60, 25, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 263, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "759c9f89f02bae0e068485", | |
| "msg": [63, 63, 63, 63, 57, 31, 11, 18, 52], | |
| "ct": [33, 49, 35, 59, 40, 26, 55, 5, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 264, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": [-1, 3, 25, 22, 19, 27, 51, 9, 25], | |
| "ct": [50, 47, 6, 62, 48, 63, 16, 17, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 265, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": [54, 3, 25, -1, 19, 27, 51, 9, 25], | |
| "ct": [46, 35, 8, 36, 30, 2, 50, 36, 2], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 266, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": [54, 3, 25, 22, 19, 27, 51, 9, -1], | |
| "ct": [29, 25, 17, 26, 60, 56, 20, 6, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 267, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "861810626956a95b6d19729f520b4ef4", | |
| "tweak": "222cf62dbf8b50db", | |
| "msg": [64, 41, 61, 3, 0, 58, 39, 38, 55], | |
| "ct": [57, 21, 46, 62, 49, 62, 23, 24, 12], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 268, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "861810626956a95b6d19729f520b4ef4", | |
| "tweak": "222cf62dbf8b50db", | |
| "msg": [30, 41, 61, 64, 0, 58, 39, 38, 55], | |
| "ct": [39, 24, 0, 26, 18, 18, 3, 9, 61], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 269, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "861810626956a95b6d19729f520b4ef4", | |
| "tweak": "222cf62dbf8b50db", | |
| "msg": [30, 41, 61, 3, 0, 58, 39, 38, 64], | |
| "ct": [2, 26, 35, 42, 47, 0, 16, 31, 49], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 10, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 270, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "5474525ca99fb5da2babdbd45c727d16", | |
| "tweak": "f2cb4d9ba04b81f8", | |
| "msg": [29, 24, 16, 44, 52, 29, 8, 32, 2, 54], | |
| "ct": [40, 49, 50, 49, 6, 18, 8, 43, 59, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 271, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [46, 50, 44, 36, 31, 28, 22, 59, 38, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 272, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [19, 53, 1, 13, 53, 41, 7, 6, 8, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 273, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "ct": [46, 39, 48, 8, 44, 4, 15, 4, 52, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 274, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "ct": [50, 5, 28, 62, 37, 50, 25, 5, 15, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 275, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [12, 7, 25, 62, 19, 59, 46, 63, 49, 19], | |
| "ct": [4, 54, 23, 26, 15, 50, 9, 58, 2, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 276, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [17, 53, 7, 17, 27, 0, 26, 60, 2, 40], | |
| "ct": [2, 34, 7, 61, 44, 13, 4, 23, 6, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 277, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [17, 27, 1, 58, 33, 19, 25, 24, 59, 23], | |
| "ct": [10, 13, 11, 22, 35, 24, 28, 19, 44, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 278, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [44, 60, 40, 8, 9, 27, 62, 59, 28, 61], | |
| "ct": [49, 20, 7, 43, 10, 0, 12, 28, 6, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 279, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [62, 43, 38, 31, 26, 25, 23, 61, 47, 39], | |
| "ct": [60, 53, 19, 6, 2, 54, 0, 35, 52, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 280, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [58, 40, 52, 36, 21, 16, 11, 0, 63, 33], | |
| "ct": [32, 44, 14, 51, 24, 20, 60, 27, 51, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 281, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [14, 13, 7, 46, 51, 44, 11, 12, 30, 11], | |
| "ct": [50, 20, 35, 0, 26, 26, 56, 15, 33, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 282, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [18, 53, 47, 48, 30, 28, 9, 7, 21, 21], | |
| "ct": [11, 55, 20, 25, 7, 51, 13, 5, 8, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 283, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [47, 13, 20, 30, 61, 29, 30, 50, 41, 15], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 284, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [30, 50, 0, 58, 55, 19, 36, 54, 45, 8], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 285, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [52, 28, 45, 8, 61, 50, 61, 56, 27, 42], | |
| "ct": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 286, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [11, 62, 32, 30, 12, 27, 22, 42, 60, 26], | |
| "ct": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 287, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "4512ab841d2e65baf7d304", | |
| "msg": [23, 2, 27, 63, 24, 0, 36, 11, 19, 10], | |
| "ct": [26, 28, 37, 0, 20, 16, 41, 10, 58, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 288, | |
| "comment": "y = 0 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "4512ab841d2e65baf7d304", | |
| "msg": [19, 26, 39, 14, 16, 46, 32, 23, 34, 32], | |
| "ct": [8, 17, 34, 17, 6, 8, 61, 32, 24, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 289, | |
| "comment": "y = 0 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "4512ab841d2e65baf7d304", | |
| "msg": [43, 16, 2, 22, 55, 15, 13, 57, 35, 29], | |
| "ct": [35, 29, 34, 14, 49, 4, 27, 49, 8, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 290, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "4512ab841d2e65baf7d304", | |
| "msg": [14, 0, 31, 1, 47, 10, 55, 42, 50, 61], | |
| "ct": [43, 6, 35, 59, 57, 30, 48, 16, 31, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 291, | |
| "comment": "y = 1 and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "e7ccbcac32e998fda1f19f", | |
| "msg": [34, 46, 33, 60, 33, 3, 38, 7, 63, 6], | |
| "ct": [23, 34, 27, 14, 62, 17, 51, 11, 2, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 292, | |
| "comment": "y = 1 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "e7ccbcac32e998fda1f19f", | |
| "msg": [2, 35, 50, 34, 28, 14, 53, 56, 17, 14], | |
| "ct": [15, 24, 59, 31, 22, 0, 34, 45, 8, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 293, | |
| "comment": "y = 1 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "e7ccbcac32e998fda1f19f", | |
| "msg": [58, 7, 14, 39, 23, 55, 44, 60, 18, 1], | |
| "ct": [35, 44, 38, 48, 59, 59, 35, 7, 18, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 294, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "e7ccbcac32e998fda1f19f", | |
| "msg": [30, 21, 25, 61, 31, 55, 41, 16, 26, 57], | |
| "ct": [59, 9, 49, 19, 22, 43, 10, 46, 46, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 295, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "e7ccbcac32e998fda1f19f", | |
| "msg": [5, 56, 25, 4, 5, 28, 34, 1, 8, 56], | |
| "ct": [36, 12, 8, 11, 6, 49, 30, 11, 51, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 296, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "72c0e8f2827180b8130b03", | |
| "msg": [24, 11, 13, 29, 13, 54, 63, 21, 34, 17], | |
| "ct": [27, 22, 31, 0, 26, 20, 62, 59, 9, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 297, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "72c0e8f2827180b8130b03", | |
| "msg": [39, 33, 49, 23, 12, 56, 19, 20, 43, 61], | |
| "ct": [46, 31, 13, 55, 14, 42, 44, 50, 45, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 298, | |
| "comment": "y is maximal and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "72c0e8f2827180b8130b03", | |
| "msg": [40, 7, 30, 19, 59, 45, 9, 40, 59, 54], | |
| "ct": [60, 12, 41, 20, 8, 7, 50, 5, 49, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 299, | |
| "comment": "y is maximal and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "72c0e8f2827180b8130b03", | |
| "msg": [37, 35, 50, 2, 54, 30, 27, 53, 11, 62], | |
| "ct": [25, 20, 16, 12, 50, 41, 32, 34, 6, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 300, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "156e3d9f32a247d9f216bc", | |
| "msg": [47, 33, 11, 38, 16, 22, 21, 42, 33, 30], | |
| "ct": [18, 11, 5, 21, 30, 10, 4, 3, 47, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 301, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "156e3d9f32a247d9f216bc", | |
| "msg": [63, 12, 4, 50, 16, 33, 46, 19, 51, 50], | |
| "ct": [23, 42, 36, 47, 16, 1, 27, 59, 26, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 302, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "156e3d9f32a247d9f216bc", | |
| "msg": [63, 15, 22, 35, 47, 46, 22, 7, 51, 23], | |
| "ct": [15, 38, 54, 4, 25, 52, 46, 35, 34, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 303, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "156e3d9f32a247d9f216bc", | |
| "msg": [16, 45, 8, 46, 60, 50, 25, 50, 57, 59], | |
| "ct": [25, 8, 40, 58, 34, 35, 44, 9, 41, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 304, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "156e3d9f32a247d9f216bc", | |
| "msg": [36, 31, 50, 57, 39, 30, 7, 61, 50, 10], | |
| "ct": [63, 14, 48, 43, 42, 12, 61, 60, 47, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 305, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "156e3d9f32a247d9f216bc", | |
| "msg": [4, 54, 18, 46, 9, 11, 6, 53, 29, 35], | |
| "ct": [60, 27, 37, 2, 1, 17, 31, 47, 44, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 306, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "3233acb538cd7eb408fcf9", | |
| "msg": [31, 26, 7, 52, 43, 39, 21, 52, 5, 2], | |
| "ct": [59, 5, 32, 3, 46, 11, 34, 53, 39, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 307, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "3233acb538cd7eb408fcf9", | |
| "msg": [14, 47, 14, 36, 54, 24, 30, 53, 5, 57], | |
| "ct": [1, 41, 0, 35, 22, 63, 23, 36, 25, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 308, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "3233acb538cd7eb408fcf9", | |
| "msg": [22, 39, 11, 9, 58, 46, 39, 10, 12, 19], | |
| "ct": [7, 5, 51, 20, 23, 43, 45, 39, 35, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 309, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "3233acb538cd7eb408fcf9", | |
| "msg": [50, 51, 20, 23, 11, 33, 33, 45, 50, 43], | |
| "ct": [7, 41, 53, 1, 25, 23, 58, 26, 52, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 310, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": [-1, 58, 41, 9, 47, 17, 23, 51, 55, 32], | |
| "ct": [8, 3, 54, 58, 61, 30, 18, 58, 58, 23], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 311, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": [59, 58, 41, -1, 47, 17, 23, 51, 55, 32], | |
| "ct": [31, 60, 40, 56, 13, 60, 10, 34, 25, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 312, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": [59, 58, 41, 9, 47, 17, 23, 51, 55, -1], | |
| "ct": [56, 24, 38, 18, 58, 14, 17, 54, 0, 23], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 313, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2465c2ef8ca708679805e4cb6dfef26c", | |
| "tweak": "658c12cd1c22f67d", | |
| "msg": [64, 31, 34, 19, 7, 63, 54, 33, 60, 48], | |
| "ct": [35, 26, 11, 45, 41, 8, 37, 51, 3, 17], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 314, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2465c2ef8ca708679805e4cb6dfef26c", | |
| "tweak": "658c12cd1c22f67d", | |
| "msg": [53, 31, 34, 64, 7, 63, 54, 33, 60, 48], | |
| "ct": [53, 2, 25, 6, 40, 45, 20, 13, 19, 38], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 315, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2465c2ef8ca708679805e4cb6dfef26c", | |
| "tweak": "658c12cd1c22f67d", | |
| "msg": [53, 31, 34, 19, 7, 63, 54, 33, 60, 64], | |
| "ct": [44, 63, 6, 43, 34, 38, 22, 8, 55, 19], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 11, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 316, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "63396f38c44f0c2d97468c4804b5d022", | |
| "tweak": "73068af95fd924fc", | |
| "msg": [34, 11, 58, 27, 63, 7, 56, 10, 30, 25, 6], | |
| "ct": [20, 20, 47, 0, 24, 11, 23, 35, 40, 16, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 317, | |
| "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": [19, 56, 63, 57, 35, 23, 28, 8, 12, 59, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 318, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [60, 41, 7, 41, 50, 33, 36, 38, 23, 54, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 319, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "ct": [51, 62, 23, 50, 40, 28, 32, 12, 57, 37, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 320, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "ct": [15, 1, 33, 17, 28, 8, 31, 60, 61, 36, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 321, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [22, 9, 5, 21, 39, 61, 47, 46, 32, 26, 2], | |
| "ct": [24, 18, 39, 20, 54, 48, 18, 22, 49, 29, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 322, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [5, 7, 35, 60, 28, 46, 17, 25, 6, 43, 0], | |
| "ct": [59, 53, 53, 57, 30, 11, 49, 0, 9, 25, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 323, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [29, 10, 55, 50, 45, 8, 39, 1, 13, 26, 3], | |
| "ct": [44, 19, 14, 49, 18, 45, 21, 56, 59, 13, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 324, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [3, 1, 11, 5, 26, 9, 2, 35, 20, 0, 62], | |
| "ct": [3, 5, 42, 37, 50, 23, 3, 38, 17, 1, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 325, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [2, 61, 12, 37, 29, 1, 51, 43, 17, 34, 35], | |
| "ct": [56, 37, 58, 21, 3, 10, 63, 36, 47, 62, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 326, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [40, 63, 24, 49, 51, 12, 51, 22, 53, 40, 45], | |
| "ct": [47, 58, 21, 48, 31, 63, 14, 26, 49, 40, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 327, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [22, 53, 38, 24, 33, 56, 38, 53, 23, 30, 19], | |
| "ct": [31, 33, 29, 42, 57, 18, 19, 11, 42, 15, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 328, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [31, 44, 49, 58, 53, 23, 53, 57, 29, 22, 27], | |
| "ct": [31, 40, 21, 5, 4, 35, 39, 13, 8, 56, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 329, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [36, 27, 38, 37, 55, 8, 40, 52, 63, 62, 53], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 330, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [12, 34, 24, 14, 27, 20, 14, 16, 8, 63, 16], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 331, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [31, 18, 27, 20, 13, 50, 0, 11, 1, 35, 7], | |
| "ct": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 332, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [27, 63, 3, 26, 50, 4, 46, 59, 31, 25, 27], | |
| "ct": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 333, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "d7946d11eecb590197ca", | |
| "msg": [7, 47, 15, 31, 54, 54, 15, 45, 9, 57, 43], | |
| "ct": [0, 0, 0, 0, 0, 63, 20, 40, 0, 24, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 334, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "d7946d11eecb590197ca", | |
| "msg": [0, 6, 61, 16, 15, 57, 16, 31, 52, 53, 45], | |
| "ct": [0, 0, 0, 0, 1, 48, 22, 19, 33, 60, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 335, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "d7946d11eecb590197ca", | |
| "msg": [62, 3, 36, 42, 9, 34, 62, 7, 41, 1, 33], | |
| "ct": [32, 0, 0, 0, 0, 7, 47, 30, 52, 26, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 336, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "d7946d11eecb590197ca", | |
| "msg": [33, 28, 35, 32, 8, 20, 38, 25, 18, 18, 29], | |
| "ct": [63, 63, 63, 63, 63, 11, 30, 15, 42, 36, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 337, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "0e4d44e473f94bb27f85", | |
| "msg": [20, 40, 22, 43, 6, 49, 32, 37, 2, 37, 35], | |
| "ct": [62, 11, 41, 47, 9, 11, 13, 17, 0, 9, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 338, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "0e4d44e473f94bb27f85", | |
| "msg": [17, 26, 8, 48, 4, 46, 22, 25, 39, 46, 52], | |
| "ct": [4, 3, 28, 36, 5, 46, 35, 43, 23, 30, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 339, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "0e4d44e473f94bb27f85", | |
| "msg": [36, 18, 25, 56, 54, 39, 29, 35, 49, 63, 38], | |
| "ct": [55, 46, 61, 36, 32, 49, 37, 29, 23, 0, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 340, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "0e4d44e473f94bb27f85", | |
| "msg": [36, 19, 61, 58, 24, 45, 26, 15, 14, 44, 3], | |
| "ct": [19, 54, 29, 45, 56, 52, 17, 53, 11, 45, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 341, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "0e4d44e473f94bb27f85", | |
| "msg": [6, 24, 61, 41, 61, 17, 10, 58, 8, 36, 19], | |
| "ct": [4, 17, 1, 59, 46, 51, 8, 25, 44, 1, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 342, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "c38d8a3d3415bec5d184", | |
| "msg": [59, 59, 5, 63, 36, 62, 58, 35, 28, 59, 36], | |
| "ct": [63, 63, 63, 63, 63, 50, 33, 35, 57, 2, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 343, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "c38d8a3d3415bec5d184", | |
| "msg": [37, 47, 52, 49, 50, 33, 1, 53, 41, 24, 40], | |
| "ct": [0, 0, 0, 0, 0, 14, 32, 41, 28, 51, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 344, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "c38d8a3d3415bec5d184", | |
| "msg": [38, 7, 44, 11, 53, 52, 6, 15, 17, 55, 34], | |
| "ct": [31, 63, 63, 63, 63, 15, 11, 49, 16, 49, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 345, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "c38d8a3d3415bec5d184", | |
| "msg": [38, 57, 20, 56, 55, 10, 20, 20, 58, 0, 17], | |
| "ct": [63, 63, 63, 63, 62, 26, 10, 23, 5, 59, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 346, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "80e3dc0e735b8575e2f9", | |
| "msg": [0, 0, 0, 0, 0, 62, 60, 60, 37, 18, 46], | |
| "ct": [62, 25, 8, 53, 29, 12, 32, 2, 51, 31, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 347, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "80e3dc0e735b8575e2f9", | |
| "msg": [0, 0, 0, 0, 1, 62, 60, 60, 37, 18, 46], | |
| "ct": [56, 25, 22, 34, 46, 41, 15, 11, 2, 26, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 348, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "80e3dc0e735b8575e2f9", | |
| "msg": [0, 0, 0, 0, 63, 62, 60, 60, 37, 18, 46], | |
| "ct": [35, 61, 48, 42, 1, 62, 38, 1, 30, 32, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 349, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "80e3dc0e735b8575e2f9", | |
| "msg": [0, 0, 0, 1, 0, 62, 60, 60, 37, 18, 46], | |
| "ct": [34, 20, 21, 37, 63, 60, 33, 59, 17, 4, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 350, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "80e3dc0e735b8575e2f9", | |
| "msg": [32, 0, 0, 0, 0, 62, 60, 60, 37, 18, 46], | |
| "ct": [50, 32, 3, 22, 31, 29, 50, 3, 25, 6, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 351, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "80e3dc0e735b8575e2f9", | |
| "msg": [63, 63, 63, 63, 63, 62, 60, 60, 37, 18, 46], | |
| "ct": [48, 39, 2, 8, 33, 51, 37, 59, 13, 39, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 352, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "dd247ae57b41dde75ca3", | |
| "msg": [59, 13, 41, 36, 3, 15, 6, 61, 61, 54, 23], | |
| "ct": [14, 40, 1, 24, 55, 50, 24, 35, 43, 45, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 353, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "dd247ae57b41dde75ca3", | |
| "msg": [10, 45, 28, 20, 7, 9, 42, 5, 26, 52, 55], | |
| "ct": [62, 22, 29, 24, 11, 12, 58, 40, 63, 59, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 354, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "dd247ae57b41dde75ca3", | |
| "msg": [62, 51, 34, 60, 43, 53, 15, 40, 13, 56, 23], | |
| "ct": [33, 19, 9, 15, 9, 35, 62, 52, 23, 46, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 355, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "dd247ae57b41dde75ca3", | |
| "msg": [1, 62, 2, 23, 35, 61, 1, 47, 29, 60, 14], | |
| "ct": [12, 33, 16, 36, 25, 16, 37, 29, 1, 27, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 356, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": [-1, 10, 56, 41, 32, 46, 1, 20, 37, 44, 43], | |
| "ct": [40, 4, 10, 47, 9, 18, 14, 43, 23, 25, 20], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 357, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": [62, 10, 56, -1, 32, 46, 1, 20, 37, 44, 43], | |
| "ct": [28, 54, 2, 9, 30, 54, 39, 32, 11, 34, 58], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 358, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": [62, 10, 56, 41, 32, 46, 1, 20, 37, 44, -1], | |
| "ct": [29, 8, 54, 61, 5, 36, 31, 52, 42, 21, 47], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 359, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d1590f660b6a5fa00335a7718ec4ca76", | |
| "tweak": "80324fbe53c0f359", | |
| "msg": [64, 62, 12, 30, 14, 31, 30, 54, 32, 41, 24], | |
| "ct": [49, 40, 36, 42, 2, 10, 43, 38, 25, 14, 16], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 360, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d1590f660b6a5fa00335a7718ec4ca76", | |
| "tweak": "80324fbe53c0f359", | |
| "msg": [8, 62, 12, 64, 14, 31, 30, 54, 32, 41, 24], | |
| "ct": [19, 39, 57, 10, 62, 24, 35, 25, 20, 21, 16], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 361, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d1590f660b6a5fa00335a7718ec4ca76", | |
| "tweak": "80324fbe53c0f359", | |
| "msg": [8, 62, 12, 30, 14, 31, 30, 54, 32, 41, 64], | |
| "ct": [9, 30, 43, 56, 6, 22, 14, 39, 61, 57, 47], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 12, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 362, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "ddc31fc7751a2bf5c8d2d815035622e8", | |
| "tweak": "0e10628c19795c4e", | |
| "msg": [51, 5, 55, 57, 11, 13, 30, 38, 15, 7, 56, 63], | |
| "ct": [48, 22, 61, 32, 15, 11, 1, 7, 49, 30, 21, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 363, | |
| "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": [62, 33, 7, 39, 42, 51, 36, 11, 35, 19, 2, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 364, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [4, 31, 31, 31, 55, 4, 17, 61, 16, 1, 50, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 365, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "ct": [4, 23, 63, 10, 49, 20, 28, 25, 23, 61, 28, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 366, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "ct": [58, 55, 4, 35, 58, 41, 2, 3, 23, 51, 50, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 367, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [27, 48, 30, 50, 39, 39, 18, 60, 42, 63, 49, 61], | |
| "ct": [25, 30, 24, 27, 30, 10, 31, 41, 47, 41, 39, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 368, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [61, 6, 26, 62, 24, 15, 4, 26, 50, 51, 13, 48], | |
| "ct": [48, 17, 16, 10, 12, 25, 13, 4, 8, 0, 39, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 369, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [30, 36, 38, 51, 22, 30, 62, 44, 35, 38, 43, 16], | |
| "ct": [62, 52, 43, 36, 11, 49, 38, 35, 5, 40, 41, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 370, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [6, 11, 32, 32, 7, 44, 21, 45, 38, 7, 63, 63], | |
| "ct": [34, 26, 52, 12, 1, 2, 4, 17, 31, 62, 26, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 371, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [58, 22, 44, 34, 20, 11, 55, 4, 48, 3, 49, 36], | |
| "ct": [47, 63, 16, 6, 51, 47, 47, 51, 11, 40, 14, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 372, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [44, 63, 61, 48, 53, 2, 15, 61, 42, 63, 8, 59], | |
| "ct": [12, 36, 21, 2, 49, 34, 52, 50, 46, 17, 24, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 373, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [11, 7, 1, 51, 15, 30, 39, 18, 25, 36, 30, 3], | |
| "ct": [63, 40, 44, 47, 14, 55, 62, 1, 13, 16, 30, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 374, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [0, 25, 47, 56, 36, 4, 53, 29, 5, 22, 54, 58], | |
| "ct": [0, 63, 47, 45, 38, 29, 58, 49, 19, 32, 10, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 375, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [50, 27, 51, 31, 33, 59, 25, 18, 60, 50, 12, 14], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 376, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [3, 21, 4, 11, 38, 10, 47, 1, 53, 56, 56, 51], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 377, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [31, 1, 31, 54, 34, 49, 18, 33, 8, 34, 31, 13], | |
| "ct": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 378, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [15, 53, 19, 32, 49, 51, 36, 43, 44, 52, 30, 31], | |
| "ct": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 379, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "2b766fc22833ade79eba", | |
| "msg": [25, 21, 16, 41, 40, 56, 31, 5, 31, 4, 42, 13], | |
| "ct": [0, 24, 29, 33, 45, 33, 11, 27, 13, 24, 58, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 380, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "2b766fc22833ade79eba", | |
| "msg": [54, 43, 3, 26, 2, 24, 56, 10, 31, 51, 4, 26], | |
| "ct": [35, 28, 51, 20, 14, 9, 25, 24, 16, 24, 52, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 381, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "2b766fc22833ade79eba", | |
| "msg": [14, 47, 51, 11, 14, 36, 53, 45, 58, 16, 17, 58], | |
| "ct": [28, 38, 8, 50, 55, 51, 57, 59, 49, 34, 43, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 382, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "2b766fc22833ade79eba", | |
| "msg": [21, 49, 56, 23, 16, 35, 3, 6, 32, 6, 14, 2], | |
| "ct": [42, 41, 56, 26, 16, 47, 19, 53, 42, 37, 11, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 383, | |
| "comment": "y = 1 and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "17b6701454095f5389bc", | |
| "msg": [29, 59, 1, 4, 38, 40, 9, 17, 10, 7, 63, 19], | |
| "ct": [62, 59, 33, 32, 47, 51, 26, 17, 50, 60, 38, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 384, | |
| "comment": "y = 1 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "17b6701454095f5389bc", | |
| "msg": [58, 11, 52, 21, 37, 42, 47, 25, 30, 37, 17, 17], | |
| "ct": [31, 46, 35, 27, 24, 62, 14, 27, 44, 16, 52, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 385, | |
| "comment": "y = 1 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "17b6701454095f5389bc", | |
| "msg": [36, 33, 48, 51, 15, 44, 37, 11, 37, 63, 56, 23], | |
| "ct": [49, 33, 15, 26, 45, 57, 52, 20, 43, 46, 21, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 386, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "17b6701454095f5389bc", | |
| "msg": [15, 39, 51, 3, 40, 54, 17, 18, 56, 14, 56, 50], | |
| "ct": [18, 25, 2, 8, 12, 13, 44, 33, 4, 24, 12, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 387, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "17b6701454095f5389bc", | |
| "msg": [36, 15, 7, 35, 39, 6, 31, 11, 32, 17, 63, 3], | |
| "ct": [18, 5, 43, 14, 16, 5, 56, 60, 32, 24, 16, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 388, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "dd5b873568a4c6d8b833", | |
| "msg": [41, 13, 42, 1, 27, 14, 38, 1, 60, 41, 57, 56], | |
| "ct": [12, 13, 1, 38, 46, 6, 62, 50, 49, 11, 41, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 389, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "dd5b873568a4c6d8b833", | |
| "msg": [48, 29, 33, 41, 10, 1, 6, 53, 60, 48, 5, 8], | |
| "ct": [26, 34, 62, 11, 15, 21, 43, 46, 8, 19, 34, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 390, | |
| "comment": "y is maximal and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "dd5b873568a4c6d8b833", | |
| "msg": [34, 31, 25, 4, 17, 27, 51, 42, 34, 11, 48, 45], | |
| "ct": [26, 33, 1, 29, 3, 27, 19, 30, 42, 22, 46, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 391, | |
| "comment": "y is maximal and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "dd5b873568a4c6d8b833", | |
| "msg": [50, 47, 14, 31, 22, 17, 25, 58, 25, 42, 55, 10], | |
| "ct": [31, 17, 16, 6, 62, 54, 60, 48, 22, 56, 40, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 392, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "822f4f4dba84faa6474d", | |
| "msg": [14, 59, 31, 5, 58, 19, 25, 13, 17, 23, 56, 41], | |
| "ct": [45, 61, 10, 24, 10, 12, 53, 13, 51, 24, 13, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 393, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "822f4f4dba84faa6474d", | |
| "msg": [54, 27, 19, 62, 13, 35, 45, 48, 33, 41, 41, 59], | |
| "ct": [37, 26, 46, 28, 40, 33, 35, 30, 14, 36, 3, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 394, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "822f4f4dba84faa6474d", | |
| "msg": [58, 14, 48, 52, 38, 43, 14, 1, 42, 53, 43, 58], | |
| "ct": [34, 39, 55, 59, 52, 22, 58, 40, 40, 40, 43, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 395, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "822f4f4dba84faa6474d", | |
| "msg": [21, 28, 28, 54, 62, 18, 53, 14, 45, 41, 12, 13], | |
| "ct": [30, 49, 11, 0, 55, 43, 44, 49, 53, 5, 18, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 396, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "822f4f4dba84faa6474d", | |
| "msg": [59, 41, 22, 24, 27, 31, 24, 35, 47, 51, 25, 54], | |
| "ct": [50, 40, 31, 15, 35, 1, 56, 32, 44, 51, 57, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 397, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "822f4f4dba84faa6474d", | |
| "msg": [28, 22, 37, 45, 38, 40, 23, 59, 59, 47, 17, 47], | |
| "ct": [3, 10, 61, 50, 37, 58, 47, 23, 54, 62, 14, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 398, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "b0e4310cbd7e355039d0", | |
| "msg": [1, 23, 39, 60, 56, 35, 0, 0, 0, 0, 0, 0], | |
| "ct": [42, 41, 1, 44, 28, 21, 19, 12, 45, 62, 0, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 399, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "b0e4310cbd7e355039d0", | |
| "msg": [58, 56, 20, 41, 2, 37, 0, 0, 0, 0, 0, 1], | |
| "ct": [27, 17, 9, 30, 27, 50, 6, 29, 29, 53, 37, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 400, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "b0e4310cbd7e355039d0", | |
| "msg": [32, 37, 45, 16, 0, 61, 32, 0, 0, 0, 0, 0], | |
| "ct": [8, 31, 58, 36, 24, 55, 26, 40, 25, 37, 13, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 401, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "b0e4310cbd7e355039d0", | |
| "msg": [29, 36, 39, 0, 47, 42, 63, 63, 63, 63, 63, 63], | |
| "ct": [39, 43, 63, 12, 63, 49, 60, 32, 37, 43, 38, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 402, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": [-1, 36, 5, 44, 5, 37, 54, 63, 22, 9, 5, 59], | |
| "ct": [39, 20, 16, 63, 35, 62, 41, 53, 3, 15, 15, 31], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 403, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": [42, 36, 5, 44, -1, 37, 54, 63, 22, 9, 5, 59], | |
| "ct": [33, 50, 39, 53, 49, 59, 16, 56, 59, 58, 5, 24], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 404, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": [42, 36, 5, 44, 5, 37, 54, 63, 22, 9, 5, -1], | |
| "ct": [52, 30, 2, 63, 9, 35, 13, 28, 12, 44, 29, 49], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 405, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "55f2614cb960df49ba3fe2121450813a", | |
| "tweak": "938dbcc2449bac42", | |
| "msg": [64, 1, 37, 35, 50, 57, 45, 63, 35, 6, 57, 22], | |
| "ct": [52, 19, 30, 56, 14, 49, 22, 60, 5, 37, 39, 40], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 406, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "55f2614cb960df49ba3fe2121450813a", | |
| "tweak": "938dbcc2449bac42", | |
| "msg": [39, 1, 37, 35, 64, 57, 45, 63, 35, 6, 57, 22], | |
| "ct": [53, 9, 26, 29, 49, 39, 37, 28, 61, 55, 61, 47], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 407, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "55f2614cb960df49ba3fe2121450813a", | |
| "tweak": "938dbcc2449bac42", | |
| "msg": [39, 1, 37, 35, 50, 57, 45, 63, 35, 6, 57, 64], | |
| "ct": [42, 9, 19, 2, 4, 62, 39, 57, 40, 42, 55, 49], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 13, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 408, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "d5e6c882f005525ce577f704ef6b525d", | |
| "tweak": "7ce1a7a4e6508c83", | |
| "msg": [21, 12, 13, 1, 13, 52, 63, 42, 18, 42, 63, 24, 53], | |
| "ct": [17, 12, 25, 39, 35, 24, 9, 35, 50, 39, 17, 57, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 409, | |
| "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": [44, 63, 33, 52, 3, 4, 22, 46, 40, 4, 6, 8, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 410, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [17, 46, 52, 26, 47, 14, 2, 5, 60, 52, 47, 11, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 411, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "ct": [57, 31, 35, 30, 12, 4, 45, 28, 47, 24, 46, 46, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 412, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "ct": [52, 0, 1, 20, 46, 20, 60, 17, 1, 20, 61, 35, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 413, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [25, 23, 39, 63, 16, 22, 38, 2, 31, 47, 61, 21, 46], | |
| "ct": [43, 22, 5, 61, 26, 38, 31, 4, 44, 47, 0, 18, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 414, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [61, 12, 50, 0, 14, 55, 51, 17, 43, 18, 41, 50, 46], | |
| "ct": [60, 41, 34, 43, 54, 35, 51, 1, 53, 27, 27, 47, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 415, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [30, 11, 39, 18, 0, 31, 42, 34, 25, 53, 7, 60, 57], | |
| "ct": [49, 63, 35, 13, 57, 46, 12, 12, 16, 34, 31, 29, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 416, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [15, 26, 13, 46, 58, 10, 52, 54, 47, 20, 37, 39, 37], | |
| "ct": [19, 52, 62, 54, 14, 10, 29, 36, 62, 12, 1, 40, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 417, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [29, 27, 30, 12, 30, 42, 7, 4, 2, 8, 39, 14, 24], | |
| "ct": [27, 55, 38, 29, 60, 0, 51, 37, 24, 35, 37, 14, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 418, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [3, 35, 2, 29, 16, 39, 16, 43, 16, 32, 11, 20, 35], | |
| "ct": [23, 34, 9, 49, 27, 46, 50, 22, 30, 34, 30, 7, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 419, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [7, 43, 60, 25, 0, 26, 43, 1, 1, 49, 49, 47, 32], | |
| "ct": [43, 30, 37, 27, 30, 34, 62, 11, 39, 7, 6, 16, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 420, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [49, 41, 48, 19, 28, 42, 23, 16, 14, 63, 2, 2, 56], | |
| "ct": [19, 20, 42, 19, 23, 17, 4, 41, 48, 1, 9, 52, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 421, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [33, 52, 27, 20, 25, 14, 4, 63, 9, 34, 36, 27, 35], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 422, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [47, 52, 0, 14, 54, 14, 54, 28, 24, 51, 33, 40, 28], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 423, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [24, 1, 42, 48, 32, 16, 27, 44, 61, 45, 10, 29, 53], | |
| "ct": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 424, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [25, 38, 8, 16, 19, 4, 29, 10, 24, 43, 53, 41, 41], | |
| "ct": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 425, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "0317cd5f93396a4bd8", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 6, 30, 6, 52, 54, 10], | |
| "ct": [1, 16, 23, 41, 62, 48, 44, 57, 27, 24, 44, 42, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 426, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "0317cd5f93396a4bd8", | |
| "msg": [0, 0, 0, 0, 0, 1, 0, 6, 30, 6, 52, 54, 10], | |
| "ct": [1, 42, 59, 37, 24, 46, 48, 12, 42, 58, 36, 37, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 427, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "0317cd5f93396a4bd8", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 6, 30, 6, 52, 54, 10], | |
| "ct": [14, 60, 7, 26, 58, 37, 30, 39, 39, 9, 55, 22, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 428, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "0317cd5f93396a4bd8", | |
| "msg": [63, 63, 63, 63, 63, 63, 0, 6, 30, 6, 52, 54, 10], | |
| "ct": [24, 52, 54, 35, 61, 28, 45, 5, 39, 26, 43, 4, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 429, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "6b6231516ad10c159a", | |
| "msg": [0, 0, 0, 0, 0, 0, 54, 7, 19, 55, 52, 42, 27], | |
| "ct": [23, 21, 32, 8, 43, 4, 52, 50, 0, 50, 58, 11, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 430, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "6b6231516ad10c159a", | |
| "msg": [0, 0, 0, 0, 0, 1, 54, 7, 19, 55, 52, 42, 27], | |
| "ct": [40, 45, 24, 12, 32, 20, 61, 49, 33, 49, 21, 35, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 431, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "6b6231516ad10c159a", | |
| "msg": [32, 0, 0, 0, 0, 0, 54, 7, 19, 55, 52, 42, 27], | |
| "ct": [1, 60, 28, 63, 58, 60, 60, 62, 62, 27, 26, 45, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 432, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "6b6231516ad10c159a", | |
| "msg": [63, 63, 63, 63, 63, 62, 54, 7, 19, 55, 52, 42, 27], | |
| "ct": [0, 37, 49, 15, 33, 1, 33, 15, 27, 27, 48, 58, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 433, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "6b6231516ad10c159a", | |
| "msg": [63, 63, 63, 63, 63, 63, 54, 7, 19, 55, 52, 42, 27], | |
| "ct": [53, 15, 12, 45, 8, 27, 15, 40, 62, 36, 59, 5, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 434, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "b85ef65b57f8dd5fa8", | |
| "msg": [0, 0, 0, 0, 0, 0, 20, 2, 32, 49, 40, 31, 50], | |
| "ct": [34, 39, 7, 3, 1, 61, 16, 15, 22, 53, 63, 3, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 435, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "b85ef65b57f8dd5fa8", | |
| "msg": [0, 0, 0, 0, 0, 1, 20, 2, 32, 49, 40, 31, 50], | |
| "ct": [34, 22, 8, 54, 39, 60, 53, 11, 17, 45, 60, 1, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 436, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "b85ef65b57f8dd5fa8", | |
| "msg": [32, 0, 0, 0, 0, 0, 20, 2, 32, 49, 40, 31, 50], | |
| "ct": [2, 28, 61, 49, 60, 62, 13, 58, 34, 37, 24, 40, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 437, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "b85ef65b57f8dd5fa8", | |
| "msg": [63, 63, 63, 63, 63, 63, 20, 2, 32, 49, 40, 31, 50], | |
| "ct": [30, 38, 49, 11, 23, 7, 15, 28, 50, 61, 7, 46, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 438, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": [-1, 6, 57, 14, 35, 54, 47, 59, 10, 18, 26, 27, 37], | |
| "ct": [3, 33, 30, 27, 8, 2, 42, 27, 22, 27, 6, 36, 62], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 439, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": [19, 6, 57, 14, -1, 54, 47, 59, 10, 18, 26, 27, 37], | |
| "ct": [19, 28, 25, 32, 44, 15, 30, 23, 3, 52, 63, 12, 12], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 440, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": [19, 6, 57, 14, 35, 54, 47, 59, 10, 18, 26, 27, -1], | |
| "ct": [26, 9, 7, 60, 3, 34, 36, 43, 13, 40, 19, 28, 30], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 441, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2a8d45a073c98e64d71e268b4664d223", | |
| "tweak": "36220a15219d6bf9", | |
| "msg": [64, 8, 19, 59, 47, 54, 16, 54, 3, 61, 18, 8, 15], | |
| "ct": [46, 44, 0, 25, 9, 1, 28, 37, 41, 7, 60, 17, 47], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 442, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2a8d45a073c98e64d71e268b4664d223", | |
| "tweak": "36220a15219d6bf9", | |
| "msg": [41, 8, 19, 59, 64, 54, 16, 54, 3, 61, 18, 8, 15], | |
| "ct": [25, 38, 52, 37, 19, 17, 6, 49, 15, 7, 24, 51, 30], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 443, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2a8d45a073c98e64d71e268b4664d223", | |
| "tweak": "36220a15219d6bf9", | |
| "msg": [41, 8, 19, 59, 47, 54, 16, 54, 3, 61, 18, 8, 64], | |
| "ct": [17, 60, 28, 17, 41, 4, 29, 57, 32, 10, 47, 39, 27], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 14, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 444, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "7a1122636a4417351c97156308d4f6aa", | |
| "tweak": "a9508e64d1ab8e34", | |
| "msg": [6, 38, 35, 49, 11, 14, 8, 56, 12, 59, 25, 42, 6, 44], | |
| "ct": [9, 54, 53, 40, 32, 27, 58, 15, 44, 36, 43, 60, 50, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 445, | |
| "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": [60, 58, 41, 37, 15, 13, 19, 56, 35, 40, 54, 6, 3, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 446, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [55, 9, 14, 17, 4, 52, 51, 30, 15, 9, 59, 46, 17, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 447, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "ct": [58, 57, 15, 31, 55, 34, 34, 4, 63, 18, 56, 3, 45, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 448, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "ct": [40, 40, 29, 27, 48, 11, 54, 19, 63, 10, 34, 60, 46, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 449, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [45, 63, 23, 20, 43, 26, 19, 42, 2, 19, 40, 31, 56, 20], | |
| "ct": [10, 24, 52, 5, 44, 33, 27, 23, 60, 31, 3, 42, 1, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 450, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [21, 35, 53, 50, 4, 38, 44, 37, 17, 24, 50, 7, 21, 24], | |
| "ct": [52, 2, 26, 52, 40, 29, 22, 55, 34, 26, 20, 37, 13, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 451, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [49, 31, 33, 2, 15, 3, 31, 32, 38, 59, 52, 9, 22, 4], | |
| "ct": [38, 32, 15, 10, 37, 4, 36, 48, 47, 3, 32, 49, 34, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 452, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [1, 6, 12, 59, 24, 25, 14, 57, 3, 36, 8, 32, 6, 45], | |
| "ct": [53, 12, 39, 13, 23, 42, 49, 46, 35, 25, 53, 46, 62, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 453, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [36, 62, 40, 4, 36, 42, 47, 20, 5, 5, 11, 32, 19, 47], | |
| "ct": [52, 10, 0, 47, 27, 2, 45, 39, 40, 52, 52, 17, 38, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 454, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [17, 56, 21, 14, 22, 51, 53, 48, 61, 16, 44, 18, 33, 5], | |
| "ct": [46, 31, 14, 37, 32, 39, 45, 33, 41, 7, 4, 14, 43, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 455, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [0, 49, 50, 46, 63, 18, 30, 57, 35, 5, 54, 28, 13, 52], | |
| "ct": [45, 25, 24, 21, 41, 55, 56, 39, 42, 27, 50, 57, 35, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 456, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [33, 23, 62, 21, 22, 30, 47, 40, 52, 45, 55, 41, 4, 52], | |
| "ct": [11, 53, 37, 43, 49, 52, 38, 42, 30, 26, 36, 18, 38, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 457, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [23, 50, 50, 11, 14, 40, 52, 50, 14, 8, 55, 43, 36, 45], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 458, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [0, 22, 56, 56, 48, 42, 6, 27, 3, 55, 4, 33, 49, 30], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 459, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [12, 7, 23, 51, 58, 20, 60, 24, 25, 36, 15, 23, 63, 16], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 460, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [16, 60, 62, 17, 19, 40, 9, 26, 7, 25, 60, 10, 39, 50], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 461, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "afe46807e18e6f5e44", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 27, 62, 10, 44, 58, 18, 9], | |
| "ct": [23, 35, 59, 42, 57, 40, 37, 28, 51, 47, 24, 61, 19, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 462, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "afe46807e18e6f5e44", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 27, 62, 10, 44, 58, 18, 9], | |
| "ct": [11, 19, 15, 58, 32, 60, 56, 24, 57, 37, 22, 30, 47, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 463, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "afe46807e18e6f5e44", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 27, 62, 10, 44, 58, 18, 9], | |
| "ct": [9, 60, 35, 47, 17, 25, 28, 10, 53, 51, 9, 17, 26, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 464, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "afe46807e18e6f5e44", | |
| "msg": [63, 63, 63, 63, 63, 63, 62, 27, 62, 10, 44, 58, 18, 9], | |
| "ct": [52, 18, 4, 44, 60, 26, 39, 36, 23, 45, 4, 3, 41, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 465, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "afe46807e18e6f5e44", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 27, 62, 10, 44, 58, 18, 9], | |
| "ct": [52, 54, 58, 45, 5, 48, 12, 58, 3, 34, 29, 34, 11, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 466, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "e4d13bcdfa5f772e90", | |
| "msg": [38, 46, 21, 60, 19, 19, 38, 62, 19, 63, 7, 55, 7, 5], | |
| "ct": [63, 63, 63, 63, 63, 63, 0, 5, 37, 13, 62, 27, 35, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 467, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "e4d13bcdfa5f772e90", | |
| "msg": [36, 26, 38, 18, 52, 35, 6, 8, 25, 56, 47, 24, 30, 11], | |
| "ct": [63, 63, 63, 63, 63, 63, 1, 38, 9, 39, 48, 1, 40, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 468, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "e4d13bcdfa5f772e90", | |
| "msg": [61, 57, 50, 10, 32, 39, 32, 1, 3, 57, 63, 52, 53, 18], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 14, 3, 29, 26, 52, 62, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 469, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "e4d13bcdfa5f772e90", | |
| "msg": [2, 38, 25, 38, 63, 2, 24, 10, 3, 21, 22, 44, 63, 10], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 56, 3, 44, 47, 29, 27, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 470, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "e4d13bcdfa5f772e90", | |
| "msg": [37, 47, 11, 21, 30, 48, 57, 44, 47, 0, 14, 42, 35, 25], | |
| "ct": [31, 63, 63, 63, 63, 63, 0, 21, 30, 13, 6, 32, 43, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 471, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "e4d13bcdfa5f772e90", | |
| "msg": [34, 8, 11, 56, 20, 38, 28, 61, 63, 18, 23, 36, 17, 22], | |
| "ct": [63, 63, 63, 63, 63, 62, 63, 15, 62, 63, 61, 19, 38, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 472, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "aafb628b635cb90656", | |
| "msg": [52, 22, 2, 27, 35, 58, 39, 23, 6, 1, 47, 3, 44, 30], | |
| "ct": [5, 31, 36, 15, 6, 11, 24, 22, 62, 61, 26, 36, 13, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 473, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "aafb628b635cb90656", | |
| "msg": [6, 19, 40, 18, 62, 20, 59, 57, 45, 55, 39, 10, 63, 28], | |
| "ct": [35, 33, 32, 18, 30, 35, 31, 42, 60, 1, 47, 32, 4, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 474, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "aafb628b635cb90656", | |
| "msg": [27, 37, 32, 29, 24, 18, 45, 56, 21, 37, 53, 25, 24, 34], | |
| "ct": [2, 62, 27, 16, 43, 52, 14, 39, 22, 2, 25, 0, 56, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 475, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "aafb628b635cb90656", | |
| "msg": [28, 15, 40, 22, 19, 8, 10, 51, 2, 9, 14, 7, 6, 39], | |
| "ct": [47, 39, 44, 3, 13, 46, 38, 5, 42, 39, 8, 15, 44, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 476, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": [-1, 44, 45, 38, 58, 23, 22, 31, 8, 47, 59, 60, 6, 35], | |
| "ct": [46, 33, 10, 6, 45, 13, 0, 4, 19, 16, 44, 12, 43, 41], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 477, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": [26, 44, 45, 38, -1, 23, 22, 31, 8, 47, 59, 60, 6, 35], | |
| "ct": [17, 46, 27, 58, 34, 27, 17, 33, 12, 59, 31, 0, 40, 59], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 478, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": [26, 44, 45, 38, 58, 23, 22, 31, 8, 47, 59, 60, 6, -1], | |
| "ct": [50, 47, 17, 35, 38, 28, 27, 31, 24, 42, 0, 60, 57, 55], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 479, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "98b68f204432156c698b264c25f9a482", | |
| "tweak": "11bfc5643f7067ab", | |
| "msg": [64, 44, 56, 45, 13, 45, 44, 55, 24, 51, 27, 5, 57, 24], | |
| "ct": [39, 35, 9, 25, 26, 28, 63, 28, 15, 36, 55, 40, 17, 31], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 480, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "98b68f204432156c698b264c25f9a482", | |
| "tweak": "11bfc5643f7067ab", | |
| "msg": [48, 44, 56, 45, 64, 45, 44, 55, 24, 51, 27, 5, 57, 24], | |
| "ct": [19, 45, 53, 47, 25, 0, 47, 5, 60, 23, 57, 23, 4, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 481, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "98b68f204432156c698b264c25f9a482", | |
| "tweak": "11bfc5643f7067ab", | |
| "msg": [48, 44, 56, 45, 13, 45, 44, 55, 24, 51, 27, 5, 57, 64], | |
| "ct": [6, 14, 49, 43, 1, 12, 23, 29, 13, 10, 27, 34, 30, 15], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 15, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 482, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "7b0c5d430ef9383b04b2691ce3402a9a", | |
| "tweak": "ec71532112064259", | |
| "msg": [12, 5, 14, 30, 2, 12, 27, 36, 27, 34, 7, 17, 42, 58, 60], | |
| "ct": [51, 30, 14, 62, 60, 42, 21, 51, 32, 62, 41, 19, 41, 0, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 483, | |
| "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": [33, 27, 56, 52, 44, 53, 29, 16, 1, 10, 42, 14, 15, 29, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 484, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [29, 22, 39, 9, 18, 59, 9, 60, 6, 13, 2, 50, 38, 23, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 485, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [33, 47, 25, 34, 7, 46, 10, 37, 11, 10, 16, 33, 5, 35, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 486, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [42, 26, 13, 29, 10, 19, 10, 4, 17, 47, 24, 47, 34, 45, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 487, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [29, 63, 32, 46, 27, 44, 21, 11, 29, 51, 46, 2, 13, 13, 38], | |
| "ct": [16, 58, 49, 15, 27, 32, 28, 35, 61, 3, 46, 28, 20, 3, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 488, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [26, 54, 43, 32, 2, 8, 22, 62, 48, 35, 49, 23, 10, 21, 47], | |
| "ct": [51, 18, 35, 30, 4, 56, 49, 45, 11, 8, 26, 19, 52, 25, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 489, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [6, 34, 46, 3, 58, 5, 49, 31, 42, 44, 5, 51, 0, 60, 1], | |
| "ct": [1, 9, 39, 26, 24, 35, 13, 42, 43, 35, 2, 51, 1, 46, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 490, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [20, 20, 15, 29, 41, 35, 9, 8, 32, 30, 1, 22, 36, 17, 4], | |
| "ct": [30, 57, 55, 26, 25, 38, 32, 6, 11, 24, 12, 60, 8, 52, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 491, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [8, 12, 47, 13, 6, 50, 34, 7, 20, 23, 0, 28, 2, 18, 14], | |
| "ct": [22, 17, 38, 55, 14, 0, 36, 14, 19, 55, 32, 8, 7, 45, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 492, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [42, 16, 24, 10, 34, 62, 3, 24, 51, 46, 56, 47, 47, 48, 43], | |
| "ct": [57, 35, 13, 62, 7, 17, 15, 47, 46, 38, 56, 36, 37, 37, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 493, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [41, 2, 50, 10, 54, 22, 35, 29, 39, 40, 19, 25, 11, 28, 51], | |
| "ct": [24, 2, 30, 29, 0, 30, 36, 23, 43, 16, 53, 21, 38, 40, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 494, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [54, 56, 24, 36, 21, 19, 54, 26, 49, 51, 23, 59, 22, 53, 9], | |
| "ct": [21, 27, 28, 3, 54, 21, 14, 36, 43, 31, 4, 62, 38, 52, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 495, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [44, 50, 2, 16, 49, 41, 24, 53, 29, 42, 16, 2, 18, 63, 45], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 496, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [11, 54, 60, 35, 7, 43, 6, 56, 43, 21, 35, 49, 43, 55, 36], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 497, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [45, 38, 26, 15, 28, 61, 28, 48, 16, 62, 45, 52, 27, 43, 38], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 498, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [37, 13, 12, 17, 9, 48, 48, 18, 56, 59, 51, 9, 59, 46, 63], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 499, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "25cae4d236432bb997", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 18, 40, 17, 7, 61, 47, 6, 1], | |
| "ct": [56, 8, 16, 9, 55, 29, 44, 19, 57, 50, 8, 4, 40, 14, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 500, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "25cae4d236432bb997", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 18, 40, 17, 7, 61, 47, 6, 1], | |
| "ct": [10, 5, 22, 48, 55, 63, 5, 20, 52, 54, 2, 55, 29, 2, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 501, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "25cae4d236432bb997", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 18, 40, 17, 7, 61, 47, 6, 1], | |
| "ct": [60, 56, 28, 3, 29, 10, 58, 14, 9, 44, 21, 63, 8, 28, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 502, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "25cae4d236432bb997", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 18, 40, 17, 7, 61, 47, 6, 1], | |
| "ct": [10, 9, 1, 16, 34, 18, 21, 5, 14, 41, 26, 21, 42, 17, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 503, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "074c17b8f4ad9ac944", | |
| "msg": [13, 25, 12, 61, 57, 25, 7, 34, 38, 45, 54, 40, 38, 54, 11], | |
| "ct": [51, 57, 18, 38, 56, 5, 19, 6, 12, 43, 18, 7, 5, 27, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 504, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "074c17b8f4ad9ac944", | |
| "msg": [45, 42, 16, 48, 15, 13, 35, 61, 22, 6, 55, 55, 44, 15, 11], | |
| "ct": [59, 41, 37, 57, 47, 58, 2, 51, 31, 48, 55, 11, 12, 46, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 505, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "074c17b8f4ad9ac944", | |
| "msg": [45, 7, 56, 20, 15, 53, 10, 26, 51, 29, 50, 51, 39, 42, 34], | |
| "ct": [54, 9, 56, 21, 7, 16, 11, 55, 48, 50, 28, 4, 20, 18, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 506, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "074c17b8f4ad9ac944", | |
| "msg": [58, 55, 61, 20, 43, 20, 54, 3, 40, 0, 9, 42, 9, 16, 56], | |
| "ct": [2, 13, 59, 27, 49, 46, 0, 31, 61, 61, 23, 4, 10, 14, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 507, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "074c17b8f4ad9ac944", | |
| "msg": [54, 11, 24, 24, 53, 52, 52, 0, 20, 21, 60, 57, 12, 32, 49], | |
| "ct": [51, 2, 31, 21, 0, 37, 3, 25, 42, 49, 54, 58, 27, 45, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 508, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c4655d788add8d019a", | |
| "msg": [16, 13, 32, 29, 6, 32, 57, 1, 20, 63, 54, 0, 53, 61, 13], | |
| "ct": [32, 47, 62, 60, 55, 1, 9, 25, 16, 23, 4, 31, 21, 59, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 509, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c4655d788add8d019a", | |
| "msg": [0, 41, 34, 1, 63, 63, 19, 49, 47, 26, 59, 0, 12, 0, 57], | |
| "ct": [48, 50, 31, 62, 1, 53, 8, 3, 43, 38, 55, 24, 27, 32, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 510, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c4655d788add8d019a", | |
| "msg": [50, 47, 52, 27, 2, 3, 21, 57, 46, 25, 46, 8, 44, 29, 11], | |
| "ct": [35, 57, 40, 61, 21, 34, 35, 32, 60, 20, 53, 55, 12, 23, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 511, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c4655d788add8d019a", | |
| "msg": [41, 39, 51, 2, 35, 32, 11, 26, 47, 52, 16, 58, 36, 7, 35], | |
| "ct": [13, 8, 30, 16, 13, 54, 55, 28, 46, 34, 11, 14, 38, 8, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 512, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "9996ac405f769ed835", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 25, 43, 61, 54, 9, 35, 26, 14], | |
| "ct": [33, 11, 33, 34, 51, 4, 8, 57, 3, 24, 62, 17, 42, 60, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 513, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "9996ac405f769ed835", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 25, 43, 61, 54, 9, 35, 26, 14], | |
| "ct": [18, 26, 43, 35, 52, 53, 61, 11, 30, 57, 41, 39, 16, 15, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 514, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "9996ac405f769ed835", | |
| "msg": [0, 0, 0, 0, 0, 0, 63, 25, 43, 61, 54, 9, 35, 26, 14], | |
| "ct": [26, 24, 40, 51, 50, 0, 31, 52, 60, 29, 62, 54, 36, 55, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 515, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "9996ac405f769ed835", | |
| "msg": [0, 0, 0, 0, 0, 1, 0, 25, 43, 61, 54, 9, 35, 26, 14], | |
| "ct": [33, 17, 16, 43, 48, 18, 62, 49, 39, 20, 45, 18, 19, 32, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 516, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "9996ac405f769ed835", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 25, 43, 61, 54, 9, 35, 26, 14], | |
| "ct": [13, 51, 32, 15, 9, 10, 55, 17, 32, 28, 11, 60, 51, 19, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 517, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "9996ac405f769ed835", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 25, 43, 61, 54, 9, 35, 26, 14], | |
| "ct": [40, 14, 51, 14, 28, 54, 58, 18, 42, 54, 46, 55, 3, 16, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 518, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "5a26f2d44dc8edac51", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 17, 46, 7, 31, 7, 3, 47, 12], | |
| "ct": [58, 45, 45, 57, 30, 55, 53, 50, 23, 22, 51, 16, 14, 33, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 519, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "5a26f2d44dc8edac51", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 17, 46, 7, 31, 7, 3, 47, 12], | |
| "ct": [9, 32, 63, 26, 33, 49, 54, 46, 11, 61, 12, 17, 4, 17, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 520, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "5a26f2d44dc8edac51", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 17, 46, 7, 31, 7, 3, 47, 12], | |
| "ct": [52, 33, 47, 61, 6, 52, 4, 23, 15, 21, 0, 50, 33, 3, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 521, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "5a26f2d44dc8edac51", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 17, 46, 7, 31, 7, 3, 47, 12], | |
| "ct": [3, 30, 0, 28, 13, 5, 7, 42, 28, 15, 56, 22, 58, 29, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 522, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": [-1, 23, 3, 22, 24, 42, 7, 10, 43, 12, 21, 26, 39, 7, 47], | |
| "ct": [40, 7, 7, 57, 43, 63, 29, 43, 46, 21, 6, 12, 0, 63, 10], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 523, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": [33, 23, 3, 22, 24, -1, 7, 10, 43, 12, 21, 26, 39, 7, 47], | |
| "ct": [3, 3, 23, 62, 21, 27, 46, 54, 49, 34, 59, 52, 16, 28, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 524, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": [33, 23, 3, 22, 24, 42, 7, 10, 43, 12, 21, 26, 39, 7, -1], | |
| "ct": [16, 53, 45, 19, 15, 63, 16, 20, 17, 61, 19, 62, 14, 3, 2], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 525, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "37c461cc55853a0a6d98c9a713cb772d", | |
| "tweak": "576d43fb2d4660f8", | |
| "msg": [64, 57, 36, 40, 56, 6, 59, 62, 6, 37, 8, 39, 6, 38, 53], | |
| "ct": [12, 42, 39, 11, 10, 30, 35, 47, 39, 38, 33, 47, 26, 15, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 526, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "37c461cc55853a0a6d98c9a713cb772d", | |
| "tweak": "576d43fb2d4660f8", | |
| "msg": [60, 57, 36, 40, 56, 64, 59, 62, 6, 37, 8, 39, 6, 38, 53], | |
| "ct": [13, 45, 7, 3, 3, 34, 44, 38, 47, 10, 40, 6, 59, 28, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 527, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "37c461cc55853a0a6d98c9a713cb772d", | |
| "tweak": "576d43fb2d4660f8", | |
| "msg": [60, 57, 36, 40, 56, 6, 59, 62, 6, 37, 8, 39, 6, 38, 64], | |
| "ct": [57, 57, 19, 61, 32, 28, 3, 2, 47, 35, 35, 0, 12, 9, 14], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 16, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 528, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "48f0d03e41cc55c4b58f737b5acdea32", | |
| "tweak": "30944debca89ca90", | |
| "msg": [16, 4, 15, 62, 1, 49, 36, 1, 9, 22, 42, 1, 47, 5, 15, 24], | |
| "ct": [0, 53, 32, 60, 63, 41, 26, 8, 8, 35, 35, 6, 48, 49, 10, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 529, | |
| "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": [63, 60, 30, 52, 12, 17, 61, 31, 5, 18, 61, 55, 58, 1, 13, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 530, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [3, 42, 19, 48, 16, 29, 4, 29, 54, 0, 49, 48, 9, 42, 33, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 531, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [61, 29, 22, 10, 20, 41, 33, 16, 51, 47, 21, 34, 41, 1, 47, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 532, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [30, 60, 62, 3, 46, 8, 47, 55, 10, 8, 11, 14, 32, 42, 16, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 533, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [2, 29, 13, 5, 37, 0, 46, 61, 35, 33, 14, 32, 19, 37, 34, 9], | |
| "ct": [39, 53, 10, 37, 9, 15, 27, 45, 62, 10, 26, 7, 33, 46, 30, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 534, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [9, 33, 55, 25, 46, 11, 63, 10, 17, 44, 39, 44, 42, 10, 62, 61], | |
| "ct": [29, 43, 10, 24, 59, 18, 38, 36, 45, 4, 3, 33, 51, 1, 40, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 535, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [20, 47, 43, 51, 27, 10, 12, 3, 40, 22, 46, 31, 13, 44, 7, 60], | |
| "ct": [0, 34, 25, 24, 38, 38, 51, 42, 3, 57, 4, 43, 38, 51, 2, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 536, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [8, 24, 16, 46, 26, 55, 14, 17, 3, 34, 1, 51, 60, 8, 5, 13], | |
| "ct": [10, 63, 23, 5, 52, 57, 59, 38, 33, 50, 34, 22, 40, 48, 28, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 537, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [22, 1, 44, 19, 39, 61, 62, 35, 61, 13, 34, 40, 40, 2, 21, 15], | |
| "ct": [43, 13, 35, 63, 16, 45, 22, 55, 20, 47, 53, 25, 63, 60, 3, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 538, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [2, 32, 7, 10, 26, 63, 60, 12, 34, 24, 55, 20, 58, 22, 57, 49], | |
| "ct": [17, 55, 43, 2, 56, 36, 11, 31, 11, 12, 10, 59, 58, 36, 38, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 539, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [0, 10, 22, 58, 34, 23, 46, 62, 26, 62, 19, 4, 25, 29, 52, 29], | |
| "ct": [30, 19, 46, 13, 20, 41, 1, 30, 40, 28, 39, 53, 16, 54, 8, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 540, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [24, 57, 24, 38, 11, 47, 3, 2, 11, 45, 8, 22, 49, 33, 6, 25], | |
| "ct": [62, 53, 46, 0, 24, 1, 37, 38, 59, 24, 51, 47, 43, 14, 58, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 541, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [22, 27, 6, 31, 14, 7, 12, 59, 7, 34, 44, 31, 39, 47, 59, 55], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 542, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [17, 57, 59, 27, 13, 38, 19, 12, 4, 62, 47, 56, 2, 63, 61, 16], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 543, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [10, 42, 52, 45, 16, 38, 57, 53, 39, 57, 49, 36, 27, 62, 25, 36], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 544, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [2, 55, 54, 22, 46, 50, 22, 1, 3, 13, 52, 0, 23, 2, 54, 30], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 545, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "a29b4d372fe6cabfd8", | |
| "msg": [42, 15, 42, 62, 7, 20, 29, 54, 34, 25, 58, 56, 30, 22, 38, 18], | |
| "ct": [54, 3, 23, 40, 57, 56, 50, 12, 42, 38, 30, 31, 48, 45, 21, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 546, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "a29b4d372fe6cabfd8", | |
| "msg": [47, 2, 0, 10, 18, 60, 49, 50, 24, 16, 39, 24, 18, 30, 40, 24], | |
| "ct": [32, 63, 30, 59, 19, 0, 13, 58, 31, 24, 28, 57, 6, 24, 30, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 547, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "a29b4d372fe6cabfd8", | |
| "msg": [20, 48, 9, 7, 63, 32, 61, 7, 47, 38, 4, 42, 63, 8, 0, 55], | |
| "ct": [25, 37, 63, 9, 59, 4, 30, 60, 6, 41, 43, 32, 50, 16, 54, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 548, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "a29b4d372fe6cabfd8", | |
| "msg": [17, 1, 45, 28, 10, 37, 61, 51, 2, 20, 53, 37, 11, 28, 36, 6], | |
| "ct": [12, 1, 49, 0, 30, 45, 50, 26, 35, 22, 14, 49, 21, 18, 36, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 549, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "9ff45186136b0dc2be", | |
| "msg": [25, 37, 9, 11, 40, 4, 38, 63, 57, 3, 63, 25, 39, 59, 49, 53], | |
| "ct": [3, 26, 48, 28, 26, 15, 3, 15, 0, 38, 19, 5, 57, 38, 1, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 550, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "9ff45186136b0dc2be", | |
| "msg": [53, 26, 7, 40, 36, 18, 26, 0, 2, 28, 13, 53, 27, 36, 6, 42], | |
| "ct": [29, 11, 1, 44, 54, 49, 29, 55, 56, 37, 12, 61, 31, 21, 12, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 551, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "9ff45186136b0dc2be", | |
| "msg": [35, 29, 19, 56, 24, 46, 43, 29, 32, 36, 24, 13, 60, 56, 11, 43], | |
| "ct": [27, 22, 59, 46, 8, 35, 56, 53, 33, 35, 25, 1, 30, 48, 53, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 552, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "9ff45186136b0dc2be", | |
| "msg": [21, 17, 6, 42, 55, 49, 47, 1, 56, 58, 10, 33, 0, 15, 29, 24], | |
| "ct": [51, 21, 53, 57, 58, 9, 45, 7, 2, 30, 37, 19, 9, 31, 22, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 553, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "9ff45186136b0dc2be", | |
| "msg": [43, 46, 50, 11, 13, 5, 14, 58, 56, 30, 12, 11, 13, 35, 32, 56], | |
| "ct": [47, 39, 3, 22, 46, 10, 12, 1, 1, 19, 61, 48, 54, 47, 46, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 554, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "b4f513ac64d500f470", | |
| "msg": [32, 45, 61, 7, 49, 53, 6, 10, 18, 36, 14, 55, 53, 61, 14, 29], | |
| "ct": [44, 44, 45, 54, 34, 23, 15, 50, 38, 55, 43, 24, 11, 3, 19, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 555, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "b4f513ac64d500f470", | |
| "msg": [18, 4, 0, 18, 62, 52, 0, 6, 2, 32, 60, 48, 42, 56, 4, 45], | |
| "ct": [54, 13, 43, 41, 59, 36, 36, 60, 22, 1, 44, 34, 13, 55, 49, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 556, | |
| "comment": "y is maximal and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "b4f513ac64d500f470", | |
| "msg": [19, 19, 37, 40, 45, 41, 11, 62, 18, 53, 23, 8, 60, 49, 50, 18], | |
| "ct": [38, 10, 32, 12, 47, 35, 31, 54, 21, 50, 19, 46, 5, 45, 56, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 557, | |
| "comment": "y is maximal and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "b4f513ac64d500f470", | |
| "msg": [7, 23, 25, 14, 9, 28, 8, 38, 2, 38, 5, 54, 51, 16, 10, 51], | |
| "ct": [43, 48, 55, 0, 24, 53, 0, 50, 17, 19, 47, 23, 24, 42, 17, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 558, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "37b663e0df347e9fd6", | |
| "msg": [28, 52, 8, 11, 12, 36, 15, 22, 34, 11, 50, 63, 41, 47, 60, 49], | |
| "ct": [30, 7, 8, 22, 29, 24, 59, 1, 63, 63, 63, 63, 63, 63, 63, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 559, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "37b663e0df347e9fd6", | |
| "msg": [6, 6, 41, 42, 56, 39, 16, 18, 21, 7, 58, 23, 47, 23, 32, 57], | |
| "ct": [30, 7, 8, 22, 29, 24, 59, 1, 63, 63, 63, 63, 63, 63, 63, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 560, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "37b663e0df347e9fd6", | |
| "msg": [63, 1, 35, 20, 8, 20, 50, 5, 37, 39, 13, 5, 52, 23, 61, 0], | |
| "ct": [30, 7, 8, 22, 29, 24, 59, 1, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 561, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "37b663e0df347e9fd6", | |
| "msg": [23, 28, 18, 39, 54, 6, 15, 20, 22, 2, 62, 14, 20, 17, 33, 42], | |
| "ct": [30, 7, 8, 22, 29, 24, 59, 1, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 562, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "37b663e0df347e9fd6", | |
| "msg": [32, 32, 21, 40, 12, 2, 30, 26, 16, 3, 26, 25, 41, 19, 52, 45], | |
| "ct": [30, 7, 8, 22, 29, 24, 59, 1, 31, 63, 63, 63, 63, 63, 63, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 563, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "37b663e0df347e9fd6", | |
| "msg": [40, 47, 27, 28, 18, 1, 50, 2, 22, 24, 52, 46, 63, 20, 2, 50], | |
| "ct": [30, 7, 8, 22, 29, 24, 59, 1, 63, 63, 63, 63, 63, 63, 62, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 564, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "8fa70e423d0c130272", | |
| "msg": [51, 61, 39, 41, 41, 9, 52, 31, 49, 46, 0, 48, 59, 3, 61, 48], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 61, 28, 37, 30, 7, 31, 10, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 565, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "8fa70e423d0c130272", | |
| "msg": [16, 27, 61, 61, 19, 43, 38, 15, 12, 50, 36, 22, 30, 53, 1, 14], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 50, 58, 35, 0, 48, 48, 18, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 566, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "8fa70e423d0c130272", | |
| "msg": [13, 35, 28, 41, 23, 13, 0, 3, 34, 44, 59, 5, 15, 24, 9, 34], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 7, 18, 27, 8, 13, 41, 57, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 567, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "8fa70e423d0c130272", | |
| "msg": [24, 24, 24, 15, 0, 35, 54, 56, 1, 50, 15, 12, 21, 26, 63, 21], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 62, 24, 15, 13, 49, 14, 41, 8, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 568, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": [-1, 37, 20, 21, 9, 29, 6, 5, 7, 39, 59, 31, 21, 21, 34, 40], | |
| "ct": [49, 44, 54, 6, 6, 38, 1, 49, 13, 32, 2, 61, 49, 22, 47, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 569, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": [28, 37, 20, 21, 9, -1, 6, 5, 7, 39, 59, 31, 21, 21, 34, 40], | |
| "ct": [62, 28, 27, 26, 5, 44, 39, 37, 19, 18, 23, 63, 57, 10, 35, 20], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 570, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": [28, 37, 20, 21, 9, 29, 6, 5, 7, 39, 59, 31, 21, 21, 34, -1], | |
| "ct": [10, 55, 52, 40, 54, 54, 37, 21, 35, 40, 57, 30, 34, 11, 4, 42], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 571, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "af0e51d63b2ee91711233efb432a40e8", | |
| "tweak": "f5d1dd9c081cd5e9", | |
| "msg": [64, 51, 6, 46, 27, 35, 13, 35, 5, 60, 15, 49, 53, 59, 47, 33], | |
| "ct": [5, 27, 35, 10, 58, 26, 55, 16, 21, 39, 40, 61, 39, 17, 54, 50], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 572, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "af0e51d63b2ee91711233efb432a40e8", | |
| "tweak": "f5d1dd9c081cd5e9", | |
| "msg": [15, 51, 6, 46, 27, 64, 13, 35, 5, 60, 15, 49, 53, 59, 47, 33], | |
| "ct": [39, 6, 19, 1, 42, 6, 26, 38, 50, 62, 62, 5, 1, 38, 29, 62], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 573, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "af0e51d63b2ee91711233efb432a40e8", | |
| "tweak": "f5d1dd9c081cd5e9", | |
| "msg": [15, 51, 6, 46, 27, 35, 13, 35, 5, 60, 15, 49, 53, 59, 47, 64], | |
| "ct": [28, 29, 47, 22, 8, 41, 20, 10, 0, 55, 60, 16, 61, 57, 18, 61], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 17, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 574, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "22351a53774415942eb879b483eda9a2", | |
| "tweak": "b4a5dce9958d53fc", | |
| "msg": [17, 44, 16, 11, 50, 53, 55, 59, 17, 21, 57, 34, 56, 52, 47, 44, 58], | |
| "ct": [38, 12, 30, 9, 53, 12, 34, 48, 49, 49, 6, 7, 37, 49, 21, 34, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 575, | |
| "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": [45, 49, 48, 38, 61, 2, 2, 61, 30, 51, 25, 54, 36, 23, 55, 44, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 576, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [61, 34, 21, 8, 5, 54, 19, 19, 22, 48, 42, 28, 50, 14, 54, 53, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 577, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [59, 46, 31, 6, 13, 37, 26, 1, 15, 3, 60, 58, 13, 54, 57, 8, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 578, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [51, 40, 60, 48, 40, 38, 45, 33, 29, 8, 36, 46, 62, 8, 18, 57, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 579, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [62, 14, 50, 63, 51, 52, 42, 41, 1, 58, 31, 47, 3, 0, 41, 15, 63], | |
| "ct": [38, 9, 3, 45, 63, 9, 53, 8, 49, 21, 11, 34, 5, 6, 6, 0, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 580, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [36, 36, 20, 33, 59, 31, 0, 24, 53, 20, 32, 43, 14, 16, 11, 49, 14], | |
| "ct": [59, 51, 48, 41, 38, 51, 25, 9, 24, 29, 32, 38, 32, 6, 20, 30, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 581, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [23, 22, 12, 12, 48, 22, 22, 18, 39, 17, 63, 22, 9, 23, 9, 18, 44], | |
| "ct": [31, 62, 29, 30, 10, 37, 0, 58, 29, 40, 47, 50, 12, 25, 39, 41, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 582, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [1, 59, 39, 7, 58, 1, 40, 20, 39, 43, 38, 20, 15, 20, 14, 47, 4], | |
| "ct": [57, 9, 26, 58, 1, 12, 12, 3, 26, 5, 54, 19, 34, 25, 18, 59, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 583, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [10, 30, 14, 24, 21, 14, 46, 26, 49, 21, 0, 30, 34, 23, 3, 22, 36], | |
| "ct": [41, 26, 36, 27, 20, 35, 47, 19, 14, 63, 54, 37, 17, 28, 3, 7, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 584, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [8, 43, 39, 16, 5, 51, 39, 26, 24, 29, 31, 8, 19, 58, 52, 40, 53], | |
| "ct": [53, 9, 37, 57, 30, 63, 25, 30, 51, 8, 58, 42, 21, 16, 57, 63, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 585, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [9, 6, 53, 51, 6, 36, 34, 42, 27, 9, 3, 9, 17, 18, 9, 58, 62], | |
| "ct": [36, 50, 58, 12, 20, 29, 56, 11, 41, 22, 42, 56, 53, 2, 47, 32, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 586, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [29, 59, 62, 4, 9, 23, 53, 35, 58, 53, 21, 8, 24, 13, 13, 21, 15], | |
| "ct": [33, 12, 15, 57, 53, 21, 8, 39, 9, 62, 9, 47, 1, 31, 46, 4, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 587, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [13, 38, 4, 24, 13, 38, 1, 7, 1, 38, 10, 11, 5, 23, 26, 49, 50], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 588, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [21, 5, 25, 53, 50, 62, 38, 45, 33, 61, 24, 48, 0, 36, 38, 2, 58], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 589, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [23, 38, 17, 48, 61, 40, 31, 22, 14, 43, 18, 34, 60, 5, 32, 36, 59], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 590, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [11, 39, 60, 20, 16, 11, 38, 44, 50, 25, 37, 38, 19, 53, 62, 30, 50], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 591, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b8b565663d384096", | |
| "msg": [25, 61, 24, 60, 30, 27, 60, 63, 2, 27, 15, 55, 56, 52, 34, 13, 61], | |
| "ct": [10, 12, 47, 15, 35, 35, 9, 45, 50, 60, 2, 11, 56, 7, 39, 47, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 592, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b8b565663d384096", | |
| "msg": [35, 57, 44, 59, 35, 31, 4, 40, 56, 22, 19, 52, 63, 10, 45, 47, 14], | |
| "ct": [60, 27, 27, 19, 5, 29, 13, 11, 14, 37, 47, 53, 60, 60, 15, 60, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 593, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b8b565663d384096", | |
| "msg": [41, 63, 40, 53, 5, 24, 38, 3, 17, 63, 20, 48, 15, 21, 59, 6, 9], | |
| "ct": [24, 44, 46, 35, 24, 8, 12, 31, 4, 47, 18, 58, 22, 13, 61, 45, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 594, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b8b565663d384096", | |
| "msg": [57, 16, 27, 3, 29, 28, 23, 53, 3, 0, 62, 42, 34, 0, 27, 36, 34], | |
| "ct": [36, 3, 17, 0, 44, 9, 25, 27, 24, 6, 32, 52, 20, 52, 37, 4, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 595, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "2ad933b536320368", | |
| "msg": [23, 48, 16, 56, 55, 41, 19, 21, 9, 50, 20, 36, 21, 24, 34, 40, 43], | |
| "ct": [19, 2, 51, 21, 36, 28, 57, 24, 44, 6, 13, 45, 27, 25, 46, 20, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 596, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "2ad933b536320368", | |
| "msg": [9, 40, 35, 3, 0, 52, 40, 25, 40, 41, 53, 56, 35, 30, 51, 45, 34], | |
| "ct": [41, 54, 55, 18, 31, 40, 23, 0, 8, 47, 26, 19, 10, 34, 13, 51, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 597, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "2ad933b536320368", | |
| "msg": [63, 35, 41, 14, 16, 39, 26, 52, 43, 10, 56, 2, 31, 39, 6, 0, 12], | |
| "ct": [39, 56, 45, 50, 31, 22, 50, 6, 7, 23, 22, 58, 50, 27, 21, 20, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 598, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "2ad933b536320368", | |
| "msg": [5, 3, 56, 33, 32, 1, 8, 52, 11, 63, 2, 7, 44, 44, 28, 5, 33], | |
| "ct": [45, 14, 51, 10, 24, 34, 38, 42, 55, 34, 61, 50, 2, 5, 10, 39, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 599, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "2ad933b536320368", | |
| "msg": [63, 6, 52, 53, 15, 42, 51, 16, 20, 46, 26, 57, 53, 11, 47, 49, 12], | |
| "ct": [26, 37, 9, 15, 44, 14, 49, 24, 20, 38, 14, 30, 40, 62, 52, 8, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 600, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "882bb5d7fcf6e148", | |
| "msg": [23, 45, 46, 56, 47, 53, 29, 29, 61, 30, 50, 63, 45, 8, 30, 34, 12], | |
| "ct": [5, 21, 28, 53, 10, 15, 41, 1, 46, 40, 30, 34, 11, 48, 6, 30, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 601, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "882bb5d7fcf6e148", | |
| "msg": [37, 57, 58, 30, 9, 12, 29, 3, 46, 9, 1, 0, 54, 39, 63, 9, 49], | |
| "ct": [43, 49, 25, 4, 6, 6, 21, 27, 13, 48, 35, 11, 59, 36, 50, 8, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 602, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "882bb5d7fcf6e148", | |
| "msg": [47, 52, 63, 45, 54, 62, 1, 37, 37, 13, 2, 2, 56, 54, 21, 38, 17], | |
| "ct": [39, 47, 30, 20, 5, 14, 48, 30, 15, 13, 61, 42, 0, 13, 13, 3, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 603, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "882bb5d7fcf6e148", | |
| "msg": [52, 58, 6, 7, 59, 1, 24, 41, 6, 52, 13, 12, 25, 40, 59, 49, 0], | |
| "ct": [35, 1, 1, 44, 14, 35, 61, 56, 0, 26, 25, 16, 50, 16, 25, 28, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 604, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "7188b04e5eb02d7e", | |
| "msg": [12, 47, 22, 13, 58, 18, 12, 39, 40, 58, 58, 23, 35, 57, 29, 51, 33], | |
| "ct": [19, 33, 57, 23, 29, 43, 31, 16, 51, 54, 22, 62, 25, 14, 35, 61, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 605, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "7188b04e5eb02d7e", | |
| "msg": [42, 45, 23, 15, 48, 59, 20, 37, 9, 42, 62, 39, 38, 28, 28, 39, 37], | |
| "ct": [9, 50, 4, 18, 46, 32, 5, 13, 30, 53, 63, 46, 29, 5, 44, 29, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 606, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "7188b04e5eb02d7e", | |
| "msg": [31, 6, 58, 30, 17, 10, 61, 44, 48, 31, 13, 48, 4, 6, 41, 38, 55], | |
| "ct": [41, 46, 15, 16, 27, 12, 61, 54, 46, 63, 43, 14, 4, 47, 6, 31, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 607, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "7188b04e5eb02d7e", | |
| "msg": [29, 37, 31, 10, 8, 45, 34, 34, 20, 22, 5, 32, 43, 6, 22, 18, 32], | |
| "ct": [3, 25, 35, 13, 17, 17, 48, 18, 1, 62, 39, 59, 58, 7, 61, 59, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 608, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "7188b04e5eb02d7e", | |
| "msg": [9, 36, 50, 15, 60, 29, 12, 58, 62, 52, 4, 14, 18, 42, 26, 12, 4], | |
| "ct": [56, 12, 62, 0, 12, 30, 1, 31, 1, 11, 23, 0, 46, 0, 56, 62, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 609, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "7188b04e5eb02d7e", | |
| "msg": [25, 17, 23, 6, 41, 57, 34, 6, 28, 28, 4, 33, 54, 2, 14, 34, 26], | |
| "ct": [7, 60, 61, 52, 51, 40, 55, 17, 41, 2, 40, 10, 59, 21, 20, 46, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 610, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "8177557646252bdd", | |
| "msg": [50, 60, 3, 27, 35, 45, 38, 62, 25, 46, 8, 57, 5, 46, 41, 19, 51], | |
| "ct": [14, 35, 4, 39, 27, 55, 20, 47, 42, 54, 34, 41, 16, 45, 49, 57, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 611, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "8177557646252bdd", | |
| "msg": [9, 22, 62, 62, 0, 47, 48, 32, 46, 44, 9, 22, 22, 12, 15, 29, 58], | |
| "ct": [34, 22, 4, 5, 27, 30, 45, 52, 29, 34, 53, 26, 2, 5, 23, 14, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 612, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "8177557646252bdd", | |
| "msg": [28, 36, 51, 38, 62, 21, 39, 60, 6, 50, 60, 30, 14, 54, 34, 35, 18], | |
| "ct": [49, 43, 19, 39, 30, 19, 18, 18, 2, 9, 35, 8, 9, 62, 12, 54, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 613, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "8177557646252bdd", | |
| "msg": [57, 61, 59, 28, 61, 42, 11, 54, 34, 21, 22, 45, 58, 4, 15, 62, 0], | |
| "ct": [9, 0, 32, 41, 36, 46, 39, 35, 5, 36, 24, 40, 12, 60, 36, 5, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 614, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": [-1, 54, 33, 12, 61, 17, 52, 50, 28, 11, 57, 4, 18, 13, 40, 41, 4], | |
| "ct": [46, 29, 40, 53, 9, 34, 63, 46, 30, 29, 29, 43, 54, 2, 47, 32, 46], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 615, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": [21, 54, 33, 12, 61, -1, 52, 50, 28, 11, 57, 4, 18, 13, 40, 41, 4], | |
| "ct": [54, 0, 43, 0, 15, 10, 38, 32, 3, 15, 41, 31, 44, 42, 24, 27, 2], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 616, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": [21, 54, 33, 12, 61, 17, 52, 50, 28, 11, 57, 4, 18, 13, 40, 41, -1], | |
| "ct": [62, 56, 34, 14, 46, 42, 2, 48, 47, 55, 29, 33, 58, 45, 13, 62, 31], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 617, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c361e7cfd5c8089a89e9f061c8ea9c06", | |
| "tweak": "cce3ea227ba838f7", | |
| "msg": [64, 0, 44, 3, 5, 13, 10, 11, 45, 51, 3, 32, 37, 13, 40, 19, 12], | |
| "ct": [40, 7, 1, 14, 28, 0, 10, 34, 0, 50, 61, 54, 18, 50, 14, 1, 17], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 618, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c361e7cfd5c8089a89e9f061c8ea9c06", | |
| "tweak": "cce3ea227ba838f7", | |
| "msg": [12, 0, 44, 3, 5, 64, 10, 11, 45, 51, 3, 32, 37, 13, 40, 19, 12], | |
| "ct": [51, 25, 44, 62, 11, 9, 57, 50, 51, 16, 16, 34, 50, 40, 50, 28, 30], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 619, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c361e7cfd5c8089a89e9f061c8ea9c06", | |
| "tweak": "cce3ea227ba838f7", | |
| "msg": [12, 0, 44, 3, 5, 13, 10, 11, 45, 51, 3, 32, 37, 13, 40, 19, 64], | |
| "ct": [46, 60, 34, 4, 7, 23, 10, 15, 3, 11, 10, 11, 3, 12, 6, 63, 51], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 18, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 620, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "40dcd7ccae73e5e9bba5523fbab77a3c", | |
| "tweak": "60ddd7c8df1437cf", | |
| "msg": [35, 57, 16, 57, 53, 58, 40, 54, 2, 56, 34, 0, 5, 5, 39, 11, 45, 15], | |
| "ct": [24, 61, 5, 56, 12, 13, 36, 47, 3, 29, 0, 24, 12, 43, 36, 56, 0, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 621, | |
| "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": [3, 23, 63, 57, 1, 60, 16, 16, 35, 10, 2, 47, 57, 26, 13, 2, 62, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 622, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [49, 19, 30, 8, 6, 62, 52, 1, 26, 53, 45, 61, 51, 15, 34, 19, 0, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 623, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [46, 29, 38, 29, 41, 55, 8, 52, 39, 46, 39, 39, 28, 44, 19, 58, 8, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 624, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [28, 11, 9, 32, 53, 56, 56, 16, 9, 17, 17, 4, 48, 39, 13, 46, 6, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 625, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [26, 13, 40, 9, 62, 1, 49, 42, 26, 7, 37, 45, 34, 52, 36, 34, 1, 28], | |
| "ct": [10, 18, 48, 36, 21, 51, 50, 37, 62, 62, 9, 57, 37, 57, 2, 57, 15, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 626, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [3, 13, 12, 51, 34, 2, 34, 24, 19, 14, 50, 62, 39, 24, 32, 48, 17, 5], | |
| "ct": [11, 25, 49, 2, 7, 10, 5, 31, 14, 31, 48, 36, 13, 43, 1, 9, 55, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 627, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [39, 51, 62, 31, 55, 25, 17, 23, 14, 24, 41, 39, 18, 59, 59, 16, 5, 10], | |
| "ct": [56, 13, 43, 8, 29, 15, 38, 63, 42, 23, 15, 38, 6, 3, 11, 58, 2, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 628, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [4, 25, 63, 53, 56, 12, 57, 23, 37, 51, 44, 59, 29, 33, 33, 35, 6, 43], | |
| "ct": [42, 11, 29, 43, 61, 48, 37, 40, 8, 40, 14, 56, 45, 13, 40, 51, 18, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 629, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [15, 16, 35, 10, 38, 25, 6, 13, 29, 42, 41, 46, 7, 40, 42, 58, 2, 21], | |
| "ct": [51, 39, 45, 63, 45, 49, 35, 19, 51, 28, 60, 34, 43, 37, 55, 63, 57, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 630, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [10, 30, 57, 17, 50, 47, 25, 4, 20, 21, 59, 50, 55, 63, 55, 42, 26, 54], | |
| "ct": [35, 21, 17, 26, 24, 59, 40, 28, 16, 0, 62, 24, 9, 4, 32, 54, 49, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 631, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [60, 54, 13, 41, 5, 23, 6, 36, 35, 59, 2, 49, 36, 55, 1, 23, 57, 55], | |
| "ct": [27, 11, 42, 13, 58, 59, 30, 46, 14, 42, 12, 0, 26, 40, 8, 59, 59, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 632, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [62, 30, 15, 3, 24, 49, 10, 29, 59, 34, 42, 46, 43, 59, 17, 28, 39, 51], | |
| "ct": [47, 28, 63, 25, 16, 6, 41, 23, 32, 60, 52, 58, 53, 39, 1, 49, 23, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 633, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [59, 37, 26, 63, 39, 44, 22, 37, 59, 44, 52, 23, 8, 17, 22, 54, 0, 21], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 634, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [38, 43, 57, 56, 37, 41, 48, 8, 58, 2, 23, 62, 19, 31, 45, 31, 50, 63], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 635, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [50, 11, 20, 13, 56, 25, 48, 35, 45, 21, 23, 42, 19, 32, 23, 28, 3, 19], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 636, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [0, 44, 19, 42, 18, 3, 33, 38, 60, 24, 39, 51, 23, 41, 54, 10, 63, 40], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 637, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "15d940d672d3844d", | |
| "msg": [32, 11, 0, 38, 0, 47, 11, 61, 63, 28, 42, 61, 14, 22, 15, 43, 5, 40], | |
| "ct": [19, 19, 63, 36, 30, 36, 42, 46, 4, 6, 15, 24, 44, 16, 16, 5, 15, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 638, | |
| "comment": "y = 0 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "15d940d672d3844d", | |
| "msg": [0, 6, 44, 29, 49, 31, 7, 12, 44, 40, 37, 3, 25, 49, 11, 55, 1, 16], | |
| "ct": [43, 58, 16, 25, 29, 10, 27, 39, 39, 48, 51, 40, 56, 2, 52, 52, 43, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 639, | |
| "comment": "y = 0 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "15d940d672d3844d", | |
| "msg": [52, 22, 26, 51, 51, 28, 21, 26, 19, 36, 10, 21, 38, 59, 49, 3, 40, 34], | |
| "ct": [33, 28, 43, 41, 17, 53, 36, 30, 58, 49, 43, 22, 53, 25, 9, 51, 4, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 640, | |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "15d940d672d3844d", | |
| "msg": [0, 11, 62, 33, 38, 36, 54, 48, 16, 63, 22, 17, 17, 5, 3, 32, 16, 37], | |
| "ct": [5, 14, 39, 40, 34, 36, 56, 6, 50, 63, 7, 55, 56, 4, 4, 27, 21, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 641, | |
| "comment": "y = 1 and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4244be113bab79d6", | |
| "msg": [11, 39, 56, 11, 28, 31, 25, 0, 36, 29, 10, 49, 32, 20, 5, 19, 11, 60], | |
| "ct": [9, 0, 13, 39, 53, 4, 24, 62, 60, 43, 39, 39, 30, 4, 59, 39, 2, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 642, | |
| "comment": "y = 1 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4244be113bab79d6", | |
| "msg": [13, 53, 1, 21, 4, 25, 52, 36, 59, 54, 43, 19, 47, 16, 15, 59, 47, 54], | |
| "ct": [2, 13, 35, 24, 11, 62, 49, 13, 34, 58, 55, 18, 31, 60, 6, 5, 57, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 643, | |
| "comment": "y = 1 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4244be113bab79d6", | |
| "msg": [3, 2, 41, 13, 36, 59, 23, 12, 47, 13, 59, 11, 63, 22, 33, 35, 26, 3], | |
| "ct": [53, 53, 47, 47, 60, 48, 41, 9, 51, 30, 32, 18, 48, 3, 48, 62, 60, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 644, | |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4244be113bab79d6", | |
| "msg": [13, 36, 2, 7, 9, 26, 51, 38, 42, 46, 58, 48, 56, 34, 49, 40, 38, 28], | |
| "ct": [61, 16, 32, 0, 40, 25, 48, 14, 16, 57, 35, 59, 50, 37, 31, 35, 3, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 645, | |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4244be113bab79d6", | |
| "msg": [58, 25, 34, 22, 11, 9, 55, 9, 48, 40, 50, 33, 16, 54, 20, 39, 8, 46], | |
| "ct": [40, 34, 5, 56, 54, 49, 12, 49, 14, 11, 25, 39, 0, 32, 0, 11, 9, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 646, | |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4ca0fb523ebf3abf", | |
| "msg": [26, 20, 25, 3, 51, 43, 20, 37, 5, 55, 16, 59, 25, 57, 40, 51, 63, 42], | |
| "ct": [20, 2, 12, 13, 9, 37, 4, 20, 45, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 647, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4ca0fb523ebf3abf", | |
| "msg": [41, 11, 31, 40, 38, 46, 39, 17, 19, 33, 53, 31, 61, 45, 36, 40, 22, 49], | |
| "ct": [20, 2, 12, 13, 9, 37, 4, 20, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 648, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4ca0fb523ebf3abf", | |
| "msg": [40, 33, 18, 51, 61, 52, 38, 13, 48, 5, 29, 56, 59, 32, 1, 45, 29, 35], | |
| "ct": [20, 2, 12, 13, 9, 37, 4, 20, 45, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 649, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4ca0fb523ebf3abf", | |
| "msg": [27, 4, 28, 51, 27, 11, 20, 39, 21, 10, 55, 54, 49, 47, 5, 27, 28, 20], | |
| "ct": [20, 2, 12, 13, 9, 37, 4, 20, 45, 63, 63, 63, 63, 63, 63, 63, 63, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 650, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "f5deef39c4773611", | |
| "msg": [40, 57, 61, 13, 22, 56, 17, 51, 17, 40, 26, 15, 50, 14, 18, 48, 40, 9], | |
| "ct": [50, 16, 63, 1, 41, 60, 35, 9, 63, 42, 15, 43, 11, 15, 37, 18, 22, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 651, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "f5deef39c4773611", | |
| "msg": [63, 36, 48, 45, 0, 28, 3, 21, 23, 11, 33, 10, 55, 57, 61, 31, 22, 28], | |
| "ct": [40, 10, 50, 32, 61, 38, 8, 40, 19, 2, 1, 11, 7, 56, 31, 8, 35, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 652, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "f5deef39c4773611", | |
| "msg": [13, 54, 6, 29, 15, 59, 9, 62, 50, 28, 50, 40, 7, 31, 15, 46, 54, 37], | |
| "ct": [49, 38, 20, 42, 1, 60, 56, 45, 10, 46, 23, 44, 20, 56, 32, 24, 33, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 653, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "f5deef39c4773611", | |
| "msg": [17, 26, 59, 30, 33, 9, 12, 0, 15, 41, 38, 47, 51, 24, 50, 9, 11, 28], | |
| "ct": [60, 20, 3, 5, 21, 58, 25, 21, 62, 48, 45, 49, 56, 60, 60, 35, 20, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 654, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "f5deef39c4773611", | |
| "msg": [29, 3, 10, 43, 29, 37, 15, 40, 32, 11, 51, 52, 32, 32, 15, 57, 61, 43], | |
| "ct": [60, 59, 39, 43, 9, 24, 36, 62, 6, 24, 53, 32, 18, 8, 59, 20, 23, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 655, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "f5deef39c4773611", | |
| "msg": [38, 16, 46, 5, 29, 11, 63, 21, 40, 29, 34, 57, 19, 40, 46, 43, 3, 25], | |
| "ct": [23, 25, 56, 49, 0, 18, 22, 20, 7, 15, 56, 39, 28, 37, 5, 8, 59, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 656, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "fe3d8f47cf3ca728", | |
| "msg": [54, 26, 36, 56, 46, 12, 41, 51, 26, 31, 27, 1, 55, 42, 13, 35, 41, 40], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 40, 52, 25, 55, 38, 51, 19, 62, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 657, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "fe3d8f47cf3ca728", | |
| "msg": [47, 22, 59, 30, 22, 12, 11, 36, 8, 2, 50, 17, 27, 44, 60, 29, 24, 8], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 20, 50, 18, 33, 43, 52, 32, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 658, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "fe3d8f47cf3ca728", | |
| "msg": [46, 52, 37, 8, 40, 62, 24, 58, 37, 27, 26, 28, 11, 58, 37, 52, 28, 10], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 37, 30, 15, 20, 37, 18, 13, 24, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 659, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "fe3d8f47cf3ca728", | |
| "msg": [57, 28, 12, 21, 30, 48, 50, 14, 34, 53, 58, 58, 52, 41, 33, 0, 47, 17], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 62, 6, 28, 19, 61, 47, 3, 27, 45, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 660, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": [-1, 27, 17, 48, 62, 45, 8, 40, 62, 19, 29, 40, 8, 38, 9, 45, 55, 53], | |
| "ct": [22, 2, 34, 51, 50, 26, 40, 0, 14, 31, 16, 26, 59, 45, 6, 42, 38, 16], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 661, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": [19, 27, 17, 48, 62, 45, -1, 40, 62, 19, 29, 40, 8, 38, 9, 45, 55, 53], | |
| "ct": [5, 62, 16, 63, 53, 51, 39, 39, 38, 50, 50, 5, 7, 41, 27, 8, 21, 23], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 662, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": [19, 27, 17, 48, 62, 45, 8, 40, 62, 19, 29, 40, 8, 38, 9, 45, 55, -1], | |
| "ct": [48, 18, 6, 43, 13, 54, 8, 18, 53, 10, 34, 55, 13, 48, 54, 1, 0, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 663, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41f70b3d41282493dd0031fac05d9536", | |
| "tweak": "9989e3b2d2566e31", | |
| "msg": [64, 33, 19, 47, 52, 23, 47, 30, 63, 48, 25, 34, 32, 60, 10, 61, 33, 35], | |
| "ct": [46, 41, 43, 43, 63, 42, 18, 28, 46, 18, 45, 12, 62, 3, 51, 27, 45, 31], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 664, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41f70b3d41282493dd0031fac05d9536", | |
| "tweak": "9989e3b2d2566e31", | |
| "msg": [19, 33, 19, 47, 52, 23, 64, 30, 63, 48, 25, 34, 32, 60, 10, 61, 33, 35], | |
| "ct": [30, 42, 1, 51, 32, 10, 26, 20, 32, 40, 22, 48, 23, 62, 16, 4, 10, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 665, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41f70b3d41282493dd0031fac05d9536", | |
| "tweak": "9989e3b2d2566e31", | |
| "msg": [19, 33, 19, 47, 52, 23, 47, 30, 63, 48, 25, 34, 32, 60, 10, 61, 33, 64], | |
| "ct": [42, 41, 23, 30, 31, 21, 24, 63, 6, 37, 27, 48, 38, 48, 41, 17, 33, 20], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 19, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 666, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "3591cc97af4a5d1492305f87269ee691", | |
| "tweak": "13786144a50ef10a", | |
| "msg": [60, 51, 45, 33, 25, 7, 29, 15, 25, 11, 10, 12, 16, 30, 20, 19, 10, 17, 10], | |
| "ct": [16, 24, 39, 57, 14, 21, 63, 3, 15, 4, 62, 14, 11, 4, 47, 32, 28, 5, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 667, | |
| "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": [60, 19, 13, 45, 45, 48, 12, 9, 19, 11, 62, 61, 52, 26, 37, 52, 55, 25, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 668, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [60, 33, 18, 19, 63, 50, 9, 49, 2, 35, 13, 59, 29, 52, 61, 24, 23, 31, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 669, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [1, 10, 21, 63, 53, 42, 58, 17, 21, 3, 3, 14, 44, 18, 57, 49, 29, 32, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 670, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [27, 7, 57, 0, 31, 47, 13, 36, 18, 47, 51, 57, 31, 3, 53, 25, 60, 32, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 671, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [54, 35, 56, 28, 53, 42, 10, 33, 29, 1, 47, 54, 1, 54, 63, 32, 31, 61, 19], | |
| "ct": [57, 25, 41, 29, 17, 5, 12, 28, 51, 46, 42, 21, 30, 59, 3, 56, 58, 46, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 672, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [54, 60, 24, 4, 60, 2, 63, 59, 39, 47, 17, 1, 8, 31, 13, 28, 12, 4, 0], | |
| "ct": [13, 15, 10, 38, 29, 51, 6, 29, 54, 18, 25, 10, 57, 9, 19, 8, 40, 41, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 673, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [51, 5, 38, 48, 24, 61, 19, 33, 12, 38, 45, 62, 11, 52, 23, 52, 46, 52, 9], | |
| "ct": [0, 11, 58, 43, 52, 50, 22, 45, 24, 45, 14, 28, 16, 0, 51, 36, 5, 46, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 674, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [20, 60, 25, 4, 46, 46, 63, 37, 4, 7, 62, 3, 3, 25, 60, 5, 12, 25, 9], | |
| "ct": [7, 47, 0, 35, 52, 61, 53, 8, 40, 31, 27, 56, 35, 15, 6, 40, 48, 10, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 675, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [39, 52, 33, 58, 63, 38, 16, 20, 42, 43, 25, 55, 60, 6, 13, 17, 32, 57, 26], | |
| "ct": [36, 46, 60, 60, 31, 55, 40, 20, 39, 45, 47, 34, 24, 50, 43, 9, 0, 42, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 676, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [12, 51, 35, 35, 7, 24, 24, 35, 2, 8, 14, 60, 31, 20, 4, 63, 53, 54, 34], | |
| "ct": [60, 40, 60, 2, 59, 63, 14, 54, 54, 40, 34, 55, 59, 55, 7, 27, 10, 12, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 677, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [6, 29, 41, 51, 19, 60, 37, 2, 13, 38, 5, 59, 59, 32, 30, 10, 46, 43, 32], | |
| "ct": [52, 26, 34, 14, 36, 25, 5, 23, 59, 22, 10, 4, 20, 13, 58, 42, 33, 60, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 678, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [24, 22, 4, 34, 9, 3, 45, 14, 20, 4, 50, 34, 45, 51, 11, 24, 54, 62, 46], | |
| "ct": [40, 11, 20, 6, 7, 26, 4, 53, 50, 3, 18, 22, 40, 37, 45, 37, 7, 26, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 679, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [60, 42, 1, 58, 57, 47, 40, 2, 51, 54, 40, 5, 53, 36, 35, 9, 2, 16, 11], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 680, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [52, 51, 29, 24, 47, 57, 0, 25, 52, 30, 62, 16, 41, 53, 30, 19, 50, 12, 28], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 681, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [37, 36, 17, 4, 13, 0, 55, 32, 7, 33, 39, 47, 55, 12, 19, 53, 4, 59, 28], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 682, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [10, 30, 22, 5, 3, 18, 1, 56, 49, 29, 2, 42, 43, 51, 40, 59, 60, 4, 39], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 683, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "033b2b84368440", | |
| "msg": [15, 31, 41, 60, 37, 15, 14, 44, 28, 16, 0, 15, 61, 49, 55, 34, 15, 55, 1], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 46, 26, 16, 53, 36, 36, 24, 50, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 684, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "033b2b84368440", | |
| "msg": [2, 27, 23, 58, 1, 32, 21, 51, 14, 23, 21, 31, 55, 53, 10, 9, 33, 5, 49], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 1, 36, 21, 40, 0, 60, 22, 9, 60, 36, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 685, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "033b2b84368440", | |
| "msg": [11, 60, 30, 48, 60, 6, 13, 31, 56, 55, 48, 26, 38, 56, 47, 20, 11, 49, 47], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 48, 59, 32, 49, 6, 53, 56, 20, 13, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 686, | |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "033b2b84368440", | |
| "msg": [27, 5, 29, 9, 20, 56, 6, 35, 43, 33, 35, 49, 46, 46, 37, 33, 14, 1, 39], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 18, 6, 44, 47, 37, 57, 13, 33, 17, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 687, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "23e70b7920c0f7", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 13, 60, 18, 14, 42, 52, 54, 28, 55], | |
| "ct": [2, 36, 10, 52, 42, 50, 51, 36, 30, 15, 49, 58, 2, 0, 61, 15, 60, 49, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 688, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "23e70b7920c0f7", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 15, 13, 60, 18, 14, 42, 52, 54, 28, 55], | |
| "ct": [39, 44, 24, 46, 51, 22, 17, 17, 49, 48, 61, 0, 21, 7, 15, 54, 61, 46, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 689, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "23e70b7920c0f7", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 15, 13, 60, 18, 14, 42, 52, 54, 28, 55], | |
| "ct": [6, 46, 10, 31, 30, 58, 38, 55, 41, 56, 30, 37, 13, 9, 19, 28, 37, 14, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 690, | |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "23e70b7920c0f7", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 62, 15, 13, 60, 18, 14, 42, 52, 54, 28, 55], | |
| "ct": [28, 62, 15, 15, 7, 42, 25, 61, 2, 51, 7, 52, 30, 36, 15, 48, 39, 51, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 691, | |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "23e70b7920c0f7", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 15, 13, 60, 18, 14, 42, 52, 54, 28, 55], | |
| "ct": [31, 30, 32, 28, 24, 25, 21, 21, 45, 59, 54, 4, 61, 43, 55, 59, 47, 24, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 692, | |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "85595191ba7f7b", | |
| "msg": [25, 8, 31, 30, 24, 42, 27, 10, 3, 43, 25, 39, 1, 15, 23, 55, 12, 51, 46], | |
| "ct": [42, 62, 2, 63, 45, 5, 8, 2, 15, 14, 2, 44, 53, 32, 11, 12, 19, 7, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 693, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "85595191ba7f7b", | |
| "msg": [50, 27, 7, 32, 55, 53, 55, 17, 48, 25, 36, 0, 40, 3, 26, 57, 17, 30, 57], | |
| "ct": [63, 28, 50, 27, 39, 60, 30, 12, 48, 51, 19, 59, 21, 57, 53, 28, 59, 62, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 694, | |
| "comment": "y is maximal and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "85595191ba7f7b", | |
| "msg": [21, 3, 62, 57, 39, 43, 0, 35, 39, 45, 6, 0, 61, 3, 43, 20, 62, 58, 3], | |
| "ct": [61, 8, 50, 57, 5, 32, 39, 60, 52, 7, 13, 27, 6, 37, 4, 37, 9, 45, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 695, | |
| "comment": "y is maximal and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "85595191ba7f7b", | |
| "msg": [7, 0, 0, 49, 9, 3, 46, 21, 5, 14, 23, 8, 2, 61, 43, 17, 44, 41, 32], | |
| "ct": [18, 44, 59, 10, 31, 27, 41, 3, 57, 50, 47, 33, 60, 11, 4, 9, 34, 40, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 696, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "1c8a2107ee4f27", | |
| "msg": [19, 29, 55, 7, 61, 54, 39, 47, 18, 36, 39, 2, 5, 46, 36, 16, 61, 6, 55], | |
| "ct": [39, 21, 36, 34, 35, 13, 38, 44, 19, 63, 63, 63, 63, 63, 63, 63, 63, 63, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 697, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "1c8a2107ee4f27", | |
| "msg": [26, 13, 49, 23, 54, 23, 50, 62, 34, 7, 33, 50, 41, 3, 35, 45, 1, 31, 2], | |
| "ct": [39, 21, 36, 34, 35, 13, 38, 44, 19, 63, 63, 63, 63, 63, 63, 63, 63, 63, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 698, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "1c8a2107ee4f27", | |
| "msg": [53, 29, 27, 6, 46, 45, 14, 56, 56, 16, 62, 34, 0, 34, 50, 45, 3, 22, 20], | |
| "ct": [39, 21, 36, 34, 35, 13, 38, 44, 19, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 699, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "1c8a2107ee4f27", | |
| "msg": [62, 26, 11, 47, 35, 21, 33, 50, 9, 42, 63, 43, 54, 0, 23, 20, 13, 57, 58], | |
| "ct": [39, 21, 36, 34, 35, 13, 38, 44, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 700, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "1c8a2107ee4f27", | |
| "msg": [47, 42, 13, 34, 30, 2, 34, 32, 51, 28, 27, 24, 37, 23, 38, 17, 45, 49, 37], | |
| "ct": [39, 21, 36, 34, 35, 13, 38, 44, 19, 31, 63, 63, 63, 63, 63, 63, 63, 63, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 701, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "1c8a2107ee4f27", | |
| "msg": [55, 56, 50, 13, 14, 28, 50, 55, 28, 61, 25, 11, 28, 44, 32, 15, 6, 5, 47], | |
| "ct": [39, 21, 36, 34, 35, 13, 38, 44, 19, 63, 63, 63, 63, 63, 63, 63, 63, 62, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 702, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "bca82f1a037cb6", | |
| "msg": [60, 22, 9, 0, 60, 46, 31, 36, 10, 28, 23, 25, 35, 18, 9, 51, 57, 15, 15], | |
| "ct": [4, 3, 11, 3, 36, 58, 14, 51, 37, 52, 38, 20, 10, 9, 47, 47, 56, 13, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 703, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "bca82f1a037cb6", | |
| "msg": [52, 44, 16, 25, 17, 18, 60, 10, 38, 55, 46, 41, 20, 36, 44, 34, 3, 34, 60], | |
| "ct": [12, 8, 53, 23, 27, 28, 3, 46, 31, 7, 46, 27, 61, 62, 61, 31, 32, 35, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 704, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "bca82f1a037cb6", | |
| "msg": [32, 34, 8, 61, 34, 27, 30, 11, 30, 31, 25, 33, 60, 60, 35, 43, 35, 29, 43], | |
| "ct": [14, 29, 26, 48, 0, 48, 1, 8, 3, 63, 43, 42, 30, 29, 2, 13, 38, 30, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 705, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "bca82f1a037cb6", | |
| "msg": [49, 50, 22, 3, 26, 39, 58, 32, 50, 32, 10, 33, 46, 47, 52, 0, 0, 20, 19], | |
| "ct": [5, 54, 29, 54, 18, 29, 41, 38, 30, 4, 43, 26, 17, 42, 62, 52, 26, 60, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 706, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": [-1, 63, 62, 33, 12, 37, 24, 62, 57, 63, 1, 15, 7, 56, 27, 11, 62, 34, 11], | |
| "ct": [62, 15, 50, 58, 55, 14, 63, 57, 13, 41, 19, 5, 57, 31, 46, 28, 0, 41, 62], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 707, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": [2, 63, 62, 33, 12, 37, -1, 62, 57, 63, 1, 15, 7, 56, 27, 11, 62, 34, 11], | |
| "ct": [1, 29, 5, 6, 26, 38, 1, 12, 62, 8, 59, 24, 57, 50, 58, 48, 20, 5, 63], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 708, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": [2, 63, 62, 33, 12, 37, 24, 62, 57, 63, 1, 15, 7, 56, 27, 11, 62, 34, -1], | |
| "ct": [60, 62, 35, 10, 55, 41, 60, 0, 8, 46, 50, 46, 35, 19, 2, 5, 48, 41, 49], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 709, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1d188cc18320f01df46d31fad3ab489e", | |
| "tweak": "ee9e238ced0bebb2", | |
| "msg": [64, 48, 10, 45, 46, 11, 16, 7, 0, 28, 60, 14, 17, 14, 32, 60, 2, 21, 52], | |
| "ct": [34, 23, 2, 22, 39, 4, 35, 54, 62, 46, 37, 8, 47, 3, 3, 50, 10, 39, 8], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 710, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1d188cc18320f01df46d31fad3ab489e", | |
| "tweak": "ee9e238ced0bebb2", | |
| "msg": [7, 48, 10, 45, 46, 11, 64, 7, 0, 28, 60, 14, 17, 14, 32, 60, 2, 21, 52], | |
| "ct": [7, 11, 2, 21, 59, 63, 25, 20, 29, 32, 23, 49, 17, 50, 29, 0, 39, 40, 58], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 711, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1d188cc18320f01df46d31fad3ab489e", | |
| "tweak": "ee9e238ced0bebb2", | |
| "msg": [7, 48, 10, 45, 46, 11, 16, 7, 0, 28, 60, 14, 17, 14, 32, 60, 2, 21, 64], | |
| "ct": [8, 44, 14, 33, 2, 53, 49, 60, 18, 63, 14, 4, 32, 6, 30, 21, 51, 39, 5], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 20, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 712, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "ccdf8f792a48fd841d49e060315b0c3d", | |
| "tweak": "508c6ff22207dc5b", | |
| "msg": [29, 17, 42, 56, 59, 48, 24, 33, 12, 31, 19, 13, 51, 52, 28, 27, 59, 26, 0, 61], | |
| "ct": [63, 19, 13, 63, 38, 3, 18, 4, 45, 9, 49, 11, 8, 45, 18, 4, 27, 11, 29, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 713, | |
| "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": [54, 16, 11, 12, 36, 3, 38, 54, 62, 0, 53, 4, 31, 33, 41, 50, 34, 16, 26, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 714, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [60, 58, 56, 5, 55, 55, 57, 51, 48, 38, 61, 61, 1, 45, 1, 45, 1, 47, 36, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 715, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [31, 41, 32, 12, 32, 26, 14, 45, 56, 59, 50, 52, 44, 5, 11, 36, 21, 15, 58, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 716, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [9, 59, 26, 50, 53, 17, 39, 10, 55, 32, 1, 10, 8, 33, 45, 16, 31, 57, 34, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 717, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [48, 56, 11, 25, 39, 31, 36, 55, 17, 8, 25, 33, 30, 48, 16, 9, 31, 26, 23, 63], | |
| "ct": [28, 33, 35, 58, 41, 50, 19, 47, 10, 21, 34, 32, 60, 8, 31, 7, 33, 24, 22, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 718, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [1, 60, 32, 26, 4, 41, 63, 25, 21, 17, 16, 14, 35, 1, 38, 62, 54, 3, 33, 1], | |
| "ct": [54, 29, 62, 19, 61, 11, 46, 25, 55, 7, 49, 30, 25, 14, 15, 17, 63, 31, 59, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 719, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [37, 17, 18, 28, 44, 18, 14, 23, 38, 18, 37, 28, 20, 52, 13, 16, 1, 17, 30, 63], | |
| "ct": [38, 18, 8, 19, 2, 10, 55, 10, 62, 33, 31, 42, 38, 14, 4, 51, 5, 44, 0, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 720, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [43, 36, 40, 29, 52, 14, 62, 8, 19, 53, 41, 32, 2, 8, 52, 38, 21, 58, 31, 24], | |
| "ct": [8, 32, 63, 47, 26, 26, 48, 2, 51, 40, 3, 59, 42, 24, 7, 29, 26, 50, 63, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 721, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [14, 56, 17, 51, 59, 62, 50, 32, 26, 14, 63, 51, 32, 12, 53, 53, 0, 34, 48, 59], | |
| "ct": [58, 57, 21, 39, 24, 29, 7, 4, 13, 23, 20, 36, 33, 18, 41, 45, 0, 47, 11, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 722, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [2, 36, 52, 44, 14, 33, 54, 63, 23, 5, 20, 1, 36, 55, 45, 34, 25, 56, 30, 13], | |
| "ct": [15, 34, 50, 38, 13, 5, 34, 5, 52, 29, 26, 18, 43, 23, 63, 18, 1, 17, 23, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 723, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [25, 19, 41, 35, 12, 40, 12, 50, 20, 60, 46, 63, 7, 20, 1, 31, 58, 3, 10, 50], | |
| "ct": [11, 55, 41, 24, 20, 3, 20, 56, 6, 54, 5, 48, 27, 53, 22, 38, 23, 43, 16, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 724, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [13, 32, 37, 56, 17, 26, 5, 39, 57, 12, 60, 22, 35, 10, 52, 26, 14, 55, 19, 32], | |
| "ct": [57, 34, 5, 25, 30, 36, 27, 7, 54, 48, 53, 52, 26, 11, 37, 62, 13, 26, 55, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 725, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [35, 34, 10, 42, 33, 25, 28, 23, 28, 17, 34, 55, 42, 6, 0, 25, 32, 30, 38, 10], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 726, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [42, 40, 23, 49, 14, 6, 30, 32, 21, 1, 16, 17, 61, 53, 50, 7, 31, 33, 44, 35], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 727, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [1, 49, 28, 39, 56, 15, 43, 12, 14, 38, 37, 24, 30, 62, 37, 62, 22, 53, 11, 22], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 728, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": [30, 19, 20, 63, 9, 8, 33, 38, 39, 39, 8, 50, 16, 52, 58, 50, 20, 2, 52, 31], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 729, | |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "516c6425876fe7", | |
| "msg": [10, 26, 27, 38, 52, 45, 30, 34, 1, 8, 6, 32, 36, 46, 36, 22, 44, 33, 18, 59], | |
| "ct": [8, 48, 54, 42, 50, 41, 21, 44, 32, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 730, | |
| "comment": "y = 0 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "516c6425876fe7", | |
| "msg": [25, 56, 18, 2, 45, 28, 62, 49, 7, 8, 30, 7, 52, 31, 21, 41, 47, 18, 56, 44], | |
| "ct": [8, 48, 54, 42, 50, 41, 21, 44, 32, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 731, | |
| "comment": "y = 0 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "516c6425876fe7", | |
| "msg": [42, 15, 44, 12, 15, 31, 16, 23, 0, 27, 41, 62, 36, 11, 47, 31, 19, 31, 36, 20], | |
| "ct": [8, 48, 54, 42, 50, 41, 21, 44, 32, 1, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 732, | |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "516c6425876fe7", | |
| "msg": [25, 26, 11, 31, 20, 14, 48, 27, 4, 1, 50, 25, 33, 19, 0, 26, 12, 47, 40, 53], | |
| "ct": [8, 48, 54, 42, 50, 41, 21, 44, 32, 1, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 733, | |
| "comment": "y = 1 and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "c78c794f8d6bed", | |
| "msg": [48, 21, 2, 18, 53, 1, 10, 6, 32, 30, 3, 11, 34, 34, 58, 11, 30, 27, 45, 18], | |
| "ct": [26, 22, 25, 5, 27, 25, 38, 38, 8, 17, 52, 27, 41, 20, 46, 56, 33, 6, 17, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 734, | |
| "comment": "y = 1 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "c78c794f8d6bed", | |
| "msg": [22, 25, 21, 4, 26, 18, 19, 59, 38, 21, 4, 28, 61, 53, 21, 10, 45, 34, 34, 12], | |
| "ct": [12, 21, 44, 15, 55, 31, 19, 29, 28, 44, 18, 40, 30, 7, 47, 4, 57, 44, 24, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 735, | |
| "comment": "y = 1 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "c78c794f8d6bed", | |
| "msg": [50, 49, 29, 56, 52, 47, 34, 7, 16, 31, 44, 12, 31, 8, 38, 23, 41, 47, 8, 54], | |
| "ct": [50, 38, 62, 21, 45, 43, 55, 16, 21, 3, 35, 1, 26, 4, 2, 42, 40, 13, 45, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 736, | |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "c78c794f8d6bed", | |
| "msg": [17, 52, 6, 23, 56, 21, 48, 62, 15, 30, 42, 29, 38, 47, 56, 6, 45, 51, 11, 26], | |
| "ct": [45, 42, 22, 59, 14, 23, 53, 53, 22, 51, 44, 34, 14, 17, 56, 19, 46, 32, 38, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 737, | |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "c78c794f8d6bed", | |
| "msg": [5, 18, 15, 26, 28, 30, 23, 1, 14, 24, 60, 40, 1, 0, 28, 13, 43, 14, 48, 4], | |
| "ct": [30, 16, 40, 34, 33, 33, 12, 0, 6, 57, 4, 12, 35, 20, 3, 26, 60, 24, 34, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 738, | |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "5b1db17433b2eb", | |
| "msg": [7, 0, 18, 37, 9, 54, 25, 49, 45, 26, 39, 14, 1, 44, 62, 41, 15, 46, 26, 50], | |
| "ct": [38, 31, 27, 58, 45, 11, 59, 25, 37, 42, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 739, | |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "5b1db17433b2eb", | |
| "msg": [27, 29, 33, 53, 59, 57, 26, 21, 29, 62, 10, 44, 26, 61, 54, 53, 11, 25, 21, 52], | |
| "ct": [38, 31, 27, 58, 45, 11, 59, 25, 37, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 740, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "5b1db17433b2eb", | |
| "msg": [24, 29, 9, 56, 9, 56, 6, 33, 19, 48, 31, 6, 52, 8, 56, 38, 51, 61, 36, 13], | |
| "ct": [38, 31, 27, 58, 45, 11, 59, 25, 37, 42, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 741, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "5b1db17433b2eb", | |
| "msg": [8, 56, 0, 26, 2, 45, 27, 61, 21, 34, 49, 14, 12, 0, 62, 44, 42, 59, 4, 0], | |
| "ct": [38, 31, 27, 58, 45, 11, 59, 25, 37, 42, 63, 63, 63, 63, 63, 63, 63, 63, 63, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 742, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "b14485192fd95f", | |
| "msg": [0, 34, 37, 0, 45, 63, 22, 49, 16, 60, 17, 32, 26, 42, 40, 27, 57, 26, 50, 39], | |
| "ct": [9, 36, 41, 53, 58, 9, 18, 14, 9, 59, 49, 54, 49, 62, 20, 43, 12, 39, 55, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 743, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "b14485192fd95f", | |
| "msg": [1, 16, 29, 51, 28, 56, 2, 58, 14, 36, 54, 12, 4, 0, 62, 32, 5, 54, 39, 0], | |
| "ct": [2, 37, 33, 15, 42, 56, 47, 19, 44, 37, 18, 49, 13, 55, 25, 12, 44, 58, 60, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 744, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "b14485192fd95f", | |
| "msg": [41, 22, 49, 30, 19, 22, 61, 31, 38, 19, 41, 0, 32, 62, 41, 41, 26, 61, 23, 29], | |
| "ct": [18, 29, 3, 9, 48, 56, 57, 23, 46, 8, 8, 54, 25, 34, 42, 53, 61, 28, 2, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 745, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "b14485192fd95f", | |
| "msg": [3, 18, 22, 23, 51, 25, 32, 40, 14, 51, 52, 11, 3, 62, 54, 35, 13, 19, 44, 4], | |
| "ct": [45, 45, 48, 2, 61, 31, 41, 19, 40, 28, 36, 37, 8, 16, 40, 41, 36, 7, 53, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 746, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "b14485192fd95f", | |
| "msg": [52, 7, 57, 7, 24, 27, 7, 44, 10, 60, 34, 51, 16, 15, 57, 25, 31, 34, 6, 12], | |
| "ct": [45, 30, 19, 18, 13, 44, 61, 32, 47, 2, 45, 13, 25, 11, 44, 31, 0, 49, 37, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 747, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "b14485192fd95f", | |
| "msg": [31, 1, 49, 14, 30, 42, 63, 18, 6, 48, 38, 39, 25, 25, 31, 45, 26, 30, 3, 45], | |
| "ct": [35, 42, 59, 55, 39, 21, 56, 24, 59, 0, 20, 58, 25, 22, 30, 47, 21, 38, 59, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 748, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "31b5608a1ca8fc", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 29, 27, 1, 23, 15, 43, 52, 55, 28], | |
| "ct": [55, 30, 13, 51, 11, 1, 19, 3, 57, 36, 32, 16, 41, 23, 2, 21, 30, 62, 7, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 749, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "31b5608a1ca8fc", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 29, 27, 1, 23, 15, 43, 52, 55, 28], | |
| "ct": [25, 7, 37, 57, 11, 20, 18, 63, 5, 18, 53, 58, 36, 45, 56, 46, 57, 3, 50, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 750, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "31b5608a1ca8fc", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 29, 27, 1, 23, 15, 43, 52, 55, 28], | |
| "ct": [3, 4, 25, 12, 7, 48, 19, 39, 4, 16, 51, 59, 60, 59, 27, 25, 38, 61, 46, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 751, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "31b5608a1ca8fc", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 3, 29, 27, 1, 23, 15, 43, 52, 55, 28], | |
| "ct": [23, 47, 60, 41, 7, 33, 22, 50, 17, 38, 13, 17, 58, 38, 24, 59, 21, 40, 59, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 752, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", | |
| "tweak": "76f494b34dbcd3bc", | |
| "msg": [-1, 49, 36, 25, 30, 4, 60, 12, 36, 53, 25, 39, 9, 4, 43, 40, 12, 10, 14, 27], | |
| "ct": [28, 23, 49, 44, 56, 1, 41, 30, 13, 62, 10, 46, 61, 36, 51, 8, 34, 60, 62, 24], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 753, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", | |
| "tweak": "76f494b34dbcd3bc", | |
| "msg": [39, 49, 36, 25, 30, 4, -1, 12, 36, 53, 25, 39, 9, 4, 43, 40, 12, 10, 14, 27], | |
| "ct": [58, 25, 42, 40, 28, 56, 10, 45, 54, 23, 4, 4, 9, 24, 47, 3, 45, 21, 48, 30], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 754, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", | |
| "tweak": "76f494b34dbcd3bc", | |
| "msg": [39, 49, 36, 25, 30, 4, 60, 12, 36, 53, 25, 39, 9, 4, 43, 40, 12, 10, 14, -1], | |
| "ct": [40, 44, 29, 53, 28, 11, 54, 61, 19, 1, 27, 52, 19, 43, 40, 28, 42, 32, 21, 35], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 755, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "25294cdcfbeb5e1e7ab12e1b3470f07e", | |
| "tweak": "0f25ab985711e3ce", | |
| "msg": [64, 53, 5, 5, 48, 37, 49, 57, 37, 55, 5, 22, 52, 51, 59, 21, 37, 40, 23, 0], | |
| "ct": [44, 21, 26, 29, 14, 45, 47, 49, 46, 11, 6, 39, 31, 36, 32, 28, 38, 40, 23, 17], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 756, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "25294cdcfbeb5e1e7ab12e1b3470f07e", | |
| "tweak": "0f25ab985711e3ce", | |
| "msg": [31, 53, 5, 5, 48, 37, 64, 57, 37, 55, 5, 22, 52, 51, 59, 21, 37, 40, 23, 0], | |
| "ct": [10, 47, 1, 18, 27, 61, 55, 4, 50, 48, 11, 0, 45, 58, 27, 51, 40, 24, 10, 63], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 757, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "25294cdcfbeb5e1e7ab12e1b3470f07e", | |
| "tweak": "0f25ab985711e3ce", | |
| "msg": [31, 53, 5, 5, 48, 37, 49, 57, 37, 55, 5, 22, 52, 51, 59, 21, 37, 40, 23, 64], | |
| "ct": [11, 39, 54, 59, 50, 47, 35, 57, 55, 0, 45, 2, 41, 0, 54, 38, 15, 48, 33, 5], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 21, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 758, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "c0e4c4a9b86c17e4efe9a12733e7aff4", | |
| "tweak": "f71b48c8172125d4", | |
| "msg": [0, 29, 59, 60, 20, 59, 2, 5, 30, 13, 42, 2, 52, 45, 60, 11, 42, 15, 48, 24, 4], | |
| "ct": [5, 4, 41, 44, 48, 0, 38, 15, 55, 19, 57, 31, 19, 20, 21, 4, 1, 40, 10, 31, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 759, | |
| "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": [38, 5, 14, 6, 48, 16, 23, 3, 36, 20, 59, 22, 12, 21, 30, 36, 8, 56, 3, 24, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 760, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [20, 60, 3, 31, 52, 53, 34, 12, 14, 26, 19, 33, 25, 50, 17, 20, 26, 41, 31, 47, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 761, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [39, 38, 44, 8, 35, 60, 4, 24, 33, 13, 54, 30, 45, 23, 59, 51, 10, 61, 6, 45, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 762, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [61, 18, 27, 50, 22, 14, 33, 10, 25, 42, 46, 29, 26, 39, 43, 30, 46, 52, 30, 4, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 763, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [10, 43, 3, 15, 16, 32, 59, 3, 1, 56, 14, 61, 0, 63, 13, 11, 31, 1, 2, 32, 28], | |
| "ct": [44, 52, 47, 33, 53, 36, 53, 51, 63, 19, 57, 35, 6, 13, 38, 4, 16, 4, 15, 11, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 764, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [16, 56, 41, 61, 8, 61, 1, 15, 63, 13, 45, 10, 46, 34, 46, 40, 39, 10, 48, 29, 33], | |
| "ct": [24, 29, 58, 34, 31, 7, 15, 3, 12, 9, 59, 57, 49, 28, 9, 38, 56, 45, 42, 2, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 765, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [5, 2, 26, 6, 56, 58, 44, 3, 1, 54, 47, 13, 51, 8, 7, 47, 11, 6, 3, 11, 42], | |
| "ct": [4, 11, 34, 54, 29, 41, 28, 41, 36, 37, 5, 13, 54, 6, 46, 18, 62, 46, 5, 43, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 766, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [28, 44, 10, 17, 7, 41, 62, 18, 30, 0, 63, 25, 43, 1, 6, 20, 49, 18, 47, 24, 25], | |
| "ct": [23, 32, 51, 39, 24, 13, 36, 22, 41, 55, 6, 52, 15, 10, 31, 8, 15, 17, 40, 51, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 767, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [8, 63, 33, 2, 16, 25, 33, 58, 63, 17, 47, 43, 35, 50, 5, 61, 22, 26, 35, 10, 48], | |
| "ct": [15, 56, 5, 46, 13, 0, 43, 53, 44, 32, 32, 14, 44, 43, 20, 5, 36, 18, 22, 55, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 768, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [37, 36, 8, 9, 23, 0, 55, 19, 50, 14, 2, 31, 4, 53, 14, 14, 24, 11, 7, 20, 0], | |
| "ct": [35, 18, 15, 57, 57, 6, 40, 60, 63, 61, 12, 60, 37, 21, 32, 59, 49, 59, 38, 28, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 769, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [10, 57, 58, 54, 55, 20, 38, 32, 33, 10, 16, 53, 2, 29, 61, 29, 10, 20, 35, 47, 60], | |
| "ct": [60, 25, 56, 3, 49, 23, 22, 35, 40, 48, 18, 63, 14, 34, 33, 34, 39, 48, 37, 44, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 770, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [42, 43, 15, 28, 22, 22, 44, 44, 42, 13, 41, 35, 16, 39, 53, 29, 0, 32, 11, 62, 33], | |
| "ct": [51, 11, 35, 53, 61, 18, 19, 60, 62, 2, 47, 59, 35, 17, 63, 61, 5, 15, 55, 6, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 771, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [54, 47, 57, 34, 13, 25, 21, 37, 11, 14, 56, 39, 28, 47, 10, 49, 11, 7, 30, 17, 35], | |
| "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": 772, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [60, 46, 12, 41, 50, 1, 30, 37, 16, 13, 35, 40, 17, 41, 33, 36, 38, 46, 45, 28, 4], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 773, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [12, 30, 41, 1, 31, 58, 44, 21, 28, 18, 52, 39, 8, 2, 2, 22, 8, 36, 58, 4, 42], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 774, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": [39, 40, 4, 16, 40, 46, 58, 28, 46, 10, 46, 18, 32, 32, 59, 49, 46, 34, 8, 56, 24], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 775, | |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "d7074ea853177b2aa1ba2428f228643221f5eea2f2f2", | |
| "msg": [51, 53, 26, 53, 29, 62, 19, 42, 37, 29, 0, 35, 6, 6, 12, 24, 60, 23, 51, 58, 25], | |
| "ct": [2, 5, 54, 46, 24, 16, 32, 58, 52, 22, 44, 20, 45, 22, 4, 5, 57, 22, 60, 46, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 776, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "d7074ea853177b2aa1ba2428f228643221f5eea2f2f2", | |
| "msg": [40, 51, 47, 22, 52, 7, 13, 30, 63, 9, 3, 0, 38, 36, 51, 45, 8, 37, 47, 8, 14], | |
| "ct": [20, 11, 55, 4, 54, 9, 40, 7, 43, 26, 5, 9, 17, 12, 56, 13, 62, 43, 51, 31, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 777, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "d7074ea853177b2aa1ba2428f228643221f5eea2f2f2", | |
| "msg": [21, 15, 40, 58, 40, 18, 41, 53, 48, 33, 23, 17, 9, 57, 42, 59, 57, 51, 5, 29, 48], | |
| "ct": [35, 25, 3, 47, 46, 44, 21, 9, 17, 18, 37, 57, 5, 41, 21, 6, 25, 23, 41, 14, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 778, | |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "d7074ea853177b2aa1ba2428f228643221f5eea2f2f2", | |
| "msg": [29, 51, 62, 1, 58, 26, 49, 48, 18, 59, 10, 42, 56, 1, 25, 22, 54, 17, 33, 44, 36], | |
| "ct": [7, 17, 18, 27, 20, 12, 31, 34, 36, 62, 15, 56, 28, 43, 19, 48, 29, 23, 4, 24, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 779, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "cbcbafcaa824846827d771d3c7d4fb2df66b39298757", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 5, 62, 40, 20, 58, 22, 15, 53, 1, 53], | |
| "ct": [47, 21, 15, 20, 63, 52, 12, 32, 0, 58, 62, 15, 62, 18, 52, 35, 50, 47, 13, 31, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 780, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "cbcbafcaa824846827d771d3c7d4fb2df66b39298757", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 21, 5, 62, 40, 20, 58, 22, 15, 53, 1, 53], | |
| "ct": [28, 53, 34, 25, 27, 39, 34, 62, 19, 30, 38, 14, 50, 31, 6, 21, 21, 31, 0, 32, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 781, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "cbcbafcaa824846827d771d3c7d4fb2df66b39298757", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 5, 62, 40, 20, 58, 22, 15, 53, 1, 53], | |
| "ct": [57, 7, 0, 59, 13, 60, 41, 33, 63, 37, 21, 0, 63, 58, 42, 16, 18, 58, 31, 40, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 782, | |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "cbcbafcaa824846827d771d3c7d4fb2df66b39298757", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 62, 21, 5, 62, 40, 20, 58, 22, 15, 53, 1, 53], | |
| "ct": [29, 16, 5, 33, 2, 27, 30, 39, 25, 4, 1, 31, 33, 62, 60, 52, 37, 48, 35, 38, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 783, | |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "cbcbafcaa824846827d771d3c7d4fb2df66b39298757", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 21, 5, 62, 40, 20, 58, 22, 15, 53, 1, 53], | |
| "ct": [31, 55, 25, 56, 51, 49, 19, 59, 9, 16, 56, 23, 44, 2, 10, 5, 16, 58, 62, 14, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 784, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "e32279b5e6c05eb14b2a3dead32c775b391ebbd2a894", | |
| "msg": [12, 33, 42, 9, 44, 27, 23, 48, 43, 15, 61, 42, 2, 12, 40, 14, 54, 26, 6, 13, 18], | |
| "ct": [56, 58, 3, 1, 27, 20, 36, 35, 31, 30, 8, 12, 62, 9, 5, 24, 42, 63, 19, 39, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 785, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "e32279b5e6c05eb14b2a3dead32c775b391ebbd2a894", | |
| "msg": [4, 37, 56, 48, 19, 7, 15, 9, 25, 5, 30, 55, 42, 58, 36, 30, 8, 30, 31, 34, 22], | |
| "ct": [20, 54, 31, 46, 14, 35, 30, 3, 15, 40, 42, 56, 32, 8, 2, 36, 48, 63, 5, 42, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 786, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "e32279b5e6c05eb14b2a3dead32c775b391ebbd2a894", | |
| "msg": [62, 44, 46, 63, 36, 35, 39, 35, 11, 6, 37, 18, 59, 13, 41, 61, 47, 21, 43, 37, 25], | |
| "ct": [61, 1, 34, 13, 41, 62, 61, 56, 6, 7, 59, 27, 5, 58, 31, 9, 62, 58, 49, 60, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 787, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "e32279b5e6c05eb14b2a3dead32c775b391ebbd2a894", | |
| "msg": [38, 61, 40, 53, 51, 10, 10, 43, 15, 13, 58, 44, 17, 34, 35, 44, 24, 61, 33, 24, 26], | |
| "ct": [13, 15, 63, 23, 26, 10, 25, 29, 36, 55, 17, 47, 34, 45, 3, 39, 55, 11, 26, 14, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 788, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "e32279b5e6c05eb14b2a3dead32c775b391ebbd2a894", | |
| "msg": [17, 14, 47, 42, 27, 48, 36, 43, 63, 40, 49, 0, 28, 63, 26, 22, 9, 61, 21, 8, 61], | |
| "ct": [21, 13, 20, 30, 7, 58, 22, 35, 53, 8, 11, 9, 39, 47, 31, 41, 11, 3, 9, 30, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 789, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "e32279b5e6c05eb14b2a3dead32c775b391ebbd2a894", | |
| "msg": [15, 8, 14, 9, 36, 38, 61, 58, 25, 31, 27, 8, 4, 8, 33, 61, 9, 47, 58, 25, 29], | |
| "ct": [2, 8, 40, 50, 52, 21, 44, 14, 18, 8, 57, 36, 24, 8, 18, 20, 27, 47, 29, 46, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 790, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "70f30ee06de5241565c77b708657cb5af62f4f58e861", | |
| "msg": [62, 53, 33, 6, 29, 45, 48, 49, 38, 34, 40, 11, 21, 21, 20, 13, 21, 33, 35, 16, 43], | |
| "ct": [50, 2, 18, 47, 18, 39, 9, 29, 58, 37, 60, 47, 43, 42, 55, 12, 39, 58, 61, 33, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 791, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "70f30ee06de5241565c77b708657cb5af62f4f58e861", | |
| "msg": [9, 27, 23, 3, 43, 33, 29, 54, 33, 13, 54, 57, 2, 15, 4, 50, 17, 32, 1, 41, 45], | |
| "ct": [1, 26, 18, 18, 23, 32, 3, 14, 30, 50, 4, 14, 52, 51, 41, 42, 37, 54, 23, 10, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 792, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "70f30ee06de5241565c77b708657cb5af62f4f58e861", | |
| "msg": [16, 57, 50, 42, 10, 52, 58, 34, 8, 39, 43, 17, 57, 49, 47, 27, 17, 23, 38, 50, 31], | |
| "ct": [42, 2, 58, 54, 56, 41, 51, 18, 18, 18, 1, 56, 50, 37, 27, 13, 30, 62, 3, 21, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 793, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "70f30ee06de5241565c77b708657cb5af62f4f58e861", | |
| "msg": [12, 28, 7, 3, 17, 27, 58, 47, 36, 1, 10, 35, 59, 58, 17, 40, 57, 59, 19, 52, 50], | |
| "ct": [22, 51, 26, 1, 36, 45, 20, 55, 31, 35, 54, 47, 5, 39, 58, 3, 47, 46, 51, 4, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 794, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", | |
| "tweak": "d0a005b45247f038", | |
| "msg": [-1, 6, 6, 62, 51, 63, 25, 63, 28, 59, 32, 19, 20, 17, 10, 13, 53, 52, 60, 35, 61], | |
| "ct": [3, 54, 32, 53, 18, 47, 25, 49, 62, 51, 43, 6, 53, 56, 30, 39, 22, 28, 0, 54, 9], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 795, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", | |
| "tweak": "d0a005b45247f038", | |
| "msg": [37, 6, 6, 62, 51, 63, 25, -1, 28, 59, 32, 19, 20, 17, 10, 13, 53, 52, 60, 35, 61], | |
| "ct": [10, 13, 40, 29, 44, 3, 3, 51, 28, 52, 45, 49, 38, 35, 55, 25, 22, 25, 11, 54, 16], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 796, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", | |
| "tweak": "d0a005b45247f038", | |
| "msg": [37, 6, 6, 62, 51, 63, 25, 63, 28, 59, 32, 19, 20, 17, 10, 13, 53, 52, 60, 35, -1], | |
| "ct": [1, 7, 39, 48, 59, 33, 52, 50, 45, 41, 18, 57, 42, 26, 61, 38, 49, 57, 59, 37, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 797, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e2d919c8ae75e22c6686f56d86def391", | |
| "tweak": "c6ba901bf3159aea", | |
| "msg": [64, 47, 33, 21, 4, 0, 35, 16, 34, 52, 46, 21, 51, 51, 43, 59, 14, 36, 51, 46, 31], | |
| "ct": [5, 13, 36, 49, 63, 3, 6, 34, 4, 0, 0, 44, 39, 28, 11, 11, 35, 37, 51, 44, 21], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 798, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e2d919c8ae75e22c6686f56d86def391", | |
| "tweak": "c6ba901bf3159aea", | |
| "msg": [37, 47, 33, 21, 4, 0, 35, 64, 34, 52, 46, 21, 51, 51, 43, 59, 14, 36, 51, 46, 31], | |
| "ct": [1, 42, 61, 33, 53, 54, 40, 21, 16, 19, 15, 21, 47, 52, 61, 42, 27, 55, 61, 33, 0], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 799, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e2d919c8ae75e22c6686f56d86def391", | |
| "tweak": "c6ba901bf3159aea", | |
| "msg": [37, 47, 33, 21, 4, 0, 35, 16, 34, 52, 46, 21, 51, 51, 43, 59, 14, 36, 51, 46, 64], | |
| "ct": [17, 59, 33, 50, 38, 24, 54, 45, 40, 20, 8, 20, 33, 22, 4, 8, 37, 7, 2, 21, 7], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 4, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 800, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f9626066827656fe088a7bf737c1cc1a3a3adc7015ffee7f", | |
| "tweak": "bc6d9ff72c250366", | |
| "msg": [14, 29, 56, 48], | |
| "ct": [18, 58, 42, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 801, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [0, 0, 0, 0], | |
| "ct": [3, 1, 43, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 802, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [63, 63, 63, 63], | |
| "ct": [15, 57, 23, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 803, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [32, 0, 32, 0], | |
| "ct": [34, 7, 3, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 804, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [31, 63, 31, 63], | |
| "ct": [17, 3, 29, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 805, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [59, 0, 62, 46], | |
| "ct": [57, 44, 43, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 806, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [41, 31, 14, 24], | |
| "ct": [0, 63, 62, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 807, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [39, 51, 48, 60], | |
| "ct": [51, 19, 37, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 808, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [59, 2, 44, 40], | |
| "ct": [58, 27, 57, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 809, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [54, 46, 1, 7], | |
| "ct": [43, 5, 23, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 810, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [7, 16, 16, 54], | |
| "ct": [47, 58, 42, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 811, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [0, 56, 31, 39], | |
| "ct": [42, 29, 16, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 812, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [45, 37, 23, 8], | |
| "ct": [32, 34, 25, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 813, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [38, 46, 58, 33], | |
| "ct": [0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 814, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [4, 11, 8, 2], | |
| "ct": [63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 815, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [41, 49, 9, 9], | |
| "ct": [32, 0, 32, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 816, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [45, 14, 32, 59], | |
| "ct": [31, 63, 31, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 817, | |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "39366637b29e9d50755b1dc281", | |
| "msg": [33, 16, 16, 44], | |
| "ct": [0, 0, 38, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 818, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "39366637b29e9d50755b1dc281", | |
| "msg": [42, 42, 28, 36], | |
| "ct": [0, 1, 17, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 819, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "39366637b29e9d50755b1dc281", | |
| "msg": [45, 51, 56, 36], | |
| "ct": [32, 0, 19, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 820, | |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "39366637b29e9d50755b1dc281", | |
| "msg": [2, 16, 56, 53], | |
| "ct": [63, 63, 11, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 821, | |
| "comment": "y = 1 and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "18ef6e90c81bd04dc25ca6c9a5", | |
| "msg": [3, 6, 35, 13], | |
| "ct": [0, 1, 2, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 822, | |
| "comment": "y = 1 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "18ef6e90c81bd04dc25ca6c9a5", | |
| "msg": [40, 52, 61, 14], | |
| "ct": [0, 2, 15, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 823, | |
| "comment": "y = 1 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "18ef6e90c81bd04dc25ca6c9a5", | |
| "msg": [61, 30, 27, 59], | |
| "ct": [32, 1, 28, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 824, | |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "18ef6e90c81bd04dc25ca6c9a5", | |
| "msg": [35, 45, 33, 28], | |
| "ct": [63, 63, 52, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 825, | |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "18ef6e90c81bd04dc25ca6c9a5", | |
| "msg": [60, 18, 32, 13], | |
| "ct": [0, 0, 33, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 826, | |
| "comment": "y is maximal and (y + a) % radix**2 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "71283f5feb52fa173eaac09964", | |
| "msg": [36, 16, 48, 3], | |
| "ct": [12, 25, 61, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 827, | |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "71283f5feb52fa173eaac09964", | |
| "msg": [43, 39, 44, 16], | |
| "ct": [12, 30, 41, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 828, | |
| "comment": "y is maximal and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "71283f5feb52fa173eaac09964", | |
| "msg": [29, 4, 52, 56], | |
| "ct": [22, 52, 40, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 829, | |
| "comment": "y is maximal and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "71283f5feb52fa173eaac09964", | |
| "msg": [1, 61, 28, 60], | |
| "ct": [5, 55, 1, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 830, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "2298a9b565490c6ba7d39d24d7", | |
| "msg": [0, 0, 54, 36], | |
| "ct": [10, 47, 61, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 831, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "2298a9b565490c6ba7d39d24d7", | |
| "msg": [0, 1, 54, 36], | |
| "ct": [21, 27, 51, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 832, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "2298a9b565490c6ba7d39d24d7", | |
| "msg": [0, 63, 54, 36], | |
| "ct": [12, 61, 25, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 833, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "2298a9b565490c6ba7d39d24d7", | |
| "msg": [1, 0, 54, 36], | |
| "ct": [26, 19, 4, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 834, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "2298a9b565490c6ba7d39d24d7", | |
| "msg": [32, 0, 54, 36], | |
| "ct": [13, 50, 12, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 835, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "2298a9b565490c6ba7d39d24d7", | |
| "msg": [63, 63, 54, 36], | |
| "ct": [25, 27, 20, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 836, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "37b34de84704ade5d5a7651648", | |
| "msg": [0, 0, 61, 43], | |
| "ct": [2, 35, 3, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 837, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "37b34de84704ade5d5a7651648", | |
| "msg": [0, 1, 61, 43], | |
| "ct": [60, 32, 44, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 838, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "37b34de84704ade5d5a7651648", | |
| "msg": [32, 0, 61, 43], | |
| "ct": [31, 1, 35, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 839, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "37b34de84704ade5d5a7651648", | |
| "msg": [63, 63, 61, 43], | |
| "ct": [58, 29, 59, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 840, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", | |
| "tweak": "2cd30b0db6e83292", | |
| "msg": [-1, 49, 50, 34], | |
| "ct": [44, 9, 41, 0], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 841, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", | |
| "tweak": "2cd30b0db6e83292", | |
| "msg": [60, -1, 50, 34], | |
| "ct": [6, 2, 2, 43], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 842, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", | |
| "tweak": "2cd30b0db6e83292", | |
| "msg": [60, 49, 50, -1], | |
| "ct": [46, 11, 32, 47], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 843, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "afc1fe563c7721c12f9837abfd35a9cc3f29eb445addd715", | |
| "tweak": "1772ab83b9caa57a", | |
| "msg": [64, 7, 47, 48], | |
| "ct": [59, 13, 63, 24], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 844, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "afc1fe563c7721c12f9837abfd35a9cc3f29eb445addd715", | |
| "tweak": "1772ab83b9caa57a", | |
| "msg": [35, 64, 47, 48], | |
| "ct": [51, 16, 40, 50], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 845, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "afc1fe563c7721c12f9837abfd35a9cc3f29eb445addd715", | |
| "tweak": "1772ab83b9caa57a", | |
| "msg": [35, 7, 47, 64], | |
| "ct": [5, 8, 5, 32], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 5, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 846, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "a6c055a8cba4718f411d1a3d9c9e2051261ce3e369b2fa13", | |
| "tweak": "c5d9512a52de22b7", | |
| "msg": [23, 6, 50, 59, 52], | |
| "ct": [35, 22, 52, 52, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 847, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [0, 0, 0, 0, 0], | |
| "ct": [30, 17, 8, 38, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 848, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [63, 63, 63, 63, 63], | |
| "ct": [45, 58, 46, 58, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 849, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [32, 0, 32, 0, 0], | |
| "ct": [57, 6, 47, 56, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 850, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [31, 63, 31, 63, 63], | |
| "ct": [58, 2, 7, 45, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 851, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [46, 33, 15, 54, 54], | |
| "ct": [54, 45, 42, 0, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 852, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [26, 3, 52, 4, 6], | |
| "ct": [4, 49, 10, 45, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 853, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [37, 8, 12, 6, 28], | |
| "ct": [16, 11, 32, 47, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 854, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [56, 35, 26, 45, 4], | |
| "ct": [32, 18, 6, 11, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 855, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [31, 20, 13, 33, 53], | |
| "ct": [18, 56, 22, 58, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 856, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [13, 61, 59, 13, 17], | |
| "ct": [57, 6, 46, 48, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 857, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [1, 23, 57, 0, 39], | |
| "ct": [31, 46, 9, 5, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 858, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [13, 57, 20, 19, 11], | |
| "ct": [56, 5, 6, 18, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 859, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [41, 14, 42, 45, 11], | |
| "ct": [0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 860, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [61, 27, 12, 50, 59], | |
| "ct": [63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 861, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [2, 2, 62, 7, 4], | |
| "ct": [32, 0, 32, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 862, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [34, 25, 14, 28, 63], | |
| "ct": [31, 63, 31, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 863, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", | |
| "tweak": "2ae737de3b2aa4b0", | |
| "msg": [-1, 28, 30, 57, 54], | |
| "ct": [4, 14, 57, 13, 17], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 864, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", | |
| "tweak": "2ae737de3b2aa4b0", | |
| "msg": [12, -1, 30, 57, 54], | |
| "ct": [27, 40, 12, 41, 31], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 865, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", | |
| "tweak": "2ae737de3b2aa4b0", | |
| "msg": [12, 28, 30, 57, -1], | |
| "ct": [19, 31, 6, 24, 35], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 866, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "347ee5225467783da925bef6e007c088aeb2cb0390d10422", | |
| "tweak": "7d51ea810844a210", | |
| "msg": [64, 3, 5, 54, 56], | |
| "ct": [55, 37, 57, 40, 62], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 867, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "347ee5225467783da925bef6e007c088aeb2cb0390d10422", | |
| "tweak": "7d51ea810844a210", | |
| "msg": [9, 64, 5, 54, 56], | |
| "ct": [49, 3, 62, 43, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 868, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "347ee5225467783da925bef6e007c088aeb2cb0390d10422", | |
| "tweak": "7d51ea810844a210", | |
| "msg": [9, 3, 5, 54, 64], | |
| "ct": [19, 2, 2, 6, 22], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 6, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 869, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "4d7429ddc83d27457a152d4981aab3ddf56dd2410647ad47", | |
| "tweak": "ada060734534dfa1", | |
| "msg": [34, 4, 52, 50, 8, 53], | |
| "ct": [25, 39, 61, 19, 48, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 870, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [0, 0, 0, 0, 0, 0], | |
| "ct": [24, 30, 58, 19, 2, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 871, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [63, 63, 63, 63, 63, 63], | |
| "ct": [40, 24, 25, 4, 62, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 872, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [32, 0, 0, 32, 0, 0], | |
| "ct": [55, 1, 22, 44, 43, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 873, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [31, 63, 63, 31, 63, 63], | |
| "ct": [51, 58, 34, 61, 21, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 874, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [7, 25, 24, 28, 3, 44], | |
| "ct": [34, 60, 29, 4, 22, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 875, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [30, 62, 8, 27, 29, 21], | |
| "ct": [6, 44, 10, 31, 31, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 876, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [2, 54, 6, 37, 10, 17], | |
| "ct": [61, 27, 39, 28, 54, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 877, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [52, 42, 18, 10, 7, 15], | |
| "ct": [55, 58, 24, 47, 30, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 878, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [62, 61, 33, 9, 3, 17], | |
| "ct": [28, 62, 15, 46, 44, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 879, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [9, 33, 48, 57, 38, 34], | |
| "ct": [51, 63, 28, 11, 21, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 880, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [11, 42, 43, 53, 58, 21], | |
| "ct": [6, 52, 26, 63, 37, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 881, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [46, 46, 37, 43, 12, 34], | |
| "ct": [49, 25, 39, 29, 37, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 882, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [55, 14, 29, 50, 44, 54], | |
| "ct": [0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 883, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [45, 0, 42, 45, 57, 29], | |
| "ct": [63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 884, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [53, 7, 11, 39, 20, 44], | |
| "ct": [32, 0, 0, 32, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 885, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [49, 52, 49, 62, 33, 21], | |
| "ct": [31, 63, 63, 31, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 886, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "0d9540acdb21c4e332531445", | |
| "msg": [0, 0, 0, 52, 60, 50], | |
| "ct": [10, 44, 20, 21, 45, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 887, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "0d9540acdb21c4e332531445", | |
| "msg": [0, 0, 1, 52, 60, 50], | |
| "ct": [7, 25, 15, 33, 63, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 888, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "0d9540acdb21c4e332531445", | |
| "msg": [32, 0, 0, 52, 60, 50], | |
| "ct": [16, 27, 17, 45, 9, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 889, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "0d9540acdb21c4e332531445", | |
| "msg": [63, 63, 63, 52, 60, 50], | |
| "ct": [60, 52, 11, 25, 16, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 890, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "0130be67d0e05c9d1a929917", | |
| "msg": [17, 57, 35, 62, 63, 51], | |
| "ct": [28, 20, 3, 11, 31, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 891, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "0130be67d0e05c9d1a929917", | |
| "msg": [62, 63, 57, 41, 51, 22], | |
| "ct": [17, 8, 15, 22, 50, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 892, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "0130be67d0e05c9d1a929917", | |
| "msg": [50, 25, 8, 1, 60, 34], | |
| "ct": [46, 54, 50, 22, 5, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 893, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "0130be67d0e05c9d1a929917", | |
| "msg": [41, 57, 12, 20, 1, 20], | |
| "ct": [55, 29, 30, 16, 61, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 894, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", | |
| "tweak": "c0b22a647b59d5ca", | |
| "msg": [-1, 21, 53, 60, 30, 27], | |
| "ct": [17, 6, 3, 23, 39, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 895, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", | |
| "tweak": "c0b22a647b59d5ca", | |
| "msg": [14, 21, -1, 60, 30, 27], | |
| "ct": [37, 22, 44, 10, 17, 6], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 896, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", | |
| "tweak": "c0b22a647b59d5ca", | |
| "msg": [14, 21, 53, 60, 30, -1], | |
| "ct": [23, 56, 2, 4, 24, 10], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 897, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "eb6846150ce1c9719be0df02cbe50460c2e9a7b9aca71b87", | |
| "tweak": "023b981f815c7679", | |
| "msg": [64, 50, 31, 40, 56, 12], | |
| "ct": [31, 58, 37, 9, 21, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 898, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "eb6846150ce1c9719be0df02cbe50460c2e9a7b9aca71b87", | |
| "tweak": "023b981f815c7679", | |
| "msg": [44, 50, 64, 40, 56, 12], | |
| "ct": [42, 22, 22, 2, 53, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 899, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "eb6846150ce1c9719be0df02cbe50460c2e9a7b9aca71b87", | |
| "tweak": "023b981f815c7679", | |
| "msg": [44, 50, 31, 40, 56, 64], | |
| "ct": [58, 38, 0, 29, 7, 13], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 7, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 900, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "87f7c60d04f5313cff17a4e7fad56c33b0afb439939c1ab5", | |
| "tweak": "20e854d3f367ab8e", | |
| "msg": [40, 61, 41, 32, 16, 60, 8], | |
| "ct": [4, 55, 61, 56, 14, 23, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 901, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [0, 0, 0, 0, 0, 0, 0], | |
| "ct": [14, 18, 33, 50, 41, 19, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 902, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [63, 63, 63, 63, 63, 63, 63], | |
| "ct": [19, 31, 20, 27, 30, 3, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 903, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [32, 0, 0, 32, 0, 0, 0], | |
| "ct": [12, 25, 16, 49, 0, 52, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 904, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [31, 63, 63, 31, 63, 63, 63], | |
| "ct": [24, 44, 44, 42, 23, 54, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 905, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [51, 33, 57, 50, 61, 40, 23], | |
| "ct": [55, 29, 20, 19, 56, 50, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 906, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [13, 9, 40, 48, 63, 37, 6], | |
| "ct": [28, 39, 49, 20, 3, 10, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 907, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [8, 41, 18, 33, 7, 27, 11], | |
| "ct": [53, 31, 36, 14, 14, 0, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 908, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [58, 62, 35, 51, 54, 29, 42], | |
| "ct": [46, 46, 1, 48, 34, 50, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 909, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [31, 55, 54, 15, 7, 41, 39], | |
| "ct": [42, 42, 48, 27, 20, 24, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 910, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [45, 57, 0, 37, 54, 9, 15], | |
| "ct": [52, 23, 19, 40, 50, 3, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 911, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [26, 1, 18, 52, 62, 18, 22], | |
| "ct": [53, 52, 7, 40, 61, 34, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 912, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [51, 56, 12, 10, 61, 52, 63], | |
| "ct": [49, 11, 34, 36, 61, 60, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 913, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [58, 52, 17, 50, 16, 26, 1], | |
| "ct": [0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 914, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [47, 41, 16, 42, 33, 23, 45], | |
| "ct": [63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 915, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [52, 10, 21, 13, 58, 51, 10], | |
| "ct": [32, 0, 0, 32, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 916, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [35, 30, 8, 23, 11, 59, 30], | |
| "ct": [31, 63, 63, 31, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 917, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "4c69b7572ef53a20c6fddb2f", | |
| "msg": [0, 0, 0, 24, 40, 46, 46], | |
| "ct": [5, 46, 56, 39, 6, 8, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 918, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "4c69b7572ef53a20c6fddb2f", | |
| "msg": [0, 0, 1, 24, 40, 46, 46], | |
| "ct": [14, 1, 58, 39, 39, 51, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 919, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "4c69b7572ef53a20c6fddb2f", | |
| "msg": [32, 0, 0, 24, 40, 46, 46], | |
| "ct": [47, 48, 46, 17, 7, 41, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 920, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "4c69b7572ef53a20c6fddb2f", | |
| "msg": [63, 63, 63, 24, 40, 46, 46], | |
| "ct": [38, 50, 40, 26, 25, 48, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 921, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "a9406efb204ee23af73de3b6", | |
| "msg": [0, 0, 0, 4, 3, 14, 50], | |
| "ct": [2, 60, 37, 35, 20, 32, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 922, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "a9406efb204ee23af73de3b6", | |
| "msg": [0, 0, 1, 4, 3, 14, 50], | |
| "ct": [19, 57, 21, 25, 42, 19, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 923, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "a9406efb204ee23af73de3b6", | |
| "msg": [32, 0, 0, 4, 3, 14, 50], | |
| "ct": [51, 0, 16, 45, 25, 40, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 924, | |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "a9406efb204ee23af73de3b6", | |
| "msg": [63, 63, 62, 4, 3, 14, 50], | |
| "ct": [21, 13, 45, 0, 40, 4, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 925, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "a9406efb204ee23af73de3b6", | |
| "msg": [63, 63, 63, 4, 3, 14, 50], | |
| "ct": [48, 58, 6, 37, 35, 41, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 926, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "e91695699ef6e31b8afed47b", | |
| "msg": [0, 0, 0, 0, 58, 55, 36], | |
| "ct": [55, 25, 29, 31, 50, 35, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 927, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "e91695699ef6e31b8afed47b", | |
| "msg": [0, 0, 1, 0, 58, 55, 36], | |
| "ct": [50, 3, 10, 41, 38, 36, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 928, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "e91695699ef6e31b8afed47b", | |
| "msg": [32, 0, 0, 0, 58, 55, 36], | |
| "ct": [55, 51, 20, 49, 40, 0, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 929, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "e91695699ef6e31b8afed47b", | |
| "msg": [63, 63, 63, 0, 58, 55, 36], | |
| "ct": [55, 45, 46, 45, 53, 45, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 930, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "964aec6fe5e311db9aeb40af", | |
| "msg": [47, 58, 17, 3, 34, 2, 45], | |
| "ct": [63, 63, 0, 27, 20, 12, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 931, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "964aec6fe5e311db9aeb40af", | |
| "msg": [63, 47, 44, 32, 19, 61, 28], | |
| "ct": [63, 63, 1, 5, 17, 8, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 932, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "964aec6fe5e311db9aeb40af", | |
| "msg": [8, 26, 26, 20, 1, 53, 55], | |
| "ct": [63, 63, 63, 11, 54, 53, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 933, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "964aec6fe5e311db9aeb40af", | |
| "msg": [0, 19, 37, 18, 3, 41, 35], | |
| "ct": [0, 0, 0, 2, 29, 8, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 934, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "964aec6fe5e311db9aeb40af", | |
| "msg": [3, 51, 52, 37, 24, 57, 26], | |
| "ct": [31, 63, 0, 10, 36, 49, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 935, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "964aec6fe5e311db9aeb40af", | |
| "msg": [31, 38, 41, 48, 48, 46, 16], | |
| "ct": [63, 62, 63, 52, 12, 53, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 936, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "18d4a1241e02af18579e7d19", | |
| "msg": [45, 25, 30, 9, 27, 59, 29], | |
| "ct": [63, 63, 63, 38, 29, 4, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 937, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "18d4a1241e02af18579e7d19", | |
| "msg": [51, 36, 46, 53, 47, 2, 51], | |
| "ct": [0, 0, 0, 36, 40, 38, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 938, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "18d4a1241e02af18579e7d19", | |
| "msg": [34, 20, 20, 16, 33, 30, 58], | |
| "ct": [31, 63, 63, 57, 15, 48, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 939, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "18d4a1241e02af18579e7d19", | |
| "msg": [28, 33, 23, 20, 27, 20, 34], | |
| "ct": [63, 63, 62, 50, 52, 57, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 940, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", | |
| "tweak": "60ffe987c829b479", | |
| "msg": [-1, 17, 46, 6, 60, 54, 44], | |
| "ct": [11, 31, 15, 28, 2, 0, 46], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 941, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", | |
| "tweak": "60ffe987c829b479", | |
| "msg": [3, 17, -1, 6, 60, 54, 44], | |
| "ct": [35, 4, 25, 54, 20, 62, 40], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 942, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", | |
| "tweak": "60ffe987c829b479", | |
| "msg": [3, 17, 46, 6, 60, 54, -1], | |
| "ct": [41, 48, 38, 47, 3, 13, 60], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 943, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f69f9b0aaa3d56ea18e25aa7ba5485d7b097a4197ac77324", | |
| "tweak": "ff0245503df4be75", | |
| "msg": [64, 12, 8, 25, 29, 57, 30], | |
| "ct": [15, 49, 33, 7, 35, 37, 14], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 944, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f69f9b0aaa3d56ea18e25aa7ba5485d7b097a4197ac77324", | |
| "tweak": "ff0245503df4be75", | |
| "msg": [10, 12, 64, 25, 29, 57, 30], | |
| "ct": [3, 55, 21, 63, 3, 29, 61], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 945, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f69f9b0aaa3d56ea18e25aa7ba5485d7b097a4197ac77324", | |
| "tweak": "ff0245503df4be75", | |
| "msg": [10, 12, 8, 25, 29, 57, 64], | |
| "ct": [40, 37, 12, 40, 47, 35, 37], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 8, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 946, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "92a79c3f030f2aba3096f2537c9d47403d9f4b2ede166d87", | |
| "tweak": "3146e53b9e1162f2", | |
| "msg": [44, 18, 15, 27, 18, 63, 56, 20], | |
| "ct": [36, 14, 48, 39, 34, 18, 9, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 947, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [39, 60, 9, 37, 17, 27, 3, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 948, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [3, 24, 7, 16, 19, 36, 48, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 949, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [32, 0, 0, 0, 32, 0, 0, 0], | |
| "ct": [37, 22, 6, 11, 8, 27, 16, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 950, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [31, 63, 63, 63, 31, 63, 63, 63], | |
| "ct": [36, 44, 8, 50, 60, 22, 34, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 951, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [39, 8, 56, 22, 42, 57, 63, 18], | |
| "ct": [39, 48, 37, 16, 35, 48, 56, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 952, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [49, 56, 27, 2, 1, 21, 55, 55], | |
| "ct": [5, 60, 0, 43, 50, 39, 12, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 953, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [8, 8, 61, 61, 53, 12, 54, 48], | |
| "ct": [6, 42, 47, 55, 5, 19, 13, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 954, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [41, 61, 32, 25, 61, 24, 39, 34], | |
| "ct": [49, 41, 8, 31, 15, 23, 25, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 955, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [52, 44, 14, 50, 60, 27, 30, 53], | |
| "ct": [13, 3, 25, 62, 2, 23, 3, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 956, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [47, 23, 33, 28, 47, 53, 53, 48], | |
| "ct": [30, 53, 9, 8, 33, 1, 41, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 957, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [8, 9, 4, 33, 31, 43, 0, 55], | |
| "ct": [26, 61, 13, 15, 59, 38, 54, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 958, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [41, 8, 30, 38, 48, 2, 7, 37], | |
| "ct": [1, 61, 11, 11, 14, 5, 46, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 959, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [17, 1, 7, 38, 23, 51, 38, 57], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 960, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [56, 61, 38, 10, 27, 45, 34, 3], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 961, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [2, 49, 15, 15, 43, 25, 21, 14], | |
| "ct": [32, 0, 0, 0, 32, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 962, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [41, 51, 35, 23, 9, 11, 4, 31], | |
| "ct": [31, 63, 63, 63, 31, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 963, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "e63c741c92da734d3665c0e1", | |
| "msg": [38, 51, 5, 18, 45, 36, 1, 9], | |
| "ct": [0, 0, 0, 0, 55, 6, 3, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 964, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "e63c741c92da734d3665c0e1", | |
| "msg": [46, 51, 19, 60, 26, 42, 31, 62], | |
| "ct": [0, 0, 0, 1, 55, 40, 1, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 965, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "e63c741c92da734d3665c0e1", | |
| "msg": [0, 14, 51, 36, 47, 7, 10, 44], | |
| "ct": [32, 0, 0, 0, 59, 40, 2, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 966, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "e63c741c92da734d3665c0e1", | |
| "msg": [29, 48, 20, 32, 33, 49, 2, 4], | |
| "ct": [63, 63, 63, 63, 41, 8, 22, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 967, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "0ee3d5cc764bdfc32fb25678", | |
| "msg": [0, 0, 0, 0, 6, 29, 31, 19], | |
| "ct": [42, 55, 27, 24, 33, 2, 44, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 968, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "0ee3d5cc764bdfc32fb25678", | |
| "msg": [0, 0, 0, 1, 6, 29, 31, 19], | |
| "ct": [49, 7, 43, 42, 34, 39, 63, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 969, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "0ee3d5cc764bdfc32fb25678", | |
| "msg": [32, 0, 0, 0, 6, 29, 31, 19], | |
| "ct": [54, 40, 5, 6, 38, 21, 23, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 970, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "0ee3d5cc764bdfc32fb25678", | |
| "msg": [63, 63, 63, 62, 6, 29, 31, 19], | |
| "ct": [37, 15, 38, 37, 51, 27, 33, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 971, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "0ee3d5cc764bdfc32fb25678", | |
| "msg": [63, 63, 63, 63, 6, 29, 31, 19], | |
| "ct": [29, 26, 13, 30, 16, 11, 55, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 972, | |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "974677a1e0735bf7f558c071", | |
| "msg": [47, 40, 58, 57, 4, 45, 57, 33], | |
| "ct": [13, 51, 60, 14, 22, 17, 52, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 973, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "974677a1e0735bf7f558c071", | |
| "msg": [54, 48, 17, 24, 47, 23, 52, 7], | |
| "ct": [63, 61, 13, 55, 38, 10, 44, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 974, | |
| "comment": "y is maximal and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "974677a1e0735bf7f558c071", | |
| "msg": [7, 10, 26, 59, 26, 24, 55, 63], | |
| "ct": [46, 19, 24, 43, 18, 55, 27, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 975, | |
| "comment": "y is maximal and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "974677a1e0735bf7f558c071", | |
| "msg": [30, 30, 52, 22, 10, 2, 4, 59], | |
| "ct": [17, 50, 63, 1, 49, 34, 38, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 976, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "27d91e84fd2852e60be379d1", | |
| "msg": [58, 46, 34, 21, 18, 36, 4, 60], | |
| "ct": [19, 14, 55, 29, 63, 8, 28, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 977, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "27d91e84fd2852e60be379d1", | |
| "msg": [48, 16, 17, 21, 1, 47, 42, 40], | |
| "ct": [60, 26, 12, 51, 6, 60, 60, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 978, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "27d91e84fd2852e60be379d1", | |
| "msg": [12, 15, 42, 1, 5, 32, 46, 54], | |
| "ct": [45, 18, 56, 3, 38, 21, 3, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 979, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "27d91e84fd2852e60be379d1", | |
| "msg": [54, 55, 57, 27, 44, 7, 43, 53], | |
| "ct": [21, 37, 46, 55, 61, 63, 7, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 980, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "27d91e84fd2852e60be379d1", | |
| "msg": [39, 43, 12, 7, 14, 9, 10, 63], | |
| "ct": [52, 32, 51, 20, 19, 4, 36, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 981, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "27d91e84fd2852e60be379d1", | |
| "msg": [13, 34, 54, 13, 8, 20, 28, 18], | |
| "ct": [21, 3, 8, 42, 16, 53, 11, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 982, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "cdc3662f989b63334560b5ee", | |
| "msg": [0, 0, 0, 0, 38, 40, 38, 10], | |
| "ct": [40, 9, 19, 39, 19, 16, 13, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 983, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "cdc3662f989b63334560b5ee", | |
| "msg": [0, 0, 0, 1, 38, 40, 38, 10], | |
| "ct": [1, 2, 58, 22, 53, 54, 56, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 984, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "cdc3662f989b63334560b5ee", | |
| "msg": [32, 0, 0, 0, 38, 40, 38, 10], | |
| "ct": [32, 63, 14, 23, 10, 33, 34, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 985, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "cdc3662f989b63334560b5ee", | |
| "msg": [63, 63, 63, 63, 38, 40, 38, 10], | |
| "ct": [40, 42, 17, 30, 19, 44, 58, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 986, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", | |
| "tweak": "1a7d6192c4daa46f", | |
| "msg": [-1, 8, 13, 1, 4, 20, 55, 7], | |
| "ct": [39, 35, 53, 9, 63, 7, 3, 40], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 987, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", | |
| "tweak": "1a7d6192c4daa46f", | |
| "msg": [61, 8, -1, 1, 4, 20, 55, 7], | |
| "ct": [45, 57, 33, 25, 51, 19, 16, 4], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 988, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", | |
| "tweak": "1a7d6192c4daa46f", | |
| "msg": [61, 8, 13, 1, 4, 20, 55, -1], | |
| "ct": [1, 33, 37, 28, 52, 52, 58, 58], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 989, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "186b6b6fa5b1fe885cb46a1ca68f249194b14bcd594a395c", | |
| "tweak": "90256c7de582fc6b", | |
| "msg": [64, 24, 20, 14, 45, 54, 3, 5], | |
| "ct": [36, 42, 57, 43, 33, 15, 55, 42], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 990, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "186b6b6fa5b1fe885cb46a1ca68f249194b14bcd594a395c", | |
| "tweak": "90256c7de582fc6b", | |
| "msg": [6, 24, 64, 14, 45, 54, 3, 5], | |
| "ct": [21, 37, 55, 9, 42, 49, 31, 58], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 991, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "186b6b6fa5b1fe885cb46a1ca68f249194b14bcd594a395c", | |
| "tweak": "90256c7de582fc6b", | |
| "msg": [6, 24, 20, 14, 45, 54, 3, 64], | |
| "ct": [21, 51, 57, 33, 28, 63, 63, 9], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 9, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 992, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "c5fa236ae679d3c1d533758578e3a5c48752179eb298ac0e", | |
| "tweak": "72ac4fc84f5bc825", | |
| "msg": [25, 21, 47, 51, 63, 13, 44, 25, 32], | |
| "ct": [39, 42, 58, 45, 19, 57, 37, 42, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 993, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [12, 41, 21, 15, 0, 50, 30, 43, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 994, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [33, 54, 5, 58, 32, 23, 51, 54, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 995, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [32, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "ct": [36, 39, 15, 4, 0, 6, 52, 47, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 996, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [31, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "ct": [33, 39, 54, 8, 20, 57, 8, 51, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 997, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [31, 56, 18, 51, 2, 42, 7, 14, 55], | |
| "ct": [36, 36, 0, 36, 9, 33, 14, 41, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 998, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [4, 48, 21, 41, 42, 38, 44, 25, 41], | |
| "ct": [49, 54, 15, 15, 38, 21, 19, 33, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 999, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [12, 34, 37, 30, 51, 21, 61, 26, 2], | |
| "ct": [15, 38, 2, 2, 34, 55, 4, 16, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1000, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [29, 14, 25, 21, 31, 34, 8, 26, 43], | |
| "ct": [30, 25, 10, 33, 59, 3, 24, 39, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1001, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [49, 53, 5, 23, 22, 7, 51, 24, 4], | |
| "ct": [17, 23, 62, 31, 55, 22, 13, 3, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1002, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [21, 51, 55, 58, 37, 36, 59, 33, 56], | |
| "ct": [30, 32, 50, 41, 26, 28, 18, 45, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1003, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [15, 9, 3, 15, 26, 32, 53, 10, 55], | |
| "ct": [56, 18, 43, 1, 35, 29, 5, 7, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1004, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [40, 52, 46, 18, 2, 53, 58, 52, 25], | |
| "ct": [32, 55, 34, 41, 1, 25, 1, 42, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1005, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [60, 34, 1, 51, 44, 39, 27, 1, 17], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1006, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [42, 62, 7, 13, 62, 51, 7, 25, 62], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1007, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [23, 4, 36, 19, 53, 48, 52, 24, 3], | |
| "ct": [32, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1008, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [35, 2, 58, 3, 16, 10, 6, 17, 60], | |
| "ct": [31, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1009, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "634b6527c8de4c60e9bcef", | |
| "msg": [0, 0, 0, 0, 58, 29, 0, 18, 25], | |
| "ct": [36, 15, 39, 11, 25, 1, 59, 50, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1010, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "634b6527c8de4c60e9bcef", | |
| "msg": [0, 0, 0, 1, 58, 29, 0, 18, 25], | |
| "ct": [53, 26, 23, 60, 32, 45, 20, 9, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1011, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "634b6527c8de4c60e9bcef", | |
| "msg": [32, 0, 0, 0, 58, 29, 0, 18, 25], | |
| "ct": [62, 61, 46, 39, 39, 63, 13, 57, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1012, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "634b6527c8de4c60e9bcef", | |
| "msg": [63, 63, 63, 63, 58, 29, 0, 18, 25], | |
| "ct": [57, 49, 33, 34, 40, 36, 15, 52, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1013, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "30960009873bb6937054ab", | |
| "msg": [0, 0, 0, 0, 50, 51, 12, 7, 21], | |
| "ct": [29, 33, 57, 20, 28, 43, 33, 61, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1014, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "30960009873bb6937054ab", | |
| "msg": [0, 0, 0, 1, 50, 51, 12, 7, 21], | |
| "ct": [26, 62, 8, 46, 45, 2, 35, 22, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1015, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "30960009873bb6937054ab", | |
| "msg": [32, 0, 0, 0, 50, 51, 12, 7, 21], | |
| "ct": [40, 29, 19, 39, 15, 20, 56, 21, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1016, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "30960009873bb6937054ab", | |
| "msg": [63, 63, 63, 62, 50, 51, 12, 7, 21], | |
| "ct": [51, 11, 40, 25, 42, 18, 44, 23, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1017, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "30960009873bb6937054ab", | |
| "msg": [63, 63, 63, 63, 50, 51, 12, 7, 21], | |
| "ct": [14, 53, 6, 59, 43, 7, 44, 60, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1018, | |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "3c344f0c43d57e189f86c1", | |
| "msg": [27, 29, 25, 21, 12, 42, 12, 46, 35], | |
| "ct": [22, 43, 59, 52, 55, 26, 17, 30, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1019, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "3c344f0c43d57e189f86c1", | |
| "msg": [37, 29, 32, 23, 23, 59, 28, 51, 15], | |
| "ct": [38, 23, 2, 34, 10, 37, 23, 35, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1020, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "3c344f0c43d57e189f86c1", | |
| "msg": [23, 32, 7, 33, 6, 22, 1, 19, 2], | |
| "ct": [2, 8, 19, 53, 44, 42, 8, 40, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1021, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "3c344f0c43d57e189f86c1", | |
| "msg": [7, 48, 12, 56, 19, 56, 6, 29, 42], | |
| "ct": [63, 47, 25, 20, 42, 17, 48, 30, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1022, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "7b6f10ebeb51dc29884a41", | |
| "msg": [2, 28, 52, 50, 49, 26, 8, 39, 36], | |
| "ct": [4, 11, 19, 62, 19, 14, 0, 40, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1023, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "7b6f10ebeb51dc29884a41", | |
| "msg": [9, 6, 36, 30, 27, 48, 4, 37, 4], | |
| "ct": [19, 19, 43, 55, 47, 42, 40, 23, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1024, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "7b6f10ebeb51dc29884a41", | |
| "msg": [33, 58, 38, 1, 57, 18, 39, 11, 9], | |
| "ct": [48, 49, 57, 43, 33, 26, 33, 61, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1025, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "7b6f10ebeb51dc29884a41", | |
| "msg": [25, 24, 46, 17, 29, 26, 2, 44, 37], | |
| "ct": [63, 57, 49, 61, 2, 25, 32, 48, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1026, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "7b6f10ebeb51dc29884a41", | |
| "msg": [48, 7, 53, 0, 29, 28, 49, 24, 30], | |
| "ct": [59, 47, 12, 18, 48, 20, 57, 35, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1027, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "7b6f10ebeb51dc29884a41", | |
| "msg": [37, 47, 53, 54, 31, 7, 26, 14, 61], | |
| "ct": [8, 40, 53, 15, 31, 4, 58, 30, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1028, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "d1f018e517b0e195f15c22", | |
| "msg": [7, 5, 52, 17, 4, 49, 20, 39, 35], | |
| "ct": [63, 63, 63, 63, 8, 46, 14, 35, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1029, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "d1f018e517b0e195f15c22", | |
| "msg": [30, 50, 57, 18, 43, 17, 28, 34, 7], | |
| "ct": [0, 0, 0, 0, 34, 9, 15, 16, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1030, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "d1f018e517b0e195f15c22", | |
| "msg": [5, 48, 6, 23, 45, 20, 33, 35, 35], | |
| "ct": [31, 63, 63, 63, 36, 44, 39, 63, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1031, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "d1f018e517b0e195f15c22", | |
| "msg": [53, 43, 46, 46, 11, 15, 53, 38, 59], | |
| "ct": [63, 63, 63, 62, 51, 3, 16, 45, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1032, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", | |
| "tweak": "2f4481b579f8a5f8", | |
| "msg": [-1, 47, 54, 31, 41, 53, 23, 28, 12], | |
| "ct": [2, 21, 44, 23, 29, 57, 28, 8, 39], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1033, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", | |
| "tweak": "2f4481b579f8a5f8", | |
| "msg": [18, 47, 54, -1, 41, 53, 23, 28, 12], | |
| "ct": [53, 54, 11, 10, 15, 18, 63, 11, 59], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1034, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", | |
| "tweak": "2f4481b579f8a5f8", | |
| "msg": [18, 47, 54, 31, 41, 53, 23, 28, -1], | |
| "ct": [36, 60, 10, 41, 17, 49, 36, 4, 50], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1035, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6155fdc12e4580f2fea59d8ee9ea35adc32048424f52aab6", | |
| "tweak": "ec0cb6dbbfe90b0a", | |
| "msg": [64, 41, 50, 58, 22, 53, 35, 0, 61], | |
| "ct": [10, 26, 34, 43, 2, 16, 52, 2, 9], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1036, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6155fdc12e4580f2fea59d8ee9ea35adc32048424f52aab6", | |
| "tweak": "ec0cb6dbbfe90b0a", | |
| "msg": [0, 41, 50, 64, 22, 53, 35, 0, 61], | |
| "ct": [39, 58, 60, 23, 56, 21, 47, 61, 61], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1037, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6155fdc12e4580f2fea59d8ee9ea35adc32048424f52aab6", | |
| "tweak": "ec0cb6dbbfe90b0a", | |
| "msg": [0, 41, 50, 58, 22, 53, 35, 0, 64], | |
| "ct": [63, 24, 36, 46, 18, 33, 20, 52, 62], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 10, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1038, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "8cf0a0e458eba1cc12ed18041ba331835519346134d0e908", | |
| "tweak": "ea8c0ae555bb05ce", | |
| "msg": [4, 61, 37, 54, 15, 9, 23, 63, 20, 11], | |
| "ct": [8, 26, 42, 23, 33, 33, 41, 53, 43, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1039, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [63, 40, 56, 37, 47, 56, 55, 34, 25, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1040, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [9, 6, 41, 37, 63, 51, 47, 46, 38, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1041, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "ct": [19, 46, 2, 29, 56, 28, 26, 43, 57, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1042, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "ct": [21, 17, 58, 5, 43, 14, 33, 6, 61, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1043, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [63, 34, 55, 49, 50, 21, 46, 36, 4, 41], | |
| "ct": [35, 60, 43, 53, 41, 30, 32, 50, 33, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1044, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [13, 48, 23, 10, 40, 9, 21, 32, 49, 25], | |
| "ct": [49, 23, 35, 8, 33, 55, 53, 46, 42, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1045, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [58, 23, 53, 29, 52, 34, 24, 41, 33, 33], | |
| "ct": [18, 22, 61, 54, 56, 2, 58, 19, 20, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1046, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [13, 32, 6, 52, 32, 37, 54, 41, 17, 41], | |
| "ct": [5, 58, 14, 58, 42, 50, 42, 10, 18, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1047, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [63, 62, 30, 21, 55, 58, 44, 5, 44, 42], | |
| "ct": [26, 42, 9, 25, 30, 9, 7, 44, 44, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1048, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [5, 31, 56, 9, 35, 2, 9, 60, 20, 45], | |
| "ct": [48, 60, 47, 41, 61, 38, 7, 57, 54, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1049, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [1, 10, 18, 58, 0, 34, 49, 26, 38, 39], | |
| "ct": [48, 0, 33, 62, 44, 22, 30, 7, 50, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1050, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [49, 0, 16, 46, 3, 25, 18, 4, 38, 60], | |
| "ct": [31, 39, 45, 16, 7, 27, 55, 52, 1, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1051, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [34, 19, 61, 13, 29, 44, 48, 13, 6, 55], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1052, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [2, 58, 0, 43, 41, 1, 36, 35, 7, 57], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1053, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [20, 57, 31, 53, 20, 45, 8, 23, 11, 6], | |
| "ct": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1054, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [58, 59, 62, 49, 10, 48, 32, 19, 8, 8], | |
| "ct": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1055, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "894a4bec5760e9272493cc", | |
| "msg": [12, 41, 31, 20, 31, 22, 35, 26, 51, 38], | |
| "ct": [0, 0, 0, 0, 0, 2, 46, 37, 56, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1056, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "894a4bec5760e9272493cc", | |
| "msg": [22, 30, 51, 23, 21, 36, 47, 11, 49, 54], | |
| "ct": [0, 0, 0, 0, 1, 24, 9, 56, 52, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1057, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "894a4bec5760e9272493cc", | |
| "msg": [15, 56, 20, 47, 24, 18, 21, 6, 9, 42], | |
| "ct": [32, 0, 0, 0, 0, 39, 24, 56, 1, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1058, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "894a4bec5760e9272493cc", | |
| "msg": [57, 22, 39, 6, 19, 15, 5, 61, 11, 48], | |
| "ct": [63, 63, 63, 63, 63, 47, 4, 36, 0, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1059, | |
| "comment": "y = 1 and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "1f789034b24b7914d4a530", | |
| "msg": [26, 19, 61, 23, 39, 31, 41, 63, 19, 7], | |
| "ct": [48, 36, 5, 61, 29, 0, 0, 0, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1060, | |
| "comment": "y = 1 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "1f789034b24b7914d4a530", | |
| "msg": [30, 28, 14, 8, 37, 27, 62, 16, 47, 44], | |
| "ct": [48, 36, 5, 61, 29, 0, 0, 0, 0, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1061, | |
| "comment": "y = 1 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "1f789034b24b7914d4a530", | |
| "msg": [20, 29, 57, 29, 18, 39, 33, 61, 57, 60], | |
| "ct": [48, 36, 5, 61, 29, 32, 0, 0, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1062, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "1f789034b24b7914d4a530", | |
| "msg": [41, 37, 11, 2, 62, 17, 25, 27, 5, 3], | |
| "ct": [48, 36, 5, 61, 29, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1063, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "1f789034b24b7914d4a530", | |
| "msg": [51, 51, 51, 32, 46, 23, 55, 25, 35, 60], | |
| "ct": [48, 36, 5, 61, 29, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1064, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "d20325222526bbb14578db", | |
| "msg": [0, 0, 0, 0, 0, 5, 43, 9, 60, 56], | |
| "ct": [44, 6, 6, 54, 51, 23, 56, 8, 29, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1065, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "d20325222526bbb14578db", | |
| "msg": [0, 0, 0, 0, 1, 5, 43, 9, 60, 56], | |
| "ct": [12, 31, 20, 53, 21, 9, 16, 2, 7, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1066, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "d20325222526bbb14578db", | |
| "msg": [32, 0, 0, 0, 0, 5, 43, 9, 60, 56], | |
| "ct": [25, 20, 29, 25, 28, 47, 53, 43, 40, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1067, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "d20325222526bbb14578db", | |
| "msg": [63, 63, 63, 63, 63, 5, 43, 9, 60, 56], | |
| "ct": [58, 58, 12, 8, 34, 54, 63, 29, 56, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1068, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "2d91090126f6cf8376a1c4", | |
| "msg": [0, 0, 0, 0, 0, 25, 61, 55, 32, 11], | |
| "ct": [32, 14, 49, 38, 49, 16, 14, 50, 12, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1069, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "2d91090126f6cf8376a1c4", | |
| "msg": [0, 0, 0, 0, 1, 25, 61, 55, 32, 11], | |
| "ct": [36, 11, 12, 8, 22, 2, 40, 41, 3, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1070, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "2d91090126f6cf8376a1c4", | |
| "msg": [0, 0, 0, 0, 63, 25, 61, 55, 32, 11], | |
| "ct": [21, 29, 29, 63, 34, 19, 9, 22, 6, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1071, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "2d91090126f6cf8376a1c4", | |
| "msg": [0, 0, 0, 1, 0, 25, 61, 55, 32, 11], | |
| "ct": [49, 45, 12, 14, 27, 17, 39, 19, 63, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1072, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "2d91090126f6cf8376a1c4", | |
| "msg": [32, 0, 0, 0, 0, 25, 61, 55, 32, 11], | |
| "ct": [4, 42, 38, 55, 44, 14, 15, 7, 34, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1073, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "2d91090126f6cf8376a1c4", | |
| "msg": [63, 63, 63, 63, 63, 25, 61, 55, 32, 11], | |
| "ct": [31, 11, 2, 26, 36, 15, 17, 4, 41, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1074, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "fb0cebf1a525aac4bc6015", | |
| "msg": [47, 62, 30, 14, 62, 0, 0, 0, 0, 0], | |
| "ct": [20, 25, 5, 4, 53, 26, 40, 60, 37, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1075, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "fb0cebf1a525aac4bc6015", | |
| "msg": [8, 10, 26, 7, 15, 0, 0, 0, 0, 1], | |
| "ct": [59, 23, 39, 52, 36, 1, 18, 1, 12, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1076, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "fb0cebf1a525aac4bc6015", | |
| "msg": [13, 16, 53, 20, 48, 32, 0, 0, 0, 0], | |
| "ct": [52, 47, 35, 10, 53, 44, 20, 13, 55, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1077, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "fb0cebf1a525aac4bc6015", | |
| "msg": [53, 25, 36, 4, 37, 63, 63, 63, 63, 63], | |
| "ct": [58, 35, 58, 2, 0, 31, 33, 21, 54, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1078, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", | |
| "tweak": "4343b0033d260a29", | |
| "msg": [-1, 49, 10, 4, 62, 46, 19, 11, 31, 34], | |
| "ct": [28, 61, 41, 6, 56, 52, 54, 23, 12, 17], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1079, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", | |
| "tweak": "4343b0033d260a29", | |
| "msg": [38, 49, 10, -1, 62, 46, 19, 11, 31, 34], | |
| "ct": [53, 54, 27, 29, 17, 1, 42, 4, 54, 32], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1080, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", | |
| "tweak": "4343b0033d260a29", | |
| "msg": [38, 49, 10, 4, 62, 46, 19, 11, 31, -1], | |
| "ct": [28, 17, 61, 58, 46, 20, 58, 13, 16, 49], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1081, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c5fe290f2305b48d00d726cf8f46078919574308524bad7c", | |
| "tweak": "1ba10ecab65b3047", | |
| "msg": [64, 51, 27, 12, 17, 28, 6, 26, 26, 51], | |
| "ct": [19, 0, 34, 5, 17, 40, 21, 53, 46, 6], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1082, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c5fe290f2305b48d00d726cf8f46078919574308524bad7c", | |
| "tweak": "1ba10ecab65b3047", | |
| "msg": [20, 51, 27, 64, 17, 28, 6, 26, 26, 51], | |
| "ct": [15, 20, 5, 31, 21, 39, 51, 28, 61, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1083, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c5fe290f2305b48d00d726cf8f46078919574308524bad7c", | |
| "tweak": "1ba10ecab65b3047", | |
| "msg": [20, 51, 27, 12, 17, 28, 6, 26, 26, 64], | |
| "ct": [10, 18, 59, 48, 31, 2, 47, 39, 51, 49], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 11, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1084, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f8a4cc9863b4aa6eb5b16e9401b0b83e25dd78a96abe6870", | |
| "tweak": "8d5a3a9b130e7bad", | |
| "msg": [48, 39, 41, 29, 54, 51, 16, 39, 32, 53, 10], | |
| "ct": [0, 52, 16, 60, 37, 21, 13, 52, 35, 49, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1085, | |
| "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": [16, 23, 12, 4, 4, 2, 54, 35, 36, 5, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1086, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [60, 5, 2, 43, 56, 37, 48, 19, 8, 50, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1087, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "ct": [34, 45, 13, 23, 60, 17, 59, 44, 24, 9, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1088, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "ct": [55, 4, 28, 1, 22, 7, 59, 0, 41, 2, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1089, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [4, 42, 51, 12, 42, 38, 10, 63, 49, 31, 14], | |
| "ct": [51, 16, 9, 55, 25, 34, 39, 46, 9, 52, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1090, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [40, 36, 9, 57, 20, 33, 38, 40, 0, 5, 4], | |
| "ct": [38, 59, 12, 1, 11, 54, 2, 28, 8, 56, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1091, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [56, 48, 28, 13, 58, 35, 6, 59, 18, 51, 39], | |
| "ct": [55, 9, 60, 17, 35, 38, 50, 14, 10, 2, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1092, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [17, 42, 43, 5, 61, 25, 4, 21, 40, 57, 27], | |
| "ct": [28, 12, 6, 49, 8, 20, 39, 37, 5, 35, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1093, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [28, 5, 21, 37, 52, 35, 57, 45, 48, 26, 52], | |
| "ct": [55, 30, 9, 12, 5, 53, 28, 49, 39, 53, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1094, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [42, 50, 7, 5, 7, 58, 55, 29, 23, 2, 40], | |
| "ct": [48, 29, 21, 9, 56, 1, 58, 48, 6, 48, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1095, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [31, 2, 63, 60, 46, 9, 2, 15, 56, 32, 10], | |
| "ct": [19, 12, 40, 24, 16, 13, 4, 12, 57, 13, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1096, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [23, 50, 24, 7, 40, 59, 13, 48, 16, 54, 49], | |
| "ct": [51, 40, 33, 36, 8, 42, 3, 59, 57, 20, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1097, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [43, 23, 47, 55, 18, 55, 15, 10, 22, 52, 31], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1098, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [4, 40, 27, 55, 43, 38, 61, 12, 54, 8, 49], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1099, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [55, 29, 35, 40, 63, 32, 17, 33, 32, 41, 26], | |
| "ct": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1100, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [31, 28, 41, 29, 28, 39, 11, 59, 36, 37, 1], | |
| "ct": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1101, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "0136eadd7d8a97a3e36f", | |
| "msg": [24, 3, 18, 6, 29, 22, 31, 15, 1, 6, 46], | |
| "ct": [10, 6, 35, 60, 35, 62, 35, 62, 34, 2, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1102, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "0136eadd7d8a97a3e36f", | |
| "msg": [43, 18, 33, 0, 39, 20, 46, 61, 59, 33, 53], | |
| "ct": [57, 54, 45, 20, 17, 8, 5, 28, 56, 33, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1103, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "0136eadd7d8a97a3e36f", | |
| "msg": [47, 54, 1, 43, 57, 40, 48, 40, 51, 26, 31], | |
| "ct": [52, 52, 7, 18, 52, 62, 25, 36, 46, 46, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1104, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "0136eadd7d8a97a3e36f", | |
| "msg": [35, 63, 1, 30, 51, 39, 15, 42, 17, 5, 30], | |
| "ct": [43, 54, 50, 14, 1, 51, 62, 30, 24, 2, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1105, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "a52baa1d77e039b5f52f", | |
| "msg": [15, 25, 60, 46, 4, 40, 56, 24, 57, 42, 29], | |
| "ct": [48, 43, 48, 25, 57, 10, 36, 58, 15, 56, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1106, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "a52baa1d77e039b5f52f", | |
| "msg": [44, 21, 6, 35, 3, 60, 8, 58, 15, 50, 14], | |
| "ct": [25, 62, 56, 17, 42, 17, 53, 42, 0, 53, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1107, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "a52baa1d77e039b5f52f", | |
| "msg": [49, 44, 45, 33, 13, 20, 0, 50, 28, 19, 52], | |
| "ct": [59, 1, 33, 54, 11, 38, 45, 27, 54, 17, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1108, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "a52baa1d77e039b5f52f", | |
| "msg": [23, 30, 40, 44, 4, 40, 24, 55, 12, 16, 61], | |
| "ct": [44, 44, 12, 15, 57, 29, 33, 55, 44, 8, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1109, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "a52baa1d77e039b5f52f", | |
| "msg": [62, 58, 61, 10, 17, 13, 58, 3, 34, 17, 43], | |
| "ct": [24, 26, 43, 4, 49, 23, 50, 7, 29, 26, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1110, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5c94d4cbbb45e4f9e8f3", | |
| "msg": [52, 58, 9, 3, 16, 49, 58, 20, 54, 38, 59], | |
| "ct": [63, 63, 63, 63, 63, 4, 2, 62, 19, 16, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1111, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5c94d4cbbb45e4f9e8f3", | |
| "msg": [43, 26, 32, 15, 27, 29, 62, 25, 9, 13, 58], | |
| "ct": [0, 0, 0, 0, 0, 55, 12, 47, 22, 8, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1112, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5c94d4cbbb45e4f9e8f3", | |
| "msg": [25, 58, 34, 57, 10, 0, 36, 5, 5, 36, 35], | |
| "ct": [31, 63, 63, 63, 63, 40, 26, 58, 44, 22, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1113, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5c94d4cbbb45e4f9e8f3", | |
| "msg": [62, 33, 20, 0, 51, 12, 40, 43, 0, 28, 0], | |
| "ct": [63, 63, 63, 63, 62, 3, 35, 57, 14, 55, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1114, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5bcd6b5c74a57764b3fb", | |
| "msg": [54, 55, 63, 32, 2, 45, 23, 59, 39, 31, 45], | |
| "ct": [10, 21, 29, 46, 30, 31, 1, 20, 2, 47, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1115, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5bcd6b5c74a57764b3fb", | |
| "msg": [54, 48, 31, 32, 63, 21, 54, 3, 22, 31, 5], | |
| "ct": [36, 35, 59, 35, 42, 5, 14, 51, 16, 29, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1116, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5bcd6b5c74a57764b3fb", | |
| "msg": [44, 14, 5, 11, 1, 56, 15, 11, 17, 10, 46], | |
| "ct": [61, 37, 17, 63, 29, 58, 57, 55, 21, 56, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1117, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5bcd6b5c74a57764b3fb", | |
| "msg": [0, 55, 39, 27, 3, 44, 22, 1, 47, 11, 20], | |
| "ct": [62, 10, 9, 22, 42, 22, 18, 63, 44, 34, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1118, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5bcd6b5c74a57764b3fb", | |
| "msg": [18, 25, 50, 51, 49, 43, 63, 5, 49, 33, 1], | |
| "ct": [55, 24, 59, 43, 1, 38, 16, 32, 33, 42, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1119, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5bcd6b5c74a57764b3fb", | |
| "msg": [19, 56, 33, 30, 34, 51, 62, 6, 34, 3, 45], | |
| "ct": [57, 27, 27, 47, 46, 60, 20, 45, 30, 56, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1120, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "2fc1a1ea0293306bae53", | |
| "msg": [0, 0, 0, 0, 0, 33, 23, 42, 63, 31, 37], | |
| "ct": [34, 63, 45, 47, 17, 7, 27, 57, 22, 55, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1121, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "2fc1a1ea0293306bae53", | |
| "msg": [0, 0, 0, 0, 1, 33, 23, 42, 63, 31, 37], | |
| "ct": [9, 26, 29, 44, 11, 0, 59, 34, 30, 60, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1122, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "2fc1a1ea0293306bae53", | |
| "msg": [32, 0, 0, 0, 0, 33, 23, 42, 63, 31, 37], | |
| "ct": [3, 29, 8, 44, 16, 44, 7, 18, 1, 27, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1123, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "2fc1a1ea0293306bae53", | |
| "msg": [63, 63, 63, 63, 63, 33, 23, 42, 63, 31, 37], | |
| "ct": [19, 18, 22, 23, 2, 27, 37, 18, 56, 12, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1124, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", | |
| "tweak": "d0d85e79b79f69f7", | |
| "msg": [-1, 47, 5, 56, 58, 4, 26, 42, 10, 9, 16], | |
| "ct": [36, 27, 10, 46, 12, 53, 17, 0, 3, 45, 40], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1125, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", | |
| "tweak": "d0d85e79b79f69f7", | |
| "msg": [15, 47, 5, -1, 58, 4, 26, 42, 10, 9, 16], | |
| "ct": [51, 59, 47, 51, 29, 49, 3, 63, 60, 12, 43], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1126, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", | |
| "tweak": "d0d85e79b79f69f7", | |
| "msg": [15, 47, 5, 56, 58, 4, 26, 42, 10, 9, -1], | |
| "ct": [17, 19, 30, 23, 28, 39, 8, 38, 33, 31, 11], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1127, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c500eba5dde3ea9d4ab716f6cd513b5f1d0e99cfe37d56f5", | |
| "tweak": "2c9b60e4adf57102", | |
| "msg": [64, 43, 7, 2, 30, 22, 58, 57, 18, 7, 4], | |
| "ct": [4, 42, 38, 22, 61, 27, 16, 22, 37, 51, 12], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1128, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c500eba5dde3ea9d4ab716f6cd513b5f1d0e99cfe37d56f5", | |
| "tweak": "2c9b60e4adf57102", | |
| "msg": [63, 43, 7, 64, 30, 22, 58, 57, 18, 7, 4], | |
| "ct": [12, 5, 25, 12, 4, 1, 16, 35, 2, 20, 28], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1129, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c500eba5dde3ea9d4ab716f6cd513b5f1d0e99cfe37d56f5", | |
| "tweak": "2c9b60e4adf57102", | |
| "msg": [63, 43, 7, 2, 30, 22, 58, 57, 18, 7, 64], | |
| "ct": [34, 2, 13, 15, 37, 34, 34, 1, 39, 15, 4], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 12, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1130, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f095a5d39f0b499cef0130b4eb3bfae90253a1f30270efb5", | |
| "tweak": "36b5ea2cee9c08d6", | |
| "msg": [43, 48, 48, 53, 52, 58, 29, 18, 31, 61, 12, 47], | |
| "ct": [10, 40, 44, 61, 32, 31, 42, 14, 54, 10, 58, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1131, | |
| "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": [30, 42, 5, 11, 33, 12, 5, 23, 7, 56, 52, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1132, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [27, 61, 24, 59, 41, 58, 28, 45, 6, 3, 58, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1133, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "ct": [50, 20, 28, 3, 43, 16, 14, 34, 30, 60, 54, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1134, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "ct": [12, 57, 47, 58, 59, 54, 60, 32, 13, 0, 42, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1135, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [0, 27, 30, 41, 13, 7, 16, 42, 55, 25, 60, 19], | |
| "ct": [31, 43, 36, 24, 16, 43, 29, 0, 63, 0, 21, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1136, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [62, 31, 24, 41, 18, 18, 38, 14, 4, 4, 33, 60], | |
| "ct": [56, 41, 14, 38, 17, 3, 42, 8, 20, 59, 10, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1137, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [46, 23, 61, 51, 34, 57, 57, 46, 14, 56, 53, 47], | |
| "ct": [2, 8, 4, 35, 4, 3, 20, 31, 39, 31, 58, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1138, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [24, 62, 30, 55, 29, 10, 60, 4, 0, 29, 13, 60], | |
| "ct": [17, 6, 5, 55, 51, 5, 46, 22, 17, 27, 53, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1139, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [54, 24, 18, 25, 37, 20, 59, 24, 31, 40, 59, 25], | |
| "ct": [2, 34, 48, 44, 39, 0, 28, 46, 5, 13, 34, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1140, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [50, 28, 23, 61, 13, 54, 2, 40, 19, 15, 23, 25], | |
| "ct": [43, 18, 49, 17, 50, 31, 26, 11, 41, 56, 19, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1141, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [45, 26, 22, 21, 10, 6, 18, 43, 29, 3, 44, 45], | |
| "ct": [24, 30, 34, 3, 46, 49, 9, 59, 24, 27, 18, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1142, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [30, 61, 34, 28, 56, 6, 31, 47, 48, 31, 3, 14], | |
| "ct": [16, 29, 8, 10, 29, 58, 41, 14, 1, 53, 48, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1143, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [37, 55, 24, 42, 46, 6, 4, 35, 55, 19, 40, 53], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1144, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [38, 58, 57, 50, 48, 8, 47, 33, 42, 26, 61, 46], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1145, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [52, 2, 61, 19, 25, 24, 40, 15, 29, 43, 22, 10], | |
| "ct": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1146, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [41, 22, 36, 5, 15, 0, 47, 26, 26, 6, 12, 4], | |
| "ct": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1147, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "3e3ea84b74682e49c4e0", | |
| "msg": [47, 2, 37, 40, 63, 61, 32, 9, 44, 52, 16, 51], | |
| "ct": [40, 53, 18, 39, 52, 28, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1148, | |
| "comment": "y = 0 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "3e3ea84b74682e49c4e0", | |
| "msg": [51, 60, 21, 55, 19, 30, 15, 8, 20, 6, 5, 48], | |
| "ct": [40, 53, 18, 39, 52, 28, 0, 0, 0, 0, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1149, | |
| "comment": "y = 0 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "3e3ea84b74682e49c4e0", | |
| "msg": [10, 12, 43, 45, 61, 63, 60, 0, 10, 53, 20, 28], | |
| "ct": [40, 53, 18, 39, 52, 28, 32, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1150, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "3e3ea84b74682e49c4e0", | |
| "msg": [4, 19, 58, 42, 35, 46, 52, 55, 60, 43, 4, 55], | |
| "ct": [40, 53, 18, 39, 52, 28, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1151, | |
| "comment": "y = 1 and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "0ee040e8a17984e1c0bf", | |
| "msg": [6, 3, 5, 43, 52, 52, 31, 54, 5, 1, 44, 55], | |
| "ct": [4, 21, 8, 16, 16, 55, 0, 0, 0, 0, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1152, | |
| "comment": "y = 1 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "0ee040e8a17984e1c0bf", | |
| "msg": [44, 20, 43, 23, 0, 26, 58, 44, 29, 26, 10, 39], | |
| "ct": [4, 21, 8, 16, 16, 55, 0, 0, 0, 0, 0, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1153, | |
| "comment": "y = 1 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "0ee040e8a17984e1c0bf", | |
| "msg": [22, 27, 46, 7, 4, 46, 45, 19, 61, 46, 27, 51], | |
| "ct": [4, 21, 8, 16, 16, 55, 32, 0, 0, 0, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1154, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "0ee040e8a17984e1c0bf", | |
| "msg": [0, 25, 35, 49, 17, 53, 38, 43, 39, 46, 27, 18], | |
| "ct": [4, 21, 8, 16, 16, 55, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1155, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "0ee040e8a17984e1c0bf", | |
| "msg": [47, 26, 10, 0, 59, 3, 43, 59, 48, 34, 31, 21], | |
| "ct": [4, 21, 8, 16, 16, 55, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1156, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "320852469ef549c6331c", | |
| "msg": [28, 35, 16, 25, 50, 4, 0, 51, 46, 30, 9, 46], | |
| "ct": [5, 21, 31, 58, 10, 59, 17, 39, 31, 41, 52, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1157, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "320852469ef549c6331c", | |
| "msg": [56, 24, 37, 57, 29, 15, 54, 9, 2, 29, 27, 4], | |
| "ct": [7, 50, 43, 7, 16, 17, 22, 35, 63, 44, 50, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1158, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "320852469ef549c6331c", | |
| "msg": [48, 42, 5, 53, 42, 41, 31, 12, 51, 2, 10, 9], | |
| "ct": [30, 22, 44, 42, 35, 19, 47, 20, 8, 47, 52, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1159, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "320852469ef549c6331c", | |
| "msg": [2, 47, 14, 18, 33, 6, 6, 42, 46, 19, 56, 6], | |
| "ct": [2, 8, 63, 27, 51, 47, 48, 61, 24, 46, 58, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1160, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "e0ef93c5e0e02202d138", | |
| "msg": [12, 11, 2, 56, 34, 30, 12, 0, 12, 1, 12, 19], | |
| "ct": [2, 9, 26, 18, 39, 44, 43, 38, 35, 42, 6, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1161, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "e0ef93c5e0e02202d138", | |
| "msg": [61, 51, 15, 11, 42, 61, 43, 25, 12, 33, 15, 50], | |
| "ct": [43, 18, 7, 58, 16, 57, 46, 32, 33, 52, 49, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1162, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "e0ef93c5e0e02202d138", | |
| "msg": [42, 35, 57, 57, 4, 59, 27, 55, 36, 0, 31, 49], | |
| "ct": [29, 29, 27, 13, 45, 33, 34, 53, 7, 24, 56, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1163, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "e0ef93c5e0e02202d138", | |
| "msg": [6, 0, 17, 39, 42, 43, 53, 55, 16, 58, 3, 52], | |
| "ct": [33, 34, 28, 35, 6, 35, 57, 42, 62, 31, 25, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1164, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "e0ef93c5e0e02202d138", | |
| "msg": [45, 16, 3, 8, 50, 36, 34, 6, 5, 40, 9, 1], | |
| "ct": [54, 55, 31, 2, 28, 13, 33, 14, 0, 45, 21, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1165, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "e0ef93c5e0e02202d138", | |
| "msg": [32, 43, 0, 63, 2, 27, 10, 7, 10, 46, 5, 42], | |
| "ct": [39, 47, 23, 26, 18, 36, 35, 16, 34, 18, 49, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1166, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "2e97232f15e811415f94", | |
| "msg": [53, 24, 24, 21, 8, 41, 37, 7, 53, 42, 42, 40], | |
| "ct": [63, 63, 63, 63, 63, 63, 56, 43, 33, 6, 44, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1167, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "2e97232f15e811415f94", | |
| "msg": [1, 40, 33, 53, 62, 34, 19, 52, 1, 53, 25, 30], | |
| "ct": [0, 0, 0, 0, 0, 0, 44, 12, 53, 45, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1168, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "2e97232f15e811415f94", | |
| "msg": [14, 59, 27, 51, 27, 36, 20, 8, 19, 9, 38, 3], | |
| "ct": [31, 63, 63, 63, 63, 63, 8, 30, 32, 30, 38, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1169, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "2e97232f15e811415f94", | |
| "msg": [62, 8, 42, 40, 16, 27, 28, 23, 50, 25, 51, 53], | |
| "ct": [63, 63, 63, 63, 63, 62, 56, 26, 2, 63, 25, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1170, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", | |
| "tweak": "1f8dcd3dd4e01cbd", | |
| "msg": [-1, 21, 23, 43, 5, 18, 39, 11, 5, 45, 31, 49], | |
| "ct": [40, 23, 48, 28, 42, 14, 24, 24, 12, 22, 58, 35], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1171, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", | |
| "tweak": "1f8dcd3dd4e01cbd", | |
| "msg": [33, 21, 23, 43, -1, 18, 39, 11, 5, 45, 31, 49], | |
| "ct": [62, 11, 16, 3, 59, 24, 59, 9, 56, 18, 22, 31], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1172, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", | |
| "tweak": "1f8dcd3dd4e01cbd", | |
| "msg": [33, 21, 23, 43, 5, 18, 39, 11, 5, 45, 31, -1], | |
| "ct": [4, 43, 20, 31, 3, 33, 45, 9, 49, 48, 43, 2], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1173, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3e22c4c4d2a63832870a4122ff09e9bc4aad1453111e3a41", | |
| "tweak": "93760e38f63494e3", | |
| "msg": [64, 43, 34, 8, 13, 55, 12, 56, 40, 37, 1, 20], | |
| "ct": [38, 30, 4, 30, 38, 39, 36, 14, 20, 48, 28, 38], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1174, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3e22c4c4d2a63832870a4122ff09e9bc4aad1453111e3a41", | |
| "tweak": "93760e38f63494e3", | |
| "msg": [42, 43, 34, 8, 64, 55, 12, 56, 40, 37, 1, 20], | |
| "ct": [43, 12, 29, 15, 23, 60, 7, 45, 3, 10, 16, 21], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1175, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3e22c4c4d2a63832870a4122ff09e9bc4aad1453111e3a41", | |
| "tweak": "93760e38f63494e3", | |
| "msg": [42, 43, 34, 8, 13, 55, 12, 56, 40, 37, 1, 64], | |
| "ct": [61, 54, 10, 0, 35, 40, 12, 9, 43, 59, 33, 59], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 13, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1176, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "2b36e8a149dbee09bdfc43feaab6aa2d22f6b46b5a967013", | |
| "tweak": "506f5152883327d6", | |
| "msg": [42, 23, 6, 18, 1, 35, 58, 3, 31, 10, 46, 54, 17], | |
| "ct": [6, 3, 58, 34, 22, 61, 35, 5, 63, 9, 30, 28, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1177, | |
| "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": [8, 53, 27, 2, 28, 12, 17, 59, 26, 10, 50, 5, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1178, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [23, 7, 33, 12, 32, 27, 0, 15, 33, 1, 11, 38, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1179, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "ct": [41, 20, 42, 29, 51, 17, 51, 47, 52, 53, 62, 26, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1180, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "ct": [51, 24, 39, 54, 3, 51, 53, 22, 8, 18, 43, 15, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1181, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [11, 31, 41, 61, 22, 36, 32, 6, 47, 23, 55, 39, 37], | |
| "ct": [63, 21, 0, 23, 3, 31, 58, 8, 20, 29, 30, 27, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1182, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [35, 62, 53, 29, 54, 49, 32, 16, 53, 46, 35, 25, 5], | |
| "ct": [51, 24, 28, 59, 57, 14, 15, 55, 57, 9, 40, 19, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1183, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [40, 21, 21, 39, 24, 49, 56, 53, 4, 0, 59, 11, 22], | |
| "ct": [16, 24, 25, 32, 52, 42, 19, 33, 13, 41, 10, 44, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1184, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [35, 53, 40, 27, 41, 23, 8, 7, 62, 9, 6, 44, 51], | |
| "ct": [52, 59, 1, 55, 19, 50, 59, 36, 2, 13, 37, 51, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1185, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [50, 0, 38, 6, 24, 29, 22, 38, 34, 10, 61, 40, 4], | |
| "ct": [34, 9, 39, 43, 56, 24, 51, 31, 12, 50, 61, 31, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1186, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [36, 19, 5, 36, 16, 30, 27, 13, 55, 2, 34, 34, 57], | |
| "ct": [49, 55, 45, 4, 10, 46, 6, 47, 30, 4, 34, 47, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1187, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [9, 61, 32, 30, 12, 41, 11, 2, 52, 10, 6, 49, 32], | |
| "ct": [22, 26, 55, 15, 15, 48, 10, 54, 12, 4, 37, 3, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1188, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [60, 56, 33, 14, 8, 10, 26, 37, 30, 32, 3, 25, 45], | |
| "ct": [63, 36, 8, 17, 30, 13, 30, 41, 4, 3, 8, 57, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1189, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [24, 2, 39, 63, 52, 6, 22, 59, 37, 25, 7, 31, 13], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1190, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [46, 3, 24, 49, 53, 24, 6, 13, 44, 20, 21, 22, 1], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1191, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [28, 57, 42, 31, 10, 59, 34, 23, 24, 7, 62, 51, 31], | |
| "ct": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1192, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [22, 39, 26, 26, 19, 11, 33, 9, 47, 29, 13, 60, 36], | |
| "ct": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1193, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "9da779b9903a04f029", | |
| "msg": [7, 31, 50, 16, 35, 23, 39, 5, 8, 52, 2, 44, 4], | |
| "ct": [61, 43, 56, 37, 42, 58, 23, 20, 8, 47, 61, 5, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1194, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "9da779b9903a04f029", | |
| "msg": [45, 29, 15, 52, 27, 55, 51, 48, 46, 24, 51, 57, 60], | |
| "ct": [23, 41, 40, 8, 9, 48, 32, 29, 46, 40, 7, 25, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1195, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "9da779b9903a04f029", | |
| "msg": [19, 15, 17, 38, 26, 28, 49, 23, 22, 55, 5, 29, 59], | |
| "ct": [16, 45, 38, 8, 18, 20, 49, 32, 13, 63, 43, 37, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1196, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "9da779b9903a04f029", | |
| "msg": [2, 7, 36, 2, 11, 19, 4, 30, 50, 50, 10, 22, 24], | |
| "ct": [48, 2, 54, 40, 4, 13, 44, 18, 48, 5, 3, 62, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1197, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "e8d90564a4a976041d", | |
| "msg": [0, 0, 0, 0, 0, 0, 62, 61, 1, 3, 58, 55, 52], | |
| "ct": [63, 11, 36, 12, 37, 16, 38, 24, 41, 36, 42, 22, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1198, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "e8d90564a4a976041d", | |
| "msg": [0, 0, 0, 0, 0, 1, 62, 61, 1, 3, 58, 55, 52], | |
| "ct": [23, 26, 50, 34, 15, 17, 43, 60, 48, 33, 56, 50, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1199, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "e8d90564a4a976041d", | |
| "msg": [0, 0, 0, 0, 0, 63, 62, 61, 1, 3, 58, 55, 52], | |
| "ct": [4, 41, 20, 49, 10, 40, 52, 36, 5, 47, 45, 39, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1200, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "e8d90564a4a976041d", | |
| "msg": [0, 0, 0, 0, 1, 0, 62, 61, 1, 3, 58, 55, 52], | |
| "ct": [22, 13, 8, 3, 55, 57, 25, 2, 49, 30, 14, 18, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1201, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "e8d90564a4a976041d", | |
| "msg": [32, 0, 0, 0, 0, 0, 62, 61, 1, 3, 58, 55, 52], | |
| "ct": [24, 61, 40, 2, 21, 30, 54, 7, 50, 25, 24, 0, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1202, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "e8d90564a4a976041d", | |
| "msg": [63, 63, 63, 63, 63, 63, 62, 61, 1, 3, 58, 55, 52], | |
| "ct": [18, 44, 5, 32, 6, 60, 56, 26, 58, 10, 56, 32, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1203, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "0127780bcc9fc24fcf", | |
| "msg": [0, 0, 0, 0, 0, 0, 47, 26, 33, 0, 38, 7, 53], | |
| "ct": [1, 0, 54, 2, 46, 2, 56, 38, 6, 46, 14, 56, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1204, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "0127780bcc9fc24fcf", | |
| "msg": [0, 0, 0, 0, 0, 1, 47, 26, 33, 0, 38, 7, 53], | |
| "ct": [4, 4, 1, 60, 61, 46, 23, 25, 6, 15, 52, 0, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1205, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "0127780bcc9fc24fcf", | |
| "msg": [32, 0, 0, 0, 0, 0, 47, 26, 33, 0, 38, 7, 53], | |
| "ct": [58, 5, 27, 58, 50, 51, 40, 41, 10, 0, 20, 0, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1206, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "0127780bcc9fc24fcf", | |
| "msg": [63, 63, 63, 63, 63, 63, 47, 26, 33, 0, 38, 7, 53], | |
| "ct": [26, 26, 26, 11, 45, 34, 9, 60, 38, 15, 56, 37, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1207, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", | |
| "tweak": "bd80cf69edccc86d", | |
| "msg": [-1, 13, 50, 57, 0, 49, 16, 56, 5, 14, 35, 12, 21], | |
| "ct": [59, 40, 11, 12, 20, 2, 23, 19, 22, 1, 55, 42, 11], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1208, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", | |
| "tweak": "bd80cf69edccc86d", | |
| "msg": [36, 13, 50, 57, -1, 49, 16, 56, 5, 14, 35, 12, 21], | |
| "ct": [28, 2, 9, 2, 7, 48, 40, 44, 50, 1, 8, 17, 3], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1209, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", | |
| "tweak": "bd80cf69edccc86d", | |
| "msg": [36, 13, 50, 57, 0, 49, 16, 56, 5, 14, 35, 12, -1], | |
| "ct": [16, 46, 41, 52, 60, 58, 54, 48, 25, 13, 20, 54, 29], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1210, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fb39d06013886dd9b1a2c800ecbd823d8ae3d421427991d1", | |
| "tweak": "32b6ea845c54c73e", | |
| "msg": [64, 1, 6, 18, 1, 43, 30, 39, 59, 28, 39, 56, 6], | |
| "ct": [48, 34, 57, 22, 48, 50, 54, 63, 49, 54, 42, 17, 19], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1211, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fb39d06013886dd9b1a2c800ecbd823d8ae3d421427991d1", | |
| "tweak": "32b6ea845c54c73e", | |
| "msg": [0, 1, 6, 18, 64, 43, 30, 39, 59, 28, 39, 56, 6], | |
| "ct": [47, 52, 36, 21, 59, 39, 52, 5, 45, 53, 14, 6, 9], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1212, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fb39d06013886dd9b1a2c800ecbd823d8ae3d421427991d1", | |
| "tweak": "32b6ea845c54c73e", | |
| "msg": [0, 1, 6, 18, 1, 43, 30, 39, 59, 28, 39, 56, 64], | |
| "ct": [14, 4, 30, 10, 10, 0, 53, 17, 53, 44, 62, 27, 16], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 14, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1213, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "4a9421ed0d8105f41f06225c61a861adc98d34d2700dfd63", | |
| "tweak": "6f60cf632424685f", | |
| "msg": [22, 56, 19, 19, 44, 18, 56, 47, 15, 46, 40, 63, 40, 45], | |
| "ct": [46, 60, 39, 26, 15, 63, 1, 3, 29, 56, 20, 0, 59, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1214, | |
| "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": [21, 46, 23, 27, 58, 61, 9, 63, 17, 20, 29, 24, 19, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1215, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [55, 28, 30, 0, 2, 58, 54, 37, 16, 62, 56, 34, 26, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1216, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "ct": [29, 15, 21, 35, 7, 35, 9, 28, 22, 41, 53, 14, 4, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1217, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "ct": [42, 58, 32, 30, 55, 39, 44, 36, 22, 61, 58, 0, 58, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1218, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [51, 11, 23, 9, 48, 4, 36, 17, 16, 55, 61, 22, 46, 39], | |
| "ct": [40, 31, 15, 38, 6, 13, 44, 59, 17, 7, 56, 21, 51, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1219, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [20, 19, 42, 34, 30, 46, 25, 54, 49, 30, 4, 14, 20, 23], | |
| "ct": [49, 20, 33, 30, 10, 43, 52, 23, 41, 47, 43, 46, 25, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1220, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [44, 12, 50, 51, 18, 6, 55, 39, 33, 48, 0, 26, 63, 45], | |
| "ct": [26, 22, 20, 12, 14, 17, 30, 39, 46, 37, 7, 51, 54, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1221, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [10, 12, 17, 20, 32, 32, 60, 44, 5, 8, 50, 63, 57, 44], | |
| "ct": [23, 25, 57, 5, 24, 47, 61, 7, 43, 18, 34, 8, 0, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1222, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [26, 48, 34, 4, 4, 15, 8, 62, 2, 62, 35, 19, 15, 6], | |
| "ct": [38, 8, 46, 37, 43, 29, 13, 15, 47, 3, 58, 26, 42, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1223, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [16, 10, 12, 63, 0, 49, 59, 39, 25, 38, 0, 50, 62, 32], | |
| "ct": [57, 24, 25, 28, 10, 28, 56, 52, 9, 41, 24, 55, 61, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1224, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [36, 15, 39, 17, 43, 52, 46, 18, 3, 33, 6, 31, 37, 17], | |
| "ct": [33, 27, 11, 0, 13, 34, 33, 57, 20, 32, 11, 6, 3, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1225, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [5, 10, 45, 29, 54, 43, 38, 18, 41, 1, 62, 24, 56, 28], | |
| "ct": [6, 0, 49, 44, 29, 40, 61, 13, 36, 20, 8, 51, 7, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1226, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [52, 45, 26, 36, 52, 30, 56, 20, 23, 58, 8, 60, 31, 60], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1227, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [28, 9, 31, 20, 62, 48, 37, 26, 12, 3, 2, 10, 27, 13], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1228, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [28, 41, 46, 59, 9, 22, 9, 50, 38, 63, 32, 30, 39, 23], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1229, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [55, 7, 13, 53, 25, 25, 23, 55, 51, 0, 58, 38, 50, 27], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1230, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "0db2cd7fe3a2638562", | |
| "msg": [16, 48, 0, 47, 33, 38, 37, 12, 39, 26, 7, 35, 34, 11], | |
| "ct": [39, 63, 51, 23, 38, 58, 45, 6, 38, 32, 60, 15, 42, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1231, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "0db2cd7fe3a2638562", | |
| "msg": [59, 50, 23, 23, 6, 54, 6, 53, 49, 52, 17, 32, 55, 43], | |
| "ct": [12, 14, 39, 41, 51, 0, 10, 58, 5, 56, 61, 32, 5, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1232, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "0db2cd7fe3a2638562", | |
| "msg": [38, 4, 11, 33, 63, 30, 23, 24, 4, 53, 52, 57, 60, 25], | |
| "ct": [37, 47, 25, 0, 54, 21, 29, 6, 48, 52, 51, 21, 23, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1233, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "0db2cd7fe3a2638562", | |
| "msg": [32, 40, 27, 50, 42, 34, 22, 13, 4, 62, 46, 36, 34, 5], | |
| "ct": [0, 6, 44, 23, 32, 25, 51, 41, 50, 35, 28, 53, 12, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1234, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "ccfd502fdacc0deb57", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 9, 53, 52, 5, 59, 14, 7], | |
| "ct": [54, 28, 7, 27, 28, 14, 17, 14, 16, 10, 35, 11, 56, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1235, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "ccfd502fdacc0deb57", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 9, 53, 52, 5, 59, 14, 7], | |
| "ct": [46, 57, 51, 39, 38, 32, 16, 9, 28, 59, 9, 12, 43, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1236, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "ccfd502fdacc0deb57", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 9, 53, 52, 5, 59, 14, 7], | |
| "ct": [32, 12, 16, 34, 41, 60, 38, 37, 2, 14, 14, 29, 40, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1237, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "ccfd502fdacc0deb57", | |
| "msg": [63, 63, 63, 63, 63, 63, 62, 9, 53, 52, 5, 59, 14, 7], | |
| "ct": [43, 63, 56, 58, 3, 26, 12, 49, 55, 15, 55, 33, 44, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1238, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "ccfd502fdacc0deb57", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 9, 53, 52, 5, 59, 14, 7], | |
| "ct": [37, 60, 2, 31, 40, 60, 46, 28, 11, 24, 28, 16, 38, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1239, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "eb09cdf93aa621b90c", | |
| "msg": [49, 9, 38, 49, 12, 41, 57, 37, 36, 25, 59, 54, 50, 16], | |
| "ct": [53, 49, 26, 41, 50, 23, 53, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1240, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "eb09cdf93aa621b90c", | |
| "msg": [22, 10, 55, 44, 2, 19, 48, 23, 33, 16, 7, 57, 9, 34], | |
| "ct": [53, 49, 26, 41, 50, 23, 53, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1241, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "eb09cdf93aa621b90c", | |
| "msg": [56, 31, 40, 14, 27, 42, 46, 23, 2, 11, 3, 63, 40, 47], | |
| "ct": [53, 49, 26, 41, 50, 23, 53, 31, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1242, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "eb09cdf93aa621b90c", | |
| "msg": [3, 31, 21, 7, 16, 58, 37, 15, 58, 32, 49, 62, 59, 47], | |
| "ct": [53, 49, 26, 41, 50, 23, 53, 63, 63, 63, 63, 63, 63, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1243, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "31f8cf9a3c5f824e4f", | |
| "msg": [40, 38, 26, 9, 1, 6, 17, 58, 5, 54, 22, 41, 59, 51], | |
| "ct": [6, 15, 48, 42, 0, 54, 10, 44, 44, 7, 29, 38, 4, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1244, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "31f8cf9a3c5f824e4f", | |
| "msg": [3, 18, 29, 12, 32, 61, 61, 47, 12, 18, 58, 25, 13, 43], | |
| "ct": [6, 36, 44, 63, 23, 51, 12, 37, 1, 10, 4, 34, 9, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1245, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "31f8cf9a3c5f824e4f", | |
| "msg": [42, 10, 54, 39, 53, 54, 51, 44, 14, 35, 57, 57, 59, 12], | |
| "ct": [48, 32, 60, 12, 3, 3, 22, 20, 15, 33, 5, 46, 57, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1246, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "31f8cf9a3c5f824e4f", | |
| "msg": [35, 51, 24, 52, 49, 51, 16, 34, 1, 2, 11, 19, 25, 17], | |
| "ct": [7, 4, 37, 16, 10, 60, 37, 54, 31, 32, 8, 60, 62, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1247, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "31f8cf9a3c5f824e4f", | |
| "msg": [15, 6, 42, 35, 22, 63, 22, 56, 50, 62, 36, 32, 30, 46], | |
| "ct": [28, 28, 19, 59, 37, 17, 24, 63, 36, 29, 18, 42, 9, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1248, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "31f8cf9a3c5f824e4f", | |
| "msg": [14, 57, 61, 54, 35, 37, 15, 18, 3, 37, 7, 46, 54, 40], | |
| "ct": [45, 43, 22, 63, 21, 43, 30, 38, 17, 38, 35, 48, 3, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1249, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", | |
| "tweak": "9a07b801ec3e37d6", | |
| "msg": [-1, 56, 50, 54, 43, 63, 2, 45, 50, 48, 0, 41, 46, 38], | |
| "ct": [5, 7, 46, 36, 44, 60, 30, 21, 62, 47, 28, 25, 50, 8], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1250, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", | |
| "tweak": "9a07b801ec3e37d6", | |
| "msg": [47, 56, 50, 54, -1, 63, 2, 45, 50, 48, 0, 41, 46, 38], | |
| "ct": [48, 59, 11, 43, 56, 0, 0, 25, 13, 18, 37, 25, 4, 10], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1251, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", | |
| "tweak": "9a07b801ec3e37d6", | |
| "msg": [47, 56, 50, 54, 43, 63, 2, 45, 50, 48, 0, 41, 46, -1], | |
| "ct": [41, 40, 17, 46, 32, 25, 20, 2, 48, 48, 57, 10, 5, 46], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1252, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e59782327ca4a803b0640e062997e6733171c4f129a13fd1", | |
| "tweak": "3069aa52155ac9a6", | |
| "msg": [64, 33, 41, 43, 26, 1, 5, 1, 18, 37, 51, 48, 2, 12], | |
| "ct": [3, 0, 52, 37, 63, 48, 4, 33, 40, 2, 59, 24, 3, 24], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1253, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e59782327ca4a803b0640e062997e6733171c4f129a13fd1", | |
| "tweak": "3069aa52155ac9a6", | |
| "msg": [37, 33, 41, 43, 64, 1, 5, 1, 18, 37, 51, 48, 2, 12], | |
| "ct": [43, 35, 0, 28, 16, 0, 5, 51, 23, 32, 18, 21, 59, 46], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1254, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e59782327ca4a803b0640e062997e6733171c4f129a13fd1", | |
| "tweak": "3069aa52155ac9a6", | |
| "msg": [37, 33, 41, 43, 26, 1, 5, 1, 18, 37, 51, 48, 2, 64], | |
| "ct": [16, 48, 24, 63, 24, 45, 60, 53, 41, 9, 23, 38, 26, 45], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 15, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1255, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "38c2d6d8d1717f48e8e7bc3d54820ee7de2cecf0fc6f167b", | |
| "tweak": "7a3ce6a3066b2e0b", | |
| "msg": [54, 18, 5, 37, 11, 24, 44, 57, 26, 1, 63, 38, 0, 4, 62], | |
| "ct": [59, 35, 12, 5, 35, 18, 5, 1, 57, 27, 61, 38, 44, 47, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1256, | |
| "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": [3, 25, 1, 48, 60, 30, 4, 45, 26, 10, 16, 44, 5, 8, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1257, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [50, 34, 14, 55, 37, 47, 19, 44, 39, 23, 28, 36, 49, 56, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1258, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [52, 17, 9, 28, 35, 36, 50, 48, 58, 55, 53, 17, 57, 18, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1259, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [52, 12, 49, 28, 13, 33, 42, 14, 18, 3, 37, 62, 33, 23, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1260, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [14, 18, 44, 29, 21, 41, 25, 50, 56, 3, 47, 35, 24, 37, 49], | |
| "ct": [50, 0, 18, 19, 33, 45, 11, 1, 39, 27, 60, 15, 55, 36, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1261, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [1, 32, 3, 46, 19, 51, 36, 62, 41, 35, 6, 10, 60, 59, 62], | |
| "ct": [47, 8, 40, 21, 55, 60, 54, 44, 26, 5, 16, 30, 46, 28, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1262, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [1, 57, 43, 2, 41, 35, 15, 30, 6, 60, 17, 55, 49, 60, 21], | |
| "ct": [42, 51, 38, 33, 11, 3, 21, 49, 37, 50, 57, 2, 24, 44, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1263, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [25, 62, 49, 55, 63, 54, 45, 40, 63, 24, 51, 52, 27, 11, 1], | |
| "ct": [14, 29, 8, 44, 21, 38, 3, 21, 57, 55, 15, 19, 56, 49, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1264, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [46, 17, 42, 21, 48, 43, 41, 9, 40, 59, 9, 33, 6, 51, 19], | |
| "ct": [48, 49, 16, 60, 34, 20, 47, 56, 14, 25, 62, 50, 41, 14, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1265, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [43, 57, 61, 49, 28, 19, 50, 52, 20, 28, 4, 55, 54, 45, 31], | |
| "ct": [60, 1, 31, 48, 18, 52, 20, 59, 46, 37, 59, 16, 30, 41, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1266, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [18, 61, 15, 27, 5, 11, 4, 5, 59, 51, 12, 29, 36, 51, 10], | |
| "ct": [35, 1, 22, 39, 18, 40, 21, 62, 40, 13, 37, 43, 58, 52, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1267, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [23, 44, 62, 15, 48, 59, 28, 49, 16, 49, 6, 5, 57, 29, 18], | |
| "ct": [49, 12, 35, 18, 10, 26, 56, 15, 60, 40, 60, 62, 42, 46, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1268, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [9, 23, 4, 41, 48, 51, 5, 59, 30, 45, 30, 41, 38, 57, 58], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1269, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [38, 24, 10, 52, 16, 2, 60, 16, 6, 24, 25, 0, 43, 7, 23], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1270, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [14, 48, 25, 54, 34, 51, 7, 27, 9, 17, 60, 33, 34, 49, 26], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1271, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [59, 13, 60, 58, 36, 20, 54, 27, 2, 5, 55, 56, 15, 18, 29], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1272, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "a4201813afebd3bdec", | |
| "msg": [18, 13, 21, 59, 46, 40, 54, 45, 20, 33, 40, 2, 5, 59, 51], | |
| "ct": [62, 45, 29, 46, 16, 43, 23, 44, 14, 28, 50, 18, 10, 57, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1273, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "a4201813afebd3bdec", | |
| "msg": [25, 57, 40, 13, 12, 17, 40, 45, 23, 0, 24, 44, 15, 46, 26], | |
| "ct": [30, 4, 22, 46, 55, 39, 41, 16, 19, 63, 35, 40, 39, 49, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1274, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "a4201813afebd3bdec", | |
| "msg": [24, 11, 39, 8, 17, 44, 24, 54, 52, 17, 34, 42, 38, 0, 29], | |
| "ct": [16, 27, 62, 43, 34, 59, 28, 26, 51, 31, 40, 55, 61, 31, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1275, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "a4201813afebd3bdec", | |
| "msg": [42, 21, 9, 40, 13, 60, 46, 11, 25, 35, 35, 49, 1, 22, 11], | |
| "ct": [44, 12, 20, 54, 5, 5, 63, 34, 53, 61, 20, 0, 40, 7, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1276, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "01303ee25750dffeca", | |
| "msg": [11, 58, 56, 13, 48, 14, 41, 22, 16, 12, 20, 11, 18, 8, 57], | |
| "ct": [50, 49, 20, 63, 15, 30, 52, 15, 52, 44, 0, 49, 48, 62, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1277, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "01303ee25750dffeca", | |
| "msg": [37, 61, 22, 13, 48, 47, 13, 17, 57, 55, 12, 7, 50, 58, 49], | |
| "ct": [19, 25, 39, 28, 26, 7, 22, 58, 12, 2, 37, 19, 25, 25, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1278, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "01303ee25750dffeca", | |
| "msg": [33, 38, 4, 23, 30, 17, 47, 51, 39, 8, 40, 13, 10, 37, 56], | |
| "ct": [5, 9, 41, 29, 15, 5, 35, 8, 14, 18, 30, 47, 30, 51, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1279, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "01303ee25750dffeca", | |
| "msg": [25, 23, 35, 38, 50, 61, 42, 50, 35, 55, 9, 57, 34, 12, 30], | |
| "ct": [31, 62, 62, 43, 47, 17, 12, 54, 42, 26, 1, 15, 59, 3, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1280, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "01303ee25750dffeca", | |
| "msg": [21, 25, 5, 12, 47, 13, 6, 54, 58, 27, 31, 9, 2, 31, 5], | |
| "ct": [8, 23, 37, 43, 14, 12, 11, 1, 39, 44, 23, 58, 29, 19, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1281, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "1a3f8643c80ba22f95", | |
| "msg": [13, 58, 6, 56, 23, 8, 6, 43, 54, 40, 3, 18, 58, 20, 46], | |
| "ct": [25, 37, 12, 62, 14, 28, 36, 60, 41, 57, 37, 31, 15, 47, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1282, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "1a3f8643c80ba22f95", | |
| "msg": [13, 15, 46, 46, 45, 28, 18, 62, 44, 44, 41, 7, 57, 56, 50], | |
| "ct": [24, 29, 32, 14, 24, 62, 0, 14, 39, 3, 11, 44, 52, 2, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1283, | |
| "comment": "y is maximal and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "1a3f8643c80ba22f95", | |
| "msg": [51, 13, 39, 15, 0, 4, 49, 33, 50, 27, 14, 5, 30, 4, 13], | |
| "ct": [45, 32, 20, 20, 49, 62, 55, 37, 5, 14, 62, 4, 14, 63, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1284, | |
| "comment": "y is maximal and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "1a3f8643c80ba22f95", | |
| "msg": [41, 38, 52, 34, 44, 2, 54, 60, 41, 51, 55, 46, 40, 10, 9], | |
| "ct": [26, 21, 32, 16, 60, 19, 54, 24, 24, 52, 41, 15, 62, 8, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1285, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "ba5ae28f0c549d5a3a", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 10, 37, 19, 11, 32, 59, 37, 33], | |
| "ct": [43, 1, 62, 57, 38, 30, 56, 29, 56, 33, 53, 0, 55, 3, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1286, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "ba5ae28f0c549d5a3a", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 10, 37, 19, 11, 32, 59, 37, 33], | |
| "ct": [23, 58, 41, 16, 9, 48, 54, 46, 6, 23, 45, 29, 12, 3, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1287, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "ba5ae28f0c549d5a3a", | |
| "msg": [0, 0, 0, 0, 0, 0, 63, 10, 37, 19, 11, 32, 59, 37, 33], | |
| "ct": [18, 23, 27, 2, 41, 41, 21, 14, 55, 0, 9, 2, 16, 17, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1288, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "ba5ae28f0c549d5a3a", | |
| "msg": [0, 0, 0, 0, 0, 1, 0, 10, 37, 19, 11, 32, 59, 37, 33], | |
| "ct": [21, 48, 42, 28, 33, 36, 8, 45, 19, 5, 46, 59, 63, 4, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1289, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "ba5ae28f0c549d5a3a", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 10, 37, 19, 11, 32, 59, 37, 33], | |
| "ct": [5, 36, 59, 1, 0, 28, 50, 38, 61, 22, 37, 13, 36, 56, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1290, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "ba5ae28f0c549d5a3a", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 10, 37, 19, 11, 32, 59, 37, 33], | |
| "ct": [35, 33, 18, 51, 19, 56, 58, 8, 11, 27, 38, 52, 29, 8, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1291, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "2c27a0fdcdd0e8dfc5", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 40, 2, 1, 44, 5, 39, 54, 54], | |
| "ct": [38, 53, 58, 52, 2, 37, 10, 50, 27, 32, 54, 11, 53, 30, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1292, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "2c27a0fdcdd0e8dfc5", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 40, 2, 1, 44, 5, 39, 54, 54], | |
| "ct": [26, 21, 22, 49, 43, 62, 32, 16, 58, 5, 48, 41, 26, 24, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1293, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "2c27a0fdcdd0e8dfc5", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 40, 2, 1, 44, 5, 39, 54, 54], | |
| "ct": [3, 37, 11, 6, 53, 29, 28, 52, 44, 45, 17, 31, 20, 11, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1294, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "2c27a0fdcdd0e8dfc5", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 40, 2, 1, 44, 5, 39, 54, 54], | |
| "ct": [20, 59, 56, 39, 44, 6, 26, 56, 25, 63, 2, 51, 61, 32, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1295, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", | |
| "tweak": "ba017ceaf04a7470", | |
| "msg": [-1, 2, 57, 56, 3, 25, 61, 29, 17, 38, 24, 23, 4, 24, 14], | |
| "ct": [10, 47, 57, 1, 3, 21, 44, 34, 39, 1, 38, 33, 1, 9, 61], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1296, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", | |
| "tweak": "ba017ceaf04a7470", | |
| "msg": [5, 2, 57, 56, 3, -1, 61, 29, 17, 38, 24, 23, 4, 24, 14], | |
| "ct": [56, 23, 57, 44, 33, 43, 34, 51, 39, 63, 24, 3, 13, 4, 39], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1297, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", | |
| "tweak": "ba017ceaf04a7470", | |
| "msg": [5, 2, 57, 56, 3, 25, 61, 29, 17, 38, 24, 23, 4, 24, -1], | |
| "ct": [13, 43, 40, 26, 24, 23, 16, 9, 57, 21, 42, 30, 4, 27, 1], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1298, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5f7496fa6c6e8971181167e332f370bc928af22455280833", | |
| "tweak": "b2692422e7bae69b", | |
| "msg": [64, 10, 27, 23, 4, 13, 47, 40, 14, 19, 56, 62, 17, 50, 0], | |
| "ct": [26, 25, 62, 28, 2, 50, 22, 51, 61, 13, 18, 0, 13, 34, 23], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1299, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5f7496fa6c6e8971181167e332f370bc928af22455280833", | |
| "tweak": "b2692422e7bae69b", | |
| "msg": [46, 10, 27, 23, 4, 64, 47, 40, 14, 19, 56, 62, 17, 50, 0], | |
| "ct": [39, 7, 7, 36, 33, 57, 3, 22, 5, 22, 43, 15, 21, 25, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1300, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5f7496fa6c6e8971181167e332f370bc928af22455280833", | |
| "tweak": "b2692422e7bae69b", | |
| "msg": [46, 10, 27, 23, 4, 13, 47, 40, 14, 19, 56, 62, 17, 50, 64], | |
| "ct": [4, 52, 53, 6, 2, 32, 19, 31, 54, 40, 45, 33, 30, 25, 22], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 16, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1301, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "28d8da67806410e5565bcc5a9d7ab9fb357413fa0158378c", | |
| "tweak": "63ff6d96b7960f8a", | |
| "msg": [57, 53, 46, 61, 12, 8, 41, 9, 36, 43, 23, 23, 49, 14, 19, 2], | |
| "ct": [46, 42, 45, 9, 62, 20, 55, 51, 36, 30, 39, 42, 52, 0, 8, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1302, | |
| "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": [22, 9, 7, 44, 54, 57, 50, 60, 6, 20, 51, 35, 34, 21, 55, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1303, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [34, 32, 8, 48, 4, 9, 52, 45, 24, 46, 5, 49, 28, 54, 7, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1304, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [25, 48, 40, 23, 0, 53, 26, 58, 34, 3, 31, 63, 57, 42, 62, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1305, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [17, 51, 31, 37, 14, 56, 0, 56, 45, 7, 55, 45, 31, 2, 33, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1306, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [16, 61, 61, 45, 42, 32, 34, 6, 29, 32, 20, 51, 2, 31, 63, 32], | |
| "ct": [60, 30, 39, 54, 28, 28, 3, 59, 8, 16, 18, 31, 62, 39, 21, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1307, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [30, 7, 11, 37, 50, 38, 27, 60, 5, 50, 40, 26, 27, 7, 11, 1], | |
| "ct": [39, 10, 9, 40, 56, 16, 54, 5, 14, 25, 1, 5, 61, 18, 29, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1308, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [31, 29, 7, 20, 14, 41, 53, 56, 21, 27, 29, 54, 19, 1, 1, 23], | |
| "ct": [45, 16, 19, 11, 51, 27, 3, 22, 54, 13, 11, 62, 8, 15, 2, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1309, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [24, 8, 36, 55, 38, 25, 55, 23, 56, 40, 34, 46, 34, 20, 14, 32], | |
| "ct": [36, 14, 59, 34, 36, 12, 53, 27, 35, 8, 55, 37, 46, 60, 21, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1310, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [16, 19, 31, 14, 58, 16, 38, 15, 21, 21, 3, 36, 4, 40, 3, 52], | |
| "ct": [39, 47, 53, 40, 25, 57, 7, 29, 61, 26, 27, 42, 32, 20, 51, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1311, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [18, 44, 58, 27, 54, 61, 43, 27, 16, 50, 12, 25, 44, 48, 3, 45], | |
| "ct": [37, 8, 17, 1, 19, 17, 4, 27, 22, 2, 54, 23, 63, 8, 35, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1312, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [58, 49, 52, 13, 13, 51, 13, 56, 28, 56, 49, 8, 52, 39, 57, 33], | |
| "ct": [0, 59, 48, 36, 26, 0, 19, 51, 8, 61, 28, 38, 49, 24, 53, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1313, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [17, 62, 21, 34, 21, 51, 2, 39, 21, 27, 21, 56, 26, 32, 27, 40], | |
| "ct": [48, 16, 53, 48, 35, 11, 44, 18, 24, 45, 33, 18, 17, 6, 38, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1314, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [43, 59, 11, 28, 52, 32, 3, 14, 23, 34, 58, 13, 26, 6, 38, 1], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1315, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [55, 25, 9, 59, 52, 53, 47, 46, 18, 35, 10, 16, 37, 62, 35, 35], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1316, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [49, 35, 20, 30, 8, 19, 7, 58, 36, 12, 42, 23, 21, 49, 7, 58], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1317, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [1, 50, 33, 14, 0, 31, 0, 15, 61, 51, 16, 59, 37, 7, 8, 56], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1318, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "c55d93f6175c4206c2", | |
| "msg": [45, 24, 31, 51, 60, 26, 10, 26, 52, 45, 2, 27, 56, 23, 7, 49], | |
| "ct": [36, 3, 24, 29, 13, 11, 43, 1, 51, 31, 24, 14, 26, 7, 41, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1319, | |
| "comment": "y = 0 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "c55d93f6175c4206c2", | |
| "msg": [18, 16, 31, 61, 9, 6, 42, 33, 18, 60, 18, 23, 22, 33, 54, 15], | |
| "ct": [30, 36, 44, 17, 24, 15, 13, 47, 55, 0, 62, 19, 46, 24, 24, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1320, | |
| "comment": "y = 0 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "c55d93f6175c4206c2", | |
| "msg": [3, 55, 57, 35, 27, 42, 49, 59, 57, 31, 0, 50, 29, 60, 63, 33], | |
| "ct": [0, 26, 62, 22, 0, 41, 6, 22, 15, 19, 40, 31, 40, 61, 35, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1321, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "c55d93f6175c4206c2", | |
| "msg": [7, 50, 42, 11, 30, 16, 16, 59, 28, 45, 43, 4, 27, 39, 25, 26], | |
| "ct": [22, 8, 16, 53, 50, 26, 9, 1, 16, 20, 0, 52, 60, 0, 36, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1322, | |
| "comment": "y = 1 and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "5c084df08df89ba834", | |
| "msg": [57, 38, 29, 21, 37, 47, 59, 56, 29, 27, 53, 16, 60, 27, 15, 48], | |
| "ct": [18, 6, 12, 14, 46, 28, 14, 27, 0, 0, 0, 0, 0, 0, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1323, | |
| "comment": "y = 1 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "5c084df08df89ba834", | |
| "msg": [28, 16, 41, 2, 29, 58, 40, 36, 56, 33, 41, 27, 63, 10, 35, 53], | |
| "ct": [18, 6, 12, 14, 46, 28, 14, 27, 0, 0, 0, 0, 0, 0, 0, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1324, | |
| "comment": "y = 1 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "5c084df08df89ba834", | |
| "msg": [12, 19, 26, 53, 9, 18, 30, 40, 44, 13, 27, 52, 40, 15, 5, 37], | |
| "ct": [18, 6, 12, 14, 46, 28, 14, 27, 32, 0, 0, 0, 0, 0, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1325, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "5c084df08df89ba834", | |
| "msg": [29, 14, 12, 44, 59, 30, 36, 63, 7, 53, 56, 32, 50, 29, 30, 24], | |
| "ct": [18, 6, 12, 14, 46, 28, 14, 27, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1326, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "5c084df08df89ba834", | |
| "msg": [54, 34, 13, 59, 29, 58, 25, 9, 5, 47, 38, 13, 16, 56, 41, 20], | |
| "ct": [18, 6, 12, 14, 46, 28, 14, 27, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1327, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "541a170152cdb3d376", | |
| "msg": [22, 16, 53, 31, 44, 39, 40, 36, 63, 0, 17, 63, 17, 6, 52, 50], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 43, 49, 55, 34, 48, 23, 39, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1328, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "541a170152cdb3d376", | |
| "msg": [59, 12, 55, 48, 19, 19, 9, 31, 31, 39, 12, 55, 36, 35, 11, 35], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 61, 35, 44, 32, 35, 18, 12, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1329, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "541a170152cdb3d376", | |
| "msg": [22, 12, 14, 47, 15, 35, 42, 36, 49, 9, 18, 57, 30, 56, 52, 32], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 42, 34, 40, 28, 38, 0, 57, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1330, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "541a170152cdb3d376", | |
| "msg": [22, 41, 62, 13, 13, 45, 47, 17, 2, 22, 2, 61, 36, 16, 18, 1], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 62, 29, 2, 17, 11, 31, 48, 28, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1331, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "1df23620486c35bf62", | |
| "msg": [6, 34, 55, 25, 33, 47, 20, 18, 62, 32, 57, 60, 30, 20, 23, 58], | |
| "ct": [26, 63, 56, 60, 47, 29, 2, 58, 45, 4, 49, 34, 18, 39, 53, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1332, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "1df23620486c35bf62", | |
| "msg": [42, 42, 27, 8, 56, 43, 16, 54, 56, 40, 18, 29, 17, 21, 6, 20], | |
| "ct": [9, 17, 4, 22, 17, 57, 63, 58, 42, 40, 15, 19, 55, 25, 19, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1333, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "1df23620486c35bf62", | |
| "msg": [32, 13, 10, 15, 60, 15, 51, 45, 13, 44, 37, 14, 9, 37, 26, 38], | |
| "ct": [38, 2, 2, 54, 16, 44, 55, 11, 47, 12, 10, 48, 51, 51, 12, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1334, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "1df23620486c35bf62", | |
| "msg": [10, 2, 58, 28, 39, 3, 48, 23, 24, 22, 16, 58, 60, 13, 22, 50], | |
| "ct": [52, 61, 54, 19, 30, 21, 5, 23, 2, 38, 39, 18, 39, 57, 9, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1335, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "1df23620486c35bf62", | |
| "msg": [49, 43, 5, 4, 22, 59, 50, 10, 27, 49, 4, 51, 52, 43, 23, 9], | |
| "ct": [20, 48, 45, 61, 46, 23, 31, 33, 59, 22, 42, 0, 29, 23, 11, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1336, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "1df23620486c35bf62", | |
| "msg": [59, 49, 19, 8, 27, 29, 23, 19, 39, 16, 30, 18, 52, 45, 46, 4], | |
| "ct": [41, 62, 47, 49, 37, 1, 45, 27, 37, 12, 57, 21, 38, 46, 55, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1337, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "e8b292f035c118b26d", | |
| "msg": [15, 34, 15, 4, 23, 15, 47, 13, 26, 55, 39, 61, 41, 21, 18, 57], | |
| "ct": [61, 24, 0, 30, 47, 26, 10, 49, 15, 49, 11, 52, 5, 6, 50, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1338, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "e8b292f035c118b26d", | |
| "msg": [59, 39, 40, 22, 12, 57, 40, 63, 56, 0, 54, 5, 45, 39, 23, 34], | |
| "ct": [4, 25, 18, 8, 34, 26, 59, 45, 56, 39, 8, 0, 9, 22, 46, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1339, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "e8b292f035c118b26d", | |
| "msg": [34, 62, 43, 18, 48, 31, 37, 3, 44, 19, 21, 27, 18, 3, 2, 9], | |
| "ct": [27, 42, 15, 34, 36, 31, 23, 36, 43, 47, 10, 51, 28, 63, 37, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1340, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "e8b292f035c118b26d", | |
| "msg": [41, 52, 48, 55, 33, 33, 44, 30, 57, 50, 49, 62, 57, 62, 16, 2], | |
| "ct": [12, 4, 51, 5, 61, 18, 8, 18, 54, 11, 5, 49, 61, 30, 37, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1341, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", | |
| "tweak": "81c9e9d9fc6bb6db", | |
| "msg": [-1, 0, 16, 63, 17, 5, 57, 43, 13, 28, 53, 53, 28, 5, 18, 63], | |
| "ct": [56, 22, 38, 50, 31, 34, 23, 50, 23, 2, 58, 13, 5, 2, 52, 60], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1342, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", | |
| "tweak": "81c9e9d9fc6bb6db", | |
| "msg": [27, 0, 16, 63, 17, -1, 57, 43, 13, 28, 53, 53, 28, 5, 18, 63], | |
| "ct": [20, 54, 22, 3, 5, 1, 9, 15, 12, 4, 30, 2, 0, 9, 37, 8], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1343, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", | |
| "tweak": "81c9e9d9fc6bb6db", | |
| "msg": [27, 0, 16, 63, 17, 5, 57, 43, 13, 28, 53, 53, 28, 5, 18, -1], | |
| "ct": [57, 44, 34, 33, 19, 8, 20, 7, 18, 33, 61, 10, 50, 0, 8, 3], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1344, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "eb661eaa4c1872575faadb4b330621397eb51a595a02c72f", | |
| "tweak": "bc44d357c2ba6af3", | |
| "msg": [64, 51, 38, 57, 8, 47, 18, 43, 39, 5, 20, 61, 13, 26, 54, 30], | |
| "ct": [62, 62, 32, 41, 26, 38, 11, 49, 29, 10, 43, 23, 26, 27, 49, 5], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1345, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "eb661eaa4c1872575faadb4b330621397eb51a595a02c72f", | |
| "tweak": "bc44d357c2ba6af3", | |
| "msg": [15, 51, 38, 57, 8, 64, 18, 43, 39, 5, 20, 61, 13, 26, 54, 30], | |
| "ct": [46, 19, 23, 54, 0, 39, 34, 23, 8, 32, 46, 33, 40, 54, 46, 14], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1346, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "eb661eaa4c1872575faadb4b330621397eb51a595a02c72f", | |
| "tweak": "bc44d357c2ba6af3", | |
| "msg": [15, 51, 38, 57, 8, 47, 18, 43, 39, 5, 20, 61, 13, 26, 54, 64], | |
| "ct": [44, 4, 63, 15, 25, 52, 60, 60, 38, 37, 59, 62, 42, 13, 3, 15], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 17, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1347, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f620ff36bcd7f62b38ee8dc91b2a1d1ac5645e4c31432921", | |
| "tweak": "fedb3a07315c4484", | |
| "msg": [11, 61, 28, 48, 50, 58, 4, 56, 57, 52, 21, 55, 31, 29, 33, 54, 30], | |
| "ct": [16, 21, 54, 33, 54, 35, 48, 33, 57, 17, 36, 20, 43, 19, 45, 23, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1348, | |
| "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": [61, 7, 21, 6, 52, 60, 24, 56, 14, 51, 56, 34, 33, 13, 16, 3, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1349, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [38, 50, 44, 53, 55, 40, 35, 46, 46, 0, 19, 46, 13, 24, 55, 3, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1350, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [53, 51, 15, 14, 19, 39, 62, 41, 35, 26, 18, 33, 36, 20, 20, 48, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1351, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [50, 6, 10, 40, 55, 58, 36, 46, 43, 55, 14, 6, 30, 1, 23, 47, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1352, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [23, 4, 38, 53, 63, 35, 61, 15, 53, 3, 7, 17, 27, 34, 48, 49, 61], | |
| "ct": [22, 6, 55, 37, 26, 42, 54, 39, 50, 38, 4, 37, 25, 25, 60, 21, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1353, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [29, 56, 38, 18, 7, 42, 51, 3, 42, 21, 13, 24, 31, 1, 15, 44, 31], | |
| "ct": [52, 19, 20, 34, 63, 21, 25, 27, 25, 23, 44, 18, 8, 12, 21, 16, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1354, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [20, 2, 52, 5, 21, 21, 40, 30, 62, 38, 0, 20, 27, 35, 10, 23, 36], | |
| "ct": [35, 9, 37, 39, 39, 27, 1, 8, 14, 16, 30, 22, 48, 12, 59, 14, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1355, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [33, 24, 48, 24, 63, 23, 39, 45, 3, 34, 30, 36, 26, 53, 0, 61, 29], | |
| "ct": [46, 50, 17, 30, 5, 12, 25, 6, 12, 42, 14, 32, 13, 10, 40, 60, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1356, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [20, 47, 2, 59, 13, 54, 55, 19, 17, 60, 28, 11, 47, 28, 32, 27, 63], | |
| "ct": [29, 19, 38, 35, 17, 45, 29, 14, 4, 26, 8, 8, 14, 2, 34, 58, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1357, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [33, 11, 33, 58, 33, 0, 17, 55, 18, 47, 12, 35, 16, 50, 45, 10, 42], | |
| "ct": [40, 46, 3, 7, 30, 63, 16, 22, 59, 22, 63, 17, 45, 15, 33, 25, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1358, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [21, 16, 47, 16, 53, 48, 5, 39, 36, 48, 45, 36, 0, 53, 50, 6, 4], | |
| "ct": [35, 33, 10, 46, 34, 48, 48, 52, 17, 22, 19, 32, 38, 31, 21, 43, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1359, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [53, 47, 18, 5, 39, 60, 11, 29, 9, 32, 38, 3, 47, 45, 11, 2, 47], | |
| "ct": [55, 58, 44, 45, 48, 16, 26, 53, 17, 62, 25, 27, 5, 56, 34, 62, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1360, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [31, 12, 34, 25, 0, 4, 0, 48, 32, 39, 20, 39, 19, 33, 55, 7, 51], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1361, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [44, 63, 45, 1, 26, 60, 25, 44, 37, 60, 47, 54, 55, 54, 15, 35, 24], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1362, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [22, 6, 14, 6, 12, 23, 57, 48, 31, 49, 44, 13, 1, 28, 31, 3, 15], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1363, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [9, 36, 59, 8, 60, 40, 9, 32, 44, 4, 23, 23, 34, 58, 52, 32, 23], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1364, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "06129f35a9aa4b2b", | |
| "msg": [39, 0, 14, 58, 31, 37, 10, 30, 60, 42, 56, 50, 16, 8, 2, 38, 26], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 21, 23, 40, 44, 63, 19, 59, 12, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1365, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "06129f35a9aa4b2b", | |
| "msg": [7, 31, 47, 3, 31, 33, 7, 58, 30, 48, 54, 13, 12, 38, 44, 7, 46], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 1, 63, 57, 57, 45, 34, 4, 44, 15, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1366, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "06129f35a9aa4b2b", | |
| "msg": [6, 49, 55, 27, 18, 24, 47, 30, 58, 60, 49, 5, 17, 4, 34, 20, 57], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 7, 54, 42, 17, 12, 1, 37, 1, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1367, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "06129f35a9aa4b2b", | |
| "msg": [57, 17, 24, 51, 56, 16, 37, 55, 46, 34, 40, 3, 61, 61, 1, 13, 16], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 28, 40, 13, 31, 49, 31, 22, 48, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1368, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "7929718c162dc020", | |
| "msg": [14, 33, 20, 30, 49, 39, 37, 35, 35, 17, 51, 13, 31, 47, 42, 35, 50], | |
| "ct": [55, 33, 6, 23, 50, 13, 49, 28, 53, 2, 11, 21, 25, 15, 2, 61, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1369, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "7929718c162dc020", | |
| "msg": [1, 31, 32, 2, 46, 21, 46, 39, 47, 30, 47, 48, 39, 58, 12, 31, 32], | |
| "ct": [17, 62, 53, 53, 49, 31, 2, 42, 4, 49, 37, 11, 20, 11, 16, 43, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1370, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "7929718c162dc020", | |
| "msg": [7, 35, 26, 36, 3, 27, 59, 55, 39, 20, 43, 33, 47, 36, 46, 52, 49], | |
| "ct": [20, 1, 23, 37, 19, 32, 51, 56, 0, 37, 56, 30, 14, 0, 15, 27, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1371, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "7929718c162dc020", | |
| "msg": [8, 50, 33, 36, 17, 16, 9, 28, 63, 49, 7, 36, 46, 61, 5, 41, 16], | |
| "ct": [31, 2, 34, 32, 5, 51, 41, 5, 62, 29, 50, 61, 33, 0, 51, 56, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1372, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "7929718c162dc020", | |
| "msg": [8, 27, 26, 45, 44, 30, 44, 31, 16, 53, 53, 62, 33, 27, 5, 9, 24], | |
| "ct": [55, 4, 5, 46, 48, 46, 0, 2, 56, 25, 42, 51, 48, 17, 19, 0, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1373, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "f2c353e845da16d1", | |
| "msg": [25, 43, 3, 2, 17, 10, 32, 14, 26, 38, 43, 15, 48, 16, 30, 44, 20], | |
| "ct": [37, 47, 50, 24, 46, 24, 3, 38, 3, 62, 54, 63, 47, 33, 38, 34, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1374, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "f2c353e845da16d1", | |
| "msg": [5, 30, 26, 18, 20, 37, 15, 9, 22, 41, 4, 61, 24, 30, 52, 17, 61], | |
| "ct": [31, 17, 36, 10, 54, 11, 38, 55, 35, 50, 47, 31, 34, 14, 18, 6, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1375, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "f2c353e845da16d1", | |
| "msg": [25, 3, 42, 24, 39, 31, 4, 17, 7, 52, 5, 38, 18, 17, 39, 14, 3], | |
| "ct": [7, 44, 45, 51, 16, 55, 47, 54, 49, 3, 3, 27, 49, 33, 36, 46, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1376, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "f2c353e845da16d1", | |
| "msg": [14, 62, 13, 46, 36, 5, 4, 62, 37, 54, 45, 16, 16, 2, 3, 13, 2], | |
| "ct": [55, 12, 18, 39, 39, 5, 28, 51, 53, 9, 56, 60, 47, 13, 58, 37, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1377, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "f736f0a08cd8b110", | |
| "msg": [44, 25, 42, 27, 53, 47, 4, 28, 41, 39, 36, 40, 53, 43, 13, 40, 31], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 0, 0, 58, 42, 14, 16, 57, 6, 32, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1378, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "f736f0a08cd8b110", | |
| "msg": [56, 33, 14, 20, 38, 3, 35, 2, 11, 6, 48, 55, 42, 13, 31, 6, 37], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 1, 53, 11, 1, 54, 46, 35, 7, 47, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1379, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "f736f0a08cd8b110", | |
| "msg": [27, 27, 28, 7, 19, 8, 62, 38, 63, 41, 27, 8, 26, 20, 41, 61, 2], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 1, 50, 34, 11, 38, 21, 46, 21, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1380, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "f736f0a08cd8b110", | |
| "msg": [31, 59, 8, 31, 13, 60, 34, 4, 56, 23, 39, 62, 8, 58, 59, 48, 15], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 55, 8, 59, 48, 33, 11, 56, 13, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1381, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "f736f0a08cd8b110", | |
| "msg": [56, 47, 22, 6, 51, 38, 16, 31, 28, 2, 49, 34, 63, 45, 32, 30, 12], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 0, 16, 21, 15, 10, 6, 21, 15, 5, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1382, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "f736f0a08cd8b110", | |
| "msg": [55, 31, 18, 18, 15, 49, 32, 11, 31, 52, 19, 14, 38, 31, 14, 23, 51], | |
| "ct": [63, 63, 63, 63, 63, 63, 62, 63, 44, 1, 20, 57, 30, 54, 2, 30, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1383, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "57f36f05bfa5e5cb", | |
| "msg": [6, 39, 16, 33, 32, 45, 10, 32, 10, 48, 50, 42, 57, 54, 17, 3, 45], | |
| "ct": [47, 2, 50, 41, 24, 48, 25, 3, 43, 43, 6, 28, 8, 7, 9, 26, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1384, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "57f36f05bfa5e5cb", | |
| "msg": [55, 20, 14, 34, 39, 26, 42, 21, 55, 45, 13, 42, 56, 10, 28, 53, 51], | |
| "ct": [23, 44, 44, 28, 12, 13, 62, 10, 48, 36, 1, 19, 3, 46, 10, 39, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1385, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "57f36f05bfa5e5cb", | |
| "msg": [61, 61, 33, 23, 26, 8, 8, 31, 32, 43, 34, 51, 41, 52, 57, 1, 50], | |
| "ct": [2, 34, 45, 42, 39, 58, 21, 9, 53, 20, 39, 5, 29, 54, 39, 57, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1386, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "57f36f05bfa5e5cb", | |
| "msg": [56, 26, 34, 25, 19, 45, 33, 8, 35, 46, 43, 0, 31, 14, 21, 56, 15], | |
| "ct": [33, 51, 58, 36, 28, 33, 26, 23, 18, 49, 6, 6, 17, 40, 54, 20, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1387, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", | |
| "tweak": "0284255ddf9a1021", | |
| "msg": [-1, 26, 19, 4, 7, 40, 58, 37, 41, 20, 54, 28, 49, 6, 36, 3, 54], | |
| "ct": [37, 16, 33, 47, 22, 39, 52, 19, 48, 40, 31, 39, 38, 52, 54, 15, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1388, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", | |
| "tweak": "0284255ddf9a1021", | |
| "msg": [13, 26, 19, 4, 7, -1, 58, 37, 41, 20, 54, 28, 49, 6, 36, 3, 54], | |
| "ct": [39, 8, 40, 5, 54, 6, 60, 10, 31, 59, 31, 43, 5, 30, 8, 3, 36], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1389, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", | |
| "tweak": "0284255ddf9a1021", | |
| "msg": [13, 26, 19, 4, 7, 40, 58, 37, 41, 20, 54, 28, 49, 6, 36, 3, -1], | |
| "ct": [17, 16, 56, 41, 8, 22, 61, 26, 58, 36, 40, 62, 39, 12, 13, 62, 51], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1390, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ab49d7cbeffd84272619339c2ae1c4395bf2810ee4bbca86", | |
| "tweak": "eaab0dd3de61a765", | |
| "msg": [64, 57, 33, 19, 60, 35, 27, 11, 23, 33, 48, 1, 16, 53, 54, 46, 29], | |
| "ct": [22, 7, 20, 32, 57, 42, 52, 31, 30, 46, 32, 3, 63, 9, 37, 0, 9], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1391, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ab49d7cbeffd84272619339c2ae1c4395bf2810ee4bbca86", | |
| "tweak": "eaab0dd3de61a765", | |
| "msg": [39, 57, 33, 19, 60, 64, 27, 11, 23, 33, 48, 1, 16, 53, 54, 46, 29], | |
| "ct": [63, 57, 61, 9, 15, 54, 32, 52, 50, 2, 34, 8, 55, 13, 26, 11, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1392, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ab49d7cbeffd84272619339c2ae1c4395bf2810ee4bbca86", | |
| "tweak": "eaab0dd3de61a765", | |
| "msg": [39, 57, 33, 19, 60, 35, 27, 11, 23, 33, 48, 1, 16, 53, 54, 46, 64], | |
| "ct": [35, 48, 47, 63, 56, 16, 45, 40, 45, 45, 14, 14, 2, 53, 22, 32, 43], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 18, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1393, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "47eb4430ea1cb545acc8f09ada1ecc8574d394b5a20e5017", | |
| "tweak": "683baf80b9d31daa", | |
| "msg": [45, 23, 36, 18, 9, 45, 62, 59, 0, 38, 53, 16, 23, 25, 59, 34, 40, 62], | |
| "ct": [53, 20, 57, 42, 52, 39, 62, 30, 24, 61, 16, 19, 20, 43, 17, 8, 45, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1394, | |
| "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": [56, 28, 26, 34, 32, 5, 41, 43, 43, 17, 48, 3, 50, 39, 11, 35, 53, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1395, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [30, 12, 63, 42, 2, 4, 10, 63, 59, 56, 59, 13, 61, 33, 49, 2, 11, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1396, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [31, 8, 42, 59, 48, 13, 33, 22, 33, 14, 2, 4, 33, 1, 19, 56, 55, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1397, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [45, 49, 32, 41, 0, 14, 40, 59, 54, 4, 1, 35, 1, 51, 51, 18, 24, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1398, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [60, 59, 63, 31, 12, 45, 25, 32, 21, 46, 41, 43, 29, 26, 39, 32, 25, 60], | |
| "ct": [58, 4, 17, 19, 2, 42, 5, 43, 47, 2, 48, 54, 39, 58, 28, 43, 2, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1399, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [54, 1, 48, 26, 44, 61, 37, 9, 12, 26, 13, 51, 41, 13, 26, 31, 16, 33], | |
| "ct": [2, 58, 27, 51, 0, 19, 61, 41, 13, 0, 13, 13, 63, 40, 27, 29, 28, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1400, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [41, 35, 5, 18, 22, 18, 41, 23, 14, 32, 20, 32, 57, 14, 4, 53, 52, 52], | |
| "ct": [62, 32, 5, 33, 51, 14, 33, 13, 26, 42, 60, 53, 56, 56, 63, 50, 26, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1401, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [55, 57, 48, 22, 12, 28, 47, 31, 26, 36, 30, 7, 5, 0, 15, 45, 40, 43], | |
| "ct": [44, 17, 34, 25, 22, 24, 1, 36, 53, 24, 27, 45, 25, 59, 63, 6, 15, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1402, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [31, 39, 53, 57, 9, 29, 60, 44, 12, 10, 53, 52, 42, 59, 4, 16, 35, 24], | |
| "ct": [24, 8, 59, 14, 52, 15, 60, 46, 46, 46, 17, 53, 57, 56, 26, 59, 37, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1403, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [60, 13, 21, 23, 14, 37, 32, 54, 31, 45, 10, 3, 44, 54, 47, 42, 40, 20], | |
| "ct": [3, 62, 3, 62, 26, 20, 6, 49, 44, 11, 58, 20, 57, 32, 1, 1, 32, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1404, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [17, 36, 12, 13, 0, 54, 55, 46, 11, 7, 3, 47, 16, 19, 22, 21, 10, 6], | |
| "ct": [12, 57, 49, 13, 31, 15, 38, 22, 47, 7, 36, 1, 27, 60, 5, 19, 7, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1405, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [61, 16, 47, 23, 8, 34, 63, 13, 58, 4, 25, 29, 23, 60, 6, 35, 41, 36], | |
| "ct": [43, 48, 57, 30, 50, 9, 40, 46, 9, 57, 49, 35, 47, 5, 4, 7, 46, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1406, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [5, 42, 59, 41, 26, 62, 49, 40, 26, 29, 9, 16, 35, 53, 16, 13, 19, 30], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1407, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [23, 46, 40, 26, 52, 14, 31, 33, 44, 42, 51, 9, 13, 29, 39, 4, 55, 2], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1408, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [21, 52, 42, 14, 39, 25, 6, 19, 9, 49, 37, 20, 43, 32, 22, 15, 1, 52], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1409, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [42, 9, 39, 9, 43, 5, 5, 47, 23, 61, 26, 21, 6, 17, 34, 50, 49, 38], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1410, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "b839716b4f0e5020", | |
| "msg": [27, 20, 2, 33, 23, 7, 28, 19, 4, 20, 13, 49, 54, 17, 2, 8, 17, 3], | |
| "ct": [7, 44, 61, 18, 20, 24, 51, 28, 44, 38, 4, 27, 19, 49, 28, 57, 25, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1411, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "b839716b4f0e5020", | |
| "msg": [28, 47, 6, 6, 32, 62, 20, 10, 42, 14, 32, 15, 11, 17, 52, 61, 32, 14], | |
| "ct": [57, 2, 53, 31, 45, 1, 18, 7, 15, 24, 2, 39, 18, 14, 62, 6, 33, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1412, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "b839716b4f0e5020", | |
| "msg": [4, 40, 18, 61, 3, 46, 47, 39, 54, 30, 34, 32, 26, 5, 49, 3, 0, 33], | |
| "ct": [20, 2, 61, 59, 0, 8, 27, 7, 18, 38, 45, 41, 52, 18, 36, 28, 43, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1413, | |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "b839716b4f0e5020", | |
| "msg": [30, 49, 0, 14, 23, 17, 62, 28, 17, 61, 43, 44, 45, 22, 25, 50, 14, 11], | |
| "ct": [56, 42, 37, 18, 46, 48, 37, 18, 50, 63, 2, 11, 60, 59, 43, 12, 18, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1414, | |
| "comment": "y = 1 and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "6e60640987d530ca", | |
| "msg": [50, 8, 53, 62, 54, 30, 32, 43, 45, 40, 55, 33, 32, 52, 42, 3, 12, 61], | |
| "ct": [13, 50, 39, 30, 25, 63, 15, 9, 49, 45, 42, 27, 31, 12, 28, 32, 7, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1415, | |
| "comment": "y = 1 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "6e60640987d530ca", | |
| "msg": [32, 58, 38, 33, 39, 11, 35, 63, 52, 49, 24, 20, 40, 49, 21, 44, 33, 60], | |
| "ct": [22, 7, 7, 29, 41, 50, 24, 21, 23, 7, 56, 40, 28, 56, 58, 50, 37, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1416, | |
| "comment": "y = 1 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "6e60640987d530ca", | |
| "msg": [10, 56, 63, 45, 63, 34, 21, 24, 58, 49, 47, 52, 7, 21, 59, 10, 39, 13], | |
| "ct": [23, 61, 1, 31, 29, 44, 35, 53, 28, 39, 23, 42, 16, 56, 6, 54, 9, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1417, | |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "6e60640987d530ca", | |
| "msg": [37, 32, 45, 23, 34, 38, 22, 51, 9, 3, 47, 50, 39, 60, 41, 9, 54, 29], | |
| "ct": [58, 56, 3, 56, 61, 5, 51, 55, 28, 23, 14, 45, 47, 56, 34, 37, 14, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1418, | |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "6e60640987d530ca", | |
| "msg": [13, 10, 24, 10, 16, 38, 54, 46, 2, 7, 41, 47, 13, 2, 10, 32, 43, 42], | |
| "ct": [0, 41, 36, 9, 62, 56, 11, 7, 44, 26, 19, 25, 47, 14, 59, 59, 53, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1419, | |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "7eb3f02b93163dde", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 49, 9, 50, 23, 47, 32, 55, 10], | |
| "ct": [39, 40, 35, 0, 63, 10, 42, 58, 14, 42, 29, 57, 49, 41, 8, 17, 44, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1420, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "7eb3f02b93163dde", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 21, 49, 9, 50, 23, 47, 32, 55, 10], | |
| "ct": [7, 63, 55, 20, 59, 51, 28, 39, 63, 62, 9, 37, 1, 41, 63, 43, 19, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1421, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "7eb3f02b93163dde", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 21, 49, 9, 50, 23, 47, 32, 55, 10], | |
| "ct": [9, 16, 48, 48, 13, 40, 37, 5, 8, 52, 53, 10, 48, 9, 1, 13, 46, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1422, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "7eb3f02b93163dde", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 21, 49, 9, 50, 23, 47, 32, 55, 10], | |
| "ct": [36, 20, 49, 10, 9, 16, 38, 62, 43, 20, 4, 51, 59, 43, 28, 21, 15, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1423, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "89b03b247bb2fe8b", | |
| "msg": [62, 57, 13, 16, 20, 38, 15, 35, 22, 23, 25, 37, 41, 52, 47, 37, 10, 23], | |
| "ct": [63, 61, 34, 6, 49, 14, 61, 59, 25, 33, 7, 4, 42, 25, 24, 13, 19, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1424, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "89b03b247bb2fe8b", | |
| "msg": [45, 35, 42, 7, 49, 36, 3, 34, 19, 46, 8, 50, 33, 32, 30, 17, 40, 22], | |
| "ct": [49, 47, 33, 47, 14, 7, 40, 62, 39, 2, 8, 32, 52, 19, 28, 0, 47, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1425, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "89b03b247bb2fe8b", | |
| "msg": [6, 22, 57, 59, 63, 35, 6, 19, 20, 9, 22, 60, 30, 46, 0, 32, 42, 38], | |
| "ct": [63, 25, 18, 42, 26, 40, 21, 49, 33, 31, 51, 27, 10, 32, 22, 57, 24, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1426, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "89b03b247bb2fe8b", | |
| "msg": [23, 63, 42, 36, 53, 29, 15, 57, 41, 2, 57, 20, 57, 11, 51, 54, 52, 56], | |
| "ct": [30, 43, 10, 22, 6, 51, 15, 58, 61, 24, 1, 25, 24, 33, 44, 7, 45, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1427, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "89b03b247bb2fe8b", | |
| "msg": [19, 6, 4, 15, 57, 19, 55, 49, 29, 5, 36, 51, 48, 8, 32, 62, 62, 45], | |
| "ct": [4, 17, 21, 12, 27, 27, 55, 56, 19, 50, 3, 0, 2, 19, 51, 28, 18, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1428, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "89b03b247bb2fe8b", | |
| "msg": [15, 10, 56, 61, 42, 22, 11, 8, 24, 28, 6, 10, 32, 28, 26, 55, 17, 20], | |
| "ct": [51, 48, 40, 9, 56, 54, 53, 37, 35, 4, 60, 11, 58, 7, 12, 50, 0, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1429, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "716a31a6aa3af197", | |
| "msg": [1, 11, 3, 15, 35, 43, 9, 9, 22, 49, 60, 26, 26, 23, 55, 19, 17, 30], | |
| "ct": [15, 53, 30, 8, 19, 26, 33, 46, 29, 36, 37, 3, 22, 25, 33, 14, 15, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1430, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "716a31a6aa3af197", | |
| "msg": [2, 17, 57, 50, 21, 11, 17, 57, 20, 12, 2, 63, 62, 20, 47, 25, 18, 29], | |
| "ct": [43, 12, 7, 35, 30, 30, 33, 10, 13, 51, 26, 54, 40, 61, 8, 57, 30, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1431, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "716a31a6aa3af197", | |
| "msg": [18, 26, 40, 50, 11, 35, 30, 26, 8, 63, 2, 1, 25, 3, 54, 34, 13, 58], | |
| "ct": [43, 51, 30, 62, 20, 0, 41, 12, 62, 39, 29, 57, 41, 2, 24, 41, 25, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1432, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "716a31a6aa3af197", | |
| "msg": [5, 50, 40, 56, 7, 58, 31, 59, 45, 47, 53, 46, 27, 35, 49, 1, 19, 30], | |
| "ct": [48, 1, 14, 0, 58, 37, 50, 30, 13, 62, 22, 34, 44, 19, 62, 28, 42, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1433, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", | |
| "tweak": "8fb4ffb3514c5fcc", | |
| "msg": [-1, 59, 50, 1, 52, 33, 0, 23, 36, 4, 20, 53, 13, 23, 49, 34, 56, 0], | |
| "ct": [20, 38, 5, 14, 55, 18, 6, 17, 29, 24, 14, 53, 9, 27, 1, 32, 16, 37], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1434, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", | |
| "tweak": "8fb4ffb3514c5fcc", | |
| "msg": [0, 59, 50, 1, 52, 33, -1, 23, 36, 4, 20, 53, 13, 23, 49, 34, 56, 0], | |
| "ct": [11, 7, 14, 15, 24, 40, 14, 46, 48, 58, 55, 43, 45, 36, 2, 8, 14, 3], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1435, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", | |
| "tweak": "8fb4ffb3514c5fcc", | |
| "msg": [0, 59, 50, 1, 52, 33, 0, 23, 36, 4, 20, 53, 13, 23, 49, 34, 56, -1], | |
| "ct": [20, 11, 14, 57, 35, 14, 41, 47, 22, 14, 50, 23, 35, 52, 16, 45, 32, 45], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1436, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9a0ab58d0b6d919c5c168492ab145c234a0486031a4dd09f", | |
| "tweak": "c990c9a7370d24fb", | |
| "msg": [64, 55, 27, 31, 62, 13, 24, 48, 8, 7, 40, 52, 26, 62, 47, 38, 55, 55], | |
| "ct": [2, 26, 40, 45, 45, 5, 18, 47, 49, 1, 8, 6, 2, 36, 31, 29, 0, 25], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1437, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9a0ab58d0b6d919c5c168492ab145c234a0486031a4dd09f", | |
| "tweak": "c990c9a7370d24fb", | |
| "msg": [18, 55, 27, 31, 62, 13, 64, 48, 8, 7, 40, 52, 26, 62, 47, 38, 55, 55], | |
| "ct": [9, 7, 13, 8, 22, 56, 50, 44, 27, 42, 8, 61, 57, 34, 22, 36, 5, 3], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1438, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9a0ab58d0b6d919c5c168492ab145c234a0486031a4dd09f", | |
| "tweak": "c990c9a7370d24fb", | |
| "msg": [18, 55, 27, 31, 62, 13, 24, 48, 8, 7, 40, 52, 26, 62, 47, 38, 55, 64], | |
| "ct": [28, 7, 22, 12, 13, 59, 6, 52, 33, 7, 27, 12, 56, 53, 35, 3, 49, 2], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 19, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1439, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "ba47709f6c5147bb5e20ee8869b439706fef5f984862cc0d", | |
| "tweak": "1a8494e5274bc2df", | |
| "msg": [40, 54, 62, 39, 10, 42, 42, 31, 59, 44, 9, 25, 20, 47, 41, 7, 8, 1, 37], | |
| "ct": [11, 2, 52, 3, 32, 29, 2, 30, 17, 30, 18, 6, 29, 23, 24, 10, 20, 9, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1440, | |
| "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, 24, 20, 56, 63, 3, 20, 5, 29, 10, 61, 34, 13, 4, 12, 44, 3, 17, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1441, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [2, 40, 46, 15, 24, 0, 45, 29, 36, 19, 51, 10, 26, 55, 11, 32, 54, 63, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1442, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [39, 6, 21, 31, 24, 0, 39, 10, 40, 5, 43, 7, 51, 40, 36, 9, 57, 46, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1443, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [26, 5, 26, 54, 24, 62, 7, 21, 58, 20, 30, 7, 43, 60, 5, 8, 11, 21, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1444, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [61, 5, 13, 34, 23, 60, 10, 45, 10, 41, 51, 46, 27, 5, 31, 16, 14, 62, 1], | |
| "ct": [3, 37, 25, 19, 28, 42, 43, 48, 60, 28, 34, 3, 43, 20, 60, 39, 60, 14, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1445, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [20, 51, 50, 24, 5, 51, 40, 6, 13, 16, 38, 47, 45, 11, 47, 55, 14, 10, 18], | |
| "ct": [49, 57, 49, 10, 57, 15, 37, 28, 63, 7, 28, 49, 49, 36, 38, 32, 37, 37, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1446, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [28, 21, 52, 35, 14, 59, 36, 6, 18, 47, 56, 42, 43, 13, 1, 15, 34, 12, 2], | |
| "ct": [3, 60, 10, 21, 25, 57, 44, 57, 17, 2, 28, 15, 36, 37, 4, 48, 56, 55, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1447, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [36, 8, 9, 5, 31, 21, 52, 25, 61, 50, 29, 50, 31, 25, 48, 48, 8, 19, 46], | |
| "ct": [37, 23, 7, 26, 45, 8, 50, 24, 15, 55, 11, 25, 63, 48, 29, 29, 36, 38, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1448, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [10, 60, 23, 62, 54, 27, 36, 59, 42, 37, 36, 46, 56, 43, 56, 24, 56, 15, 12], | |
| "ct": [25, 51, 54, 58, 42, 18, 47, 51, 16, 29, 36, 58, 5, 9, 14, 17, 6, 41, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1449, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [8, 14, 15, 34, 18, 15, 32, 8, 18, 10, 7, 0, 28, 41, 37, 33, 44, 59, 2], | |
| "ct": [26, 48, 14, 14, 33, 7, 46, 48, 26, 51, 60, 9, 55, 62, 61, 49, 50, 59, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1450, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [28, 33, 4, 59, 24, 9, 18, 6, 10, 61, 1, 0, 52, 19, 26, 12, 42, 10, 5], | |
| "ct": [7, 22, 19, 8, 63, 43, 1, 30, 34, 17, 59, 59, 47, 20, 1, 36, 44, 20, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1451, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [30, 31, 0, 14, 54, 4, 54, 34, 34, 44, 53, 7, 52, 28, 32, 50, 54, 20, 6], | |
| "ct": [16, 16, 31, 13, 4, 29, 45, 6, 25, 44, 43, 32, 4, 42, 36, 24, 37, 46, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1452, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [16, 11, 54, 20, 23, 20, 6, 54, 17, 55, 12, 15, 58, 1, 8, 9, 39, 46, 27], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1453, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [19, 14, 48, 25, 19, 43, 51, 0, 1, 50, 16, 34, 4, 16, 44, 33, 53, 41, 29], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1454, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [38, 51, 36, 50, 45, 17, 37, 45, 27, 18, 28, 16, 32, 56, 10, 24, 28, 33, 11], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1455, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [18, 0, 9, 19, 39, 58, 37, 59, 3, 17, 50, 30, 18, 14, 43, 3, 10, 45, 4], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1456, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "814faa16fcf55b", | |
| "msg": [54, 32, 2, 28, 52, 19, 51, 6, 33, 44, 0, 53, 45, 56, 38, 53, 31, 30, 47], | |
| "ct": [16, 22, 16, 14, 40, 15, 39, 44, 57, 15, 13, 61, 25, 41, 9, 2, 12, 18, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1457, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "814faa16fcf55b", | |
| "msg": [3, 25, 53, 3, 37, 13, 8, 8, 47, 10, 7, 3, 20, 56, 59, 19, 20, 28, 43], | |
| "ct": [0, 12, 43, 41, 37, 24, 7, 15, 58, 17, 23, 39, 10, 1, 11, 46, 21, 51, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1458, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "814faa16fcf55b", | |
| "msg": [61, 14, 40, 58, 25, 47, 40, 24, 47, 7, 36, 56, 41, 17, 49, 42, 39, 13, 39], | |
| "ct": [41, 37, 31, 52, 7, 62, 38, 49, 20, 23, 32, 41, 36, 33, 63, 10, 0, 21, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1459, | |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "814faa16fcf55b", | |
| "msg": [13, 36, 54, 0, 2, 37, 49, 35, 2, 6, 14, 43, 39, 11, 17, 4, 37, 63, 30], | |
| "ct": [59, 61, 14, 37, 56, 14, 44, 17, 12, 29, 18, 16, 59, 38, 59, 50, 57, 34, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1460, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "a59de97163589a", | |
| "msg": [0, 43, 24, 2, 41, 2, 32, 6, 51, 1, 58, 60, 55, 62, 13, 9, 37, 28, 19], | |
| "ct": [62, 8, 17, 55, 25, 4, 3, 15, 29, 28, 20, 43, 54, 14, 35, 52, 55, 28, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1461, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "a59de97163589a", | |
| "msg": [35, 9, 26, 45, 52, 15, 9, 30, 29, 35, 40, 20, 43, 20, 22, 46, 11, 23, 5], | |
| "ct": [39, 42, 34, 35, 10, 63, 57, 34, 50, 13, 51, 44, 46, 40, 48, 48, 40, 20, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1462, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "a59de97163589a", | |
| "msg": [46, 60, 12, 57, 36, 53, 50, 22, 3, 38, 24, 18, 22, 35, 41, 32, 36, 30, 49], | |
| "ct": [42, 4, 37, 46, 59, 13, 7, 41, 16, 17, 41, 63, 12, 21, 21, 57, 39, 31, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1463, | |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "a59de97163589a", | |
| "msg": [8, 50, 4, 21, 24, 62, 40, 7, 44, 33, 10, 33, 22, 34, 54, 53, 26, 40, 35], | |
| "ct": [41, 19, 49, 29, 7, 16, 58, 59, 32, 63, 41, 28, 50, 19, 29, 29, 3, 53, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1464, | |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "a59de97163589a", | |
| "msg": [48, 28, 25, 40, 61, 53, 57, 41, 0, 19, 15, 49, 63, 32, 40, 44, 19, 41, 19], | |
| "ct": [42, 54, 30, 18, 26, 32, 9, 16, 56, 5, 8, 50, 32, 32, 40, 7, 32, 34, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1465, | |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "5d327dc4483e73", | |
| "msg": [25, 29, 4, 54, 56, 42, 30, 56, 3, 56, 51, 36, 58, 22, 49, 60, 20, 63, 34], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 21, 24, 39, 24, 10, 15, 54, 34, 3, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1466, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "5d327dc4483e73", | |
| "msg": [36, 31, 28, 26, 45, 13, 56, 23, 35, 41, 4, 3, 20, 7, 8, 33, 7, 51, 34], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 36, 27, 43, 18, 33, 47, 0, 47, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1467, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "5d327dc4483e73", | |
| "msg": [10, 40, 29, 33, 12, 43, 38, 25, 56, 55, 17, 40, 62, 12, 55, 29, 5, 62, 42], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 18, 12, 2, 44, 1, 13, 44, 48, 26, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1468, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "5d327dc4483e73", | |
| "msg": [39, 38, 14, 63, 15, 50, 11, 53, 11, 50, 29, 21, 38, 17, 6, 0, 5, 39, 58], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 62, 42, 35, 24, 57, 44, 13, 13, 39, 52, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1469, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "d56b984979f1a6", | |
| "msg": [38, 35, 36, 5, 9, 10, 47, 3, 51, 21, 45, 11, 40, 9, 5, 13, 18, 19, 57], | |
| "ct": [60, 48, 46, 46, 12, 62, 1, 39, 31, 55, 10, 9, 52, 32, 30, 23, 20, 22, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1470, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "d56b984979f1a6", | |
| "msg": [17, 11, 40, 20, 11, 28, 0, 6, 46, 29, 61, 24, 8, 49, 48, 23, 33, 32, 59], | |
| "ct": [6, 30, 59, 43, 45, 11, 12, 17, 36, 9, 4, 2, 59, 58, 10, 38, 62, 20, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1471, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "d56b984979f1a6", | |
| "msg": [28, 13, 47, 63, 58, 40, 57, 38, 43, 16, 11, 42, 57, 22, 21, 62, 14, 10, 60], | |
| "ct": [37, 7, 4, 55, 41, 15, 42, 60, 27, 4, 4, 56, 2, 35, 51, 15, 10, 33, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1472, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "d56b984979f1a6", | |
| "msg": [24, 4, 54, 15, 10, 16, 43, 53, 47, 31, 9, 18, 2, 54, 60, 17, 63, 28, 26], | |
| "ct": [35, 38, 54, 35, 61, 0, 23, 15, 8, 59, 31, 16, 48, 7, 63, 28, 5, 52, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1473, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "d56b984979f1a6", | |
| "msg": [41, 2, 57, 30, 62, 28, 28, 18, 63, 57, 14, 18, 16, 35, 46, 56, 52, 31, 47], | |
| "ct": [6, 39, 54, 60, 45, 2, 43, 22, 43, 38, 30, 57, 61, 39, 42, 5, 56, 0, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1474, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "d56b984979f1a6", | |
| "msg": [25, 18, 35, 16, 19, 42, 8, 39, 31, 61, 49, 19, 59, 12, 49, 56, 5, 14, 22], | |
| "ct": [37, 40, 2, 16, 41, 53, 53, 43, 34, 37, 17, 7, 33, 10, 54, 19, 7, 0, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1475, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "e104526b66a57d", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 43, 31, 2, 50, 16, 19, 35, 49, 32, 36], | |
| "ct": [12, 0, 30, 45, 53, 5, 38, 5, 33, 30, 22, 16, 24, 6, 33, 44, 57, 28, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1476, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "e104526b66a57d", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 43, 31, 2, 50, 16, 19, 35, 49, 32, 36], | |
| "ct": [52, 18, 16, 62, 43, 32, 0, 26, 13, 27, 28, 6, 1, 32, 24, 35, 9, 7, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1477, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "e104526b66a57d", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 43, 31, 2, 50, 16, 19, 35, 49, 32, 36], | |
| "ct": [57, 35, 18, 1, 5, 52, 56, 3, 21, 1, 25, 41, 63, 39, 36, 44, 23, 49, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1478, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", | |
| "tweak": "e104526b66a57d", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 43, 31, 2, 50, 16, 19, 35, 49, 32, 36], | |
| "ct": [11, 55, 62, 37, 61, 57, 45, 42, 44, 40, 31, 26, 12, 40, 34, 27, 62, 18, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1479, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", | |
| "tweak": "210a87007dcef98c", | |
| "msg": [-1, 44, 16, 59, 23, 31, 44, 49, 61, 62, 15, 19, 23, 11, 6, 11, 36, 34, 53], | |
| "ct": [35, 53, 14, 11, 16, 26, 11, 18, 27, 51, 58, 36, 24, 51, 21, 52, 41, 8, 3], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1480, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", | |
| "tweak": "210a87007dcef98c", | |
| "msg": [44, 44, 16, 59, 23, 31, -1, 49, 61, 62, 15, 19, 23, 11, 6, 11, 36, 34, 53], | |
| "ct": [2, 44, 18, 48, 0, 1, 37, 50, 1, 60, 40, 25, 38, 5, 17, 62, 15, 51, 53], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1481, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", | |
| "tweak": "210a87007dcef98c", | |
| "msg": [44, 44, 16, 59, 23, 31, 44, 49, 61, 62, 15, 19, 23, 11, 6, 11, 36, 34, -1], | |
| "ct": [47, 24, 32, 12, 34, 32, 15, 11, 37, 8, 25, 47, 18, 39, 30, 9, 48, 47, 54], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1482, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c52d2a02c95d4286bb2345e8dbb456d63c6b8628d2cab163", | |
| "tweak": "a9a35b35c3b457e2", | |
| "msg": [64, 21, 48, 40, 30, 63, 57, 33, 44, 40, 5, 13, 60, 2, 44, 20, 23, 47, 61], | |
| "ct": [45, 48, 53, 44, 4, 38, 32, 19, 59, 4, 56, 59, 21, 14, 63, 30, 14, 49, 45], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1483, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c52d2a02c95d4286bb2345e8dbb456d63c6b8628d2cab163", | |
| "tweak": "a9a35b35c3b457e2", | |
| "msg": [36, 21, 48, 40, 30, 63, 64, 33, 44, 40, 5, 13, 60, 2, 44, 20, 23, 47, 61], | |
| "ct": [0, 29, 62, 28, 22, 51, 11, 10, 27, 11, 19, 22, 22, 24, 8, 3, 38, 9, 37], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1484, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c52d2a02c95d4286bb2345e8dbb456d63c6b8628d2cab163", | |
| "tweak": "a9a35b35c3b457e2", | |
| "msg": [36, 21, 48, 40, 30, 63, 57, 33, 44, 40, 5, 13, 60, 2, 44, 20, 23, 47, 64], | |
| "ct": [41, 47, 31, 2, 19, 26, 13, 53, 23, 56, 45, 45, 40, 30, 44, 51, 18, 52, 16], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 20, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1485, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "141107e15df419395d338f34ef63f1e80d20b2dad04e5b54", | |
| "tweak": "b069e365f5a623ff", | |
| "msg": [35, 58, 58, 17, 15, 38, 47, 58, 49, 35, 17, 31, 13, 0, 17, 55, 35, 54, 50, 47], | |
| "ct": [47, 51, 23, 35, 3, 23, 56, 12, 48, 10, 22, 45, 31, 56, 31, 44, 37, 20, 36, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1486, | |
| "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": [54, 45, 42, 42, 22, 37, 32, 16, 5, 25, 49, 58, 1, 7, 59, 33, 19, 37, 60, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1487, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [30, 11, 54, 7, 5, 34, 3, 23, 5, 57, 15, 5, 50, 52, 22, 15, 39, 60, 55, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1488, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [20, 0, 30, 7, 4, 0, 44, 12, 62, 26, 48, 44, 17, 34, 20, 27, 11, 9, 10, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1489, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [33, 51, 5, 45, 43, 51, 43, 34, 3, 36, 42, 9, 3, 38, 3, 21, 56, 43, 61, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1490, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [31, 26, 48, 52, 17, 24, 41, 24, 62, 58, 22, 7, 34, 56, 25, 7, 1, 34, 30, 37], | |
| "ct": [61, 35, 16, 0, 26, 60, 0, 48, 12, 46, 48, 62, 40, 17, 25, 63, 43, 21, 42, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1491, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [54, 57, 23, 41, 3, 56, 51, 36, 36, 50, 10, 58, 3, 35, 62, 26, 9, 27, 28, 30], | |
| "ct": [53, 18, 12, 50, 46, 22, 41, 45, 30, 50, 11, 48, 45, 28, 58, 5, 33, 8, 59, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1492, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [41, 12, 54, 7, 14, 60, 1, 36, 18, 22, 1, 35, 46, 63, 46, 13, 14, 1, 33, 36], | |
| "ct": [5, 29, 8, 27, 50, 6, 9, 11, 46, 24, 9, 43, 51, 55, 32, 18, 38, 21, 37, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1493, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [11, 7, 47, 32, 40, 32, 61, 31, 50, 45, 14, 4, 13, 53, 47, 21, 62, 9, 33, 1], | |
| "ct": [42, 11, 58, 3, 39, 31, 6, 45, 57, 52, 3, 40, 22, 34, 49, 15, 51, 2, 35, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1494, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [24, 41, 47, 55, 8, 9, 41, 14, 10, 58, 26, 46, 47, 46, 19, 43, 2, 4, 8, 60], | |
| "ct": [17, 38, 41, 29, 62, 54, 55, 33, 12, 16, 36, 39, 19, 29, 47, 32, 38, 30, 47, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1495, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [34, 20, 27, 47, 25, 27, 21, 44, 0, 31, 60, 21, 5, 22, 24, 27, 44, 48, 4, 7], | |
| "ct": [45, 57, 15, 44, 6, 48, 19, 61, 54, 3, 23, 7, 36, 15, 36, 7, 43, 2, 35, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1496, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [7, 5, 56, 34, 3, 39, 38, 62, 46, 61, 17, 3, 28, 6, 0, 55, 22, 18, 3, 7], | |
| "ct": [17, 16, 18, 21, 16, 38, 54, 53, 4, 46, 43, 37, 44, 20, 63, 40, 18, 13, 11, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1497, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [14, 13, 52, 7, 9, 46, 36, 8, 15, 29, 15, 38, 24, 49, 5, 24, 24, 24, 44, 51], | |
| "ct": [37, 54, 24, 52, 34, 2, 25, 61, 3, 46, 3, 35, 34, 30, 9, 58, 52, 13, 32, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1498, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [56, 27, 12, 15, 34, 60, 42, 23, 48, 28, 22, 54, 20, 48, 25, 31, 36, 16, 34, 59], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1499, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [18, 52, 28, 52, 34, 39, 41, 30, 59, 12, 15, 25, 37, 62, 57, 47, 21, 33, 14, 50], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1500, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [22, 5, 58, 34, 40, 8, 45, 2, 44, 11, 14, 46, 8, 48, 35, 15, 23, 0, 24, 7], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1501, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", | |
| "tweak": "769ef53520d6bd5d", | |
| "msg": [26, 11, 13, 47, 34, 2, 41, 1, 9, 12, 4, 14, 26, 13, 2, 63, 6, 31, 20, 58], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1502, | |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "2e5bdbee0880b0", | |
| "msg": [56, 55, 42, 10, 59, 54, 54, 21, 18, 30, 3, 29, 40, 40, 35, 21, 63, 17, 15, 30], | |
| "ct": [16, 38, 34, 55, 51, 42, 10, 43, 36, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1503, | |
| "comment": "y = 0 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "2e5bdbee0880b0", | |
| "msg": [20, 1, 12, 32, 60, 43, 13, 25, 15, 6, 24, 22, 21, 18, 44, 59, 1, 48, 13, 11], | |
| "ct": [16, 38, 34, 55, 51, 42, 10, 43, 36, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1504, | |
| "comment": "y = 0 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "2e5bdbee0880b0", | |
| "msg": [29, 20, 22, 42, 0, 45, 16, 21, 7, 15, 56, 61, 44, 34, 3, 28, 56, 32, 18, 48], | |
| "ct": [16, 38, 34, 55, 51, 42, 10, 43, 36, 1, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1505, | |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "2e5bdbee0880b0", | |
| "msg": [49, 4, 48, 28, 54, 46, 6, 28, 24, 34, 4, 39, 62, 12, 17, 7, 35, 32, 52, 5], | |
| "ct": [16, 38, 34, 55, 51, 42, 10, 43, 36, 1, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1506, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "f71513c7e49c2f", | |
| "msg": [6, 32, 44, 61, 43, 41, 3, 62, 5, 61, 41, 53, 45, 14, 40, 58, 27, 21, 32, 21], | |
| "ct": [23, 36, 8, 4, 57, 48, 51, 18, 36, 48, 17, 20, 42, 14, 0, 30, 61, 15, 35, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1507, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "f71513c7e49c2f", | |
| "msg": [53, 38, 50, 33, 17, 41, 19, 8, 10, 62, 14, 51, 38, 59, 19, 59, 42, 34, 28, 45], | |
| "ct": [28, 5, 46, 3, 38, 14, 24, 19, 35, 56, 45, 33, 53, 12, 0, 49, 16, 16, 62, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1508, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "f71513c7e49c2f", | |
| "msg": [23, 18, 29, 47, 46, 42, 63, 1, 8, 11, 46, 30, 41, 2, 59, 20, 60, 5, 1, 2], | |
| "ct": [14, 50, 41, 57, 5, 51, 54, 50, 27, 50, 52, 37, 63, 49, 9, 59, 8, 49, 63, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1509, | |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "f71513c7e49c2f", | |
| "msg": [15, 46, 61, 29, 25, 18, 52, 18, 50, 45, 19, 49, 58, 28, 13, 40, 3, 27, 17, 52], | |
| "ct": [59, 36, 3, 33, 25, 5, 5, 26, 24, 37, 6, 26, 57, 6, 60, 61, 34, 56, 57, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1510, | |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "f71513c7e49c2f", | |
| "msg": [52, 35, 53, 40, 60, 44, 63, 29, 6, 4, 41, 33, 59, 55, 40, 35, 3, 51, 2, 29], | |
| "ct": [28, 30, 35, 60, 18, 30, 1, 16, 11, 38, 28, 6, 13, 3, 14, 20, 51, 41, 41, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1511, | |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "6885ad029c0943", | |
| "msg": [0, 30, 9, 8, 9, 32, 7, 21, 33, 30, 9, 49, 8, 13, 45, 46, 19, 1, 34, 2], | |
| "ct": [40, 21, 18, 21, 33, 53, 13, 44, 2, 52, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1512, | |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "6885ad029c0943", | |
| "msg": [48, 51, 33, 24, 39, 36, 55, 60, 57, 10, 50, 47, 43, 8, 55, 44, 22, 28, 36, 42], | |
| "ct": [40, 21, 18, 21, 33, 53, 13, 44, 2, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1513, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "6885ad029c0943", | |
| "msg": [9, 17, 13, 45, 45, 10, 50, 56, 43, 10, 61, 60, 62, 38, 38, 24, 1, 19, 36, 17], | |
| "ct": [40, 21, 18, 21, 33, 53, 13, 44, 2, 52, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1514, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "6885ad029c0943", | |
| "msg": [44, 49, 43, 10, 56, 12, 38, 62, 62, 43, 49, 8, 49, 2, 55, 49, 42, 47, 56, 7], | |
| "ct": [40, 21, 18, 21, 33, 53, 13, 44, 2, 52, 63, 63, 63, 63, 63, 63, 63, 63, 63, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1515, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "a27cde68747270", | |
| "msg": [27, 53, 58, 60, 30, 9, 49, 57, 20, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [33, 18, 60, 27, 13, 46, 1, 40, 43, 33, 26, 37, 36, 48, 59, 21, 50, 53, 15, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1516, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "a27cde68747270", | |
| "msg": [50, 25, 56, 49, 63, 46, 27, 2, 29, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], | |
| "ct": [51, 32, 36, 54, 24, 47, 22, 22, 46, 3, 62, 24, 28, 10, 49, 59, 59, 15, 34, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1517, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "a27cde68747270", | |
| "msg": [5, 25, 15, 33, 47, 34, 45, 39, 17, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63], | |
| "ct": [25, 8, 8, 21, 40, 24, 4, 25, 60, 21, 9, 54, 6, 63, 28, 21, 16, 16, 51, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1518, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "a27cde68747270", | |
| "msg": [15, 63, 59, 35, 23, 51, 43, 45, 31, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0], | |
| "ct": [8, 25, 17, 24, 50, 7, 11, 7, 19, 35, 46, 4, 43, 48, 18, 8, 13, 0, 55, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1519, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "a27cde68747270", | |
| "msg": [54, 63, 58, 63, 35, 43, 23, 63, 45, 18, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [0, 41, 9, 51, 18, 60, 19, 35, 7, 19, 30, 14, 31, 41, 28, 27, 35, 17, 12, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1520, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "a27cde68747270", | |
| "msg": [17, 38, 62, 0, 17, 3, 32, 6, 62, 23, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [51, 9, 30, 19, 43, 24, 9, 40, 31, 50, 42, 19, 4, 7, 34, 27, 3, 13, 5, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1521, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "6d7da52f7d7489", | |
| "msg": [31, 30, 62, 52, 45, 61, 20, 55, 36, 30, 2, 43, 57, 29, 13, 2, 60, 8, 50, 22], | |
| "ct": [20, 49, 32, 3, 19, 15, 36, 38, 37, 43, 63, 20, 34, 30, 45, 44, 37, 39, 2, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1522, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "6d7da52f7d7489", | |
| "msg": [21, 47, 3, 32, 22, 48, 43, 51, 34, 1, 18, 8, 5, 55, 46, 8, 15, 18, 29, 25], | |
| "ct": [44, 31, 42, 35, 53, 26, 57, 62, 22, 47, 57, 2, 3, 49, 17, 2, 33, 10, 13, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1523, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "6d7da52f7d7489", | |
| "msg": [54, 62, 43, 32, 63, 26, 49, 44, 55, 46, 32, 54, 37, 39, 11, 45, 42, 19, 23, 16], | |
| "ct": [60, 11, 15, 4, 26, 40, 60, 19, 40, 13, 52, 50, 22, 27, 26, 48, 13, 0, 28, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1524, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", | |
| "tweak": "6d7da52f7d7489", | |
| "msg": [35, 53, 35, 59, 37, 27, 7, 14, 25, 55, 36, 41, 24, 61, 38, 61, 48, 60, 0, 11], | |
| "ct": [52, 36, 18, 27, 5, 37, 35, 20, 50, 56, 59, 51, 19, 26, 59, 56, 20, 19, 3, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1525, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f", | |
| "tweak": "25733cf5c0f0d898", | |
| "msg": [-1, 29, 9, 46, 61, 13, 59, 51, 53, 14, 38, 9, 8, 4, 33, 61, 35, 48, 5, 37], | |
| "ct": [0, 28, 48, 2, 46, 6, 51, 29, 2, 57, 62, 29, 58, 43, 36, 11, 15, 9, 34, 43], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1526, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f", | |
| "tweak": "25733cf5c0f0d898", | |
| "msg": [10, 29, 9, 46, 61, 13, -1, 51, 53, 14, 38, 9, 8, 4, 33, 61, 35, 48, 5, 37], | |
| "ct": [58, 20, 51, 34, 19, 14, 60, 7, 44, 63, 11, 40, 14, 11, 49, 3, 20, 49, 12, 22], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1527, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f", | |
| "tweak": "25733cf5c0f0d898", | |
| "msg": [10, 29, 9, 46, 61, 13, 59, 51, 53, 14, 38, 9, 8, 4, 33, 61, 35, 48, 5, -1], | |
| "ct": [15, 12, 5, 7, 36, 16, 44, 13, 55, 0, 27, 11, 13, 41, 35, 42, 21, 60, 12, 31], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1528, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "444fc29c68f4352baa143731c79135cffff9d21540a02718", | |
| "tweak": "d692a11c4c6ae085", | |
| "msg": [64, 54, 39, 57, 47, 35, 55, 62, 22, 1, 25, 53, 6, 4, 42, 24, 17, 60, 2, 38], | |
| "ct": [10, 38, 41, 61, 25, 40, 60, 21, 19, 20, 0, 10, 41, 47, 40, 28, 54, 8, 26, 27], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1529, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "444fc29c68f4352baa143731c79135cffff9d21540a02718", | |
| "tweak": "d692a11c4c6ae085", | |
| "msg": [7, 54, 39, 57, 47, 35, 64, 62, 22, 1, 25, 53, 6, 4, 42, 24, 17, 60, 2, 38], | |
| "ct": [50, 26, 63, 61, 32, 6, 35, 0, 57, 51, 3, 2, 23, 15, 59, 50, 48, 36, 48, 30], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1530, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "444fc29c68f4352baa143731c79135cffff9d21540a02718", | |
| "tweak": "d692a11c4c6ae085", | |
| "msg": [7, 54, 39, 57, 47, 35, 55, 62, 22, 1, 25, 53, 6, 4, 42, 24, 17, 60, 2, 64], | |
| "ct": [24, 59, 14, 22, 51, 41, 48, 26, 38, 43, 33, 62, 7, 34, 34, 45, 55, 26, 31, 2], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 21, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1531, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "c3bb552dddc77917376b930dc911345e533a17542ddbf421", | |
| "tweak": "2780a38c74385db3", | |
| "msg": [29, 6, 51, 55, 30, 51, 61, 48, 26, 56, 36, 29, 11, 14, 17, 40, 22, 40, 32, 39, 62], | |
| "ct": [47, 19, 6, 37, 28, 59, 59, 35, 37, 1, 11, 45, 54, 48, 51, 39, 43, 17, 1, 38, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1532, | |
| "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": [62, 25, 0, 50, 33, 58, 61, 24, 54, 54, 62, 30, 19, 44, 59, 60, 11, 52, 24, 49, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1533, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [50, 38, 34, 38, 9, 43, 11, 0, 2, 56, 58, 61, 61, 29, 33, 52, 41, 15, 12, 48, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1534, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [20, 43, 7, 21, 16, 1, 52, 43, 20, 48, 51, 40, 24, 62, 3, 25, 16, 32, 6, 58, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1535, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [23, 7, 2, 39, 7, 36, 0, 29, 2, 46, 42, 20, 12, 39, 24, 23, 59, 47, 41, 34, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1536, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [44, 20, 25, 31, 2, 14, 61, 46, 35, 14, 38, 9, 6, 5, 14, 40, 0, 55, 20, 54, 60], | |
| "ct": [6, 19, 15, 16, 22, 7, 14, 23, 53, 1, 23, 42, 3, 26, 36, 2, 6, 40, 47, 34, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1537, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [31, 35, 58, 63, 40, 29, 32, 31, 22, 49, 10, 0, 15, 0, 58, 46, 16, 8, 46, 47, 52], | |
| "ct": [35, 60, 23, 63, 37, 15, 4, 52, 9, 33, 28, 34, 54, 63, 19, 12, 54, 56, 2, 17, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1538, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [13, 47, 58, 5, 4, 28, 29, 9, 13, 2, 27, 44, 4, 13, 43, 38, 57, 48, 62, 35, 17], | |
| "ct": [59, 10, 20, 47, 53, 8, 47, 18, 3, 40, 9, 47, 45, 8, 17, 0, 20, 32, 49, 13, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1539, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [34, 43, 60, 19, 46, 10, 12, 25, 8, 3, 22, 28, 51, 29, 38, 31, 52, 14, 7, 46, 11], | |
| "ct": [0, 12, 57, 20, 46, 29, 29, 46, 49, 9, 28, 23, 4, 61, 16, 4, 24, 14, 63, 1, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1540, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [47, 28, 8, 26, 42, 25, 54, 14, 9, 38, 54, 26, 54, 60, 61, 56, 30, 62, 25, 10, 1], | |
| "ct": [20, 46, 58, 29, 9, 61, 7, 14, 42, 35, 15, 55, 62, 21, 33, 14, 51, 37, 44, 10, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1541, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [11, 2, 54, 50, 3, 46, 7, 56, 52, 29, 1, 56, 33, 28, 1, 0, 29, 27, 22, 24, 25], | |
| "ct": [36, 44, 56, 14, 26, 29, 34, 42, 40, 21, 59, 37, 33, 61, 11, 6, 41, 38, 38, 47, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1542, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [29, 1, 12, 8, 34, 12, 10, 11, 46, 33, 49, 45, 59, 20, 55, 10, 52, 38, 52, 63, 43], | |
| "ct": [53, 11, 57, 59, 53, 36, 35, 10, 49, 11, 15, 17, 14, 47, 15, 57, 49, 38, 42, 17, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1543, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [21, 55, 60, 47, 57, 49, 31, 15, 1, 42, 17, 50, 20, 32, 8, 42, 29, 2, 48, 14, 14], | |
| "ct": [44, 17, 51, 52, 31, 24, 55, 19, 52, 6, 28, 19, 51, 29, 41, 35, 55, 43, 62, 23, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1544, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [4, 41, 16, 56, 29, 49, 4, 4, 59, 49, 47, 36, 50, 29, 47, 8, 12, 9, 34, 4, 59], | |
| "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": 1545, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [14, 47, 62, 42, 1, 4, 24, 48, 37, 38, 10, 53, 55, 55, 16, 56, 18, 28, 37, 36, 11], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1546, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [20, 44, 41, 47, 31, 10, 44, 21, 58, 16, 11, 31, 46, 24, 56, 16, 21, 61, 25, 24, 6], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1547, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", | |
| "tweak": "3409bef7dc1e87c7", | |
| "msg": [35, 54, 4, 61, 44, 57, 12, 44, 51, 49, 48, 63, 57, 40, 44, 4, 43, 37, 3, 5, 18], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1548, | |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "af470a98a3fedbb0ee2d8de356e966d2c489eb788e1b", | |
| "msg": [63, 51, 59, 29, 41, 33, 28, 0, 61, 43, 21, 30, 39, 20, 60, 55, 48, 13, 45, 25, 30], | |
| "ct": [8, 24, 21, 13, 12, 6, 24, 55, 14, 34, 13, 35, 48, 16, 47, 60, 48, 14, 6, 11, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1549, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "af470a98a3fedbb0ee2d8de356e966d2c489eb788e1b", | |
| "msg": [42, 37, 31, 36, 52, 2, 31, 47, 15, 3, 27, 44, 18, 45, 36, 12, 33, 53, 14, 40, 14], | |
| "ct": [27, 36, 28, 47, 15, 37, 7, 32, 53, 34, 12, 54, 39, 0, 48, 23, 5, 57, 1, 4, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1550, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "af470a98a3fedbb0ee2d8de356e966d2c489eb788e1b", | |
| "msg": [12, 60, 47, 36, 5, 3, 45, 38, 25, 4, 19, 50, 8, 34, 3, 11, 53, 61, 8, 47, 60], | |
| "ct": [36, 37, 50, 0, 63, 62, 49, 41, 20, 50, 48, 9, 41, 39, 55, 1, 38, 28, 40, 52, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1551, | |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "af470a98a3fedbb0ee2d8de356e966d2c489eb788e1b", | |
| "msg": [38, 44, 48, 4, 28, 39, 12, 22, 47, 30, 48, 20, 10, 8, 20, 29, 26, 18, 7, 34, 14], | |
| "ct": [40, 47, 12, 62, 14, 59, 2, 8, 2, 58, 13, 50, 39, 5, 49, 32, 61, 62, 53, 14, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1552, | |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "6d7082a1cd6de71ecc85f9683dccb1b67ebe35fed8ed", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 44, 37, 6, 39, 49, 10, 56, 26, 61, 38], | |
| "ct": [6, 15, 5, 35, 20, 56, 25, 25, 42, 27, 42, 12, 63, 30, 10, 52, 13, 22, 39, 57, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1553, | |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "6d7082a1cd6de71ecc85f9683dccb1b67ebe35fed8ed", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17, 44, 37, 6, 39, 49, 10, 56, 26, 61, 38], | |
| "ct": [60, 13, 49, 57, 32, 51, 10, 41, 31, 63, 63, 43, 24, 22, 34, 12, 59, 12, 57, 7, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1554, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "6d7082a1cd6de71ecc85f9683dccb1b67ebe35fed8ed", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 44, 37, 6, 39, 49, 10, 56, 26, 61, 38], | |
| "ct": [35, 21, 21, 28, 19, 22, 54, 4, 50, 12, 33, 50, 40, 49, 0, 41, 62, 20, 54, 2, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1555, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "6d7082a1cd6de71ecc85f9683dccb1b67ebe35fed8ed", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 17, 44, 37, 6, 39, 49, 10, 56, 26, 61, 38], | |
| "ct": [10, 38, 0, 28, 2, 5, 45, 9, 38, 48, 15, 32, 31, 32, 58, 34, 19, 21, 61, 36, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1556, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "e07462a628249a5feaee4f914dbc0a1f422fc54c5d9b", | |
| "msg": [19, 15, 53, 51, 18, 8, 24, 37, 39, 41, 12, 30, 53, 35, 58, 43, 35, 39, 11, 63, 20], | |
| "ct": [18, 34, 63, 19, 26, 22, 48, 19, 47, 7, 18, 4, 45, 55, 60, 2, 57, 37, 34, 41, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1557, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "e07462a628249a5feaee4f914dbc0a1f422fc54c5d9b", | |
| "msg": [55, 56, 22, 0, 59, 48, 18, 10, 40, 18, 22, 41, 63, 54, 12, 54, 53, 9, 16, 45, 46], | |
| "ct": [49, 37, 6, 38, 13, 21, 36, 33, 35, 33, 62, 32, 30, 38, 24, 17, 14, 53, 43, 55, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1558, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "e07462a628249a5feaee4f914dbc0a1f422fc54c5d9b", | |
| "msg": [53, 22, 52, 24, 33, 21, 1, 6, 12, 18, 33, 62, 17, 18, 27, 52, 46, 60, 3, 9, 37], | |
| "ct": [26, 2, 39, 20, 46, 42, 19, 59, 43, 15, 2, 61, 51, 23, 0, 13, 24, 34, 37, 48, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1559, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "e07462a628249a5feaee4f914dbc0a1f422fc54c5d9b", | |
| "msg": [41, 47, 9, 34, 63, 0, 25, 8, 50, 13, 22, 20, 53, 30, 17, 32, 9, 51, 32, 23, 18], | |
| "ct": [63, 9, 58, 2, 63, 54, 63, 22, 15, 53, 42, 52, 9, 14, 5, 47, 19, 32, 31, 23, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1560, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "e07462a628249a5feaee4f914dbc0a1f422fc54c5d9b", | |
| "msg": [13, 52, 60, 59, 27, 48, 43, 55, 1, 32, 41, 50, 47, 9, 57, 15, 38, 17, 22, 15, 31], | |
| "ct": [53, 35, 62, 22, 31, 30, 34, 46, 19, 8, 39, 58, 27, 24, 58, 53, 28, 61, 13, 35, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1561, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", | |
| "tweak": "e07462a628249a5feaee4f914dbc0a1f422fc54c5d9b", | |
| "msg": [32, 10, 25, 51, 23, 62, 2, 17, 2, 60, 46, 12, 0, 46, 54, 47, 21, 30, 13, 38, 55], | |
| "ct": [59, 29, 43, 31, 49, 28, 53, 49, 37, 27, 15, 2, 4, 41, 36, 11, 25, 47, 37, 12, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1562, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101", | |
| "tweak": "08ab087236e7ba87", | |
| "msg": [-1, 25, 6, 10, 22, 32, 25, 61, 43, 52, 34, 63, 28, 27, 30, 16, 30, 37, 42, 51, 26], | |
| "ct": [36, 23, 7, 58, 63, 63, 34, 24, 32, 28, 56, 53, 50, 6, 40, 24, 44, 9, 29, 28, 50], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1563, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101", | |
| "tweak": "08ab087236e7ba87", | |
| "msg": [19, 25, 6, 10, 22, 32, 25, -1, 43, 52, 34, 63, 28, 27, 30, 16, 30, 37, 42, 51, 26], | |
| "ct": [7, 1, 2, 4, 29, 22, 56, 60, 5, 55, 11, 11, 62, 22, 44, 50, 11, 29, 62, 27, 47], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1564, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101", | |
| "tweak": "08ab087236e7ba87", | |
| "msg": [19, 25, 6, 10, 22, 32, 25, 61, 43, 52, 34, 63, 28, 27, 30, 16, 30, 37, 42, 51, -1], | |
| "ct": [43, 6, 63, 45, 31, 0, 14, 43, 19, 46, 59, 11, 59, 27, 11, 49, 55, 30, 34, 57, 19], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1565, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e74dab8d66c1eefcafdcd4af55fe9879ede30b319f7f1fb4", | |
| "tweak": "62fe56a3b2159178", | |
| "msg": [64, 36, 43, 19, 8, 1, 59, 4, 51, 49, 36, 37, 51, 57, 53, 58, 57, 19, 34, 55, 56], | |
| "ct": [39, 2, 53, 30, 46, 17, 57, 41, 39, 4, 44, 46, 62, 32, 57, 32, 31, 9, 10, 51, 12], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1566, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e74dab8d66c1eefcafdcd4af55fe9879ede30b319f7f1fb4", | |
| "tweak": "62fe56a3b2159178", | |
| "msg": [26, 36, 43, 19, 8, 1, 59, 64, 51, 49, 36, 37, 51, 57, 53, 58, 57, 19, 34, 55, 56], | |
| "ct": [31, 37, 4, 26, 37, 13, 22, 26, 48, 25, 55, 0, 26, 36, 22, 2, 28, 16, 10, 57, 34], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1567, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e74dab8d66c1eefcafdcd4af55fe9879ede30b319f7f1fb4", | |
| "tweak": "62fe56a3b2159178", | |
| "msg": [26, 36, 43, 19, 8, 1, 59, 4, 51, 49, 36, 37, 51, 57, 53, 58, 57, 19, 34, 55, 64], | |
| "ct": [63, 63, 20, 56, 29, 20, 12, 7, 16, 0, 43, 26, 37, 17, 51, 14, 27, 48, 44, 42, 32], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 4, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1568, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "c4acbec2544b6a08d8b24841fc55fccf7450bfd64169fa7dbea965ccae52ac13", | |
| "tweak": "427713fa26fac273", | |
| "msg": [20, 34, 25, 62], | |
| "ct": [12, 40, 15, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1569, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [0, 0, 0, 0], | |
| "ct": [59, 44, 18, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1570, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [63, 63, 63, 63], | |
| "ct": [2, 14, 48, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1571, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [32, 0, 32, 0], | |
| "ct": [37, 55, 52, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1572, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [31, 63, 31, 63], | |
| "ct": [25, 5, 53, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1573, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [21, 19, 52, 31], | |
| "ct": [33, 25, 54, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1574, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [45, 5, 3, 50], | |
| "ct": [43, 39, 41, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1575, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [30, 54, 3, 0], | |
| "ct": [63, 37, 26, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1576, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [39, 8, 39, 45], | |
| "ct": [62, 25, 13, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1577, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [3, 7, 56, 56], | |
| "ct": [39, 12, 35, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1578, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [20, 18, 37, 37], | |
| "ct": [43, 55, 47, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1579, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [28, 4, 44, 6], | |
| "ct": [49, 58, 45, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1580, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [58, 61, 15, 60], | |
| "ct": [6, 29, 24, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1581, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [18, 39, 59, 14], | |
| "ct": [0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1582, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [44, 61, 32, 5], | |
| "ct": [63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1583, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [62, 31, 24, 42], | |
| "ct": [32, 0, 32, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1584, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [0, 16, 32, 4], | |
| "ct": [31, 63, 31, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1585, | |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "848cfa5794238748645bab29fc", | |
| "msg": [50, 10, 45, 21], | |
| "ct": [5, 23, 58, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1586, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "848cfa5794238748645bab29fc", | |
| "msg": [33, 59, 54, 63], | |
| "ct": [19, 25, 16, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1587, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "848cfa5794238748645bab29fc", | |
| "msg": [23, 7, 63, 46], | |
| "ct": [44, 56, 8, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1588, | |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "848cfa5794238748645bab29fc", | |
| "msg": [55, 19, 11, 41], | |
| "ct": [37, 31, 59, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1589, | |
| "comment": "y = 1 and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "1832fb3a845d97a61187a7a4ca", | |
| "msg": [63, 2, 0, 0], | |
| "ct": [48, 26, 60, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1590, | |
| "comment": "y = 1 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "1832fb3a845d97a61187a7a4ca", | |
| "msg": [43, 54, 0, 1], | |
| "ct": [51, 1, 34, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1591, | |
| "comment": "y = 1 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "1832fb3a845d97a61187a7a4ca", | |
| "msg": [62, 58, 32, 0], | |
| "ct": [9, 17, 59, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1592, | |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "1832fb3a845d97a61187a7a4ca", | |
| "msg": [62, 23, 63, 62], | |
| "ct": [38, 29, 50, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1593, | |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "1832fb3a845d97a61187a7a4ca", | |
| "msg": [54, 24, 63, 63], | |
| "ct": [49, 57, 25, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1594, | |
| "comment": "y is maximal and (y + a) % radix**2 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "68b9299082aa5dd11b04469442", | |
| "msg": [60, 39, 22, 5], | |
| "ct": [21, 28, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1595, | |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "68b9299082aa5dd11b04469442", | |
| "msg": [6, 29, 0, 41], | |
| "ct": [21, 28, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1596, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "68b9299082aa5dd11b04469442", | |
| "msg": [12, 39, 32, 40], | |
| "ct": [21, 28, 31, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1597, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "68b9299082aa5dd11b04469442", | |
| "msg": [19, 2, 4, 55], | |
| "ct": [21, 28, 63, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1598, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "09e9b55acc805dc24d1b057c1e", | |
| "msg": [0, 0, 61, 61], | |
| "ct": [8, 25, 60, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1599, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "09e9b55acc805dc24d1b057c1e", | |
| "msg": [0, 1, 61, 61], | |
| "ct": [37, 26, 1, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1600, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "09e9b55acc805dc24d1b057c1e", | |
| "msg": [0, 63, 61, 61], | |
| "ct": [36, 20, 15, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1601, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "09e9b55acc805dc24d1b057c1e", | |
| "msg": [1, 0, 61, 61], | |
| "ct": [0, 49, 38, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1602, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "09e9b55acc805dc24d1b057c1e", | |
| "msg": [32, 0, 61, 61], | |
| "ct": [52, 6, 24, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1603, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "09e9b55acc805dc24d1b057c1e", | |
| "msg": [63, 63, 61, 61], | |
| "ct": [13, 34, 40, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1604, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "c2ebbb1734b3e5a4d567e4059f", | |
| "msg": [16, 56, 27, 29], | |
| "ct": [15, 52, 3, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1605, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "c2ebbb1734b3e5a4d567e4059f", | |
| "msg": [62, 28, 45, 2], | |
| "ct": [54, 30, 24, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1606, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "c2ebbb1734b3e5a4d567e4059f", | |
| "msg": [52, 24, 25, 38], | |
| "ct": [34, 41, 21, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1607, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "c2ebbb1734b3e5a4d567e4059f", | |
| "msg": [46, 21, 1, 27], | |
| "ct": [43, 0, 33, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1608, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a", | |
| "tweak": "498e5d8a4a05d992", | |
| "msg": [-1, 22, 26, 57], | |
| "ct": [49, 15, 5, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1609, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a", | |
| "tweak": "498e5d8a4a05d992", | |
| "msg": [46, -1, 26, 57], | |
| "ct": [25, 14, 16, 23], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1610, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a", | |
| "tweak": "498e5d8a4a05d992", | |
| "msg": [46, 22, 26, -1], | |
| "ct": [49, 41, 27, 15], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1611, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "823d120bebbe190c2ba88451847e57dd32643d14f9e766f197314cf424107b06", | |
| "tweak": "d0fa4c62d52c92e1", | |
| "msg": [64, 12, 24, 37], | |
| "ct": [58, 11, 31, 20], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1612, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "823d120bebbe190c2ba88451847e57dd32643d14f9e766f197314cf424107b06", | |
| "tweak": "d0fa4c62d52c92e1", | |
| "msg": [38, 64, 24, 37], | |
| "ct": [17, 39, 0, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1613, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "823d120bebbe190c2ba88451847e57dd32643d14f9e766f197314cf424107b06", | |
| "tweak": "d0fa4c62d52c92e1", | |
| "msg": [38, 12, 24, 64], | |
| "ct": [36, 18, 17, 39], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 5, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1614, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "7b533301e6a7ac808d56cba45eb385cafec081eac871832d6936e40dfdac432e", | |
| "tweak": "3a8c315a81fe2e71", | |
| "msg": [11, 44, 21, 41, 53], | |
| "ct": [59, 16, 51, 19, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1615, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [0, 0, 0, 0, 0], | |
| "ct": [7, 12, 18, 8, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1616, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [63, 63, 63, 63, 63], | |
| "ct": [1, 57, 10, 38, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1617, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [32, 0, 32, 0, 0], | |
| "ct": [18, 1, 9, 51, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1618, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [31, 63, 31, 63, 63], | |
| "ct": [13, 35, 51, 55, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1619, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [1, 57, 16, 24, 7], | |
| "ct": [30, 29, 11, 24, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1620, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [6, 49, 55, 27, 56], | |
| "ct": [18, 24, 49, 41, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1621, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [17, 44, 40, 41, 7], | |
| "ct": [12, 15, 6, 5, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1622, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [23, 27, 18, 15, 24], | |
| "ct": [39, 21, 37, 39, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1623, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [41, 56, 2, 48, 26], | |
| "ct": [10, 9, 22, 20, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1624, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [0, 17, 56, 26, 26], | |
| "ct": [23, 61, 18, 48, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1625, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [8, 26, 55, 54, 43], | |
| "ct": [31, 56, 45, 3, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1626, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [12, 36, 40, 27, 39], | |
| "ct": [9, 27, 31, 6, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1627, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [50, 59, 28, 58, 45], | |
| "ct": [0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1628, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [48, 48, 15, 2, 32], | |
| "ct": [63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1629, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [35, 50, 45, 39, 3], | |
| "ct": [32, 0, 32, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1630, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [18, 16, 58, 12, 13], | |
| "ct": [31, 63, 31, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1631, | |
| "comment": "y = 1 and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "b1c21006d57f38f4005c5bc6", | |
| "msg": [40, 24, 31, 47, 47], | |
| "ct": [0, 1, 40, 56, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1632, | |
| "comment": "y = 1 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "b1c21006d57f38f4005c5bc6", | |
| "msg": [43, 13, 25, 17, 20], | |
| "ct": [0, 2, 38, 50, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1633, | |
| "comment": "y = 1 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "b1c21006d57f38f4005c5bc6", | |
| "msg": [62, 8, 1, 42, 39], | |
| "ct": [32, 1, 6, 9, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1634, | |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "b1c21006d57f38f4005c5bc6", | |
| "msg": [58, 44, 7, 11, 1], | |
| "ct": [63, 63, 6, 34, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1635, | |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "b1c21006d57f38f4005c5bc6", | |
| "msg": [26, 31, 13, 12, 7], | |
| "ct": [0, 0, 1, 49, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1636, | |
| "comment": "y is maximal and (y + a) % radix**2 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "9b57f9c940e1465e36204f25", | |
| "msg": [0, 0, 53, 28, 6], | |
| "ct": [7, 28, 25, 33, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1637, | |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "9b57f9c940e1465e36204f25", | |
| "msg": [0, 1, 53, 28, 6], | |
| "ct": [21, 14, 5, 58, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1638, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "9b57f9c940e1465e36204f25", | |
| "msg": [32, 0, 53, 28, 6], | |
| "ct": [21, 11, 9, 45, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1639, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "9b57f9c940e1465e36204f25", | |
| "msg": [63, 63, 53, 28, 6], | |
| "ct": [18, 50, 9, 10, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1640, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870", | |
| "tweak": "b69e51a606729a69", | |
| "msg": [-1, 29, 57, 12, 40], | |
| "ct": [55, 23, 37, 38, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1641, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870", | |
| "tweak": "b69e51a606729a69", | |
| "msg": [36, -1, 57, 12, 40], | |
| "ct": [33, 23, 60, 9, 46], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1642, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870", | |
| "tweak": "b69e51a606729a69", | |
| "msg": [36, 29, 57, 12, -1], | |
| "ct": [48, 25, 57, 9, 38], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1643, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "373c15eab42a13c7f9d92cab023cda3635ad60779cc0fc39dfbcb3d25d6a11ea", | |
| "tweak": "3de44b2b75f1e0b3", | |
| "msg": [64, 31, 5, 59, 35], | |
| "ct": [38, 5, 24, 24, 42], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1644, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "373c15eab42a13c7f9d92cab023cda3635ad60779cc0fc39dfbcb3d25d6a11ea", | |
| "tweak": "3de44b2b75f1e0b3", | |
| "msg": [12, 64, 5, 59, 35], | |
| "ct": [38, 60, 18, 14, 38], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1645, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "373c15eab42a13c7f9d92cab023cda3635ad60779cc0fc39dfbcb3d25d6a11ea", | |
| "tweak": "3de44b2b75f1e0b3", | |
| "msg": [12, 31, 5, 59, 64], | |
| "ct": [37, 31, 31, 55, 40], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 6, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1646, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "d82810eea883aa693dafbad9520a23919e6d5eadef78b28226daca2af64a68e5", | |
| "tweak": "44bbec52bad40a55", | |
| "msg": [33, 1, 27, 33, 19, 4], | |
| "ct": [29, 1, 41, 37, 7, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1647, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [0, 0, 0, 0, 0, 0], | |
| "ct": [22, 54, 12, 44, 5, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1648, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [63, 63, 63, 63, 63, 63], | |
| "ct": [20, 26, 27, 15, 10, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1649, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [32, 0, 0, 32, 0, 0], | |
| "ct": [18, 36, 26, 5, 45, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1650, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [31, 63, 63, 31, 63, 63], | |
| "ct": [57, 53, 62, 40, 40, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1651, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [19, 53, 10, 47, 27, 10], | |
| "ct": [3, 23, 48, 21, 51, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1652, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [62, 52, 11, 54, 35, 32], | |
| "ct": [2, 3, 19, 59, 55, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1653, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [28, 7, 44, 44, 31, 4], | |
| "ct": [45, 44, 30, 7, 27, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1654, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [33, 25, 12, 38, 45, 36], | |
| "ct": [31, 48, 61, 21, 21, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1655, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [21, 31, 35, 6, 58, 18], | |
| "ct": [12, 27, 33, 59, 31, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1656, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [24, 16, 14, 7, 38, 19], | |
| "ct": [44, 57, 6, 16, 54, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1657, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [26, 9, 10, 63, 5, 30], | |
| "ct": [29, 62, 30, 63, 61, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1658, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [25, 25, 19, 7, 21, 40], | |
| "ct": [26, 9, 29, 36, 16, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1659, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [14, 20, 36, 42, 58, 30], | |
| "ct": [0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1660, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [16, 5, 43, 24, 48, 2], | |
| "ct": [63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1661, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [13, 49, 22, 10, 1, 37], | |
| "ct": [32, 0, 0, 32, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1662, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [7, 23, 35, 19, 19, 53], | |
| "ct": [31, 63, 63, 31, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1663, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "94cf98dc1296c90ce5aa5e53", | |
| "msg": [45, 55, 20, 42, 41, 4], | |
| "ct": [1, 16, 3, 42, 12, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1664, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "94cf98dc1296c90ce5aa5e53", | |
| "msg": [62, 15, 3, 32, 0, 31], | |
| "ct": [33, 12, 55, 28, 15, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1665, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "94cf98dc1296c90ce5aa5e53", | |
| "msg": [61, 33, 54, 47, 30, 10], | |
| "ct": [25, 61, 0, 12, 22, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1666, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "94cf98dc1296c90ce5aa5e53", | |
| "msg": [6, 2, 29, 24, 46, 60], | |
| "ct": [9, 45, 16, 0, 9, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1667, | |
| "comment": "y = 1 and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "606abe267eba204d7b9c3625", | |
| "msg": [21, 61, 43, 0, 0, 0], | |
| "ct": [10, 10, 18, 47, 52, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1668, | |
| "comment": "y = 1 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "606abe267eba204d7b9c3625", | |
| "msg": [6, 62, 17, 0, 0, 1], | |
| "ct": [59, 50, 24, 60, 33, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1669, | |
| "comment": "y = 1 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "606abe267eba204d7b9c3625", | |
| "msg": [46, 62, 17, 32, 0, 0], | |
| "ct": [26, 62, 42, 22, 62, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1670, | |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "606abe267eba204d7b9c3625", | |
| "msg": [34, 3, 53, 63, 63, 62], | |
| "ct": [55, 4, 44, 25, 25, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1671, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "606abe267eba204d7b9c3625", | |
| "msg": [9, 38, 20, 63, 63, 63], | |
| "ct": [24, 2, 53, 55, 35, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1672, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "3fc64ece391879d48c493221", | |
| "msg": [60, 43, 45, 60, 5, 39], | |
| "ct": [8, 13, 38, 27, 57, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1673, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "3fc64ece391879d48c493221", | |
| "msg": [56, 0, 60, 57, 36, 13], | |
| "ct": [6, 39, 15, 38, 18, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1674, | |
| "comment": "y is maximal and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "3fc64ece391879d48c493221", | |
| "msg": [7, 43, 43, 15, 41, 24], | |
| "ct": [59, 56, 25, 22, 55, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1675, | |
| "comment": "y is maximal and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "3fc64ece391879d48c493221", | |
| "msg": [57, 18, 38, 39, 60, 31], | |
| "ct": [22, 57, 4, 19, 37, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1676, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "4c3fb9f85bdc14ca9d4cf583", | |
| "msg": [0, 0, 0, 35, 1, 11], | |
| "ct": [49, 4, 18, 26, 48, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1677, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "4c3fb9f85bdc14ca9d4cf583", | |
| "msg": [0, 0, 1, 35, 1, 11], | |
| "ct": [45, 33, 18, 3, 24, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1678, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "4c3fb9f85bdc14ca9d4cf583", | |
| "msg": [0, 0, 63, 35, 1, 11], | |
| "ct": [50, 36, 22, 32, 57, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1679, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "4c3fb9f85bdc14ca9d4cf583", | |
| "msg": [0, 1, 0, 35, 1, 11], | |
| "ct": [23, 27, 52, 60, 57, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1680, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "4c3fb9f85bdc14ca9d4cf583", | |
| "msg": [32, 0, 0, 35, 1, 11], | |
| "ct": [34, 52, 47, 5, 42, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1681, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "4c3fb9f85bdc14ca9d4cf583", | |
| "msg": [63, 63, 63, 35, 1, 11], | |
| "ct": [34, 16, 23, 33, 59, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1682, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "bbe17a3f52266ca030dc11f5", | |
| "msg": [32, 8, 27, 9, 50, 25], | |
| "ct": [58, 0, 54, 22, 9, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1683, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "bbe17a3f52266ca030dc11f5", | |
| "msg": [11, 17, 18, 40, 33, 62], | |
| "ct": [46, 63, 20, 0, 33, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1684, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "bbe17a3f52266ca030dc11f5", | |
| "msg": [23, 21, 24, 19, 0, 55], | |
| "ct": [44, 15, 44, 6, 53, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1685, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "bbe17a3f52266ca030dc11f5", | |
| "msg": [10, 48, 41, 15, 5, 58], | |
| "ct": [26, 5, 39, 41, 7, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1686, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", | |
| "tweak": "bf692e602f57a277", | |
| "msg": [-1, 47, 54, 10, 53, 43], | |
| "ct": [11, 45, 55, 55, 24, 18], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1687, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", | |
| "tweak": "bf692e602f57a277", | |
| "msg": [26, 47, -1, 10, 53, 43], | |
| "ct": [3, 15, 24, 4, 8, 16], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1688, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", | |
| "tweak": "bf692e602f57a277", | |
| "msg": [26, 47, 54, 10, 53, -1], | |
| "ct": [2, 0, 10, 57, 1, 27], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1689, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "624a1638bd7b0ffc1d9da835f2789160105b33725ad27c24d1622a8abe7ed162", | |
| "tweak": "5c01f8b63439d7d2", | |
| "msg": [64, 33, 23, 48, 60, 47], | |
| "ct": [40, 8, 46, 9, 54, 58], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1690, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "624a1638bd7b0ffc1d9da835f2789160105b33725ad27c24d1622a8abe7ed162", | |
| "tweak": "5c01f8b63439d7d2", | |
| "msg": [3, 33, 64, 48, 60, 47], | |
| "ct": [7, 9, 18, 57, 5, 9], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1691, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "624a1638bd7b0ffc1d9da835f2789160105b33725ad27c24d1622a8abe7ed162", | |
| "tweak": "5c01f8b63439d7d2", | |
| "msg": [3, 33, 23, 48, 60, 64], | |
| "ct": [52, 29, 52, 20, 45, 1], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 7, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1692, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "647b69567516a585377f3fc9a8129c255431b0b5ab6792f9aa3fd646f3146b13", | |
| "tweak": "39774b45a4fdd85b", | |
| "msg": [17, 62, 43, 42, 61, 43, 2], | |
| "ct": [53, 53, 18, 58, 17, 61, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1693, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [0, 0, 0, 0, 0, 0, 0], | |
| "ct": [46, 18, 34, 41, 15, 43, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1694, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [63, 63, 63, 63, 63, 63, 63], | |
| "ct": [9, 33, 10, 58, 54, 54, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1695, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [32, 0, 0, 32, 0, 0, 0], | |
| "ct": [42, 36, 26, 26, 44, 5, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1696, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [31, 63, 63, 31, 63, 63, 63], | |
| "ct": [29, 22, 0, 33, 20, 22, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1697, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [6, 27, 27, 15, 13, 8, 15], | |
| "ct": [32, 24, 32, 22, 56, 25, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1698, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [61, 59, 53, 29, 37, 7, 8], | |
| "ct": [20, 21, 43, 60, 26, 30, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1699, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [2, 60, 27, 12, 55, 26, 38], | |
| "ct": [35, 27, 14, 2, 31, 9, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1700, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [37, 33, 23, 50, 42, 18, 22], | |
| "ct": [3, 30, 56, 20, 45, 4, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1701, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [53, 22, 48, 22, 19, 29, 32], | |
| "ct": [48, 1, 50, 54, 38, 57, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1702, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [56, 10, 51, 60, 32, 9, 13], | |
| "ct": [19, 63, 15, 42, 23, 17, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1703, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [38, 60, 21, 49, 1, 25, 6], | |
| "ct": [6, 39, 50, 54, 11, 51, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1704, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [27, 7, 8, 49, 19, 24, 6], | |
| "ct": [23, 36, 42, 54, 37, 8, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1705, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [29, 62, 0, 4, 6, 25, 54], | |
| "ct": [0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1706, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [3, 8, 42, 19, 27, 33, 60], | |
| "ct": [63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1707, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [54, 1, 6, 29, 14, 41, 31], | |
| "ct": [32, 0, 0, 32, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1708, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [22, 62, 28, 24, 9, 32, 45], | |
| "ct": [31, 63, 63, 31, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1709, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "bf7f9520bed35e723cc62a73", | |
| "msg": [0, 0, 0, 19, 17, 56, 3], | |
| "ct": [45, 20, 27, 6, 44, 61, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1710, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "bf7f9520bed35e723cc62a73", | |
| "msg": [0, 0, 1, 19, 17, 56, 3], | |
| "ct": [15, 18, 16, 63, 50, 2, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1711, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "bf7f9520bed35e723cc62a73", | |
| "msg": [32, 0, 0, 19, 17, 56, 3], | |
| "ct": [61, 59, 13, 4, 11, 2, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1712, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "bf7f9520bed35e723cc62a73", | |
| "msg": [63, 63, 63, 19, 17, 56, 3], | |
| "ct": [48, 47, 36, 8, 31, 43, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1713, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "6740c3a6598f316797963127", | |
| "msg": [44, 7, 23, 39, 33, 22, 36], | |
| "ct": [18, 62, 54, 6, 49, 9, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1714, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "6740c3a6598f316797963127", | |
| "msg": [19, 34, 16, 4, 28, 9, 43], | |
| "ct": [39, 33, 36, 32, 6, 13, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1715, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "6740c3a6598f316797963127", | |
| "msg": [31, 61, 57, 53, 22, 33, 56], | |
| "ct": [27, 53, 9, 2, 11, 63, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1716, | |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "6740c3a6598f316797963127", | |
| "msg": [27, 56, 31, 32, 53, 33, 49], | |
| "ct": [36, 39, 24, 19, 63, 0, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1717, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "6740c3a6598f316797963127", | |
| "msg": [43, 53, 5, 13, 33, 40, 2], | |
| "ct": [48, 57, 34, 36, 40, 60, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1718, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "feaf5bb67ed9453670c88da2", | |
| "msg": [62, 0, 31, 33, 19, 5, 20], | |
| "ct": [58, 33, 10, 22, 29, 62, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1719, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "feaf5bb67ed9453670c88da2", | |
| "msg": [30, 13, 20, 6, 55, 28, 33], | |
| "ct": [13, 43, 9, 43, 62, 25, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1720, | |
| "comment": "y is maximal and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "feaf5bb67ed9453670c88da2", | |
| "msg": [27, 29, 46, 29, 36, 57, 8], | |
| "ct": [50, 33, 57, 49, 58, 5, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1721, | |
| "comment": "y is maximal and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "feaf5bb67ed9453670c88da2", | |
| "msg": [34, 42, 29, 49, 14, 1, 27], | |
| "ct": [44, 55, 7, 13, 51, 32, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1722, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "f88e2aa8796fe2341321955e", | |
| "msg": [0, 0, 0, 14, 15, 22, 13], | |
| "ct": [25, 12, 32, 59, 20, 14, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1723, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "f88e2aa8796fe2341321955e", | |
| "msg": [0, 0, 1, 14, 15, 22, 13], | |
| "ct": [26, 44, 10, 13, 49, 31, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1724, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "f88e2aa8796fe2341321955e", | |
| "msg": [0, 0, 63, 14, 15, 22, 13], | |
| "ct": [17, 4, 33, 1, 62, 61, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1725, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "f88e2aa8796fe2341321955e", | |
| "msg": [0, 1, 0, 14, 15, 22, 13], | |
| "ct": [14, 34, 43, 5, 18, 12, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1726, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "f88e2aa8796fe2341321955e", | |
| "msg": [32, 0, 0, 14, 15, 22, 13], | |
| "ct": [36, 1, 45, 28, 32, 24, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1727, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "f88e2aa8796fe2341321955e", | |
| "msg": [63, 63, 63, 14, 15, 22, 13], | |
| "ct": [25, 8, 29, 20, 41, 23, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1728, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "dec242440c926012b0f4662f", | |
| "msg": [38, 20, 52, 24, 11, 33, 37], | |
| "ct": [41, 7, 41, 58, 5, 58, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1729, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "dec242440c926012b0f4662f", | |
| "msg": [34, 33, 56, 1, 52, 33, 38], | |
| "ct": [5, 55, 40, 49, 11, 3, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1730, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "dec242440c926012b0f4662f", | |
| "msg": [33, 19, 10, 18, 55, 10, 42], | |
| "ct": [32, 4, 55, 40, 48, 52, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1731, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "dec242440c926012b0f4662f", | |
| "msg": [35, 22, 9, 26, 6, 12, 0], | |
| "ct": [14, 40, 30, 29, 22, 14, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1732, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", | |
| "tweak": "c5df6cad17b46d67", | |
| "msg": [-1, 63, 50, 45, 55, 49, 6], | |
| "ct": [25, 48, 13, 56, 21, 63, 38], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1733, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", | |
| "tweak": "c5df6cad17b46d67", | |
| "msg": [11, 63, -1, 45, 55, 49, 6], | |
| "ct": [42, 54, 40, 10, 16, 25, 41], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1734, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", | |
| "tweak": "c5df6cad17b46d67", | |
| "msg": [11, 63, 50, 45, 55, 49, -1], | |
| "ct": [35, 28, 33, 53, 54, 41, 29], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1735, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8dbb4c7d4fe3061682fefb34aec633846536750ba975779568fc1241e3842734", | |
| "tweak": "74085729a2edf784", | |
| "msg": [64, 27, 10, 9, 6, 30, 58], | |
| "ct": [11, 2, 20, 17, 28, 55, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1736, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8dbb4c7d4fe3061682fefb34aec633846536750ba975779568fc1241e3842734", | |
| "tweak": "74085729a2edf784", | |
| "msg": [50, 27, 64, 9, 6, 30, 58], | |
| "ct": [61, 1, 1, 30, 9, 47, 22], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1737, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8dbb4c7d4fe3061682fefb34aec633846536750ba975779568fc1241e3842734", | |
| "tweak": "74085729a2edf784", | |
| "msg": [50, 27, 10, 9, 6, 30, 64], | |
| "ct": [31, 20, 31, 56, 55, 56, 56], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 8, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1738, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "066c6a83fd826a5fa7f3b4025bb9c833befa12044d3fbed87280a4c7a0435b03", | |
| "tweak": "80650ae5bc5e1bb1", | |
| "msg": [55, 38, 42, 12, 33, 19, 53, 62], | |
| "ct": [14, 44, 22, 48, 16, 33, 6, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1739, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [18, 4, 9, 62, 60, 30, 22, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1740, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [6, 53, 26, 41, 34, 14, 0, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1741, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [32, 0, 0, 0, 32, 0, 0, 0], | |
| "ct": [23, 7, 2, 26, 28, 48, 42, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1742, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [31, 63, 63, 63, 31, 63, 63, 63], | |
| "ct": [52, 42, 46, 9, 22, 4, 46, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1743, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [49, 59, 49, 12, 35, 61, 50, 33], | |
| "ct": [63, 10, 5, 35, 19, 62, 46, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1744, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [48, 4, 61, 59, 46, 29, 1, 13], | |
| "ct": [21, 25, 25, 34, 8, 24, 1, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1745, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [49, 46, 35, 41, 24, 38, 26, 4], | |
| "ct": [9, 11, 55, 2, 41, 27, 18, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1746, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [34, 29, 43, 37, 29, 7, 51, 19], | |
| "ct": [33, 22, 7, 11, 32, 18, 31, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1747, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [20, 9, 53, 16, 52, 33, 50, 2], | |
| "ct": [32, 54, 22, 54, 58, 9, 15, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1748, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [57, 52, 12, 49, 18, 19, 11, 43], | |
| "ct": [38, 35, 8, 19, 30, 6, 43, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1749, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [16, 33, 34, 21, 32, 17, 35, 4], | |
| "ct": [51, 59, 38, 57, 11, 17, 0, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1750, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [23, 4, 56, 32, 48, 51, 11, 4], | |
| "ct": [8, 28, 0, 14, 56, 31, 23, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1751, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [61, 19, 23, 52, 62, 3, 34, 2], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1752, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [7, 39, 49, 26, 29, 53, 36, 60], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1753, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [14, 32, 60, 41, 44, 46, 2, 38], | |
| "ct": [32, 0, 0, 0, 32, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1754, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [15, 7, 28, 13, 14, 22, 24, 12], | |
| "ct": [31, 63, 63, 63, 31, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1755, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "4d05185accf93dcec6295d0c", | |
| "msg": [0, 0, 0, 0, 15, 63, 9, 56], | |
| "ct": [2, 53, 14, 43, 37, 35, 50, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1756, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "4d05185accf93dcec6295d0c", | |
| "msg": [0, 0, 0, 1, 15, 63, 9, 56], | |
| "ct": [25, 24, 36, 31, 4, 50, 27, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1757, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "4d05185accf93dcec6295d0c", | |
| "msg": [32, 0, 0, 0, 15, 63, 9, 56], | |
| "ct": [48, 23, 62, 56, 16, 58, 26, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1758, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "4d05185accf93dcec6295d0c", | |
| "msg": [63, 63, 63, 63, 15, 63, 9, 56], | |
| "ct": [42, 50, 25, 48, 47, 7, 28, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1759, | |
| "comment": "y = 1 and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "8cab9a4646e877549d5f1391", | |
| "msg": [37, 29, 12, 7, 54, 43, 39, 30], | |
| "ct": [0, 0, 0, 1, 29, 33, 36, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1760, | |
| "comment": "y = 1 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "8cab9a4646e877549d5f1391", | |
| "msg": [30, 31, 35, 33, 39, 10, 0, 10], | |
| "ct": [0, 0, 0, 2, 63, 43, 50, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1761, | |
| "comment": "y = 1 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "8cab9a4646e877549d5f1391", | |
| "msg": [21, 30, 43, 58, 39, 13, 33, 2], | |
| "ct": [32, 0, 0, 1, 37, 32, 52, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1762, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "8cab9a4646e877549d5f1391", | |
| "msg": [22, 49, 51, 25, 4, 2, 33, 38], | |
| "ct": [63, 63, 63, 63, 47, 49, 6, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1763, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "8cab9a4646e877549d5f1391", | |
| "msg": [17, 3, 33, 41, 52, 21, 61, 28], | |
| "ct": [0, 0, 0, 0, 37, 15, 49, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1764, | |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "9bd623043d3f78e6e731613f", | |
| "msg": [42, 56, 33, 51, 45, 44, 23, 50], | |
| "ct": [1, 30, 16, 33, 41, 35, 50, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1765, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "9bd623043d3f78e6e731613f", | |
| "msg": [43, 47, 58, 31, 40, 35, 56, 46], | |
| "ct": [63, 62, 23, 18, 37, 52, 15, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1766, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "9bd623043d3f78e6e731613f", | |
| "msg": [17, 50, 63, 26, 27, 42, 59, 59], | |
| "ct": [13, 18, 41, 4, 28, 2, 5, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1767, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "9bd623043d3f78e6e731613f", | |
| "msg": [13, 47, 21, 2, 19, 14, 23, 28], | |
| "ct": [42, 58, 28, 7, 38, 39, 29, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1768, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "5f7d68f76902604eae277fb5", | |
| "msg": [4, 12, 25, 57, 52, 40, 14, 57], | |
| "ct": [16, 45, 13, 20, 54, 11, 42, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1769, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "5f7d68f76902604eae277fb5", | |
| "msg": [48, 55, 34, 34, 51, 5, 25, 43], | |
| "ct": [31, 8, 43, 38, 41, 4, 7, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1770, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "5f7d68f76902604eae277fb5", | |
| "msg": [28, 24, 17, 2, 31, 37, 12, 18], | |
| "ct": [28, 1, 36, 49, 49, 55, 31, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1771, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "5f7d68f76902604eae277fb5", | |
| "msg": [50, 32, 37, 17, 12, 62, 60, 12], | |
| "ct": [23, 3, 7, 32, 49, 28, 53, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1772, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "5f7d68f76902604eae277fb5", | |
| "msg": [63, 38, 23, 0, 21, 41, 48, 52], | |
| "ct": [4, 1, 4, 56, 29, 43, 19, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1773, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "5f7d68f76902604eae277fb5", | |
| "msg": [55, 29, 18, 62, 51, 62, 37, 37], | |
| "ct": [34, 5, 59, 53, 32, 39, 60, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1774, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "0a719462c6a23ee4c3f19487", | |
| "msg": [40, 52, 25, 18, 7, 0, 45, 49], | |
| "ct": [49, 42, 58, 26, 16, 57, 10, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1775, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "0a719462c6a23ee4c3f19487", | |
| "msg": [49, 46, 2, 29, 37, 20, 26, 50], | |
| "ct": [45, 44, 33, 54, 53, 18, 35, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1776, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "0a719462c6a23ee4c3f19487", | |
| "msg": [32, 58, 12, 21, 46, 34, 7, 12], | |
| "ct": [58, 11, 31, 59, 0, 12, 25, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1777, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "0a719462c6a23ee4c3f19487", | |
| "msg": [1, 36, 54, 7, 9, 1, 31, 51], | |
| "ct": [30, 40, 45, 3, 44, 38, 47, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1778, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", | |
| "tweak": "55d9bf63cd98d552", | |
| "msg": [-1, 9, 32, 19, 36, 46, 29, 11], | |
| "ct": [25, 57, 19, 1, 43, 2, 40, 49], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1779, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", | |
| "tweak": "55d9bf63cd98d552", | |
| "msg": [53, 9, -1, 19, 36, 46, 29, 11], | |
| "ct": [9, 42, 44, 51, 44, 0, 44, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1780, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", | |
| "tweak": "55d9bf63cd98d552", | |
| "msg": [53, 9, 32, 19, 36, 46, 29, -1], | |
| "ct": [8, 5, 4, 60, 4, 26, 29, 55], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1781, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "add8211055961513f657ea95b45f3bc052b3a13335ef90019737277661d33c63", | |
| "tweak": "a965aaa487dba02f", | |
| "msg": [64, 30, 5, 39, 54, 52, 38, 29], | |
| "ct": [17, 41, 50, 42, 15, 53, 16, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1782, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "add8211055961513f657ea95b45f3bc052b3a13335ef90019737277661d33c63", | |
| "tweak": "a965aaa487dba02f", | |
| "msg": [42, 30, 64, 39, 54, 52, 38, 29], | |
| "ct": [12, 16, 35, 38, 55, 10, 5, 16], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1783, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "add8211055961513f657ea95b45f3bc052b3a13335ef90019737277661d33c63", | |
| "tweak": "a965aaa487dba02f", | |
| "msg": [42, 30, 5, 39, 54, 52, 38, 64], | |
| "ct": [42, 23, 34, 51, 45, 54, 4, 62], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 9, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1784, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f44f1e998316e5fe6f5c6f8d89919428d692d931130409c41ba4955dfc4c8c14", | |
| "tweak": "387c0277bb97fa8e", | |
| "msg": [23, 29, 44, 26, 58, 50, 39, 2, 4], | |
| "ct": [35, 13, 38, 25, 47, 6, 42, 33, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1785, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [59, 35, 59, 63, 41, 3, 19, 36, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1786, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [32, 7, 30, 20, 61, 44, 29, 26, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1787, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [32, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "ct": [7, 16, 58, 28, 19, 44, 20, 39, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1788, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [31, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "ct": [61, 10, 50, 31, 15, 25, 7, 20, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1789, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [1, 57, 58, 50, 59, 2, 49, 4, 15], | |
| "ct": [57, 52, 24, 4, 46, 2, 58, 28, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1790, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [61, 8, 56, 23, 8, 40, 46, 17, 31], | |
| "ct": [2, 23, 19, 62, 0, 58, 25, 33, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1791, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [19, 46, 1, 28, 15, 58, 24, 22, 31], | |
| "ct": [29, 13, 56, 18, 27, 32, 4, 27, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1792, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [3, 56, 25, 0, 63, 48, 30, 51, 18], | |
| "ct": [62, 41, 49, 23, 42, 45, 5, 50, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1793, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [63, 14, 11, 63, 38, 0, 1, 56, 46], | |
| "ct": [3, 32, 38, 5, 59, 47, 27, 56, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1794, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [37, 4, 31, 17, 27, 62, 41, 27, 2], | |
| "ct": [24, 48, 61, 29, 15, 14, 20, 54, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1795, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [61, 12, 31, 35, 56, 24, 13, 29, 36], | |
| "ct": [58, 20, 32, 44, 16, 27, 52, 24, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1796, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [60, 8, 50, 63, 60, 63, 60, 20, 44], | |
| "ct": [22, 10, 44, 50, 0, 34, 2, 4, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1797, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [50, 15, 21, 44, 8, 9, 61, 41, 16], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1798, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [60, 27, 0, 48, 62, 24, 45, 30, 38], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1799, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [48, 38, 9, 42, 34, 44, 50, 51, 4], | |
| "ct": [32, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1800, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [2, 20, 28, 44, 0, 7, 23, 15, 49], | |
| "ct": [31, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1801, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "d7cbdffd8cc49f062edf0c", | |
| "msg": [58, 10, 27, 0, 59, 39, 21, 12, 40], | |
| "ct": [14, 5, 50, 58, 10, 6, 57, 59, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1802, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "d7cbdffd8cc49f062edf0c", | |
| "msg": [8, 12, 12, 3, 51, 13, 35, 49, 32], | |
| "ct": [8, 23, 63, 55, 1, 54, 1, 62, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1803, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "d7cbdffd8cc49f062edf0c", | |
| "msg": [53, 31, 62, 63, 37, 58, 8, 10, 32], | |
| "ct": [53, 47, 63, 43, 40, 51, 54, 30, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1804, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "d7cbdffd8cc49f062edf0c", | |
| "msg": [16, 60, 34, 44, 29, 55, 48, 56, 12], | |
| "ct": [46, 34, 12, 43, 38, 3, 37, 16, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1805, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "83f0da525f33a909804250", | |
| "msg": [30, 34, 3, 17, 32, 47, 33, 31, 30], | |
| "ct": [28, 50, 42, 62, 18, 62, 46, 45, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1806, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "83f0da525f33a909804250", | |
| "msg": [48, 6, 0, 57, 24, 40, 18, 48, 29], | |
| "ct": [58, 5, 15, 8, 56, 54, 37, 58, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1807, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "83f0da525f33a909804250", | |
| "msg": [30, 29, 62, 12, 56, 14, 5, 30, 4], | |
| "ct": [32, 9, 9, 47, 30, 17, 25, 32, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1808, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "83f0da525f33a909804250", | |
| "msg": [25, 44, 60, 10, 21, 46, 5, 56, 31], | |
| "ct": [60, 0, 11, 38, 49, 3, 8, 60, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1809, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "83f0da525f33a909804250", | |
| "msg": [41, 58, 11, 32, 40, 26, 16, 43, 48], | |
| "ct": [41, 15, 49, 8, 4, 51, 8, 10, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1810, | |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "4cb6e36c188bce0f2c926b", | |
| "msg": [0, 0, 0, 0, 23, 17, 42, 0, 11], | |
| "ct": [56, 22, 35, 6, 25, 31, 24, 15, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1811, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "4cb6e36c188bce0f2c926b", | |
| "msg": [0, 0, 0, 1, 23, 17, 42, 0, 11], | |
| "ct": [27, 25, 39, 11, 37, 57, 9, 57, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1812, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "4cb6e36c188bce0f2c926b", | |
| "msg": [32, 0, 0, 0, 23, 17, 42, 0, 11], | |
| "ct": [38, 43, 9, 63, 49, 43, 43, 36, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1813, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "4cb6e36c188bce0f2c926b", | |
| "msg": [63, 63, 63, 63, 23, 17, 42, 0, 11], | |
| "ct": [37, 46, 8, 40, 10, 7, 54, 7, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1814, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "e028c55e964644b845e5ca", | |
| "msg": [47, 27, 39, 43, 52, 36, 27, 34, 17], | |
| "ct": [20, 11, 37, 1, 29, 42, 61, 44, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1815, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "e028c55e964644b845e5ca", | |
| "msg": [18, 9, 3, 0, 31, 43, 21, 50, 14], | |
| "ct": [9, 20, 32, 56, 13, 19, 50, 42, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1816, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "e028c55e964644b845e5ca", | |
| "msg": [46, 54, 24, 41, 16, 20, 9, 1, 37], | |
| "ct": [0, 54, 42, 37, 52, 43, 20, 11, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1817, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "e028c55e964644b845e5ca", | |
| "msg": [8, 51, 50, 45, 54, 51, 20, 25, 50], | |
| "ct": [48, 31, 8, 0, 33, 50, 56, 13, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1818, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "e028c55e964644b845e5ca", | |
| "msg": [23, 37, 54, 62, 34, 43, 6, 30, 62], | |
| "ct": [30, 26, 11, 2, 60, 56, 56, 2, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1819, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "e028c55e964644b845e5ca", | |
| "msg": [5, 29, 45, 63, 22, 62, 26, 44, 57], | |
| "ct": [31, 23, 60, 27, 23, 31, 35, 14, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1820, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "2854ed0c820c381594652f", | |
| "msg": [0, 0, 0, 0, 4, 8, 63, 37, 31], | |
| "ct": [63, 13, 52, 25, 33, 22, 54, 59, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1821, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "2854ed0c820c381594652f", | |
| "msg": [0, 0, 0, 1, 4, 8, 63, 37, 31], | |
| "ct": [2, 34, 19, 12, 55, 34, 49, 15, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1822, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "2854ed0c820c381594652f", | |
| "msg": [32, 0, 0, 0, 4, 8, 63, 37, 31], | |
| "ct": [13, 38, 50, 13, 55, 16, 55, 56, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1823, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "2854ed0c820c381594652f", | |
| "msg": [63, 63, 63, 63, 4, 8, 63, 37, 31], | |
| "ct": [63, 58, 62, 48, 36, 28, 14, 35, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1824, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", | |
| "tweak": "5aa849326a17e15a", | |
| "msg": [-1, 14, 51, 16, 17, 44, 4, 17, 40], | |
| "ct": [19, 61, 26, 59, 21, 45, 50, 46, 20], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1825, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", | |
| "tweak": "5aa849326a17e15a", | |
| "msg": [25, 14, 51, -1, 17, 44, 4, 17, 40], | |
| "ct": [63, 1, 12, 0, 38, 57, 40, 23, 17], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1826, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", | |
| "tweak": "5aa849326a17e15a", | |
| "msg": [25, 14, 51, 16, 17, 44, 4, 17, -1], | |
| "ct": [22, 8, 35, 30, 53, 20, 19, 50, 31], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1827, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5d239aad83014150f0f19b8c63326b69c3d0633a66f87040ccf0f2cd082be27c", | |
| "tweak": "070c44d048ccd3bd", | |
| "msg": [64, 20, 5, 24, 20, 58, 52, 41, 53], | |
| "ct": [32, 4, 42, 52, 23, 26, 18, 11, 60], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1828, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5d239aad83014150f0f19b8c63326b69c3d0633a66f87040ccf0f2cd082be27c", | |
| "tweak": "070c44d048ccd3bd", | |
| "msg": [32, 20, 5, 64, 20, 58, 52, 41, 53], | |
| "ct": [55, 24, 62, 27, 59, 53, 35, 3, 2], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1829, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5d239aad83014150f0f19b8c63326b69c3d0633a66f87040ccf0f2cd082be27c", | |
| "tweak": "070c44d048ccd3bd", | |
| "msg": [32, 20, 5, 24, 20, 58, 52, 41, 64], | |
| "ct": [60, 63, 29, 51, 24, 46, 35, 25, 21], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 10, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1830, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "267c361cd190db6be369183a3b1a71601103f958cd6b791112928244c9402939", | |
| "tweak": "d00249da9e347109", | |
| "msg": [52, 18, 5, 21, 17, 10, 15, 9, 40, 5], | |
| "ct": [61, 27, 28, 41, 14, 41, 24, 63, 15, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1831, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [44, 11, 36, 45, 21, 24, 18, 32, 23, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1832, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [27, 12, 19, 15, 11, 63, 57, 9, 35, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1833, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "ct": [35, 55, 17, 53, 33, 43, 46, 62, 2, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1834, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "ct": [45, 62, 42, 27, 17, 27, 60, 50, 60, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1835, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [56, 47, 28, 39, 36, 21, 49, 23, 13, 10], | |
| "ct": [29, 4, 19, 58, 35, 11, 61, 7, 8, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1836, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [39, 29, 27, 17, 53, 23, 22, 60, 24, 11], | |
| "ct": [19, 24, 46, 38, 4, 33, 53, 5, 3, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1837, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [1, 58, 58, 0, 25, 9, 40, 59, 35, 44], | |
| "ct": [27, 25, 43, 44, 33, 4, 50, 9, 5, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1838, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [52, 32, 60, 33, 63, 29, 54, 28, 43, 38], | |
| "ct": [21, 8, 37, 59, 63, 0, 36, 27, 28, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1839, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [58, 31, 6, 20, 28, 23, 49, 45, 34, 46], | |
| "ct": [28, 63, 24, 22, 2, 2, 60, 5, 41, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1840, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [36, 15, 27, 23, 56, 7, 5, 5, 31, 0], | |
| "ct": [28, 50, 38, 8, 35, 51, 36, 16, 23, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1841, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [57, 27, 41, 24, 49, 42, 6, 54, 15, 29], | |
| "ct": [41, 55, 18, 53, 57, 25, 55, 35, 47, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1842, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [61, 44, 45, 43, 62, 13, 22, 11, 7, 23], | |
| "ct": [0, 42, 37, 51, 43, 34, 1, 58, 29, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1843, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [31, 55, 34, 62, 33, 32, 56, 61, 49, 55], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1844, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [15, 31, 46, 8, 12, 27, 48, 45, 23, 11], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1845, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [61, 56, 25, 0, 15, 39, 23, 24, 22, 14], | |
| "ct": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1846, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [29, 42, 6, 12, 21, 38, 28, 34, 8, 28], | |
| "ct": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1847, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "4966f38e9c60eec1e6c542", | |
| "msg": [27, 61, 39, 49, 48, 23, 1, 59, 5, 53], | |
| "ct": [50, 63, 61, 24, 20, 30, 53, 52, 43, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1848, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "4966f38e9c60eec1e6c542", | |
| "msg": [56, 23, 10, 19, 28, 12, 53, 7, 29, 28], | |
| "ct": [28, 8, 12, 8, 53, 61, 34, 16, 12, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1849, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "4966f38e9c60eec1e6c542", | |
| "msg": [8, 47, 22, 62, 21, 38, 2, 61, 45, 61], | |
| "ct": [7, 51, 3, 26, 2, 59, 11, 42, 6, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1850, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "4966f38e9c60eec1e6c542", | |
| "msg": [31, 7, 42, 14, 62, 54, 34, 6, 28, 61], | |
| "ct": [45, 19, 7, 1, 45, 44, 60, 29, 4, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1851, | |
| "comment": "y = 1 and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "8a5a876b70d7dbda8a3832", | |
| "msg": [8, 55, 39, 7, 24, 8, 28, 14, 44, 44], | |
| "ct": [61, 60, 20, 37, 63, 52, 39, 25, 51, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1852, | |
| "comment": "y = 1 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "8a5a876b70d7dbda8a3832", | |
| "msg": [18, 39, 30, 2, 53, 17, 58, 14, 33, 6], | |
| "ct": [49, 62, 40, 32, 26, 47, 8, 40, 34, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1853, | |
| "comment": "y = 1 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "8a5a876b70d7dbda8a3832", | |
| "msg": [7, 4, 20, 35, 62, 8, 1, 12, 42, 41], | |
| "ct": [39, 9, 24, 5, 63, 38, 28, 25, 1, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1854, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "8a5a876b70d7dbda8a3832", | |
| "msg": [32, 26, 43, 44, 62, 31, 4, 26, 55, 23], | |
| "ct": [8, 36, 15, 5, 21, 27, 6, 39, 12, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1855, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "8a5a876b70d7dbda8a3832", | |
| "msg": [18, 45, 32, 50, 35, 42, 22, 10, 49, 8], | |
| "ct": [22, 43, 11, 56, 36, 19, 0, 37, 53, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1856, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "b91aef57f80766be8c4b36", | |
| "msg": [34, 60, 31, 0, 21, 8, 33, 53, 25, 47], | |
| "ct": [49, 26, 6, 47, 36, 26, 17, 9, 35, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1857, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "b91aef57f80766be8c4b36", | |
| "msg": [45, 19, 16, 0, 18, 36, 24, 30, 21, 18], | |
| "ct": [7, 19, 32, 21, 41, 27, 8, 58, 41, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1858, | |
| "comment": "y is maximal and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "b91aef57f80766be8c4b36", | |
| "msg": [7, 21, 34, 54, 35, 9, 29, 5, 9, 32], | |
| "ct": [23, 14, 21, 63, 7, 34, 57, 23, 17, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1859, | |
| "comment": "y is maximal and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "b91aef57f80766be8c4b36", | |
| "msg": [54, 45, 16, 62, 28, 32, 52, 60, 56, 34], | |
| "ct": [12, 44, 40, 22, 3, 26, 63, 9, 19, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1860, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "3cc6889e9552c469d9c341", | |
| "msg": [20, 10, 34, 46, 54, 23, 40, 6, 24, 51], | |
| "ct": [18, 43, 28, 7, 12, 37, 36, 55, 63, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1861, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "3cc6889e9552c469d9c341", | |
| "msg": [35, 18, 24, 29, 8, 32, 60, 2, 28, 50], | |
| "ct": [38, 42, 20, 32, 42, 7, 1, 31, 6, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1862, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "3cc6889e9552c469d9c341", | |
| "msg": [17, 62, 42, 18, 42, 61, 55, 57, 48, 60], | |
| "ct": [25, 32, 52, 41, 53, 4, 1, 5, 27, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1863, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "3cc6889e9552c469d9c341", | |
| "msg": [55, 16, 9, 10, 56, 50, 10, 14, 14, 29], | |
| "ct": [45, 5, 36, 43, 54, 26, 44, 37, 8, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1864, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "3cc6889e9552c469d9c341", | |
| "msg": [20, 33, 20, 2, 47, 8, 24, 26, 40, 63], | |
| "ct": [39, 12, 41, 9, 25, 56, 33, 39, 8, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1865, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "3cc6889e9552c469d9c341", | |
| "msg": [19, 43, 57, 32, 22, 36, 11, 25, 38, 44], | |
| "ct": [44, 56, 3, 27, 39, 51, 32, 57, 5, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1866, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "d7db34048665b65cd6dbbe", | |
| "msg": [50, 27, 34, 31, 23, 37, 62, 1, 35, 26], | |
| "ct": [13, 27, 10, 53, 28, 42, 57, 35, 13, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1867, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "d7db34048665b65cd6dbbe", | |
| "msg": [16, 45, 22, 15, 62, 60, 12, 40, 43, 63], | |
| "ct": [31, 8, 56, 6, 45, 50, 7, 19, 34, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1868, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "d7db34048665b65cd6dbbe", | |
| "msg": [17, 24, 19, 13, 49, 40, 49, 9, 2, 33], | |
| "ct": [39, 7, 24, 29, 3, 40, 0, 51, 4, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1869, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", | |
| "tweak": "d7db34048665b65cd6dbbe", | |
| "msg": [8, 2, 22, 10, 11, 27, 18, 4, 6, 42], | |
| "ct": [19, 6, 38, 54, 47, 44, 45, 51, 4, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1870, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", | |
| "tweak": "aac963be9bb06d9c", | |
| "msg": [-1, 54, 36, 48, 7, 31, 29, 3, 38, 8], | |
| "ct": [47, 16, 5, 10, 15, 14, 33, 54, 56, 62], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1871, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", | |
| "tweak": "aac963be9bb06d9c", | |
| "msg": [8, 54, 36, -1, 7, 31, 29, 3, 38, 8], | |
| "ct": [41, 31, 7, 31, 2, 18, 47, 62, 10, 25], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1872, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", | |
| "tweak": "aac963be9bb06d9c", | |
| "msg": [8, 54, 36, 48, 7, 31, 29, 3, 38, -1], | |
| "ct": [2, 63, 31, 27, 28, 8, 59, 3, 41, 6], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1873, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e885d7f7ead439792aea4cb4345961804c8b35faf7048261afc49f2ed85712b1", | |
| "tweak": "b46cb0539352b102", | |
| "msg": [64, 57, 25, 0, 9, 57, 43, 24, 15, 32], | |
| "ct": [7, 57, 29, 25, 31, 33, 45, 20, 26, 63], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1874, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e885d7f7ead439792aea4cb4345961804c8b35faf7048261afc49f2ed85712b1", | |
| "tweak": "b46cb0539352b102", | |
| "msg": [51, 57, 25, 64, 9, 57, 43, 24, 15, 32], | |
| "ct": [18, 43, 54, 18, 4, 14, 35, 44, 40, 2], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1875, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e885d7f7ead439792aea4cb4345961804c8b35faf7048261afc49f2ed85712b1", | |
| "tweak": "b46cb0539352b102", | |
| "msg": [51, 57, 25, 0, 9, 57, 43, 24, 15, 64], | |
| "ct": [6, 30, 4, 27, 2, 34, 22, 13, 50, 21], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 11, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1876, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "a40786c69f8a487744536af3e952b5e4c3c848cf21a994e28fa555d8d1ac9beb", | |
| "tweak": "8782789b84c8fa4a", | |
| "msg": [39, 30, 28, 14, 55, 4, 41, 6, 21, 53, 8], | |
| "ct": [25, 8, 48, 63, 59, 59, 19, 37, 6, 60, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1877, | |
| "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": [9, 63, 59, 26, 49, 38, 21, 37, 25, 47, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1878, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [24, 62, 35, 19, 10, 17, 2, 62, 1, 2, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1879, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "ct": [33, 58, 36, 49, 52, 21, 35, 27, 27, 30, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1880, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "ct": [29, 39, 49, 30, 4, 17, 38, 9, 52, 35, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1881, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [60, 30, 46, 4, 58, 16, 37, 53, 55, 62, 41], | |
| "ct": [55, 15, 9, 41, 33, 12, 36, 10, 50, 47, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1882, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [55, 22, 62, 49, 10, 23, 54, 49, 49, 1, 9], | |
| "ct": [46, 22, 48, 55, 19, 50, 57, 4, 21, 11, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1883, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [43, 60, 42, 38, 37, 53, 56, 14, 52, 12, 6], | |
| "ct": [7, 37, 28, 19, 20, 61, 36, 21, 22, 13, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1884, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [29, 53, 2, 54, 20, 62, 54, 20, 24, 55, 54], | |
| "ct": [4, 45, 48, 52, 21, 32, 8, 10, 60, 29, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1885, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [32, 23, 24, 35, 49, 54, 10, 33, 15, 27, 25], | |
| "ct": [38, 31, 9, 53, 5, 29, 11, 11, 2, 12, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1886, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [58, 58, 45, 4, 1, 21, 15, 18, 63, 20, 7], | |
| "ct": [13, 26, 33, 10, 54, 60, 12, 45, 8, 30, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1887, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [44, 63, 37, 46, 45, 5, 7, 17, 43, 31, 0], | |
| "ct": [25, 21, 14, 59, 46, 2, 7, 23, 8, 27, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1888, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [32, 16, 26, 48, 30, 19, 43, 4, 38, 6, 48], | |
| "ct": [48, 22, 18, 59, 61, 6, 13, 63, 56, 5, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1889, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [27, 42, 46, 63, 19, 36, 47, 19, 21, 59, 38], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1890, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [28, 1, 11, 7, 37, 5, 45, 14, 2, 58, 32], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1891, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [14, 30, 53, 56, 44, 5, 48, 19, 20, 12, 27], | |
| "ct": [32, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1892, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [36, 26, 19, 36, 1, 23, 26, 0, 20, 26, 51], | |
| "ct": [31, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1893, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "ffd9014d3ee9cbf4c652", | |
| "msg": [30, 32, 22, 51, 46, 2, 26, 25, 15, 32, 52], | |
| "ct": [40, 60, 62, 38, 35, 0, 50, 55, 59, 54, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1894, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "ffd9014d3ee9cbf4c652", | |
| "msg": [33, 6, 7, 27, 19, 12, 42, 23, 26, 49, 5], | |
| "ct": [6, 49, 26, 55, 37, 19, 38, 30, 49, 37, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1895, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "ffd9014d3ee9cbf4c652", | |
| "msg": [11, 61, 46, 50, 13, 8, 58, 1, 21, 14, 29], | |
| "ct": [17, 4, 40, 56, 63, 21, 7, 40, 42, 31, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1896, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "ffd9014d3ee9cbf4c652", | |
| "msg": [16, 53, 15, 22, 51, 34, 61, 58, 63, 21, 47], | |
| "ct": [46, 0, 58, 42, 7, 51, 62, 44, 46, 7, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1897, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "776413d6f02df8a55963", | |
| "msg": [19, 18, 2, 39, 3, 35, 1, 56, 27, 50, 16], | |
| "ct": [63, 58, 1, 61, 14, 0, 40, 4, 44, 33, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1898, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "776413d6f02df8a55963", | |
| "msg": [24, 11, 0, 16, 60, 59, 34, 55, 1, 29, 58], | |
| "ct": [27, 62, 52, 32, 39, 52, 8, 44, 43, 43, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1899, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "776413d6f02df8a55963", | |
| "msg": [15, 5, 15, 40, 61, 30, 41, 62, 2, 35, 43], | |
| "ct": [21, 59, 0, 52, 47, 15, 21, 27, 38, 40, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1900, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "776413d6f02df8a55963", | |
| "msg": [63, 6, 50, 13, 0, 62, 61, 27, 29, 61, 18], | |
| "ct": [50, 19, 12, 8, 6, 37, 2, 51, 44, 0, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1901, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "776413d6f02df8a55963", | |
| "msg": [52, 59, 23, 3, 15, 30, 21, 41, 53, 29, 48], | |
| "ct": [6, 38, 57, 11, 57, 17, 19, 25, 19, 31, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1902, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "b698e606e9a59fb0b803", | |
| "msg": [0, 0, 0, 0, 0, 32, 33, 6, 29, 18, 14], | |
| "ct": [61, 5, 62, 1, 4, 19, 63, 55, 59, 26, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1903, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "b698e606e9a59fb0b803", | |
| "msg": [0, 0, 0, 0, 1, 32, 33, 6, 29, 18, 14], | |
| "ct": [23, 28, 15, 4, 25, 47, 47, 14, 0, 10, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1904, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "b698e606e9a59fb0b803", | |
| "msg": [32, 0, 0, 0, 0, 32, 33, 6, 29, 18, 14], | |
| "ct": [46, 34, 11, 4, 17, 10, 6, 48, 20, 49, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1905, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "b698e606e9a59fb0b803", | |
| "msg": [63, 63, 63, 63, 63, 32, 33, 6, 29, 18, 14], | |
| "ct": [49, 25, 45, 58, 51, 30, 31, 51, 4, 4, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1906, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "8c7e10ab52e50bb51c9a", | |
| "msg": [46, 57, 18, 52, 45, 41, 6, 57, 58, 3, 57], | |
| "ct": [63, 63, 63, 63, 0, 38, 34, 42, 19, 55, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1907, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "8c7e10ab52e50bb51c9a", | |
| "msg": [13, 60, 42, 54, 14, 16, 48, 61, 0, 14, 50], | |
| "ct": [63, 63, 63, 63, 1, 30, 27, 53, 24, 38, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1908, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "8c7e10ab52e50bb51c9a", | |
| "msg": [51, 30, 18, 34, 33, 21, 2, 50, 18, 42, 29], | |
| "ct": [63, 63, 63, 63, 63, 62, 6, 5, 60, 18, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1909, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "8c7e10ab52e50bb51c9a", | |
| "msg": [22, 61, 5, 2, 42, 17, 35, 22, 49, 9, 38], | |
| "ct": [0, 0, 0, 0, 0, 60, 10, 0, 44, 18, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1910, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "8c7e10ab52e50bb51c9a", | |
| "msg": [47, 30, 46, 5, 7, 28, 60, 36, 11, 53, 31], | |
| "ct": [31, 63, 63, 63, 0, 34, 53, 47, 30, 5, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1911, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "8c7e10ab52e50bb51c9a", | |
| "msg": [32, 38, 40, 42, 34, 59, 6, 13, 2, 33, 57], | |
| "ct": [63, 63, 63, 62, 63, 36, 56, 55, 32, 4, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1912, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "225e3df159781540ef56", | |
| "msg": [20, 46, 21, 14, 23, 46, 7, 3, 41, 13, 0], | |
| "ct": [63, 63, 63, 63, 63, 27, 22, 2, 31, 23, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1913, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "225e3df159781540ef56", | |
| "msg": [49, 63, 30, 33, 50, 0, 15, 34, 45, 15, 16], | |
| "ct": [0, 0, 0, 0, 0, 63, 22, 6, 28, 36, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1914, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "225e3df159781540ef56", | |
| "msg": [24, 48, 32, 60, 5, 24, 4, 21, 23, 7, 41], | |
| "ct": [31, 63, 63, 63, 63, 15, 31, 57, 54, 37, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1915, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "225e3df159781540ef56", | |
| "msg": [35, 57, 2, 31, 62, 41, 53, 18, 56, 48, 33], | |
| "ct": [63, 63, 63, 63, 62, 9, 35, 49, 16, 15, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1916, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", | |
| "tweak": "788f47262b8e7b97", | |
| "msg": [-1, 40, 15, 32, 38, 32, 45, 30, 50, 22, 57], | |
| "ct": [19, 2, 18, 5, 30, 15, 63, 9, 6, 49, 4], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1917, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", | |
| "tweak": "788f47262b8e7b97", | |
| "msg": [58, 40, 15, -1, 38, 32, 45, 30, 50, 22, 57], | |
| "ct": [2, 41, 33, 36, 28, 63, 35, 5, 38, 15, 34], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1918, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", | |
| "tweak": "788f47262b8e7b97", | |
| "msg": [58, 40, 15, 32, 38, 32, 45, 30, 50, 22, -1], | |
| "ct": [52, 10, 29, 54, 1, 41, 7, 37, 59, 19, 11], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1919, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "89b1ab61e66ae2a5f30150f2167a49ce55f8e933cf24ee3b8eba16f5e3a2e850", | |
| "tweak": "80df509ab7624228", | |
| "msg": [64, 53, 32, 11, 54, 38, 50, 41, 23, 61, 23], | |
| "ct": [11, 36, 47, 8, 49, 31, 45, 63, 50, 35, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1920, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "89b1ab61e66ae2a5f30150f2167a49ce55f8e933cf24ee3b8eba16f5e3a2e850", | |
| "tweak": "80df509ab7624228", | |
| "msg": [49, 53, 32, 64, 54, 38, 50, 41, 23, 61, 23], | |
| "ct": [16, 61, 32, 53, 39, 5, 56, 19, 19, 25, 25], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1921, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "89b1ab61e66ae2a5f30150f2167a49ce55f8e933cf24ee3b8eba16f5e3a2e850", | |
| "tweak": "80df509ab7624228", | |
| "msg": [49, 53, 32, 11, 54, 38, 50, 41, 23, 61, 64], | |
| "ct": [11, 46, 9, 18, 62, 28, 45, 29, 37, 23, 34], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 12, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1922, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "2e94a84c78be80cd598366058d4f6cdf8095666dcac7a00ad832d9f33e20d13c", | |
| "tweak": "415e0101a302aaa6", | |
| "msg": [31, 52, 31, 57, 52, 20, 33, 55, 43, 18, 42, 61], | |
| "ct": [52, 42, 15, 25, 53, 45, 41, 6, 17, 2, 16, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1923, | |
| "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": [52, 43, 58, 1, 22, 21, 16, 43, 10, 19, 57, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1924, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [52, 22, 57, 28, 30, 4, 22, 13, 21, 50, 60, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1925, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "ct": [32, 22, 32, 51, 45, 19, 5, 28, 16, 5, 63, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1926, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "ct": [57, 53, 47, 52, 30, 57, 24, 40, 9, 10, 21, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1927, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [38, 34, 12, 61, 45, 28, 49, 21, 33, 14, 34, 53], | |
| "ct": [39, 41, 45, 44, 57, 39, 22, 59, 59, 0, 19, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1928, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [32, 50, 40, 45, 15, 28, 37, 62, 1, 16, 58, 42], | |
| "ct": [36, 40, 52, 25, 20, 11, 41, 7, 49, 12, 12, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1929, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [33, 51, 24, 38, 56, 28, 16, 3, 29, 58, 47, 57], | |
| "ct": [8, 40, 44, 24, 57, 2, 30, 11, 24, 53, 30, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1930, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [63, 53, 3, 14, 39, 15, 43, 24, 55, 22, 63, 10], | |
| "ct": [59, 25, 31, 10, 58, 57, 48, 44, 57, 12, 20, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1931, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [32, 23, 43, 37, 35, 3, 27, 11, 9, 24, 58, 51], | |
| "ct": [61, 8, 50, 13, 28, 0, 48, 34, 24, 25, 44, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1932, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [59, 40, 20, 62, 38, 8, 5, 61, 51, 6, 41, 0], | |
| "ct": [38, 40, 60, 63, 7, 2, 16, 61, 30, 32, 46, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1933, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [24, 49, 20, 26, 25, 15, 16, 33, 25, 53, 5, 55], | |
| "ct": [35, 4, 54, 56, 53, 12, 62, 21, 8, 17, 27, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1934, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [42, 8, 20, 55, 34, 49, 62, 28, 60, 18, 16, 50], | |
| "ct": [17, 20, 33, 19, 60, 2, 59, 11, 42, 52, 8, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1935, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [10, 47, 44, 44, 46, 62, 5, 4, 12, 19, 44, 17], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1936, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [34, 33, 44, 2, 9, 32, 35, 19, 36, 31, 50, 28], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1937, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [20, 12, 49, 56, 57, 1, 17, 38, 32, 9, 55, 48], | |
| "ct": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1938, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [1, 59, 32, 8, 9, 8, 30, 43, 31, 25, 38, 17], | |
| "ct": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1939, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "d8d170c66bbc351c1afc", | |
| "msg": [34, 53, 50, 56, 49, 63, 60, 63, 52, 36, 6, 18], | |
| "ct": [13, 49, 34, 44, 0, 52, 9, 15, 23, 7, 48, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1940, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "d8d170c66bbc351c1afc", | |
| "msg": [57, 12, 42, 56, 42, 45, 41, 4, 19, 39, 63, 18], | |
| "ct": [35, 22, 40, 14, 52, 1, 38, 58, 61, 9, 58, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1941, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "d8d170c66bbc351c1afc", | |
| "msg": [45, 15, 29, 18, 46, 63, 21, 55, 37, 16, 29, 46], | |
| "ct": [49, 60, 3, 39, 29, 8, 16, 24, 63, 58, 6, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1942, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "d8d170c66bbc351c1afc", | |
| "msg": [33, 48, 30, 27, 2, 46, 17, 63, 2, 14, 29, 27], | |
| "ct": [41, 32, 0, 4, 31, 51, 5, 27, 37, 6, 15, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1943, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "ef8eaee245b4f4796a8c", | |
| "msg": [31, 50, 39, 15, 23, 55, 13, 44, 23, 12, 4, 2], | |
| "ct": [57, 58, 63, 44, 40, 63, 24, 19, 1, 14, 19, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1944, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "ef8eaee245b4f4796a8c", | |
| "msg": [62, 37, 50, 43, 47, 19, 27, 4, 60, 38, 46, 50], | |
| "ct": [61, 20, 47, 20, 58, 55, 7, 59, 42, 62, 56, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1945, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "ef8eaee245b4f4796a8c", | |
| "msg": [43, 11, 46, 10, 57, 4, 8, 40, 57, 8, 13, 45], | |
| "ct": [63, 24, 21, 25, 17, 37, 9, 47, 44, 10, 32, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1946, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "ef8eaee245b4f4796a8c", | |
| "msg": [42, 44, 25, 55, 38, 34, 35, 28, 48, 62, 9, 13], | |
| "ct": [50, 44, 38, 46, 54, 14, 1, 11, 20, 14, 39, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1947, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "ef8eaee245b4f4796a8c", | |
| "msg": [46, 24, 44, 33, 23, 5, 36, 48, 61, 57, 19, 8], | |
| "ct": [8, 16, 56, 29, 43, 45, 23, 15, 44, 49, 10, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1948, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "3fcc13987703b19bd71a", | |
| "msg": [35, 4, 10, 59, 2, 24, 9, 22, 45, 44, 51, 4], | |
| "ct": [54, 15, 61, 27, 42, 5, 58, 54, 42, 6, 6, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1949, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "3fcc13987703b19bd71a", | |
| "msg": [41, 0, 15, 60, 25, 4, 49, 48, 42, 55, 5, 37], | |
| "ct": [54, 58, 21, 9, 4, 0, 13, 13, 2, 22, 10, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1950, | |
| "comment": "y is maximal and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "3fcc13987703b19bd71a", | |
| "msg": [48, 22, 12, 24, 9, 4, 9, 46, 5, 19, 14, 40], | |
| "ct": [61, 35, 29, 13, 27, 59, 58, 7, 39, 30, 3, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1951, | |
| "comment": "y is maximal and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "3fcc13987703b19bd71a", | |
| "msg": [19, 53, 23, 60, 62, 52, 10, 41, 45, 30, 8, 38], | |
| "ct": [26, 33, 6, 12, 51, 50, 31, 58, 22, 59, 28, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1952, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "ae1bde25b9400e13de3f", | |
| "msg": [17, 20, 28, 53, 50, 0, 14, 51, 54, 6, 18, 16], | |
| "ct": [63, 63, 63, 63, 63, 0, 7, 8, 31, 53, 33, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1953, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "ae1bde25b9400e13de3f", | |
| "msg": [30, 63, 3, 39, 56, 39, 61, 12, 27, 52, 37, 21], | |
| "ct": [63, 63, 63, 63, 63, 1, 47, 24, 40, 40, 27, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1954, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "ae1bde25b9400e13de3f", | |
| "msg": [60, 49, 5, 42, 22, 48, 14, 53, 52, 6, 25, 16], | |
| "ct": [63, 63, 63, 63, 63, 63, 1, 46, 19, 10, 12, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1955, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "ae1bde25b9400e13de3f", | |
| "msg": [32, 11, 35, 11, 20, 38, 3, 18, 46, 38, 50, 62], | |
| "ct": [0, 0, 0, 0, 0, 0, 50, 8, 31, 14, 33, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1956, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "ae1bde25b9400e13de3f", | |
| "msg": [27, 61, 62, 13, 3, 12, 34, 58, 56, 43, 6, 30], | |
| "ct": [31, 63, 63, 63, 63, 0, 27, 27, 5, 34, 54, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1957, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "ae1bde25b9400e13de3f", | |
| "msg": [10, 55, 14, 9, 5, 40, 56, 46, 41, 12, 28, 32], | |
| "ct": [63, 63, 63, 63, 62, 63, 8, 58, 58, 33, 12, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1958, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", | |
| "tweak": "17f2087530ca7e57", | |
| "msg": [-1, 54, 61, 25, 31, 15, 12, 6, 21, 34, 47, 32], | |
| "ct": [16, 33, 61, 28, 26, 2, 29, 2, 38, 55, 7, 11], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1959, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", | |
| "tweak": "17f2087530ca7e57", | |
| "msg": [61, 54, 61, 25, -1, 15, 12, 6, 21, 34, 47, 32], | |
| "ct": [10, 23, 6, 39, 12, 31, 53, 4, 32, 39, 54, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1960, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", | |
| "tweak": "17f2087530ca7e57", | |
| "msg": [61, 54, 61, 25, 31, 15, 12, 6, 21, 34, 47, -1], | |
| "ct": [31, 31, 39, 35, 31, 58, 15, 23, 54, 10, 49, 55], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1961, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0ff5e3d612041a64784f547cb443383c3c66a7b9142d6e07846d49b6e389c1a1", | |
| "tweak": "56ce46c38b3351ad", | |
| "msg": [64, 14, 11, 3, 40, 11, 17, 6, 21, 2, 54, 5], | |
| "ct": [20, 2, 4, 54, 31, 22, 47, 38, 35, 30, 48, 25], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1962, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0ff5e3d612041a64784f547cb443383c3c66a7b9142d6e07846d49b6e389c1a1", | |
| "tweak": "56ce46c38b3351ad", | |
| "msg": [19, 14, 11, 3, 64, 11, 17, 6, 21, 2, 54, 5], | |
| "ct": [49, 61, 60, 14, 12, 0, 25, 36, 26, 42, 48, 27], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1963, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0ff5e3d612041a64784f547cb443383c3c66a7b9142d6e07846d49b6e389c1a1", | |
| "tweak": "56ce46c38b3351ad", | |
| "msg": [19, 14, 11, 3, 40, 11, 17, 6, 21, 2, 54, 64], | |
| "ct": [50, 20, 9, 38, 59, 31, 16, 17, 39, 5, 26, 56], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 13, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1964, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "82685c3a0cab8a3c5777c43196c7f9eb6d1cbc31f79de68bc23a066b6d9d2053", | |
| "tweak": "3fd780e554341138", | |
| "msg": [12, 28, 6, 20, 31, 19, 46, 20, 24, 14, 52, 63, 56], | |
| "ct": [35, 23, 34, 44, 63, 54, 38, 56, 17, 12, 6, 42, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1965, | |
| "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": [58, 30, 40, 24, 56, 61, 18, 8, 51, 9, 48, 38, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1966, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [26, 15, 58, 44, 61, 24, 20, 53, 42, 59, 21, 43, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1967, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "ct": [8, 27, 13, 7, 18, 4, 57, 34, 4, 27, 42, 38, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1968, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "ct": [5, 2, 16, 60, 20, 56, 52, 45, 32, 47, 20, 32, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1969, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [25, 14, 31, 37, 33, 18, 6, 19, 37, 27, 4, 13, 8], | |
| "ct": [1, 2, 21, 3, 14, 21, 7, 13, 54, 50, 47, 38, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1970, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [21, 16, 43, 61, 44, 55, 2, 24, 13, 24, 45, 47, 34], | |
| "ct": [38, 42, 23, 16, 59, 36, 63, 28, 39, 22, 2, 19, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1971, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [59, 12, 40, 54, 17, 56, 16, 41, 48, 15, 49, 1, 44], | |
| "ct": [51, 30, 15, 46, 59, 38, 18, 4, 55, 0, 2, 18, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1972, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [40, 60, 62, 44, 25, 26, 4, 26, 25, 47, 54, 63, 4], | |
| "ct": [19, 4, 51, 7, 6, 24, 48, 40, 22, 10, 16, 61, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1973, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [1, 45, 63, 61, 43, 51, 37, 7, 47, 2, 53, 43, 12], | |
| "ct": [53, 28, 0, 24, 27, 6, 51, 57, 14, 1, 49, 57, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1974, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [20, 2, 54, 54, 44, 9, 31, 40, 56, 42, 26, 34, 17], | |
| "ct": [57, 6, 31, 6, 47, 23, 36, 16, 55, 45, 25, 29, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1975, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [32, 49, 43, 16, 14, 37, 54, 8, 3, 52, 18, 38, 37], | |
| "ct": [34, 50, 0, 49, 63, 18, 25, 15, 30, 42, 43, 36, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1976, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [56, 62, 14, 17, 14, 16, 52, 39, 10, 27, 33, 45, 33], | |
| "ct": [5, 34, 59, 62, 49, 21, 23, 1, 55, 10, 6, 29, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1977, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [41, 17, 10, 40, 59, 30, 18, 17, 44, 32, 29, 18, 25], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1978, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [59, 29, 7, 62, 44, 44, 45, 58, 33, 39, 3, 58, 5], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1979, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [29, 23, 16, 15, 29, 42, 10, 42, 12, 60, 16, 27, 24], | |
| "ct": [32, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1980, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [21, 43, 7, 12, 0, 42, 49, 42, 53, 27, 47, 8, 14], | |
| "ct": [31, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1981, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "1007b6e56cdd53c416", | |
| "msg": [0, 0, 0, 0, 0, 0, 29, 10, 62, 28, 16, 40, 44], | |
| "ct": [10, 3, 55, 45, 2, 29, 35, 45, 42, 17, 16, 5, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1982, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "1007b6e56cdd53c416", | |
| "msg": [0, 0, 0, 0, 0, 1, 29, 10, 62, 28, 16, 40, 44], | |
| "ct": [27, 30, 6, 53, 29, 18, 6, 41, 0, 54, 22, 63, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1983, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "1007b6e56cdd53c416", | |
| "msg": [32, 0, 0, 0, 0, 0, 29, 10, 62, 28, 16, 40, 44], | |
| "ct": [8, 51, 53, 17, 44, 27, 4, 34, 1, 44, 62, 50, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1984, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "1007b6e56cdd53c416", | |
| "msg": [63, 63, 63, 63, 63, 63, 29, 10, 62, 28, 16, 40, 44], | |
| "ct": [60, 50, 24, 59, 17, 50, 0, 63, 26, 6, 9, 33, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1985, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "219ee9f742afe3a9a7", | |
| "msg": [26, 32, 5, 3, 31, 2, 51, 25, 44, 40, 11, 58, 42], | |
| "ct": [63, 63, 63, 63, 63, 63, 3, 24, 53, 42, 3, 21, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1986, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "219ee9f742afe3a9a7", | |
| "msg": [40, 18, 49, 10, 60, 45, 3, 22, 21, 45, 50, 16, 63], | |
| "ct": [0, 0, 0, 0, 0, 0, 9, 55, 55, 44, 63, 22, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1987, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "219ee9f742afe3a9a7", | |
| "msg": [14, 42, 13, 0, 37, 62, 31, 7, 55, 39, 57, 7, 45], | |
| "ct": [31, 63, 63, 63, 63, 63, 48, 14, 5, 61, 19, 8, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1988, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "219ee9f742afe3a9a7", | |
| "msg": [11, 31, 55, 0, 20, 11, 62, 42, 59, 58, 39, 12, 35], | |
| "ct": [63, 63, 63, 63, 63, 62, 38, 6, 28, 2, 8, 56, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1989, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", | |
| "tweak": "f39c64c847f175d6", | |
| "msg": [-1, 5, 9, 46, 48, 5, 6, 28, 35, 36, 41, 20, 57], | |
| "ct": [46, 25, 34, 35, 16, 11, 27, 61, 54, 63, 28, 30, 25], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1990, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", | |
| "tweak": "f39c64c847f175d6", | |
| "msg": [62, 5, 9, 46, -1, 5, 6, 28, 35, 36, 41, 20, 57], | |
| "ct": [18, 4, 27, 22, 44, 50, 20, 32, 60, 54, 25, 38, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1991, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", | |
| "tweak": "f39c64c847f175d6", | |
| "msg": [62, 5, 9, 46, 48, 5, 6, 28, 35, 36, 41, 20, -1], | |
| "ct": [53, 7, 54, 8, 58, 5, 43, 46, 37, 14, 41, 51, 8], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1992, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3fc7a4caad9b4c27c962abd73d17811cbe8bb20066c5f1668c6dfcf48a4ee3c9", | |
| "tweak": "56a467c28fd0ab1d", | |
| "msg": [64, 14, 25, 36, 37, 43, 48, 11, 62, 37, 33, 6, 55], | |
| "ct": [51, 3, 26, 33, 16, 22, 2, 27, 25, 23, 34, 27, 4], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1993, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3fc7a4caad9b4c27c962abd73d17811cbe8bb20066c5f1668c6dfcf48a4ee3c9", | |
| "tweak": "56a467c28fd0ab1d", | |
| "msg": [3, 14, 25, 36, 64, 43, 48, 11, 62, 37, 33, 6, 55], | |
| "ct": [34, 61, 63, 22, 61, 36, 34, 20, 48, 57, 57, 3, 63], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1994, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3fc7a4caad9b4c27c962abd73d17811cbe8bb20066c5f1668c6dfcf48a4ee3c9", | |
| "tweak": "56a467c28fd0ab1d", | |
| "msg": [3, 14, 25, 36, 37, 43, 48, 11, 62, 37, 33, 6, 64], | |
| "ct": [37, 59, 38, 7, 53, 13, 15, 31, 15, 56, 11, 46, 19], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 14, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1995, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "fdd21f2020d809a2930f3d6c0b2cc23e65e1240eb5e301531aecb8180808393b", | |
| "tweak": "104403ed1d3acccc", | |
| "msg": [11, 63, 15, 9, 19, 21, 11, 12, 58, 43, 62, 18, 38, 53], | |
| "ct": [11, 26, 19, 10, 30, 29, 12, 15, 24, 55, 14, 15, 17, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1996, | |
| "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": [58, 44, 11, 13, 16, 29, 32, 26, 20, 2, 39, 59, 11, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1997, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [48, 14, 20, 62, 34, 35, 18, 29, 8, 42, 9, 36, 8, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1998, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "ct": [42, 45, 14, 63, 38, 46, 1, 51, 46, 15, 60, 22, 26, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1999, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "ct": [41, 58, 49, 53, 61, 5, 43, 62, 62, 42, 63, 7, 18, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2000, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [50, 32, 21, 6, 63, 58, 8, 58, 45, 37, 50, 3, 61, 26], | |
| "ct": [6, 47, 27, 22, 54, 24, 62, 34, 10, 38, 2, 56, 50, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2001, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [27, 0, 37, 28, 60, 7, 38, 28, 38, 44, 46, 15, 9, 8], | |
| "ct": [14, 8, 41, 4, 51, 36, 1, 38, 41, 35, 33, 20, 27, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2002, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [49, 23, 16, 19, 26, 18, 18, 25, 37, 63, 27, 30, 6, 35], | |
| "ct": [14, 7, 37, 14, 40, 28, 38, 2, 21, 37, 33, 32, 1, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2003, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [1, 18, 51, 17, 48, 36, 44, 29, 47, 3, 25, 59, 47, 25], | |
| "ct": [44, 41, 37, 24, 6, 20, 56, 33, 62, 31, 52, 13, 0, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2004, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [27, 6, 59, 13, 47, 56, 29, 6, 53, 10, 31, 25, 46, 23], | |
| "ct": [52, 13, 6, 57, 60, 53, 1, 59, 38, 28, 14, 34, 28, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2005, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [41, 29, 10, 61, 28, 29, 31, 62, 34, 10, 7, 48, 0, 44], | |
| "ct": [16, 34, 33, 1, 2, 37, 37, 9, 35, 57, 30, 54, 6, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2006, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [54, 23, 32, 4, 9, 36, 41, 28, 7, 35, 43, 57, 43, 61], | |
| "ct": [20, 14, 56, 54, 32, 13, 1, 42, 0, 18, 62, 15, 5, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2007, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [45, 23, 35, 24, 61, 22, 20, 60, 22, 46, 1, 50, 36, 49], | |
| "ct": [38, 46, 12, 1, 54, 8, 61, 42, 43, 23, 20, 35, 55, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2008, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [3, 7, 44, 60, 57, 46, 18, 8, 53, 38, 22, 13, 57, 4], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2009, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [48, 9, 62, 0, 2, 4, 43, 37, 22, 19, 51, 40, 12, 59], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2010, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [17, 60, 15, 45, 62, 15, 28, 30, 0, 12, 18, 0, 12, 15], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2011, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [48, 19, 50, 24, 44, 24, 27, 51, 6, 29, 57, 56, 51, 28], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2012, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "7fd98b3b3851fab968", | |
| "msg": [14, 24, 28, 53, 39, 60, 33, 57, 0, 18, 38, 50, 20, 0], | |
| "ct": [7, 59, 4, 57, 45, 51, 7, 34, 45, 35, 16, 13, 62, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2013, | |
| "comment": "y = 0 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "7fd98b3b3851fab968", | |
| "msg": [34, 53, 60, 42, 62, 59, 13, 15, 43, 29, 53, 46, 23, 41], | |
| "ct": [31, 20, 58, 15, 62, 13, 43, 5, 1, 42, 56, 15, 33, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2014, | |
| "comment": "y = 0 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "7fd98b3b3851fab968", | |
| "msg": [31, 4, 41, 58, 58, 41, 57, 18, 23, 37, 12, 10, 21, 18], | |
| "ct": [50, 46, 55, 11, 9, 19, 59, 17, 62, 23, 57, 0, 59, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2015, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "7fd98b3b3851fab968", | |
| "msg": [51, 47, 15, 6, 53, 52, 60, 34, 48, 48, 38, 15, 28, 56], | |
| "ct": [35, 45, 36, 47, 51, 16, 57, 10, 49, 2, 49, 49, 44, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2016, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "3fd1ef5c55b4fee6bf", | |
| "msg": [39, 30, 19, 33, 14, 36, 45, 11, 34, 2, 21, 27, 6, 53], | |
| "ct": [39, 51, 51, 36, 0, 14, 36, 8, 26, 16, 31, 25, 33, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2017, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "3fd1ef5c55b4fee6bf", | |
| "msg": [19, 26, 25, 19, 54, 52, 52, 39, 7, 60, 34, 31, 3, 49], | |
| "ct": [47, 33, 31, 1, 10, 38, 43, 12, 19, 58, 19, 18, 50, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2018, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "3fd1ef5c55b4fee6bf", | |
| "msg": [17, 18, 6, 49, 49, 57, 13, 39, 43, 60, 38, 10, 6, 23], | |
| "ct": [5, 28, 47, 62, 26, 45, 18, 38, 16, 25, 48, 1, 61, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2019, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "3fd1ef5c55b4fee6bf", | |
| "msg": [1, 33, 8, 52, 22, 43, 60, 2, 11, 39, 3, 3, 59, 41], | |
| "ct": [54, 0, 11, 46, 31, 7, 51, 52, 20, 20, 12, 59, 62, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2020, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "3fd1ef5c55b4fee6bf", | |
| "msg": [14, 9, 38, 2, 0, 39, 18, 11, 27, 36, 0, 1, 51, 24], | |
| "ct": [60, 63, 44, 47, 57, 3, 13, 15, 2, 42, 62, 53, 5, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2021, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "6bc776e79960f9b4f5", | |
| "msg": [23, 49, 46, 9, 30, 28, 48, 1, 59, 22, 41, 21, 41, 53], | |
| "ct": [56, 6, 33, 36, 56, 48, 50, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2022, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "6bc776e79960f9b4f5", | |
| "msg": [36, 40, 11, 62, 33, 48, 53, 20, 12, 42, 35, 63, 41, 20], | |
| "ct": [56, 6, 33, 36, 56, 48, 50, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2023, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "6bc776e79960f9b4f5", | |
| "msg": [26, 14, 19, 6, 44, 61, 56, 16, 36, 29, 18, 32, 53, 48], | |
| "ct": [56, 6, 33, 36, 56, 48, 50, 31, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2024, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "6bc776e79960f9b4f5", | |
| "msg": [47, 19, 44, 5, 44, 24, 24, 46, 19, 45, 63, 12, 15, 57], | |
| "ct": [56, 6, 33, 36, 56, 48, 50, 63, 63, 63, 63, 63, 63, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2025, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "75e66ecb6be53d3712", | |
| "msg": [1, 40, 33, 42, 38, 21, 61, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [23, 25, 0, 19, 53, 4, 6, 30, 31, 46, 50, 17, 0, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2026, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "75e66ecb6be53d3712", | |
| "msg": [20, 46, 49, 50, 23, 9, 30, 0, 0, 0, 0, 0, 0, 1], | |
| "ct": [40, 61, 55, 32, 27, 25, 16, 49, 27, 7, 25, 50, 8, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2027, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "75e66ecb6be53d3712", | |
| "msg": [59, 54, 38, 28, 11, 13, 8, 32, 0, 0, 0, 0, 0, 0], | |
| "ct": [33, 42, 7, 57, 37, 53, 47, 48, 9, 60, 4, 63, 14, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2028, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "75e66ecb6be53d3712", | |
| "msg": [28, 35, 38, 10, 7, 33, 28, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [47, 33, 9, 53, 43, 27, 6, 57, 3, 63, 46, 52, 50, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2029, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", | |
| "tweak": "00f218eb912f6eeb", | |
| "msg": [-1, 25, 60, 46, 56, 51, 33, 21, 21, 26, 63, 30, 46, 22], | |
| "ct": [34, 20, 27, 37, 9, 20, 46, 50, 13, 10, 23, 24, 1, 8], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2030, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", | |
| "tweak": "00f218eb912f6eeb", | |
| "msg": [39, 25, 60, 46, -1, 51, 33, 21, 21, 26, 63, 30, 46, 22], | |
| "ct": [43, 4, 47, 13, 27, 28, 38, 33, 26, 40, 24, 34, 3, 45], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2031, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", | |
| "tweak": "00f218eb912f6eeb", | |
| "msg": [39, 25, 60, 46, 56, 51, 33, 21, 21, 26, 63, 30, 46, -1], | |
| "ct": [62, 58, 33, 58, 31, 55, 57, 25, 2, 48, 41, 25, 28, 54], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2032, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ad1a9d201fe3ad3ddfe03d6875e696f95602699d87ab079f57c713ed5aaaa3a0", | |
| "tweak": "d0bca46c2ae5c561", | |
| "msg": [64, 57, 13, 46, 7, 57, 44, 0, 11, 58, 19, 7, 47, 4], | |
| "ct": [60, 12, 48, 29, 50, 29, 28, 55, 3, 15, 48, 22, 15, 36], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2033, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ad1a9d201fe3ad3ddfe03d6875e696f95602699d87ab079f57c713ed5aaaa3a0", | |
| "tweak": "d0bca46c2ae5c561", | |
| "msg": [20, 57, 13, 46, 64, 57, 44, 0, 11, 58, 19, 7, 47, 4], | |
| "ct": [10, 22, 12, 47, 15, 24, 35, 29, 58, 58, 2, 6, 56, 60], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2034, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ad1a9d201fe3ad3ddfe03d6875e696f95602699d87ab079f57c713ed5aaaa3a0", | |
| "tweak": "d0bca46c2ae5c561", | |
| "msg": [20, 57, 13, 46, 7, 57, 44, 0, 11, 58, 19, 7, 47, 64], | |
| "ct": [26, 27, 34, 7, 29, 12, 54, 62, 35, 28, 47, 35, 20, 18], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 15, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2035, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "2f9e5c52ea98009130c5c4302ab79c69e9b89a3871ef8b13d04e3cb3ab09d963", | |
| "tweak": "c6eca51b923fbd6f", | |
| "msg": [48, 60, 12, 25, 5, 21, 9, 47, 46, 39, 45, 26, 59, 32, 14], | |
| "ct": [54, 25, 9, 15, 51, 43, 41, 38, 4, 25, 32, 63, 6, 8, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2036, | |
| "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": [15, 22, 52, 63, 43, 60, 33, 38, 24, 33, 23, 44, 52, 19, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2037, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [32, 24, 62, 13, 15, 26, 13, 59, 3, 40, 54, 34, 27, 0, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2038, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [47, 60, 39, 8, 3, 9, 39, 58, 57, 13, 55, 56, 60, 18, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2039, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [25, 29, 59, 37, 15, 24, 43, 3, 38, 57, 15, 52, 16, 30, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2040, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [35, 53, 46, 16, 44, 15, 61, 43, 29, 18, 28, 4, 6, 26, 58], | |
| "ct": [6, 21, 7, 17, 26, 5, 48, 22, 45, 32, 48, 60, 15, 61, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2041, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [23, 44, 11, 39, 56, 63, 26, 23, 59, 0, 34, 27, 47, 1, 31], | |
| "ct": [37, 36, 26, 52, 7, 28, 0, 53, 60, 16, 11, 16, 31, 39, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2042, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [16, 27, 43, 8, 52, 8, 7, 13, 33, 51, 52, 22, 44, 30, 7], | |
| "ct": [52, 48, 28, 14, 6, 4, 43, 12, 33, 37, 34, 54, 5, 33, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2043, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [35, 1, 39, 7, 30, 55, 35, 50, 45, 6, 28, 34, 50, 4, 29], | |
| "ct": [41, 51, 35, 48, 54, 5, 50, 27, 23, 12, 2, 43, 58, 29, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2044, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [14, 33, 1, 43, 46, 39, 58, 19, 52, 58, 62, 15, 28, 34, 31], | |
| "ct": [48, 17, 48, 21, 8, 16, 12, 2, 47, 14, 23, 22, 52, 33, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2045, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [12, 20, 53, 30, 57, 6, 30, 31, 63, 48, 53, 34, 27, 59, 46], | |
| "ct": [16, 51, 57, 26, 45, 15, 15, 42, 51, 41, 40, 15, 36, 24, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2046, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [28, 21, 50, 63, 48, 8, 19, 9, 6, 22, 36, 16, 57, 1, 43], | |
| "ct": [49, 22, 49, 55, 11, 22, 23, 45, 2, 12, 49, 49, 21, 6, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2047, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [31, 26, 47, 55, 22, 31, 60, 15, 5, 41, 19, 14, 33, 20, 22], | |
| "ct": [41, 42, 13, 35, 25, 6, 24, 48, 49, 52, 22, 10, 37, 2, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2048, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [44, 7, 20, 39, 61, 0, 26, 54, 35, 48, 42, 52, 46, 28, 17], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2049, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [20, 7, 56, 21, 22, 43, 11, 21, 10, 28, 40, 9, 43, 5, 11], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2050, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [18, 58, 25, 20, 58, 8, 8, 30, 2, 40, 47, 33, 46, 61, 12], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2051, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [60, 0, 45, 42, 11, 24, 62, 35, 46, 16, 26, 4, 51, 39, 32], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2052, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "18bc66433e925a171d", | |
| "msg": [44, 56, 6, 43, 31, 12, 13, 53, 17, 2, 43, 41, 29, 13, 26], | |
| "ct": [51, 1, 3, 61, 23, 1, 10, 28, 25, 18, 17, 28, 38, 61, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2053, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "18bc66433e925a171d", | |
| "msg": [10, 38, 24, 26, 52, 6, 20, 45, 20, 61, 16, 49, 2, 39, 16], | |
| "ct": [21, 57, 40, 20, 35, 7, 4, 18, 16, 5, 46, 31, 54, 0, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2054, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "18bc66433e925a171d", | |
| "msg": [32, 11, 36, 31, 48, 55, 11, 18, 28, 33, 50, 25, 5, 47, 53], | |
| "ct": [34, 56, 0, 27, 39, 24, 31, 22, 14, 61, 7, 41, 19, 25, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2055, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "18bc66433e925a171d", | |
| "msg": [0, 47, 53, 6, 37, 55, 49, 57, 58, 63, 4, 25, 33, 58, 32], | |
| "ct": [17, 30, 59, 6, 49, 7, 35, 30, 62, 8, 31, 5, 47, 27, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2056, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "9c4d80892d1b6848ae", | |
| "msg": [33, 20, 44, 20, 54, 10, 42, 60, 39, 14, 4, 16, 23, 43, 48], | |
| "ct": [15, 58, 54, 39, 20, 34, 29, 49, 53, 45, 27, 42, 23, 3, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2057, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "9c4d80892d1b6848ae", | |
| "msg": [3, 10, 30, 44, 49, 54, 62, 11, 1, 45, 27, 55, 53, 45, 45], | |
| "ct": [45, 49, 28, 43, 52, 57, 28, 12, 50, 51, 29, 31, 62, 19, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2058, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "9c4d80892d1b6848ae", | |
| "msg": [58, 28, 45, 53, 30, 24, 62, 1, 28, 50, 0, 53, 56, 29, 59], | |
| "ct": [8, 53, 40, 43, 15, 62, 42, 25, 41, 28, 50, 8, 12, 42, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2059, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "9c4d80892d1b6848ae", | |
| "msg": [19, 63, 26, 3, 38, 8, 0, 55, 23, 7, 62, 30, 5, 38, 39], | |
| "ct": [25, 56, 6, 42, 52, 32, 40, 56, 60, 28, 8, 17, 0, 3, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2060, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "9c4d80892d1b6848ae", | |
| "msg": [43, 7, 56, 57, 51, 45, 23, 19, 20, 24, 19, 49, 2, 2, 20], | |
| "ct": [21, 6, 36, 23, 39, 43, 13, 19, 24, 51, 21, 49, 26, 4, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2061, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "374ac203d888330e6f", | |
| "msg": [23, 22, 20, 7, 38, 36, 43, 21, 19, 18, 38, 36, 59, 13, 42], | |
| "ct": [47, 38, 21, 2, 27, 41, 19, 25, 21, 57, 16, 47, 7, 12, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2062, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "374ac203d888330e6f", | |
| "msg": [52, 60, 54, 20, 18, 31, 5, 7, 8, 60, 59, 0, 9, 57, 17], | |
| "ct": [51, 53, 42, 30, 45, 21, 5, 7, 44, 11, 6, 25, 2, 42, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2063, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "374ac203d888330e6f", | |
| "msg": [13, 24, 12, 17, 52, 28, 32, 47, 58, 58, 26, 4, 16, 40, 35], | |
| "ct": [4, 18, 8, 32, 24, 39, 8, 37, 20, 57, 15, 63, 28, 61, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2064, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "374ac203d888330e6f", | |
| "msg": [39, 36, 62, 49, 34, 52, 23, 6, 11, 1, 11, 32, 25, 3, 33], | |
| "ct": [12, 63, 18, 24, 44, 18, 34, 22, 39, 48, 45, 31, 61, 54, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2065, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "47c38330d9b13bab3e", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 51, 42, 53, 9, 14, 1, 11, 18], | |
| "ct": [57, 28, 47, 44, 8, 3, 43, 26, 48, 33, 22, 23, 6, 31, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2066, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "47c38330d9b13bab3e", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 51, 42, 53, 9, 14, 1, 11, 18], | |
| "ct": [22, 52, 31, 59, 10, 4, 50, 7, 20, 41, 30, 27, 52, 5, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2067, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "47c38330d9b13bab3e", | |
| "msg": [0, 0, 0, 0, 0, 0, 63, 51, 42, 53, 9, 14, 1, 11, 18], | |
| "ct": [58, 18, 51, 17, 34, 59, 45, 46, 61, 18, 52, 33, 13, 13, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2068, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "47c38330d9b13bab3e", | |
| "msg": [0, 0, 0, 0, 0, 1, 0, 51, 42, 53, 9, 14, 1, 11, 18], | |
| "ct": [29, 19, 10, 10, 63, 6, 0, 36, 30, 21, 57, 27, 16, 3, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2069, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "47c38330d9b13bab3e", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 51, 42, 53, 9, 14, 1, 11, 18], | |
| "ct": [26, 36, 18, 20, 37, 6, 27, 11, 11, 39, 40, 6, 42, 4, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2070, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "47c38330d9b13bab3e", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 51, 42, 53, 9, 14, 1, 11, 18], | |
| "ct": [33, 33, 40, 55, 7, 31, 21, 6, 53, 34, 28, 49, 24, 7, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2071, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "4aaa3a4cbf06efb43f", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 45, 11, 22, 38, 49, 23, 56, 40], | |
| "ct": [44, 6, 16, 27, 3, 14, 37, 31, 28, 13, 39, 47, 57, 18, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2072, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "4aaa3a4cbf06efb43f", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 45, 11, 22, 38, 49, 23, 56, 40], | |
| "ct": [48, 23, 32, 57, 13, 25, 23, 60, 35, 24, 31, 9, 61, 22, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2073, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "4aaa3a4cbf06efb43f", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 45, 11, 22, 38, 49, 23, 56, 40], | |
| "ct": [17, 10, 4, 25, 28, 54, 23, 31, 31, 25, 41, 55, 48, 57, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2074, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "4aaa3a4cbf06efb43f", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 45, 11, 22, 38, 49, 23, 56, 40], | |
| "ct": [8, 15, 50, 30, 22, 36, 42, 7, 16, 39, 0, 14, 20, 59, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2075, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", | |
| "tweak": "351b957ffa7ac601", | |
| "msg": [-1, 8, 40, 58, 46, 59, 41, 26, 0, 59, 4, 14, 2, 62, 40], | |
| "ct": [4, 28, 5, 25, 55, 44, 6, 35, 62, 15, 45, 22, 53, 4, 7], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2076, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", | |
| "tweak": "351b957ffa7ac601", | |
| "msg": [39, 8, 40, 58, 46, -1, 41, 26, 0, 59, 4, 14, 2, 62, 40], | |
| "ct": [4, 7, 59, 0, 42, 41, 7, 53, 57, 44, 48, 10, 52, 3, 54], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2077, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", | |
| "tweak": "351b957ffa7ac601", | |
| "msg": [39, 8, 40, 58, 46, 59, 41, 26, 0, 59, 4, 14, 2, 62, -1], | |
| "ct": [58, 30, 39, 22, 58, 39, 4, 37, 53, 2, 60, 46, 43, 37, 60], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2078, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f93b0113810a40ba81ab248332e98d79f1666a7ae40ce65de4f89ac0cb92fd31", | |
| "tweak": "aa10954767921639", | |
| "msg": [64, 1, 44, 11, 32, 63, 37, 28, 17, 2, 4, 26, 44, 27, 54], | |
| "ct": [48, 51, 62, 61, 3, 29, 26, 14, 37, 5, 21, 3, 56, 53, 1], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2079, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f93b0113810a40ba81ab248332e98d79f1666a7ae40ce65de4f89ac0cb92fd31", | |
| "tweak": "aa10954767921639", | |
| "msg": [60, 1, 44, 11, 32, 64, 37, 28, 17, 2, 4, 26, 44, 27, 54], | |
| "ct": [48, 39, 43, 50, 12, 44, 54, 1, 13, 55, 13, 54, 63, 8, 35], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2080, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f93b0113810a40ba81ab248332e98d79f1666a7ae40ce65de4f89ac0cb92fd31", | |
| "tweak": "aa10954767921639", | |
| "msg": [60, 1, 44, 11, 32, 63, 37, 28, 17, 2, 4, 26, 44, 27, 64], | |
| "ct": [7, 14, 49, 18, 37, 13, 0, 25, 34, 60, 19, 43, 26, 0, 17], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 16, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2081, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "505aa98819809ef63b9a368a1e8bc2e922da45b03ce02d9a7966b15006dba2d5", | |
| "tweak": "5b54b73e6af6a275", | |
| "msg": [30, 50, 61, 22, 57, 15, 9, 5, 30, 56, 11, 4, 4, 37, 63, 62], | |
| "ct": [36, 31, 51, 6, 36, 21, 15, 30, 14, 30, 19, 55, 45, 43, 12, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2082, | |
| "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": [52, 26, 22, 61, 34, 46, 51, 44, 63, 17, 10, 47, 57, 55, 23, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2083, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [12, 25, 41, 56, 43, 43, 21, 34, 53, 39, 52, 1, 58, 0, 55, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2084, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [34, 37, 10, 10, 47, 62, 13, 42, 2, 3, 52, 41, 52, 62, 20, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2085, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [23, 33, 31, 1, 63, 34, 14, 43, 43, 60, 14, 60, 0, 38, 25, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2086, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [26, 39, 61, 17, 9, 55, 62, 22, 26, 53, 5, 31, 32, 4, 39, 34], | |
| "ct": [44, 54, 30, 57, 11, 55, 31, 7, 23, 28, 24, 56, 30, 41, 30, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2087, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [27, 0, 59, 57, 37, 2, 9, 56, 8, 60, 29, 11, 2, 30, 57, 34], | |
| "ct": [31, 10, 20, 7, 49, 32, 53, 28, 5, 2, 11, 7, 1, 54, 30, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2088, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [11, 9, 51, 51, 27, 40, 32, 26, 46, 16, 49, 12, 11, 45, 45, 35], | |
| "ct": [33, 60, 2, 27, 48, 0, 54, 20, 21, 50, 16, 34, 6, 37, 27, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2089, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [20, 7, 53, 37, 50, 45, 15, 9, 50, 59, 40, 7, 31, 30, 4, 28], | |
| "ct": [41, 37, 49, 7, 27, 56, 43, 10, 29, 25, 8, 51, 33, 15, 31, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2090, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [27, 14, 19, 30, 63, 42, 53, 2, 48, 43, 49, 20, 23, 21, 30, 5], | |
| "ct": [16, 9, 1, 38, 31, 48, 51, 44, 16, 21, 54, 19, 21, 50, 39, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2091, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [23, 30, 20, 46, 54, 11, 51, 30, 46, 43, 9, 54, 34, 51, 1, 61], | |
| "ct": [20, 25, 60, 40, 62, 22, 2, 48, 55, 46, 11, 44, 1, 36, 34, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2092, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [48, 1, 5, 37, 40, 26, 55, 7, 25, 47, 11, 23, 1, 38, 33, 43], | |
| "ct": [34, 19, 57, 56, 9, 47, 1, 49, 1, 58, 30, 59, 49, 21, 59, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2093, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [33, 11, 17, 38, 61, 48, 58, 38, 2, 61, 10, 41, 49, 41, 3, 17], | |
| "ct": [8, 0, 26, 25, 27, 1, 35, 11, 25, 30, 8, 58, 49, 61, 46, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2094, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [32, 59, 58, 34, 47, 4, 49, 43, 62, 11, 60, 40, 53, 10, 54, 42], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2095, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [28, 56, 58, 32, 36, 12, 59, 2, 1, 26, 12, 63, 23, 22, 7, 34], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2096, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [49, 52, 13, 10, 21, 60, 6, 59, 28, 57, 3, 19, 58, 45, 9, 24], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2097, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [44, 43, 63, 38, 20, 27, 55, 30, 49, 30, 18, 1, 9, 25, 22, 36], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2098, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "93bd6f9a86fa9d8aae", | |
| "msg": [44, 14, 5, 34, 34, 34, 7, 13, 38, 37, 27, 49, 12, 32, 12, 12], | |
| "ct": [26, 28, 41, 0, 51, 31, 27, 22, 58, 53, 17, 18, 5, 16, 52, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2099, | |
| "comment": "y = 0 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "93bd6f9a86fa9d8aae", | |
| "msg": [35, 38, 43, 44, 30, 57, 51, 56, 31, 2, 23, 32, 4, 52, 37, 32], | |
| "ct": [1, 14, 22, 63, 18, 50, 7, 7, 48, 19, 62, 50, 23, 43, 3, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2100, | |
| "comment": "y = 0 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "93bd6f9a86fa9d8aae", | |
| "msg": [43, 42, 58, 42, 45, 42, 32, 42, 7, 17, 25, 13, 11, 56, 41, 18], | |
| "ct": [30, 14, 5, 8, 47, 60, 57, 49, 16, 14, 15, 60, 19, 54, 9, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2101, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "93bd6f9a86fa9d8aae", | |
| "msg": [8, 15, 53, 11, 62, 51, 45, 37, 18, 21, 51, 10, 34, 17, 30, 46], | |
| "ct": [0, 20, 7, 56, 20, 46, 31, 32, 12, 6, 4, 60, 35, 50, 5, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2102, | |
| "comment": "y = 1 and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "edf10adcb5e88d1e46", | |
| "msg": [49, 17, 11, 18, 56, 63, 19, 8, 39, 52, 39, 40, 45, 40, 12, 41], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 1, 51, 26, 59, 50, 37, 47, 62, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2103, | |
| "comment": "y = 1 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "edf10adcb5e88d1e46", | |
| "msg": [0, 18, 8, 11, 9, 55, 38, 43, 60, 15, 3, 37, 19, 57, 50, 0], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 2, 2, 11, 18, 25, 60, 37, 44, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2104, | |
| "comment": "y = 1 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "edf10adcb5e88d1e46", | |
| "msg": [52, 14, 50, 35, 8, 45, 30, 26, 29, 2, 49, 14, 36, 50, 4, 54], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 1, 55, 28, 57, 43, 24, 53, 5, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2105, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "edf10adcb5e88d1e46", | |
| "msg": [37, 10, 11, 49, 22, 16, 17, 13, 33, 42, 20, 25, 37, 30, 1, 29], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 5, 21, 11, 33, 49, 42, 61, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2106, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "edf10adcb5e88d1e46", | |
| "msg": [27, 31, 15, 18, 31, 24, 45, 60, 8, 8, 35, 53, 29, 27, 33, 41], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 11, 49, 6, 11, 59, 55, 17, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2107, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "8fe67337ba6c7dd061", | |
| "msg": [45, 9, 58, 24, 49, 2, 34, 33, 52, 0, 42, 23, 61, 60, 31, 49], | |
| "ct": [22, 19, 10, 38, 56, 62, 48, 46, 22, 24, 32, 36, 44, 4, 45, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2108, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "8fe67337ba6c7dd061", | |
| "msg": [62, 0, 9, 6, 52, 14, 1, 12, 34, 36, 55, 56, 58, 4, 59, 56], | |
| "ct": [25, 11, 26, 62, 27, 62, 25, 42, 15, 37, 52, 38, 15, 30, 7, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2109, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "8fe67337ba6c7dd061", | |
| "msg": [28, 37, 34, 32, 32, 19, 35, 21, 19, 42, 51, 49, 0, 47, 28, 29], | |
| "ct": [12, 33, 29, 48, 36, 47, 50, 62, 17, 34, 18, 22, 38, 14, 18, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2110, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "8fe67337ba6c7dd061", | |
| "msg": [55, 18, 28, 29, 5, 3, 3, 36, 28, 40, 12, 36, 21, 28, 12, 10], | |
| "ct": [1, 44, 3, 37, 40, 38, 7, 0, 2, 15, 24, 28, 27, 36, 31, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2111, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "96b5c9117db2e14df3", | |
| "msg": [4, 39, 49, 48, 6, 62, 53, 58, 53, 55, 52, 35, 54, 33, 48, 57], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 0, 7, 63, 30, 47, 11, 42, 9, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2112, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "96b5c9117db2e14df3", | |
| "msg": [59, 27, 21, 18, 13, 6, 57, 5, 8, 48, 34, 38, 9, 56, 52, 51], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 1, 48, 22, 48, 44, 31, 61, 4, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2113, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "96b5c9117db2e14df3", | |
| "msg": [1, 35, 18, 59, 40, 33, 30, 33, 32, 48, 17, 57, 63, 25, 0, 62], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 15, 33, 21, 41, 60, 43, 48, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2114, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "96b5c9117db2e14df3", | |
| "msg": [20, 15, 31, 39, 19, 9, 28, 54, 13, 40, 42, 11, 27, 6, 19, 9], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 3, 13, 19, 35, 28, 41, 4, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2115, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "96b5c9117db2e14df3", | |
| "msg": [41, 2, 55, 38, 59, 18, 16, 52, 23, 34, 45, 50, 33, 23, 10, 40], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 0, 51, 37, 3, 5, 52, 29, 53, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2116, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "96b5c9117db2e14df3", | |
| "msg": [4, 27, 33, 43, 48, 32, 22, 2, 55, 30, 35, 30, 11, 47, 5, 0], | |
| "ct": [63, 63, 63, 63, 63, 63, 62, 63, 12, 39, 47, 36, 20, 31, 11, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2117, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "133b9d7ab988120dd0", | |
| "msg": [32, 51, 32, 21, 61, 47, 26, 62, 0, 44, 0, 19, 22, 39, 2, 23], | |
| "ct": [21, 12, 13, 40, 15, 41, 24, 7, 44, 18, 11, 46, 8, 23, 54, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2118, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "133b9d7ab988120dd0", | |
| "msg": [7, 20, 57, 12, 57, 19, 53, 51, 38, 37, 8, 55, 16, 26, 51, 12], | |
| "ct": [20, 3, 53, 63, 36, 47, 55, 0, 45, 50, 11, 59, 57, 59, 63, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2119, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "133b9d7ab988120dd0", | |
| "msg": [50, 13, 13, 10, 43, 58, 59, 5, 20, 16, 7, 7, 7, 28, 46, 23], | |
| "ct": [44, 11, 53, 2, 13, 58, 16, 34, 33, 20, 55, 6, 49, 43, 24, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2120, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "133b9d7ab988120dd0", | |
| "msg": [42, 2, 11, 61, 40, 13, 38, 60, 30, 61, 27, 41, 0, 28, 41, 63], | |
| "ct": [48, 59, 19, 51, 3, 61, 19, 18, 49, 42, 62, 16, 20, 51, 38, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2121, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", | |
| "tweak": "a48cfeaa6646b0c5", | |
| "msg": [-1, 54, 13, 58, 39, 18, 44, 17, 26, 42, 13, 4, 18, 2, 31, 27], | |
| "ct": [25, 10, 24, 27, 38, 2, 17, 5, 27, 62, 61, 18, 34, 17, 15, 28], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2122, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", | |
| "tweak": "a48cfeaa6646b0c5", | |
| "msg": [11, 54, 13, 58, 39, -1, 44, 17, 26, 42, 13, 4, 18, 2, 31, 27], | |
| "ct": [47, 23, 61, 19, 52, 34, 19, 34, 10, 46, 25, 1, 40, 60, 51, 41], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2123, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", | |
| "tweak": "a48cfeaa6646b0c5", | |
| "msg": [11, 54, 13, 58, 39, 18, 44, 17, 26, 42, 13, 4, 18, 2, 31, -1], | |
| "ct": [30, 11, 22, 11, 2, 60, 42, 11, 47, 32, 12, 42, 30, 57, 48, 46], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2124, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5e0b7a687c4a6ffe51a927fd13d3ecbfc3840bc0facf155aad960db1371dcc80", | |
| "tweak": "aa52b44815b1e0c7", | |
| "msg": [64, 2, 54, 53, 61, 2, 51, 29, 27, 24, 6, 48, 31, 20, 32, 3], | |
| "ct": [38, 51, 42, 59, 13, 19, 59, 5, 23, 62, 3, 55, 23, 47, 56, 52], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2125, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5e0b7a687c4a6ffe51a927fd13d3ecbfc3840bc0facf155aad960db1371dcc80", | |
| "tweak": "aa52b44815b1e0c7", | |
| "msg": [56, 2, 54, 53, 61, 64, 51, 29, 27, 24, 6, 48, 31, 20, 32, 3], | |
| "ct": [61, 57, 16, 4, 35, 53, 39, 28, 12, 62, 30, 58, 29, 24, 8, 34], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2126, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5e0b7a687c4a6ffe51a927fd13d3ecbfc3840bc0facf155aad960db1371dcc80", | |
| "tweak": "aa52b44815b1e0c7", | |
| "msg": [56, 2, 54, 53, 61, 2, 51, 29, 27, 24, 6, 48, 31, 20, 32, 64], | |
| "ct": [60, 13, 35, 29, 23, 10, 4, 0, 13, 51, 55, 61, 26, 25, 5, 44], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 17, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2127, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "abd43681541e9a9233091509ee06c648b45a34c0ddc73f39d804bcaf7bf31a0e", | |
| "tweak": "011400c2b81f3e50", | |
| "msg": [32, 26, 1, 18, 29, 63, 0, 37, 63, 39, 37, 34, 39, 51, 41, 11, 21], | |
| "ct": [39, 20, 0, 50, 8, 22, 45, 55, 34, 8, 23, 50, 7, 30, 1, 21, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2128, | |
| "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": [17, 41, 13, 14, 40, 52, 1, 0, 45, 48, 54, 36, 41, 40, 36, 31, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2129, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [18, 14, 8, 32, 44, 17, 25, 7, 8, 50, 21, 34, 42, 26, 24, 4, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2130, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [5, 27, 1, 25, 58, 41, 13, 17, 17, 20, 27, 43, 30, 28, 33, 51, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2131, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [36, 51, 52, 51, 7, 16, 22, 19, 63, 52, 59, 29, 4, 35, 15, 32, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2132, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [16, 19, 43, 1, 44, 3, 36, 51, 5, 42, 21, 42, 55, 16, 27, 37, 20], | |
| "ct": [15, 11, 31, 7, 46, 32, 49, 14, 35, 32, 54, 37, 17, 49, 35, 55, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2133, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [19, 7, 54, 19, 7, 53, 58, 57, 56, 37, 14, 3, 21, 38, 53, 32, 38], | |
| "ct": [59, 29, 38, 53, 38, 38, 25, 9, 30, 21, 34, 25, 25, 59, 22, 51, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2134, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [23, 62, 60, 60, 27, 6, 55, 41, 56, 34, 31, 24, 22, 15, 29, 35, 33], | |
| "ct": [62, 9, 45, 11, 7, 43, 47, 52, 17, 20, 43, 11, 61, 63, 26, 25, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2135, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [40, 62, 28, 39, 39, 49, 4, 63, 39, 28, 23, 0, 42, 30, 32, 36, 29], | |
| "ct": [37, 31, 31, 14, 7, 46, 25, 54, 7, 31, 8, 29, 11, 3, 16, 49, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2136, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [57, 31, 28, 45, 61, 28, 24, 16, 50, 16, 58, 63, 6, 56, 61, 26, 12], | |
| "ct": [0, 40, 24, 25, 8, 5, 53, 49, 48, 50, 63, 5, 8, 13, 49, 14, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2137, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [48, 34, 22, 30, 46, 24, 27, 44, 50, 9, 23, 15, 15, 49, 6, 41, 36], | |
| "ct": [26, 54, 59, 9, 0, 46, 28, 6, 20, 5, 35, 3, 57, 2, 14, 17, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2138, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [53, 19, 40, 30, 52, 18, 24, 14, 53, 58, 4, 61, 37, 40, 38, 31, 43], | |
| "ct": [11, 9, 25, 34, 42, 63, 20, 47, 47, 27, 48, 5, 31, 21, 12, 10, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2139, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [11, 60, 0, 10, 48, 18, 1, 53, 53, 41, 4, 33, 46, 35, 48, 9, 15], | |
| "ct": [31, 55, 53, 23, 60, 34, 27, 25, 22, 37, 37, 1, 8, 22, 43, 13, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2140, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [21, 8, 52, 8, 29, 51, 4, 59, 29, 6, 39, 1, 12, 25, 46, 34, 47], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2141, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [32, 29, 16, 22, 29, 46, 23, 38, 24, 10, 42, 45, 28, 41, 21, 42, 38], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2142, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [14, 21, 6, 31, 22, 18, 12, 33, 59, 46, 58, 54, 27, 40, 25, 46, 44], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2143, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [41, 53, 22, 20, 22, 10, 35, 31, 10, 11, 41, 9, 6, 36, 16, 52, 49], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2144, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "aeea60f6a514753e", | |
| "msg": [57, 33, 28, 27, 31, 30, 10, 57, 46, 29, 62, 5, 17, 13, 30, 44, 32], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 50, 7, 47, 21, 37, 16, 28, 48, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2145, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "aeea60f6a514753e", | |
| "msg": [17, 20, 34, 46, 52, 0, 6, 9, 19, 6, 24, 60, 13, 41, 12, 42, 38], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 1, 2, 43, 55, 13, 60, 29, 29, 27, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2146, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "aeea60f6a514753e", | |
| "msg": [17, 3, 43, 5, 19, 40, 44, 35, 60, 5, 38, 55, 28, 49, 45, 40, 19], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 41, 8, 32, 44, 3, 0, 32, 36, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2147, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "aeea60f6a514753e", | |
| "msg": [48, 54, 18, 34, 27, 3, 35, 39, 19, 14, 37, 32, 20, 6, 37, 25, 28], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 45, 0, 37, 32, 33, 14, 43, 22, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2148, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "ddf90d82f6c3781a", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 59, 23, 38, 15, 2, 41, 55, 27, 23], | |
| "ct": [0, 50, 38, 43, 4, 31, 14, 40, 58, 7, 49, 24, 3, 34, 36, 6, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2149, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "ddf90d82f6c3781a", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 1, 59, 23, 38, 15, 2, 41, 55, 27, 23], | |
| "ct": [61, 28, 55, 32, 16, 19, 43, 10, 7, 60, 16, 16, 16, 43, 33, 37, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2150, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "ddf90d82f6c3781a", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 59, 23, 38, 15, 2, 41, 55, 27, 23], | |
| "ct": [59, 15, 38, 17, 1, 3, 43, 7, 24, 40, 58, 5, 24, 24, 56, 60, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2151, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "ddf90d82f6c3781a", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 62, 59, 23, 38, 15, 2, 41, 55, 27, 23], | |
| "ct": [28, 21, 18, 59, 20, 58, 46, 45, 4, 7, 41, 28, 34, 57, 18, 34, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2152, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "ddf90d82f6c3781a", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 59, 23, 38, 15, 2, 41, 55, 27, 23], | |
| "ct": [8, 58, 52, 30, 49, 55, 42, 49, 5, 50, 29, 47, 61, 36, 11, 31, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2153, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "6bfa19a52b421060", | |
| "msg": [54, 40, 6, 57, 39, 34, 9, 49, 13, 23, 27, 8, 24, 32, 32, 7, 34], | |
| "ct": [8, 52, 42, 63, 7, 55, 6, 12, 0, 14, 51, 36, 17, 27, 1, 43, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2154, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "6bfa19a52b421060", | |
| "msg": [55, 59, 16, 22, 25, 4, 12, 56, 2, 23, 31, 3, 10, 34, 25, 2, 54], | |
| "ct": [4, 3, 15, 58, 37, 3, 48, 31, 7, 41, 44, 41, 27, 18, 14, 43, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2155, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "6bfa19a52b421060", | |
| "msg": [26, 22, 57, 31, 34, 60, 40, 19, 7, 0, 6, 26, 46, 1, 31, 56, 55], | |
| "ct": [18, 51, 17, 47, 55, 52, 19, 4, 7, 35, 25, 38, 48, 17, 28, 30, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2156, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "6bfa19a52b421060", | |
| "msg": [53, 22, 27, 24, 28, 23, 16, 47, 42, 40, 54, 24, 33, 7, 12, 16, 63], | |
| "ct": [49, 28, 49, 28, 50, 51, 14, 20, 28, 14, 50, 59, 39, 23, 40, 20, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2157, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "199d637ab1734583", | |
| "msg": [11, 57, 31, 44, 17, 21, 49, 42, 55, 4, 25, 57, 14, 3, 57, 58, 38], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 0, 0, 43, 7, 42, 61, 21, 59, 18, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2158, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "199d637ab1734583", | |
| "msg": [58, 37, 36, 22, 18, 32, 13, 60, 20, 19, 50, 38, 35, 0, 43, 57, 56], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 1, 4, 5, 17, 36, 47, 2, 21, 9, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2159, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "199d637ab1734583", | |
| "msg": [32, 35, 30, 19, 33, 6, 60, 16, 56, 63, 51, 51, 32, 55, 35, 11, 7], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 6, 43, 31, 3, 34, 36, 20, 58, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2160, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "199d637ab1734583", | |
| "msg": [25, 48, 29, 16, 62, 43, 20, 33, 57, 4, 53, 59, 45, 15, 43, 62, 53], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 9, 35, 13, 18, 46, 21, 4, 34, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2161, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "199d637ab1734583", | |
| "msg": [63, 23, 7, 3, 28, 22, 13, 6, 24, 21, 40, 8, 62, 56, 24, 39, 19], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 0, 40, 7, 31, 41, 44, 18, 7, 16, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2162, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "199d637ab1734583", | |
| "msg": [12, 17, 63, 25, 27, 56, 8, 12, 50, 20, 59, 57, 49, 56, 26, 57, 34], | |
| "ct": [63, 63, 63, 63, 63, 63, 62, 63, 17, 7, 1, 8, 23, 63, 49, 15, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2163, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "dec38d26773308a8", | |
| "msg": [62, 15, 60, 31, 14, 48, 54, 39, 33, 37, 14, 15, 5, 61, 6, 49, 35], | |
| "ct": [51, 56, 18, 57, 57, 0, 22, 17, 28, 55, 33, 39, 54, 5, 53, 28, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2164, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "dec38d26773308a8", | |
| "msg": [22, 17, 44, 54, 56, 63, 6, 54, 34, 34, 25, 39, 1, 11, 57, 45, 32], | |
| "ct": [46, 49, 13, 58, 47, 29, 45, 10, 10, 28, 38, 43, 27, 20, 45, 23, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2165, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "dec38d26773308a8", | |
| "msg": [21, 9, 20, 42, 57, 36, 17, 34, 5, 30, 31, 4, 3, 28, 41, 34, 57], | |
| "ct": [28, 25, 3, 39, 35, 40, 15, 18, 15, 60, 35, 60, 62, 35, 39, 44, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2166, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "dec38d26773308a8", | |
| "msg": [10, 1, 12, 42, 48, 4, 9, 6, 29, 1, 36, 48, 53, 48, 48, 9, 17], | |
| "ct": [4, 27, 44, 40, 25, 26, 47, 63, 11, 6, 60, 44, 3, 13, 58, 44, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2167, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", | |
| "tweak": "6460d80894ab337d", | |
| "msg": [-1, 41, 14, 0, 25, 4, 33, 52, 47, 44, 23, 9, 34, 9, 29, 24, 20], | |
| "ct": [26, 31, 34, 55, 55, 55, 50, 61, 60, 52, 45, 55, 16, 14, 1, 31, 54], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2168, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", | |
| "tweak": "6460d80894ab337d", | |
| "msg": [35, 41, 14, 0, 25, -1, 33, 52, 47, 44, 23, 9, 34, 9, 29, 24, 20], | |
| "ct": [15, 27, 43, 50, 8, 20, 12, 17, 17, 13, 10, 7, 60, 3, 26, 29, 31], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2169, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", | |
| "tweak": "6460d80894ab337d", | |
| "msg": [35, 41, 14, 0, 25, 4, 33, 52, 47, 44, 23, 9, 34, 9, 29, 24, -1], | |
| "ct": [17, 37, 36, 53, 30, 48, 62, 37, 63, 23, 48, 18, 51, 48, 6, 1, 53], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2170, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "062ec47e4f37622398dce96c42f783a51ebb9b2c7a1375bb669a630509b803d0", | |
| "tweak": "d5a19525d540c33e", | |
| "msg": [64, 35, 18, 21, 1, 18, 33, 56, 38, 28, 52, 25, 60, 58, 28, 47, 4], | |
| "ct": [15, 39, 53, 49, 61, 52, 34, 26, 61, 48, 42, 58, 44, 41, 55, 18, 18], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2171, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "062ec47e4f37622398dce96c42f783a51ebb9b2c7a1375bb669a630509b803d0", | |
| "tweak": "d5a19525d540c33e", | |
| "msg": [31, 35, 18, 21, 1, 64, 33, 56, 38, 28, 52, 25, 60, 58, 28, 47, 4], | |
| "ct": [2, 25, 42, 44, 8, 31, 3, 13, 34, 32, 39, 43, 47, 41, 13, 12, 49], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2172, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "062ec47e4f37622398dce96c42f783a51ebb9b2c7a1375bb669a630509b803d0", | |
| "tweak": "d5a19525d540c33e", | |
| "msg": [31, 35, 18, 21, 1, 18, 33, 56, 38, 28, 52, 25, 60, 58, 28, 47, 64], | |
| "ct": [31, 36, 33, 0, 18, 45, 57, 45, 31, 55, 47, 31, 30, 19, 1, 47, 56], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 18, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2173, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "be748dab0203d19a98eb126a8ed6fcbd99aeea49f1cff7512529f201bf0eff67", | |
| "tweak": "4977c3ee944e48cb", | |
| "msg": [5, 33, 27, 39, 4, 34, 43, 21, 40, 4, 8, 49, 6, 32, 43, 41, 11, 4], | |
| "ct": [55, 29, 48, 32, 8, 46, 2, 18, 14, 31, 41, 9, 16, 30, 31, 14, 2, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2174, | |
| "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": [42, 55, 3, 47, 17, 41, 48, 13, 59, 38, 51, 42, 52, 5, 37, 23, 39, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2175, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [35, 56, 58, 62, 2, 19, 14, 50, 50, 5, 56, 29, 51, 19, 27, 31, 34, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2176, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [7, 47, 19, 42, 51, 41, 38, 28, 46, 26, 46, 47, 56, 22, 14, 55, 53, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2177, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [19, 30, 35, 34, 47, 59, 17, 17, 3, 47, 5, 62, 33, 23, 8, 28, 58, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2178, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [34, 6, 5, 29, 14, 48, 13, 45, 10, 15, 8, 29, 24, 61, 57, 32, 30, 47], | |
| "ct": [12, 39, 58, 55, 0, 13, 53, 25, 55, 29, 55, 27, 60, 31, 18, 11, 15, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2179, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [58, 39, 33, 58, 21, 15, 39, 4, 48, 54, 27, 39, 10, 21, 56, 14, 49, 6], | |
| "ct": [57, 1, 8, 41, 62, 14, 32, 1, 23, 50, 43, 2, 55, 47, 11, 45, 21, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2180, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [52, 17, 35, 63, 41, 1, 42, 53, 49, 61, 29, 0, 34, 28, 47, 17, 55, 54], | |
| "ct": [54, 47, 41, 45, 51, 4, 31, 46, 16, 58, 53, 44, 2, 5, 39, 19, 43, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2181, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [23, 48, 2, 7, 20, 58, 17, 51, 46, 41, 25, 45, 28, 45, 4, 12, 41, 23], | |
| "ct": [22, 7, 25, 26, 59, 17, 26, 19, 48, 25, 11, 52, 47, 10, 12, 59, 37, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2182, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [47, 37, 5, 17, 61, 10, 59, 29, 31, 60, 29, 18, 20, 42, 31, 61, 40, 60], | |
| "ct": [23, 30, 2, 39, 41, 3, 20, 49, 40, 36, 16, 38, 2, 9, 41, 44, 45, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2183, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [32, 29, 12, 44, 57, 3, 15, 15, 7, 17, 35, 32, 44, 52, 53, 30, 55, 61], | |
| "ct": [15, 19, 54, 36, 38, 53, 38, 5, 18, 17, 59, 17, 43, 37, 19, 43, 1, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2184, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [40, 31, 23, 26, 61, 24, 21, 29, 55, 50, 5, 19, 33, 5, 18, 9, 0, 25], | |
| "ct": [36, 5, 45, 60, 31, 7, 44, 54, 40, 4, 22, 24, 54, 37, 7, 31, 17, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2185, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [54, 44, 10, 13, 40, 7, 29, 55, 4, 44, 56, 44, 60, 7, 9, 57, 17, 23], | |
| "ct": [13, 34, 35, 27, 1, 1, 51, 25, 61, 54, 23, 3, 21, 33, 8, 25, 38, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2186, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [33, 16, 52, 39, 53, 32, 46, 59, 48, 49, 50, 43, 47, 54, 20, 35, 63, 53], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2187, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [31, 41, 28, 0, 42, 60, 51, 63, 41, 29, 47, 50, 61, 20, 18, 32, 26, 40], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2188, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [54, 7, 15, 63, 28, 41, 58, 11, 32, 32, 30, 9, 38, 55, 23, 29, 43, 27], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2189, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [26, 6, 49, 28, 49, 30, 12, 42, 63, 6, 12, 54, 35, 47, 29, 30, 36, 5], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2190, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "24349d2a927c9a59", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 52, 50, 0, 36, 52, 1, 4, 4], | |
| "ct": [62, 35, 39, 44, 32, 37, 30, 19, 4, 43, 44, 38, 0, 50, 3, 20, 60, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2191, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "24349d2a927c9a59", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 25, 52, 50, 0, 36, 52, 1, 4, 4], | |
| "ct": [48, 20, 41, 19, 22, 30, 42, 18, 56, 8, 58, 49, 63, 37, 39, 34, 8, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2192, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "24349d2a927c9a59", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 25, 52, 50, 0, 36, 52, 1, 4, 4], | |
| "ct": [30, 27, 29, 37, 20, 4, 14, 16, 39, 35, 49, 20, 8, 59, 24, 58, 48, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2193, | |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "24349d2a927c9a59", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 25, 52, 50, 0, 36, 52, 1, 4, 4], | |
| "ct": [56, 5, 19, 3, 16, 33, 27, 37, 21, 0, 29, 5, 57, 43, 48, 59, 7, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2194, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "2d79d40518c3ddfc", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 59, 34, 14, 12, 16, 2, 47, 54], | |
| "ct": [41, 6, 41, 2, 22, 20, 13, 23, 27, 3, 23, 27, 15, 57, 37, 33, 21, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2195, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "2d79d40518c3ddfc", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 48, 59, 34, 14, 12, 16, 2, 47, 54], | |
| "ct": [23, 13, 35, 40, 11, 28, 36, 9, 61, 6, 44, 36, 0, 32, 47, 30, 8, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2196, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "2d79d40518c3ddfc", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 48, 59, 34, 14, 12, 16, 2, 47, 54], | |
| "ct": [61, 55, 39, 35, 57, 31, 50, 17, 62, 41, 53, 31, 53, 20, 48, 53, 32, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2197, | |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "2d79d40518c3ddfc", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 62, 48, 59, 34, 14, 12, 16, 2, 47, 54], | |
| "ct": [32, 23, 30, 53, 52, 7, 39, 42, 46, 15, 27, 47, 52, 28, 10, 62, 62, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2198, | |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "2d79d40518c3ddfc", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 48, 59, 34, 14, 12, 16, 2, 47, 54], | |
| "ct": [29, 9, 57, 61, 59, 16, 35, 36, 12, 12, 29, 59, 5, 42, 13, 38, 8, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2199, | |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "75a474820de0ec2d", | |
| "msg": [8, 8, 5, 39, 56, 21, 40, 46, 49, 22, 22, 7, 57, 37, 8, 50, 5, 42], | |
| "ct": [30, 9, 21, 49, 34, 23, 2, 59, 58, 53, 13, 20, 4, 59, 36, 7, 1, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2200, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "75a474820de0ec2d", | |
| "msg": [48, 12, 45, 7, 35, 62, 30, 26, 4, 13, 54, 25, 10, 45, 6, 59, 2, 6], | |
| "ct": [53, 55, 11, 1, 1, 51, 1, 20, 24, 38, 30, 20, 58, 33, 6, 63, 13, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2201, | |
| "comment": "y is maximal and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "75a474820de0ec2d", | |
| "msg": [23, 61, 23, 13, 1, 39, 61, 39, 40, 57, 27, 35, 33, 35, 61, 21, 21, 60], | |
| "ct": [63, 40, 27, 34, 22, 31, 39, 30, 33, 20, 42, 52, 37, 6, 60, 27, 20, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2202, | |
| "comment": "y is maximal and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "75a474820de0ec2d", | |
| "msg": [23, 17, 38, 31, 56, 25, 18, 60, 3, 58, 56, 12, 32, 49, 1, 22, 14, 21], | |
| "ct": [23, 0, 50, 19, 53, 59, 36, 16, 22, 6, 47, 49, 36, 41, 23, 31, 54, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2203, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "d3fb4093e3d18455", | |
| "msg": [36, 2, 44, 61, 45, 5, 47, 40, 36, 30, 31, 39, 36, 29, 31, 7, 48, 52], | |
| "ct": [18, 20, 59, 28, 32, 15, 45, 12, 33, 53, 18, 61, 22, 49, 3, 16, 2, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2204, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "d3fb4093e3d18455", | |
| "msg": [40, 41, 24, 17, 12, 1, 2, 63, 36, 59, 30, 59, 44, 51, 22, 51, 42, 9], | |
| "ct": [41, 36, 62, 43, 5, 38, 51, 58, 34, 40, 48, 18, 52, 1, 27, 35, 2, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2205, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "d3fb4093e3d18455", | |
| "msg": [13, 0, 55, 56, 6, 28, 17, 26, 58, 42, 31, 4, 1, 5, 51, 10, 51, 47], | |
| "ct": [12, 53, 54, 6, 27, 19, 21, 53, 1, 11, 50, 2, 0, 56, 14, 56, 56, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2206, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "d3fb4093e3d18455", | |
| "msg": [17, 5, 27, 53, 31, 38, 21, 42, 44, 21, 36, 61, 45, 14, 44, 60, 28, 43], | |
| "ct": [32, 38, 3, 8, 24, 21, 22, 25, 29, 24, 7, 43, 53, 13, 41, 20, 52, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2207, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "d3fb4093e3d18455", | |
| "msg": [54, 5, 5, 28, 33, 22, 28, 43, 50, 8, 60, 0, 33, 48, 58, 27, 6, 17], | |
| "ct": [25, 5, 13, 61, 37, 21, 44, 29, 43, 10, 22, 32, 33, 2, 0, 6, 45, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2208, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "d3fb4093e3d18455", | |
| "msg": [27, 34, 7, 46, 23, 34, 25, 9, 4, 32, 32, 42, 12, 50, 48, 26, 34, 3], | |
| "ct": [47, 2, 32, 22, 45, 54, 12, 19, 30, 36, 32, 53, 42, 43, 2, 45, 63, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2209, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "8a6cf03540d4f1b6", | |
| "msg": [6, 55, 24, 36, 56, 39, 38, 18, 20, 36, 37, 18, 22, 40, 31, 63, 43, 48], | |
| "ct": [9, 34, 58, 19, 55, 26, 11, 18, 26, 45, 9, 47, 55, 31, 5, 45, 11, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2210, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "8a6cf03540d4f1b6", | |
| "msg": [0, 42, 36, 48, 2, 12, 10, 37, 8, 19, 24, 17, 45, 18, 23, 58, 49, 45], | |
| "ct": [44, 58, 29, 0, 3, 40, 36, 56, 3, 32, 8, 10, 23, 10, 46, 33, 5, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2211, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "8a6cf03540d4f1b6", | |
| "msg": [0, 28, 32, 6, 18, 23, 58, 39, 21, 18, 61, 8, 45, 48, 51, 33, 60, 20], | |
| "ct": [44, 53, 34, 26, 51, 10, 29, 54, 32, 44, 32, 18, 52, 57, 49, 63, 22, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2212, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "8a6cf03540d4f1b6", | |
| "msg": [21, 33, 5, 51, 37, 51, 45, 27, 46, 62, 38, 17, 2, 38, 33, 17, 5, 33], | |
| "ct": [39, 62, 11, 35, 11, 34, 27, 38, 56, 55, 16, 53, 41, 52, 7, 52, 7, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2213, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", | |
| "tweak": "ff61916e9620be47", | |
| "msg": [-1, 63, 51, 52, 61, 24, 21, 63, 25, 7, 33, 18, 26, 9, 46, 47, 35, 30], | |
| "ct": [9, 40, 40, 26, 29, 6, 42, 16, 61, 60, 10, 32, 59, 4, 36, 52, 60, 55], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2214, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", | |
| "tweak": "ff61916e9620be47", | |
| "msg": [8, 63, 51, 52, 61, 24, -1, 63, 25, 7, 33, 18, 26, 9, 46, 47, 35, 30], | |
| "ct": [13, 1, 53, 17, 27, 18, 41, 28, 59, 49, 3, 24, 13, 23, 19, 31, 53, 2], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2215, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", | |
| "tweak": "ff61916e9620be47", | |
| "msg": [8, 63, 51, 52, 61, 24, 21, 63, 25, 7, 33, 18, 26, 9, 46, 47, 35, -1], | |
| "ct": [9, 41, 26, 34, 60, 10, 41, 40, 40, 52, 41, 57, 10, 49, 43, 53, 9, 46], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2216, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2be6312b769f283b161a5062720469d331b7f502b0aa19c9b416b38b06bce9bc", | |
| "tweak": "f57fdeec96fbd068", | |
| "msg": [64, 36, 60, 36, 0, 63, 12, 62, 17, 26, 22, 50, 18, 15, 21, 46, 18, 63], | |
| "ct": [42, 43, 5, 38, 1, 4, 4, 9, 52, 21, 41, 15, 1, 45, 13, 19, 35, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2217, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2be6312b769f283b161a5062720469d331b7f502b0aa19c9b416b38b06bce9bc", | |
| "tweak": "f57fdeec96fbd068", | |
| "msg": [44, 36, 60, 36, 0, 63, 64, 62, 17, 26, 22, 50, 18, 15, 21, 46, 18, 63], | |
| "ct": [40, 39, 42, 29, 15, 51, 52, 31, 54, 2, 52, 49, 21, 40, 43, 59, 23, 34], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2218, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2be6312b769f283b161a5062720469d331b7f502b0aa19c9b416b38b06bce9bc", | |
| "tweak": "f57fdeec96fbd068", | |
| "msg": [44, 36, 60, 36, 0, 63, 12, 62, 17, 26, 22, 50, 18, 15, 21, 46, 18, 64], | |
| "ct": [52, 23, 32, 47, 40, 57, 7, 43, 39, 29, 16, 24, 15, 38, 46, 20, 63, 8], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 19, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2219, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "1ba9f170be79c755e07202291871538a2c1b47600b59ec264c04d27f61cd3c28", | |
| "tweak": "c8655169a0f80a05", | |
| "msg": [53, 29, 26, 53, 11, 31, 40, 17, 58, 26, 7, 19, 53, 20, 51, 10, 35, 45, 23], | |
| "ct": [12, 24, 0, 26, 6, 18, 28, 27, 14, 3, 35, 62, 35, 9, 4, 39, 20, 57, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2220, | |
| "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": [22, 38, 25, 2, 18, 59, 41, 15, 5, 63, 24, 27, 52, 39, 35, 5, 34, 39, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2221, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [34, 56, 22, 39, 3, 23, 12, 23, 41, 38, 28, 12, 15, 59, 37, 38, 27, 32, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2222, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [43, 45, 22, 60, 20, 36, 7, 6, 2, 32, 15, 54, 39, 52, 38, 46, 34, 31, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2223, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [43, 22, 39, 36, 38, 35, 62, 43, 3, 10, 10, 19, 38, 18, 1, 26, 35, 51, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2224, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [44, 41, 23, 25, 27, 46, 14, 16, 27, 55, 59, 55, 14, 26, 57, 17, 8, 27, 63], | |
| "ct": [57, 29, 34, 18, 28, 0, 14, 4, 16, 55, 4, 32, 53, 32, 14, 8, 47, 46, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2225, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [49, 43, 10, 47, 26, 29, 10, 47, 9, 25, 49, 12, 34, 16, 18, 5, 10, 42, 44], | |
| "ct": [43, 18, 34, 26, 30, 16, 27, 29, 45, 21, 19, 32, 17, 20, 46, 25, 42, 55, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2226, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [9, 1, 28, 43, 57, 32, 18, 42, 57, 36, 46, 61, 54, 55, 26, 31, 45, 4, 25], | |
| "ct": [62, 60, 35, 21, 35, 14, 11, 14, 52, 53, 42, 41, 1, 44, 36, 20, 52, 32, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2227, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [46, 15, 36, 36, 62, 16, 59, 34, 33, 36, 0, 2, 61, 16, 11, 20, 34, 50, 28], | |
| "ct": [50, 31, 58, 26, 46, 46, 47, 12, 0, 34, 11, 13, 1, 35, 26, 63, 4, 39, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2228, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [7, 13, 27, 30, 47, 35, 59, 53, 15, 53, 32, 4, 2, 40, 45, 13, 14, 55, 62], | |
| "ct": [32, 16, 30, 1, 44, 30, 28, 59, 54, 33, 9, 33, 40, 60, 14, 14, 37, 51, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2229, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [21, 23, 1, 12, 32, 22, 23, 20, 25, 37, 20, 25, 38, 10, 58, 25, 28, 59, 16], | |
| "ct": [49, 16, 5, 24, 11, 12, 45, 15, 46, 63, 1, 61, 29, 15, 49, 62, 49, 22, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2230, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [37, 22, 62, 18, 26, 0, 39, 22, 35, 44, 11, 59, 51, 54, 32, 39, 14, 25, 52], | |
| "ct": [59, 56, 19, 55, 22, 11, 3, 50, 16, 12, 9, 50, 29, 40, 12, 15, 53, 20, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2231, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [24, 58, 6, 38, 21, 35, 8, 28, 51, 3, 23, 33, 58, 40, 36, 34, 62, 22, 30], | |
| "ct": [60, 19, 24, 51, 20, 56, 10, 4, 27, 16, 54, 20, 42, 11, 20, 27, 14, 62, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2232, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [39, 26, 50, 12, 19, 3, 48, 18, 6, 12, 57, 29, 10, 27, 22, 56, 62, 56, 15], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2233, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [18, 49, 46, 49, 21, 48, 30, 10, 47, 9, 62, 31, 5, 38, 25, 10, 58, 11, 43], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2234, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [42, 4, 47, 56, 3, 16, 55, 62, 21, 53, 11, 26, 24, 58, 24, 53, 14, 57, 8], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2235, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [20, 59, 56, 51, 38, 29, 29, 18, 47, 62, 32, 45, 7, 33, 2, 58, 19, 25, 32], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2236, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "b61fad3ca4b698", | |
| "msg": [48, 17, 10, 23, 60, 24, 11, 42, 30, 27, 39, 20, 13, 46, 46, 61, 47, 16, 28], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 33, 27, 45, 39, 16, 6, 38, 25, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2237, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "b61fad3ca4b698", | |
| "msg": [2, 54, 19, 46, 42, 1, 25, 28, 7, 57, 47, 28, 35, 7, 39, 35, 33, 46, 8], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 1, 55, 19, 35, 7, 49, 7, 0, 5, 39, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2238, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "b61fad3ca4b698", | |
| "msg": [19, 48, 49, 57, 5, 49, 32, 44, 11, 24, 57, 16, 45, 35, 35, 43, 20, 0, 57], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 25, 25, 33, 11, 3, 50, 22, 63, 17, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2239, | |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "b61fad3ca4b698", | |
| "msg": [9, 41, 59, 52, 45, 44, 25, 35, 11, 5, 16, 33, 15, 11, 15, 60, 13, 8, 9], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 56, 54, 23, 9, 54, 32, 49, 8, 15, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2240, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "83c78d00c604a5", | |
| "msg": [13, 7, 39, 55, 57, 59, 33, 55, 17, 8, 25, 43, 23, 13, 9, 25, 24, 7, 1], | |
| "ct": [7, 11, 39, 8, 21, 24, 33, 34, 57, 6, 63, 21, 8, 49, 53, 42, 28, 8, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2241, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "83c78d00c604a5", | |
| "msg": [6, 30, 36, 7, 55, 19, 33, 63, 20, 13, 35, 33, 49, 59, 42, 29, 45, 62, 34], | |
| "ct": [57, 57, 45, 46, 25, 53, 11, 2, 25, 29, 7, 35, 59, 59, 56, 61, 23, 36, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2242, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "83c78d00c604a5", | |
| "msg": [58, 22, 58, 58, 41, 5, 13, 46, 0, 17, 14, 28, 14, 7, 45, 22, 59, 5, 52], | |
| "ct": [3, 49, 26, 5, 0, 50, 2, 8, 42, 48, 45, 1, 28, 53, 12, 36, 6, 18, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2243, | |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "83c78d00c604a5", | |
| "msg": [15, 57, 31, 40, 37, 44, 54, 22, 7, 40, 39, 14, 61, 29, 9, 26, 41, 13, 14], | |
| "ct": [56, 6, 8, 34, 32, 46, 50, 9, 23, 30, 13, 11, 27, 50, 24, 12, 31, 54, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2244, | |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "83c78d00c604a5", | |
| "msg": [61, 46, 2, 32, 37, 51, 35, 13, 52, 34, 4, 41, 41, 42, 38, 37, 18, 58, 59], | |
| "ct": [14, 52, 2, 19, 24, 3, 2, 38, 57, 51, 16, 3, 27, 44, 49, 53, 12, 19, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2245, | |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "8ad11e3b1002b9", | |
| "msg": [59, 31, 57, 45, 27, 43, 60, 52, 9, 54, 22, 54, 49, 9, 44, 9, 41, 28, 4], | |
| "ct": [63, 51, 18, 4, 5, 15, 44, 25, 27, 4, 10, 15, 3, 61, 27, 38, 31, 31, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2246, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "8ad11e3b1002b9", | |
| "msg": [17, 31, 58, 39, 53, 41, 33, 22, 36, 36, 19, 23, 55, 2, 39, 61, 43, 21, 49], | |
| "ct": [6, 14, 1, 56, 38, 30, 17, 59, 9, 46, 33, 20, 62, 18, 27, 60, 62, 33, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2247, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "8ad11e3b1002b9", | |
| "msg": [47, 50, 7, 48, 13, 16, 56, 38, 45, 26, 63, 62, 60, 53, 55, 8, 25, 23, 16], | |
| "ct": [63, 22, 43, 16, 29, 61, 18, 28, 20, 14, 32, 5, 33, 28, 56, 3, 50, 63, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2248, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "8ad11e3b1002b9", | |
| "msg": [30, 46, 26, 43, 32, 41, 59, 27, 38, 28, 59, 8, 0, 31, 32, 62, 17, 4, 16], | |
| "ct": [42, 52, 50, 36, 37, 36, 23, 31, 10, 61, 36, 11, 37, 13, 27, 35, 10, 46, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2249, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "62f4d7d00ad843", | |
| "msg": [20, 35, 39, 62, 24, 15, 1, 0, 14, 52, 49, 6, 31, 54, 20, 7, 9, 61, 18], | |
| "ct": [33, 33, 23, 58, 55, 58, 54, 0, 16, 22, 18, 44, 2, 12, 7, 63, 42, 28, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2250, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "62f4d7d00ad843", | |
| "msg": [21, 25, 26, 57, 28, 19, 62, 37, 9, 11, 56, 45, 45, 42, 57, 45, 8, 4, 34], | |
| "ct": [56, 6, 60, 7, 24, 8, 1, 24, 18, 49, 13, 49, 27, 31, 42, 63, 39, 22, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2251, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "62f4d7d00ad843", | |
| "msg": [29, 29, 32, 24, 12, 43, 3, 8, 39, 19, 7, 48, 25, 28, 19, 35, 1, 25, 63], | |
| "ct": [3, 9, 4, 0, 35, 45, 21, 17, 19, 29, 15, 22, 21, 46, 60, 33, 20, 56, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2252, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "62f4d7d00ad843", | |
| "msg": [13, 63, 48, 5, 29, 33, 44, 27, 27, 19, 43, 22, 21, 21, 12, 29, 33, 58, 22], | |
| "ct": [23, 42, 46, 50, 49, 4, 47, 19, 51, 14, 21, 44, 16, 62, 54, 50, 63, 14, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2253, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "62f4d7d00ad843", | |
| "msg": [26, 39, 13, 3, 20, 15, 16, 58, 15, 35, 57, 44, 32, 16, 46, 8, 7, 55, 33], | |
| "ct": [32, 27, 45, 52, 43, 54, 57, 11, 56, 62, 22, 15, 54, 50, 50, 19, 38, 55, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2254, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "62f4d7d00ad843", | |
| "msg": [32, 7, 54, 17, 32, 19, 34, 61, 28, 23, 54, 63, 40, 38, 36, 49, 26, 26, 18], | |
| "ct": [48, 21, 40, 30, 30, 3, 7, 1, 40, 43, 33, 4, 53, 14, 18, 56, 29, 23, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2255, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "ed530ac0dc42f7", | |
| "msg": [53, 0, 56, 38, 52, 44, 52, 2, 14, 49, 42, 19, 17, 58, 43, 29, 0, 56, 15], | |
| "ct": [4, 5, 55, 40, 13, 1, 56, 9, 7, 16, 61, 57, 6, 0, 19, 6, 39, 59, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2256, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "ed530ac0dc42f7", | |
| "msg": [21, 55, 45, 16, 19, 25, 42, 23, 9, 19, 25, 5, 35, 25, 61, 24, 17, 54, 17], | |
| "ct": [32, 51, 59, 26, 49, 4, 55, 63, 14, 41, 4, 29, 9, 19, 32, 0, 54, 41, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2257, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "ed530ac0dc42f7", | |
| "msg": [21, 54, 9, 54, 16, 4, 3, 18, 27, 34, 41, 44, 8, 54, 14, 22, 35, 2, 58], | |
| "ct": [17, 17, 13, 37, 43, 44, 63, 16, 55, 34, 17, 55, 7, 7, 57, 18, 1, 34, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2258, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "ed530ac0dc42f7", | |
| "msg": [55, 62, 40, 43, 19, 6, 39, 10, 21, 18, 57, 18, 18, 25, 42, 43, 31, 13, 31], | |
| "ct": [17, 1, 60, 36, 17, 45, 27, 10, 13, 40, 15, 17, 36, 26, 11, 4, 19, 50, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2259, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", | |
| "tweak": "9561fc88a8ee3dda", | |
| "msg": [-1, 24, 41, 0, 49, 40, 0, 42, 43, 36, 36, 3, 58, 41, 37, 19, 21, 39, 62], | |
| "ct": [45, 28, 47, 50, 3, 1, 43, 10, 43, 20, 16, 3, 36, 8, 44, 8, 6, 32, 29], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2260, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", | |
| "tweak": "9561fc88a8ee3dda", | |
| "msg": [43, 24, 41, 0, 49, 40, -1, 42, 43, 36, 36, 3, 58, 41, 37, 19, 21, 39, 62], | |
| "ct": [58, 21, 13, 55, 31, 63, 29, 30, 36, 47, 21, 0, 40, 56, 39, 57, 26, 32, 10], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2261, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", | |
| "tweak": "9561fc88a8ee3dda", | |
| "msg": [43, 24, 41, 0, 49, 40, 0, 42, 43, 36, 36, 3, 58, 41, 37, 19, 21, 39, -1], | |
| "ct": [20, 52, 29, 59, 31, 25, 53, 51, 49, 9, 31, 62, 53, 29, 55, 31, 17, 33, 20], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2262, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ad59b35d1bc43cddb4000ef6d32acffb80af41ac825e68d9da162d5db71813ce", | |
| "tweak": "8349ad27582173d9", | |
| "msg": [64, 51, 43, 33, 58, 55, 17, 6, 51, 16, 1, 56, 26, 38, 36, 59, 33, 9, 45], | |
| "ct": [38, 51, 39, 45, 8, 22, 18, 28, 45, 12, 36, 14, 57, 58, 39, 1, 25, 15, 36], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2263, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ad59b35d1bc43cddb4000ef6d32acffb80af41ac825e68d9da162d5db71813ce", | |
| "tweak": "8349ad27582173d9", | |
| "msg": [22, 51, 43, 33, 58, 55, 64, 6, 51, 16, 1, 56, 26, 38, 36, 59, 33, 9, 45], | |
| "ct": [47, 11, 33, 20, 1, 17, 10, 33, 5, 8, 34, 33, 54, 20, 45, 8, 52, 4, 32], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2264, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ad59b35d1bc43cddb4000ef6d32acffb80af41ac825e68d9da162d5db71813ce", | |
| "tweak": "8349ad27582173d9", | |
| "msg": [22, 51, 43, 33, 58, 55, 17, 6, 51, 16, 1, 56, 26, 38, 36, 59, 33, 9, 64], | |
| "ct": [32, 12, 54, 44, 31, 52, 49, 63, 16, 7, 41, 32, 33, 32, 34, 7, 43, 0, 16], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 20, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2265, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "4c4c444584b22485ca88c6afcdbb7beb70c7271f1dece986e93f8c26dceedde2", | |
| "tweak": "be2f2b3534bdde03", | |
| "msg": [31, 25, 2, 58, 8, 34, 10, 7, 57, 53, 13, 7, 36, 45, 23, 41, 9, 10, 35, 57], | |
| "ct": [52, 3, 56, 31, 6, 24, 30, 54, 2, 50, 22, 5, 9, 48, 22, 39, 32, 45, 5, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2266, | |
| "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": [44, 33, 36, 44, 6, 53, 40, 27, 11, 4, 28, 11, 9, 47, 7, 60, 56, 42, 3, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2267, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [6, 27, 30, 17, 5, 37, 52, 61, 45, 27, 48, 46, 5, 13, 16, 61, 9, 49, 8, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2268, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [56, 52, 44, 7, 51, 59, 55, 11, 52, 49, 61, 11, 1, 26, 59, 52, 45, 34, 31, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2269, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [49, 36, 11, 36, 2, 28, 3, 43, 2, 16, 14, 47, 45, 24, 13, 27, 22, 11, 3, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2270, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [56, 42, 22, 32, 55, 1, 18, 22, 30, 23, 17, 37, 53, 53, 15, 54, 53, 50, 58, 24], | |
| "ct": [13, 28, 56, 13, 18, 2, 16, 54, 63, 20, 9, 0, 2, 17, 33, 23, 60, 63, 4, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2271, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [60, 49, 24, 12, 16, 32, 42, 57, 59, 11, 54, 34, 47, 48, 28, 33, 17, 39, 30, 63], | |
| "ct": [15, 39, 10, 15, 30, 12, 19, 61, 55, 57, 30, 21, 37, 47, 22, 13, 47, 52, 60, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2272, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [49, 27, 12, 63, 62, 48, 36, 54, 37, 60, 40, 60, 18, 0, 18, 53, 13, 0, 52, 37], | |
| "ct": [36, 48, 16, 42, 0, 54, 39, 7, 49, 33, 55, 46, 20, 11, 15, 10, 5, 43, 22, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2273, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [42, 39, 46, 62, 43, 62, 36, 45, 27, 25, 38, 17, 21, 44, 48, 49, 41, 30, 9, 58], | |
| "ct": [48, 47, 23, 4, 8, 11, 29, 1, 42, 34, 15, 0, 29, 58, 14, 7, 37, 57, 52, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2274, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [43, 38, 21, 26, 13, 57, 27, 43, 56, 61, 43, 57, 41, 34, 54, 11, 7, 28, 43, 14], | |
| "ct": [15, 16, 3, 32, 45, 8, 10, 13, 20, 52, 27, 0, 2, 37, 56, 20, 63, 40, 7, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2275, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [62, 4, 57, 19, 25, 20, 8, 28, 17, 2, 15, 42, 2, 35, 27, 4, 35, 38, 48, 11], | |
| "ct": [14, 17, 24, 54, 33, 62, 52, 19, 2, 28, 45, 55, 24, 12, 62, 51, 20, 5, 51, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2276, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [5, 39, 46, 55, 27, 63, 54, 34, 34, 53, 63, 41, 24, 26, 32, 34, 15, 42, 16, 48], | |
| "ct": [52, 31, 45, 30, 31, 21, 15, 21, 13, 38, 26, 63, 54, 39, 28, 18, 60, 50, 16, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2277, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [28, 58, 50, 51, 32, 50, 56, 18, 37, 33, 10, 21, 15, 37, 63, 17, 40, 10, 14, 29], | |
| "ct": [5, 60, 12, 19, 9, 44, 58, 62, 17, 28, 29, 17, 40, 6, 43, 23, 61, 39, 54, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2278, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [48, 57, 57, 58, 34, 51, 3, 3, 12, 44, 14, 50, 28, 11, 49, 25, 12, 34, 31, 14], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2279, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [54, 40, 16, 1, 57, 33, 14, 23, 16, 15, 32, 28, 1, 57, 60, 18, 29, 58, 61, 11], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2280, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [53, 16, 49, 14, 43, 51, 39, 34, 14, 45, 19, 20, 41, 41, 9, 49, 63, 53, 33, 59], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2281, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", | |
| "tweak": "14a5f056d3d03443", | |
| "msg": [61, 22, 0, 13, 62, 1, 2, 57, 44, 40, 55, 23, 46, 34, 12, 61, 38, 56, 33, 9], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2282, | |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "4d35c61d60c37d", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 55, 18, 55, 50, 55, 63, 6, 9, 15, 44], | |
| "ct": [3, 57, 42, 51, 46, 35, 40, 24, 61, 10, 7, 53, 10, 48, 29, 56, 21, 51, 16, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2283, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "4d35c61d60c37d", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 55, 18, 55, 50, 55, 63, 6, 9, 15, 44], | |
| "ct": [61, 45, 57, 46, 29, 4, 38, 42, 12, 49, 57, 31, 31, 59, 61, 54, 9, 35, 8, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2284, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "4d35c61d60c37d", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 55, 18, 55, 50, 55, 63, 6, 9, 15, 44], | |
| "ct": [15, 35, 63, 50, 23, 55, 57, 30, 47, 37, 39, 11, 42, 22, 20, 35, 54, 29, 11, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2285, | |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "4d35c61d60c37d", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 55, 18, 55, 50, 55, 63, 6, 9, 15, 44], | |
| "ct": [27, 6, 58, 57, 7, 55, 43, 58, 63, 13, 14, 52, 28, 63, 19, 37, 38, 3, 56, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2286, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "bb409bb97b70b4", | |
| "msg": [6, 37, 22, 34, 25, 21, 55, 25, 10, 52, 15, 2, 32, 11, 36, 5, 13, 9, 46, 45], | |
| "ct": [24, 32, 1, 8, 31, 44, 11, 3, 49, 7, 62, 21, 43, 44, 8, 5, 27, 38, 51, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2287, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "bb409bb97b70b4", | |
| "msg": [3, 16, 7, 7, 46, 44, 15, 36, 9, 3, 50, 49, 56, 19, 22, 19, 41, 39, 60, 15], | |
| "ct": [12, 6, 35, 10, 45, 13, 53, 1, 52, 42, 7, 47, 45, 13, 2, 7, 48, 2, 12, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2288, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "bb409bb97b70b4", | |
| "msg": [13, 26, 31, 6, 19, 41, 50, 55, 13, 48, 40, 35, 23, 44, 6, 8, 47, 13, 38, 60], | |
| "ct": [22, 5, 37, 12, 35, 23, 17, 20, 18, 9, 24, 7, 63, 9, 60, 15, 35, 23, 6, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2289, | |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "bb409bb97b70b4", | |
| "msg": [54, 32, 3, 38, 14, 32, 28, 22, 19, 58, 48, 16, 54, 45, 5, 63, 15, 31, 31, 32], | |
| "ct": [31, 61, 58, 62, 36, 28, 0, 52, 24, 1, 2, 38, 19, 46, 58, 37, 35, 44, 16, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2290, | |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "bb409bb97b70b4", | |
| "msg": [28, 3, 38, 21, 13, 52, 14, 41, 10, 47, 44, 46, 17, 47, 61, 13, 27, 41, 13, 17], | |
| "ct": [37, 54, 58, 17, 9, 43, 35, 11, 46, 48, 42, 49, 61, 57, 2, 5, 35, 49, 46, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2291, | |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "c409f10fe7ebd9", | |
| "msg": [14, 22, 0, 4, 56, 11, 38, 19, 28, 50, 7, 36, 27, 31, 37, 59, 11, 19, 5, 49], | |
| "ct": [13, 25, 42, 58, 46, 0, 59, 13, 5, 22, 51, 6, 23, 16, 14, 25, 12, 18, 5, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2292, | |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "c409f10fe7ebd9", | |
| "msg": [54, 42, 45, 21, 0, 16, 10, 23, 13, 60, 37, 31, 46, 61, 57, 21, 37, 52, 2, 52], | |
| "ct": [7, 28, 5, 41, 31, 12, 3, 11, 43, 13, 39, 29, 11, 53, 31, 61, 32, 63, 33, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2293, | |
| "comment": "y is maximal and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "c409f10fe7ebd9", | |
| "msg": [43, 55, 62, 35, 48, 20, 29, 42, 6, 30, 44, 38, 45, 53, 13, 37, 23, 8, 12, 29], | |
| "ct": [62, 54, 43, 27, 59, 11, 60, 21, 1, 21, 56, 22, 16, 19, 28, 50, 40, 60, 62, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2294, | |
| "comment": "y is maximal and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "c409f10fe7ebd9", | |
| "msg": [14, 46, 38, 28, 47, 42, 3, 19, 35, 51, 35, 32, 8, 49, 10, 47, 6, 47, 43, 53], | |
| "ct": [30, 60, 14, 52, 30, 29, 44, 29, 11, 1, 30, 37, 0, 11, 58, 5, 60, 34, 18, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2295, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "d4773432c8d499", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 10, 60, 23, 21, 48, 7, 63, 45, 6], | |
| "ct": [20, 21, 32, 59, 37, 48, 2, 59, 15, 44, 42, 30, 55, 54, 22, 32, 19, 10, 61, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2296, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "d4773432c8d499", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 42, 10, 60, 23, 21, 48, 7, 63, 45, 6], | |
| "ct": [57, 8, 30, 23, 16, 60, 12, 48, 42, 52, 29, 25, 55, 35, 23, 56, 21, 24, 22, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2297, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "d4773432c8d499", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 42, 10, 60, 23, 21, 48, 7, 63, 45, 6], | |
| "ct": [26, 18, 15, 22, 2, 24, 29, 1, 38, 62, 28, 22, 57, 29, 21, 56, 20, 14, 7, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2298, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "d4773432c8d499", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 42, 10, 60, 23, 21, 48, 7, 63, 45, 6], | |
| "ct": [8, 38, 44, 32, 54, 11, 2, 60, 18, 42, 2, 22, 25, 52, 9, 16, 19, 60, 53, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2299, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "d4773432c8d499", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 10, 60, 23, 21, 48, 7, 63, 45, 6], | |
| "ct": [7, 31, 47, 21, 35, 37, 41, 6, 14, 0, 31, 2, 38, 34, 19, 10, 4, 21, 52, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2300, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "d4773432c8d499", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 42, 10, 60, 23, 21, 48, 7, 63, 45, 6], | |
| "ct": [35, 24, 14, 33, 56, 58, 18, 51, 50, 53, 52, 2, 60, 1, 16, 36, 29, 40, 21, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2301, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "f9db08cfaf1217", | |
| "msg": [41, 2, 33, 14, 0, 3, 61, 35, 29, 16, 1, 49, 35, 10, 23, 35, 50, 6, 33, 36], | |
| "ct": [10, 15, 6, 45, 55, 1, 9, 29, 10, 20, 53, 55, 48, 37, 59, 41, 45, 9, 6, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2302, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "f9db08cfaf1217", | |
| "msg": [30, 54, 59, 16, 6, 60, 18, 36, 58, 4, 56, 43, 49, 22, 2, 14, 13, 62, 20, 16], | |
| "ct": [5, 5, 19, 52, 11, 35, 22, 29, 51, 4, 42, 45, 63, 41, 54, 0, 1, 44, 11, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2303, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "f9db08cfaf1217", | |
| "msg": [21, 22, 62, 47, 11, 33, 38, 58, 59, 12, 52, 1, 51, 1, 53, 30, 55, 60, 47, 9], | |
| "ct": [31, 60, 23, 0, 48, 34, 55, 63, 49, 38, 38, 47, 29, 18, 59, 15, 5, 16, 39, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2304, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", | |
| "tweak": "f9db08cfaf1217", | |
| "msg": [35, 12, 22, 34, 1, 2, 58, 45, 28, 28, 43, 42, 37, 49, 56, 15, 55, 13, 16, 9], | |
| "ct": [46, 21, 46, 57, 33, 62, 40, 5, 57, 63, 27, 11, 32, 3, 45, 13, 24, 30, 42, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2305, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28", | |
| "tweak": "daa46c7bc98cf1f4", | |
| "msg": [-1, 5, 46, 7, 41, 44, 5, 50, 51, 58, 39, 50, 46, 16, 29, 47, 16, 47, 15, 25], | |
| "ct": [53, 47, 49, 26, 26, 17, 48, 20, 60, 15, 13, 12, 25, 27, 46, 43, 14, 33, 29, 8], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2306, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28", | |
| "tweak": "daa46c7bc98cf1f4", | |
| "msg": [11, 5, 46, 7, 41, 44, -1, 50, 51, 58, 39, 50, 46, 16, 29, 47, 16, 47, 15, 25], | |
| "ct": [56, 25, 24, 49, 38, 60, 8, 16, 52, 47, 36, 10, 17, 29, 12, 1, 41, 31, 43, 29], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2307, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28", | |
| "tweak": "daa46c7bc98cf1f4", | |
| "msg": [11, 5, 46, 7, 41, 44, 5, 50, 51, 58, 39, 50, 46, 16, 29, 47, 16, 47, 15, -1], | |
| "ct": [9, 19, 58, 58, 60, 38, 43, 11, 46, 27, 9, 24, 47, 29, 62, 16, 3, 21, 56, 14], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2308, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d331a232797665d62c909a44003e386b2c09a7b238c42c354d8d0f0214e7a7e1", | |
| "tweak": "de7759b1afbff200", | |
| "msg": [64, 40, 37, 33, 23, 55, 2, 57, 21, 15, 4, 60, 56, 34, 56, 44, 58, 57, 12, 62], | |
| "ct": [11, 0, 34, 4, 1, 16, 49, 30, 49, 11, 12, 57, 9, 2, 50, 16, 29, 3, 9, 11], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2309, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d331a232797665d62c909a44003e386b2c09a7b238c42c354d8d0f0214e7a7e1", | |
| "tweak": "de7759b1afbff200", | |
| "msg": [36, 40, 37, 33, 23, 55, 64, 57, 21, 15, 4, 60, 56, 34, 56, 44, 58, 57, 12, 62], | |
| "ct": [45, 52, 26, 31, 24, 63, 63, 47, 9, 28, 8, 0, 27, 30, 1, 32, 21, 22, 6, 47], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2310, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d331a232797665d62c909a44003e386b2c09a7b238c42c354d8d0f0214e7a7e1", | |
| "tweak": "de7759b1afbff200", | |
| "msg": [36, 40, 37, 33, 23, 55, 2, 57, 21, 15, 4, 60, 56, 34, 56, 44, 58, 57, 12, 64], | |
| "ct": [31, 7, 48, 33, 50, 32, 39, 6, 45, 62, 18, 10, 24, 10, 33, 34, 44, 51, 9, 50], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 21, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2311, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "dda27ee12a33f1e1d641185aa62d77f8788cb29adf7c1d869e5476e04cf8d6a2", | |
| "tweak": "a07df02be247e7f9", | |
| "msg": [24, 17, 10, 27, 2, 23, 62, 43, 6, 31, 48, 8, 11, 50, 63, 19, 38, 41, 30, 36, 54], | |
| "ct": [55, 13, 45, 0, 2, 29, 50, 17, 5, 15, 33, 31, 57, 36, 8, 44, 55, 22, 9, 34, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2312, | |
| "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": [34, 26, 21, 37, 3, 52, 26, 45, 43, 43, 35, 4, 49, 22, 32, 58, 39, 37, 33, 15, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2313, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [36, 29, 4, 18, 3, 13, 17, 40, 46, 34, 22, 62, 49, 50, 58, 17, 37, 63, 44, 29, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2314, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [16, 54, 38, 53, 21, 26, 41, 43, 22, 61, 37, 45, 10, 9, 59, 41, 15, 23, 57, 41, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2315, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "ct": [7, 29, 60, 3, 47, 57, 1, 31, 37, 53, 49, 47, 46, 43, 43, 1, 51, 52, 26, 42, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2316, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [5, 21, 48, 46, 41, 4, 1, 61, 17, 21, 15, 30, 55, 56, 49, 43, 49, 44, 4, 59, 59], | |
| "ct": [17, 41, 42, 48, 14, 9, 39, 28, 42, 26, 5, 31, 41, 19, 53, 27, 35, 32, 40, 59, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2317, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [62, 33, 43, 53, 8, 37, 58, 63, 16, 45, 21, 59, 49, 43, 8, 30, 12, 26, 17, 47, 35], | |
| "ct": [26, 5, 28, 33, 1, 34, 43, 60, 30, 57, 28, 11, 6, 2, 63, 51, 59, 31, 19, 58, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2318, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [11, 30, 54, 52, 24, 36, 42, 38, 63, 39, 17, 52, 10, 34, 18, 62, 21, 24, 17, 27, 0], | |
| "ct": [49, 14, 53, 8, 1, 61, 0, 18, 52, 25, 41, 49, 37, 28, 6, 23, 1, 4, 33, 40, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2319, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [1, 2, 52, 33, 44, 4, 56, 42, 8, 21, 41, 58, 37, 11, 43, 22, 48, 31, 44, 54, 61], | |
| "ct": [60, 4, 22, 10, 60, 45, 6, 18, 55, 0, 29, 40, 27, 2, 18, 28, 4, 11, 37, 35, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2320, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [18, 38, 5, 50, 40, 20, 28, 63, 49, 62, 31, 23, 7, 63, 21, 25, 28, 5, 16, 59, 26], | |
| "ct": [12, 32, 26, 30, 39, 1, 10, 12, 32, 2, 3, 49, 30, 44, 49, 46, 8, 34, 8, 2, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2321, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [9, 51, 27, 21, 60, 42, 39, 3, 28, 27, 22, 30, 11, 6, 58, 27, 57, 49, 27, 5, 31], | |
| "ct": [9, 34, 37, 2, 32, 31, 42, 34, 32, 34, 15, 37, 8, 44, 46, 28, 29, 52, 62, 14, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2322, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [28, 56, 63, 33, 58, 59, 62, 42, 14, 24, 47, 17, 60, 53, 39, 1, 19, 55, 37, 52, 60], | |
| "ct": [7, 21, 59, 29, 60, 56, 59, 47, 46, 30, 28, 9, 31, 32, 1, 12, 48, 14, 55, 26, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2323, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [52, 15, 41, 37, 63, 29, 7, 37, 3, 10, 38, 61, 46, 28, 44, 14, 57, 63, 32, 25, 40], | |
| "ct": [44, 29, 56, 16, 44, 33, 27, 10, 44, 23, 54, 31, 9, 26, 61, 10, 43, 4, 16, 9, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2324, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [23, 32, 12, 63, 46, 53, 54, 63, 44, 2, 56, 56, 17, 38, 22, 3, 9, 26, 45, 11, 55], | |
| "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": 2325, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [25, 13, 43, 28, 37, 24, 56, 29, 37, 38, 6, 1, 55, 62, 20, 43, 6, 55, 43, 50, 49], | |
| "ct": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2326, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [34, 39, 11, 55, 42, 25, 23, 4, 30, 13, 59, 11, 5, 30, 10, 62, 56, 42, 48, 58, 13], | |
| "ct": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2327, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", | |
| "tweak": "15ed7a9f2c4ead98", | |
| "msg": [13, 28, 7, 8, 34, 32, 53, 43, 32, 25, 28, 24, 36, 2, 9, 9, 38, 58, 17, 41, 3], | |
| "ct": [31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 31, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2328, | |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", | |
| "tweak": "e718b44d7cbfe6028de4da48d575f2bd68387625ebd8", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 13, 36, 20, 46, 38, 28, 7, 17, 62, 63], | |
| "ct": [46, 6, 6, 23, 19, 0, 57, 16, 25, 25, 42, 27, 60, 45, 51, 13, 24, 26, 21, 4, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2329, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", | |
| "tweak": "e718b44d7cbfe6028de4da48d575f2bd68387625ebd8", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 5, 13, 36, 20, 46, 38, 28, 7, 17, 62, 63], | |
| "ct": [31, 27, 28, 11, 3, 19, 0, 46, 37, 3, 21, 19, 50, 10, 39, 7, 30, 33, 28, 16, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2330, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", | |
| "tweak": "e718b44d7cbfe6028de4da48d575f2bd68387625ebd8", | |
| "msg": [32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 13, 36, 20, 46, 38, 28, 7, 17, 62, 63], | |
| "ct": [56, 24, 54, 38, 19, 37, 24, 59, 32, 53, 46, 31, 59, 55, 31, 24, 63, 14, 39, 45, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2331, | |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", | |
| "tweak": "e718b44d7cbfe6028de4da48d575f2bd68387625ebd8", | |
| "msg": [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 5, 13, 36, 20, 46, 38, 28, 7, 17, 62, 63], | |
| "ct": [10, 27, 46, 41, 11, 28, 50, 57, 12, 50, 6, 47, 35, 7, 11, 11, 51, 5, 25, 59, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 2332, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d", | |
| "tweak": "5b8af4b3a1f2cd3c", | |
| "msg": [-1, 42, 25, 18, 43, 59, 60, 10, 40, 27, 36, 58, 50, 44, 44, 17, 14, 29, 39, 47, 16], | |
| "ct": [32, 1, 6, 60, 23, 27, 1, 23, 2, 43, 31, 15, 38, 4, 41, 19, 17, 61, 9, 6, 46], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2333, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d", | |
| "tweak": "5b8af4b3a1f2cd3c", | |
| "msg": [56, 42, 25, 18, 43, 59, 60, -1, 40, 27, 36, 58, 50, 44, 44, 17, 14, 29, 39, 47, 16], | |
| "ct": [7, 32, 35, 53, 14, 14, 16, 20, 52, 49, 10, 27, 51, 62, 54, 24, 30, 56, 23, 13, 17], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2334, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d", | |
| "tweak": "5b8af4b3a1f2cd3c", | |
| "msg": [56, 42, 25, 18, 43, 59, 60, 10, 40, 27, 36, 58, 50, 44, 44, 17, 14, 29, 39, 47, -1], | |
| "ct": [10, 45, 43, 35, 52, 15, 45, 56, 5, 50, 45, 34, 52, 27, 49, 13, 17, 19, 28, 17, 55], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2335, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fe79fac29fbb0b7cfb6a2b5fa73fee52c2c76ad60403c1d952421dea6c9f40b7", | |
| "tweak": "2149d6b607bc28a3", | |
| "msg": [64, 10, 20, 60, 9, 9, 24, 13, 60, 2, 44, 17, 5, 30, 48, 31, 17, 26, 55, 53, 34], | |
| "ct": [61, 14, 29, 31, 19, 36, 11, 19, 40, 34, 48, 42, 17, 46, 43, 43, 26, 45, 7, 44, 45], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2336, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fe79fac29fbb0b7cfb6a2b5fa73fee52c2c76ad60403c1d952421dea6c9f40b7", | |
| "tweak": "2149d6b607bc28a3", | |
| "msg": [28, 10, 20, 60, 9, 9, 24, 64, 60, 2, 44, 17, 5, 30, 48, 31, 17, 26, 55, 53, 34], | |
| "ct": [1, 49, 25, 21, 43, 32, 56, 63, 35, 6, 60, 8, 14, 49, 21, 62, 43, 46, 17, 40, 2], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 2337, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fe79fac29fbb0b7cfb6a2b5fa73fee52c2c76ad60403c1d952421dea6c9f40b7", | |
| "tweak": "2149d6b607bc28a3", | |
| "msg": [28, 10, 20, 60, 9, 9, 24, 13, 60, 2, 44, 17, 5, 30, 48, 31, 17, 26, 55, 53, 64], | |
| "ct": [0, 24, 6, 27, 63, 53, 34, 53, 20, 51, 56, 55, 49, 28, 26, 62, 46, 9, 19, 3, 25], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 22, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2338, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "9ed2a54df9219a3d61b5f1758b73bda6", | |
| "tweak": "5ecd852b587b8148", | |
| "msg": [62, 1, 28, 43, 38, 48, 15, 27, 43, 35, 7, 20, 35, 17, 1, 33, 46, 31, 45, 38, 5, 1], | |
| "ct": [27, 49, 39, 19, 44, 21, 54, 59, 34, 8, 46, 61, 26, 49, 16, 53, 17, 24, 33, 0, 39, 62], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 23, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2339, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "b9259b7f8c36246e73802b650cec0f3a", | |
| "tweak": "338104fb3b076bc4", | |
| "msg": [5, 31, 6, 22, 48, 59, 61, 13, 22, 52, 50, 10, 17, 18, 38, 7, 40, 0, 32, 58, 18, 4, 6], | |
| "ct": [61, 55, 0, 11, 43, 36, 36, 34, 56, 35, 56, 15, 3, 11, 5, 59, 11, 22, 16, 25, 53, 27, 28], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 24, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2340, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "904e573e4691681dc2db245bb369404a", | |
| "tweak": "dc83f04ef1a5fc92", | |
| "msg": [17, 37, 19, 32, 47, 55, 18, 54, 22, 55, 7, 4, 56, 24, 4, 16, 45, 58, 49, 63, 25, 13, 49, 62], | |
| "ct": [55, 31, 39, 19, 59, 29, 20, 19, 31, 42, 39, 18, 19, 5, 5, 59, 46, 19, 54, 48, 46, 52, 0, 26], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 25, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2341, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "4605865b047c33cafb0c30500253573f", | |
| "tweak": "a8b27f391744d48a", | |
| "msg": [41, 58, 2, 54, 48, 62, 14, 15, 22, 32, 29, 24, 15, 6, 19, 50, 57, 47, 40, 28, 37, 51, 42, 18, 25], | |
| "ct": [43, 59, 37, 14, 55, 4, 8, 22, 45, 12, 18, 48, 1, 51, 24, 23, 29, 50, 56, 9, 34, 57, 23, 14, 29], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 26, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2342, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "0fb1979af3a9860c485e2ef06c6010c3", | |
| "tweak": "60de513786f3f0a6", | |
| "msg": [9, 55, 52, 33, 10, 24, 50, 7, 4, 27, 2, 6, 35, 20, 13, 61, 24, 53, 51, 44, 4, 58, 19, 56, 22, 24], | |
| "ct": [10, 62, 10, 20, 20, 5, 13, 20, 55, 5, 22, 60, 20, 27, 31, 25, 22, 10, 36, 22, 22, 28, 19, 6, 9, 27], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 27, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2343, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "5d9ce920d89d03dcb83a0bf8ba68c9a1", | |
| "tweak": "9b6124a5067acaf1", | |
| "msg": [13, 52, 3, 32, 49, 32, 10, 2, 11, 59, 23, 16, 13, 37, 3, 48, 22, 6, 42, 22, 48, 47, 55, 20, 36, 19, 48], | |
| "ct": [35, 52, 30, 51, 1, 55, 59, 9, 3, 30, 50, 13, 32, 3, 37, 35, 15, 31, 39, 15, 63, 21, 16, 26, 42, 17, 21], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 28, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2344, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "1480e7206367c3365ec5a9b11f61261e", | |
| "tweak": "895ad94343672108", | |
| "msg": [30, 13, 22, 26, 7, 39, 51, 39, 17, 61, 12, 27, 4, 56, 62, 0, 19, 29, 37, 51, 12, 11, 21, 48, 42, 29, 58, 29], | |
| "ct": [32, 41, 13, 33, 56, 21, 19, 15, 41, 58, 43, 41, 29, 8, 25, 48, 62, 3, 30, 48, 3, 3, 59, 6, 9, 40, 62, 6], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 29, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2345, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "a8ed8a1627e4ea301c4d007a30a7fd71", | |
| "tweak": "dbbf38e615dc2fee", | |
| "msg": [1, 13, 30, 43, 19, 8, 24, 5, 13, 54, 44, 50, 49, 31, 35, 49, 44, 61, 62, 39, 16, 24, 6, 31, 58, 35, 29, 45, 25], | |
| "ct": [2, 61, 58, 28, 60, 50, 24, 38, 62, 28, 45, 51, 36, 52, 55, 36, 48, 8, 35, 60, 23, 20, 15, 9, 45, 51, 28, 14, 47], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 30, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2346, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "abbd25e59680efd575c00d24e9fdcad8", | |
| "tweak": "070cffc4a9b88ee7", | |
| "msg": [49, 5, 48, 30, 40, 41, 22, 52, 48, 52, 13, 13, 35, 34, 60, 34, 22, 34, 28, 28, 27, 57, 17, 55, 16, 13, 60, 34, 1, 12], | |
| "ct": [10, 55, 59, 22, 3, 5, 20, 59, 60, 27, 11, 50, 34, 52, 33, 6, 41, 33, 16, 41, 34, 3, 46, 6, 25, 59, 25, 54, 34, 22], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 31, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2347, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "cb4b74bac0ecce5c21f47f39c22ae70c", | |
| "tweak": "dd1e66e61ea45250", | |
| "msg": [49, 17, 32, 24, 44, 4, 34, 6, 16, 30, 61, 13, 52, 9, 21, 20, 48, 52, 21, 25, 9, 11, 1, 30, 33, 46, 54, 24, 49, 28, 58], | |
| "ct": [50, 26, 10, 50, 24, 22, 15, 15, 57, 35, 19, 22, 60, 7, 13, 60, 7, 46, 33, 3, 28, 61, 36, 56, 28, 51, 24, 25, 28, 56, 56], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 32, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2348, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "1ee98a204d8de6bc2fb2416fa2efe03f", | |
| "tweak": "302f76d9825d6eb5", | |
| "msg": [50, 23, 1, 15, 31, 33, 30, 33, 9, 3, 13, 54, 33, 13, 56, 36, 42, 17, 48, 44, 30, 27, 36, 0, 17, 2, 2, 56, 30, 1, 0, 56], | |
| "ct": [34, 26, 28, 25, 59, 40, 35, 3, 12, 12, 16, 4, 59, 45, 38, 8, 10, 44, 28, 13, 60, 27, 63, 42, 54, 13, 24, 60, 31, 47, 46, 38], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 33, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2349, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "df76fc71b7d899068b43f16bc5858dbd", | |
| "tweak": "8e55911ef156dfe2", | |
| "msg": [15, 44, 56, 54, 53, 6, 37, 16, 41, 12, 1, 6, 29, 34, 34, 22, 60, 1, 44, 8, 62, 39, 39, 56, 24, 28, 34, 62, 3, 51, 28, 38, 9], | |
| "ct": [43, 54, 16, 46, 34, 4, 59, 47, 13, 30, 59, 7, 18, 16, 5, 13, 59, 12, 47, 52, 1, 8, 2, 61, 25, 10, 20, 5, 12, 43, 51, 45, 48], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 40, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2350, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "ebac6d5741e58a3af7fd72a5db46b863", | |
| "tweak": "fb13dc638ef728e5", | |
| "msg": [0, 36, 4, 59, 46, 24, 57, 36, 36, 26, 62, 38, 49, 12, 33, 44, 21, 54, 13, 24, 46, 18, 58, 15, 0, 50, 43, 1, 38, 20, 37, 45, 49, 55, 49, 34, 20, 3, 29, 29], | |
| "ct": [39, 25, 7, 14, 41, 61, 30, 2, 14, 43, 9, 21, 21, 8, 11, 4, 51, 35, 35, 43, 2, 9, 39, 42, 62, 50, 61, 14, 52, 29, 21, 6, 8, 50, 35, 61, 0, 41, 59, 29], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 42, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2351, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "aefe2f5838aff61b47a7d502e781caab", | |
| "tweak": "a1b6c8a3edef0047", | |
| "msg": [42, 48, 35, 59, 44, 56, 18, 38, 11, 60, 31, 3, 22, 45, 34, 61, 4, 41, 13, 8, 22, 2, 13, 24, 6, 63, 3, 60, 35, 3, 21, 33, 32, 40, 16, 4, 52, 10, 10, 13, 53, 2], | |
| "ct": [15, 0, 19, 57, 20, 13, 59, 7, 17, 22, 60, 47, 17, 59, 63, 46, 24, 14, 27, 63, 23, 14, 5, 45, 15, 56, 39, 28, 43, 17, 22, 19, 57, 13, 60, 52, 30, 25, 60, 23, 19, 10], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 43, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2352, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "cefcf70c6a473930a3c6a097c63b47e8", | |
| "tweak": "989249529ca089a0", | |
| "msg": [5, 40, 12, 14, 50, 13, 45, 49, 0, 53, 18, 17, 62, 48, 16, 0, 28, 43, 29, 17, 12, 14, 16, 58, 44, 48, 59, 2, 41, 37, 50, 37, 6, 35, 9, 13, 45, 61, 61, 47, 0, 22, 43], | |
| "ct": [47, 32, 31, 13, 40, 1, 31, 37, 57, 54, 4, 44, 22, 46, 18, 25, 3, 53, 61, 36, 29, 24, 16, 48, 46, 60, 36, 41, 22, 46, 20, 31, 61, 28, 4, 59, 27, 29, 9, 21, 17, 3, 47], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 52, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2353, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "a26a8fe44afbd5e463c14e33d057be7c", | |
| "tweak": "ad88979f6099b150", | |
| "msg": [36, 48, 58, 29, 48, 47, 33, 48, 62, 26, 10, 53, 36, 22, 38, 53, 20, 19, 11, 35, 60, 27, 43, 16, 40, 52, 11, 59, 50, 51, 1, 32, 27, 57, 2, 8, 34, 6, 41, 26, 57, 49, 58, 56, 41, 33, 17, 1, 27, 35, 51, 46], | |
| "ct": [19, 20, 54, 46, 1, 39, 28, 20, 21, 52, 7, 12, 29, 29, 35, 30, 50, 43, 12, 7, 57, 6, 13, 62, 34, 37, 42, 49, 2, 8, 31, 8, 60, 34, 43, 2, 62, 21, 34, 23, 37, 12, 49, 51, 23, 12, 41, 29, 4, 15, 29, 9], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 53, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2354, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "e827b3e6ddc3cd7d7b57516d3e5372fc", | |
| "tweak": "6943e488326f665e", | |
| "msg": [60, 8, 31, 28, 4, 57, 5, 11, 12, 4, 58, 13, 38, 52, 8, 59, 34, 52, 18, 38, 16, 52, 25, 41, 56, 18, 32, 17, 7, 63, 7, 14, 50, 28, 44, 19, 49, 5, 22, 53, 44, 11, 5, 13, 4, 57, 38, 61, 45, 37, 33, 19, 8], | |
| "ct": [31, 22, 37, 3, 60, 25, 46, 51, 18, 31, 29, 53, 6, 11, 7, 11, 55, 58, 47, 23, 39, 55, 56, 42, 43, 31, 39, 33, 41, 46, 0, 54, 51, 23, 63, 23, 10, 31, 3, 28, 32, 60, 7, 50, 47, 29, 37, 57, 47, 27, 60, 53, 33], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 64, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2355, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "908bc4120a20f0043e43376761b2735e", | |
| "tweak": "841888c5b9be1c84", | |
| "msg": [29, 6, 55, 10, 11, 46, 2, 14, 62, 44, 22, 56, 54, 24, 20, 23, 8, 32, 8, 48, 15, 35, 51, 46, 22, 36, 25, 26, 18, 63, 3, 57, 4, 61, 25, 4, 58, 34, 44, 1, 15, 16, 29, 60, 6, 50, 23, 36, 13, 53, 51, 11, 32, 1, 14, 2, 19, 37, 42, 39, 49, 2, 57, 20], | |
| "ct": [24, 58, 26, 36, 10, 2, 10, 18, 30, 18, 34, 52, 54, 60, 0, 10, 37, 11, 32, 11, 8, 7, 18, 30, 5, 52, 28, 49, 58, 20, 39, 4, 53, 36, 32, 25, 39, 39, 43, 14, 50, 34, 57, 15, 43, 55, 41, 45, 37, 21, 7, 45, 29, 2, 12, 38, 44, 3, 33, 24, 26, 18, 61, 35], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 65, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2356, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c945c13570b5a262c58c6dac7480bbe0", | |
| "tweak": "f1e07408b8c9feb7", | |
| "msg": [23, 29, 54, 37, 21, 12, 62, 54, 47, 10, 32, 5, 4, 37, 27, 51, 11, 46, 18, 38, 7, 35, 1, 25, 6, 43, 47, 49, 47, 58, 30, 60, 2, 47, 54, 44, 26, 35, 30, 28, 27, 24, 41, 52, 28, 56, 35, 35, 13, 7, 12, 17, 22, 43, 37, 13, 44, 5, 21, 57, 32, 35, 22, 58, 28], | |
| "ct": [41, 10, 24, 41, 5, 22, 15, 5, 52, 63, 19, 53, 62, 8, 51, 10, 59, 38, 4, 41, 15, 51, 45, 50, 41, 50, 22, 25, 34, 25, 34, 47, 24, 28, 0, 32, 38, 29, 57, 59, 51, 50, 11, 12, 15, 60, 31, 36, 32, 23, 3, 12, 6, 31, 1, 13, 18, 5, 50, 1, 46, 52, 51, 8, 18], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 74, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2357, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "5da41a8fe3d82aa6572eb5b9d8ff0eda", | |
| "tweak": "d7d3ad6b1785389f", | |
| "msg": [29, 38, 48, 54, 9, 5, 52, 25, 16, 21, 59, 28, 36, 38, 18, 46, 12, 37, 51, 21, 29, 15, 5, 20, 59, 5, 37, 61, 50, 2, 41, 2, 8, 53, 46, 38, 58, 27, 39, 48, 46, 43, 12, 56, 20, 2, 63, 58, 54, 4, 59, 1, 42, 60, 46, 0, 0, 35, 23, 48, 34, 4, 30, 9, 35, 62, 41, 42, 7, 35, 0, 18, 44, 43], | |
| "ct": [56, 62, 13, 20, 8, 27, 28, 21, 44, 12, 49, 60, 56, 20, 44, 38, 14, 42, 28, 37, 6, 53, 26, 63, 34, 0, 43, 3, 58, 33, 15, 0, 1, 8, 46, 22, 7, 18, 52, 9, 36, 6, 16, 55, 29, 7, 58, 47, 24, 7, 45, 46, 29, 42, 13, 26, 35, 28, 4, 32, 18, 43, 28, 6, 54, 27, 20, 7, 31, 61, 48, 46, 49, 49], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 75, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2358, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "29b675cdd27345056a5a4a40a6c2bfe8", | |
| "tweak": "a6ce8fde92548bd5", | |
| "msg": [39, 15, 23, 17, 5, 62, 32, 9, 53, 36, 18, 24, 31, 53, 23, 51, 32, 42, 22, 16, 34, 54, 55, 28, 0, 0, 2, 48, 34, 3, 12, 17, 56, 11, 31, 9, 2, 48, 29, 39, 56, 7, 24, 30, 57, 25, 8, 19, 26, 20, 10, 41, 63, 21, 26, 20, 3, 3, 21, 33, 49, 57, 44, 31, 15, 19, 56, 8, 25, 58, 20, 60, 14, 24, 43], | |
| "ct": [59, 48, 47, 1, 34, 23, 9, 50, 26, 1, 55, 0, 38, 8, 34, 60, 9, 35, 22, 25, 19, 2, 24, 22, 23, 16, 47, 0, 57, 59, 17, 4, 57, 43, 32, 48, 55, 5, 15, 47, 48, 35, 59, 60, 54, 59, 51, 48, 26, 48, 6, 28, 59, 3, 4, 33, 35, 22, 43, 31, 20, 15, 54, 10, 26, 40, 41, 29, 4, 45, 46, 46, 53, 50, 37], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 80, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2359, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "f763833eb5dcad3df492092080b404b6", | |
| "tweak": "46dc6b38a24f7002", | |
| "msg": [63, 59, 63, 32, 13, 50, 56, 20, 60, 24, 29, 47, 38, 44, 31, 21, 27, 34, 17, 55, 4, 6, 42, 21, 10, 6, 52, 42, 22, 11, 45, 26, 32, 59, 13, 40, 59, 54, 3, 38, 55, 1, 60, 11, 41, 44, 4, 54, 48, 45, 26, 63, 3, 54, 5, 11, 39, 32, 22, 58, 41, 43, 0, 11, 5, 22, 41, 24, 45, 42, 25, 25, 17, 58, 19, 39, 45, 20, 13, 23], | |
| "ct": [46, 48, 53, 16, 9, 15, 19, 61, 36, 13, 36, 55, 61, 47, 59, 4, 60, 4, 13, 46, 41, 43, 42, 17, 10, 49, 54, 35, 4, 50, 61, 30, 16, 49, 20, 1, 6, 32, 3, 2, 3, 8, 55, 0, 54, 31, 2, 46, 9, 2, 47, 62, 40, 30, 12, 58, 48, 9, 63, 6, 11, 43, 15, 23, 11, 31, 13, 8, 36, 24, 55, 8, 28, 39, 47, 34, 18, 55, 39, 15], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 84, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2360, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "2de9d124d03325db29683518932b1613", | |
| "tweak": "e53bf1853c64ca75", | |
| "msg": [5, 14, 52, 23, 3, 57, 52, 27, 56, 19, 34, 54, 28, 11, 25, 39, 7, 1, 52, 43, 40, 54, 27, 50, 59, 56, 15, 44, 51, 3, 6, 4, 53, 53, 26, 47, 20, 34, 26, 6, 36, 33, 31, 20, 47, 46, 47, 2, 56, 4, 0, 43, 35, 36, 26, 57, 42, 16, 34, 20, 39, 47, 27, 37, 31, 30, 44, 37, 9, 16, 1, 36, 25, 7, 49, 56, 25, 7, 0, 15, 62, 35, 10, 21], | |
| "ct": [53, 58, 8, 0, 39, 45, 55, 35, 49, 22, 12, 54, 54, 53, 27, 50, 55, 8, 11, 1, 7, 11, 39, 57, 8, 43, 2, 59, 22, 31, 56, 47, 14, 30, 11, 13, 1, 46, 27, 56, 31, 19, 62, 47, 49, 22, 26, 24, 47, 34, 39, 16, 20, 21, 2, 58, 19, 19, 56, 49, 4, 61, 2, 42, 16, 22, 18, 20, 32, 53, 28, 24, 26, 18, 17, 41, 36, 53, 45, 10, 62, 12, 1, 39], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 128, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2361, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "6e2c702c4dd6ac18054df9905a2a6d63", | |
| "tweak": "245070546cc82a65", | |
| "msg": [24, 62, 42, 59, 18, 21, 39, 0, 44, 52, 11, 25, 50, 11, 47, 18, 61, 3, 54, 63, 57, 24, 14, 31, 4, 60, 9, 9, 28, 47, 54, 56, 8, 33, 16, 47, 48, 42, 11, 27, 62, 58, 46, 28, 21, 8, 28, 7, 39, 29, 62, 62, 26, 21, 16, 36, 37, 0, 26, 45, 47, 12, 54, 6, 18, 8, 42, 25, 62, 4, 31, 57, 57, 20, 9, 16, 12, 36, 1, 63, 28, 5, 55, 24, 4, 29, 31, 17, 5, 0, 53, 26, 4, 49, 55, 45, 12, 42, 23, 20, 11, 53, 16, 23, 52, 6, 31, 4, 38, 54, 44, 29, 55, 2, 30, 49, 31, 29, 33, 4, 29, 17, 60, 8, 47, 38, 23, 18], | |
| "ct": [59, 31, 11, 57, 21, 57, 8, 43, 40, 58, 9, 0, 47, 15, 21, 52, 41, 18, 48, 1, 26, 29, 29, 42, 12, 43, 23, 0, 7, 46, 51, 63, 4, 1, 51, 46, 35, 1, 3, 1, 21, 50, 8, 39, 57, 16, 39, 47, 14, 11, 10, 63, 27, 50, 22, 42, 20, 55, 47, 15, 61, 42, 1, 12, 58, 34, 29, 55, 37, 0, 19, 18, 32, 60, 12, 49, 19, 39, 28, 49, 59, 43, 23, 45, 55, 26, 18, 18, 37, 61, 17, 35, 53, 5, 2, 53, 42, 56, 16, 45, 21, 31, 58, 28, 48, 44, 10, 2, 11, 5, 54, 21, 31, 59, 61, 35, 54, 62, 58, 52, 51, 15, 51, 51, 61, 25, 3, 38], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 260, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2362, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "39fd85d1a418270e382f927fa7d69afe", | |
| "tweak": "3a0bb251adfea53c", | |
| "msg": [62, 51, 6, 19, 27, 44, 29, 30, 22, 37, 63, 55, 53, 28, 63, 40, 3, 55, 11, 33, 4, 58, 50, 38, 18, 32, 26, 56, 10, 13, 58, 51, 17, 17, 28, 33, 25, 10, 19, 59, 56, 30, 23, 44, 14, 29, 8, 15, 42, 35, 19, 47, 59, 23, 29, 26, 11, 0, 5, 0, 9, 55, 0, 25, 29, 44, 47, 43, 28, 63, 45, 25, 46, 42, 6, 56, 54, 25, 4, 37, 31, 20, 56, 38, 57, 60, 53, 22, 61, 38, 54, 15, 59, 5, 10, 58, 58, 55, 51, 32, 4, 36, 40, 19, 29, 44, 50, 46, 38, 6, 51, 13, 27, 55, 1, 47, 47, 37, 62, 19, 31, 1, 15, 13, 2, 45, 51, 63, 45, 51, 10, 11, 27, 48, 53, 22, 61, 25, 32, 21, 14, 36, 14, 28, 26, 26, 18, 13, 60, 27, 48, 26, 37, 42, 6, 59, 11, 59, 55, 20, 41, 34, 7, 62, 31, 35, 35, 57, 15, 33, 3, 20, 30, 38, 17, 52, 41, 29, 32, 4, 61, 49, 41, 40, 39, 21, 5, 32, 18, 57, 56, 35, 48, 50, 41, 39, 24, 51, 29, 39, 60, 30, 20, 11, 19, 12, 29, 18, 60, 46, 17, 13, 4, 12, 38, 31, 42, 40, 19, 27, 8, 48, 27, 17, 43, 26, 11, 31, 47, 13, 29, 9, 17, 8, 62, 38, 63, 24, 56, 5, 28, 18, 57, 0, 25, 12, 6, 35, 60, 25, 0, 53, 34, 47, 21, 62, 24, 22, 4, 1], | |
| "ct": [44, 35, 18, 52, 22, 61, 40, 50, 18, 48, 51, 50, 52, 62, 51, 59, 5, 5, 25, 61, 4, 53, 1, 14, 61, 60, 39, 3, 50, 10, 63, 30, 35, 32, 20, 43, 45, 17, 10, 37, 28, 2, 41, 22, 48, 1, 3, 45, 27, 6, 24, 10, 11, 24, 60, 49, 7, 16, 14, 62, 10, 49, 28, 15, 16, 28, 52, 30, 44, 37, 51, 31, 46, 50, 28, 51, 60, 57, 39, 19, 23, 14, 36, 50, 35, 29, 53, 19, 41, 58, 47, 12, 11, 9, 14, 29, 36, 0, 11, 35, 16, 37, 63, 7, 56, 47, 14, 6, 9, 17, 39, 43, 12, 3, 55, 33, 31, 18, 29, 59, 53, 0, 33, 19, 28, 5, 49, 25, 27, 46, 13, 58, 7, 38, 0, 26, 23, 7, 30, 61, 5, 60, 25, 14, 22, 61, 13, 46, 5, 54, 15, 37, 0, 27, 27, 11, 7, 24, 48, 3, 44, 3, 16, 24, 45, 61, 6, 7, 47, 9, 0, 32, 61, 37, 63, 6, 14, 38, 55, 45, 0, 20, 46, 13, 4, 4, 62, 5, 30, 34, 13, 29, 33, 9, 39, 34, 16, 31, 50, 43, 25, 27, 62, 58, 58, 53, 25, 55, 52, 26, 16, 11, 51, 35, 40, 42, 38, 33, 2, 13, 62, 4, 24, 33, 41, 2, 62, 23, 48, 6, 31, 32, 20, 59, 50, 16, 32, 50, 59, 31, 35, 12, 50, 2, 47, 31, 33, 9, 30, 13, 32, 32, 8, 54, 5, 60, 41, 26, 11, 30], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 22, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2363, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "00bdb5e8b811c9617b0c07c9ed50b6d067ac817cbe06e44a", | |
| "tweak": "d92d8fd1572665ab", | |
| "msg": [42, 47, 30, 18, 16, 18, 18, 45, 43, 1, 42, 39, 59, 27, 40, 41, 8, 12, 1, 13, 42, 34], | |
| "ct": [42, 16, 60, 54, 41, 52, 51, 41, 24, 13, 31, 52, 9, 1, 37, 21, 21, 0, 10, 1, 20, 24], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 23, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2364, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c7697b0dbeb87d7f395505c37c7aa8851539af55cf9ff48d", | |
| "tweak": "81c250277f86145e", | |
| "msg": [16, 52, 35, 22, 61, 35, 61, 43, 12, 40, 5, 38, 56, 59, 22, 41, 36, 30, 2, 55, 14, 5, 49], | |
| "ct": [22, 52, 12, 58, 42, 28, 47, 48, 14, 27, 19, 46, 12, 45, 52, 33, 47, 33, 48, 18, 53, 51, 37], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 24, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2365, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "ac7947235faeb09f47808bcdb7c28894767149cfe71948d9", | |
| "tweak": "f7e5b4f29221b2aa", | |
| "msg": [35, 34, 1, 9, 57, 11, 31, 41, 46, 62, 4, 61, 49, 45, 12, 43, 42, 4, 39, 34, 54, 12, 52, 45], | |
| "ct": [47, 34, 25, 13, 6, 21, 49, 41, 29, 26, 51, 61, 20, 26, 63, 42, 13, 6, 7, 54, 60, 30, 32, 36], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 25, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2366, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "d3cc660039922e4edf19ee000bf0190aa4a974e2af2df506", | |
| "tweak": "c1eb1cd08201924c", | |
| "msg": [21, 34, 11, 15, 34, 3, 39, 44, 5, 17, 49, 26, 37, 63, 29, 12, 38, 18, 13, 48, 13, 6, 53, 50, 8], | |
| "ct": [27, 35, 10, 18, 1, 7, 45, 37, 6, 32, 57, 11, 46, 57, 25, 54, 3, 49, 36, 5, 22, 44, 24, 32, 50], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 26, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2367, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "a08b283fbb882bc35ad665f439ba1ba3cb45faa7ef953e75", | |
| "tweak": "a8bad0d760a36482", | |
| "msg": [57, 53, 58, 6, 53, 29, 11, 47, 60, 49, 59, 14, 3, 55, 44, 23, 8, 15, 18, 60, 18, 60, 38, 7, 2, 59], | |
| "ct": [9, 49, 8, 60, 63, 21, 33, 55, 18, 6, 44, 40, 30, 46, 10, 26, 15, 20, 57, 4, 40, 30, 10, 36, 39, 17], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 27, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2368, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "bc8a31cd3bf14b148eb6519268b2bd472de9cce165061efd", | |
| "tweak": "f62b70082bb992d2", | |
| "msg": [48, 5, 15, 9, 11, 5, 10, 27, 2, 42, 20, 51, 38, 56, 36, 60, 47, 36, 54, 22, 59, 0, 20, 55, 12, 51, 51], | |
| "ct": [62, 5, 5, 60, 56, 13, 56, 25, 26, 31, 44, 38, 56, 53, 38, 49, 38, 63, 47, 15, 40, 49, 0, 35, 43, 44, 13], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 28, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2369, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "0c6561b42c5cde205f8ba1b4fe71ac110ff2807958a069d4", | |
| "tweak": "1b2ce7022ea31126", | |
| "msg": [45, 24, 43, 2, 62, 29, 63, 38, 9, 3, 35, 5, 48, 4, 62, 33, 28, 48, 63, 38, 1, 31, 14, 17, 16, 16, 8, 17], | |
| "ct": [62, 55, 32, 25, 11, 20, 36, 32, 33, 37, 2, 46, 32, 30, 10, 33, 38, 5, 15, 28, 56, 30, 8, 55, 49, 36, 30, 49], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 29, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2370, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "4e08042735575708e4a9a0df5ae920c4fd181e38e731eb2e", | |
| "tweak": "36502a1e0aeca248", | |
| "msg": [7, 31, 53, 28, 28, 6, 52, 22, 7, 33, 21, 2, 35, 49, 22, 47, 0, 7, 53, 11, 24, 26, 41, 23, 19, 58, 36, 11, 48], | |
| "ct": [43, 19, 5, 45, 31, 1, 21, 38, 28, 8, 22, 10, 23, 10, 46, 3, 36, 30, 29, 51, 32, 52, 20, 49, 37, 14, 13, 7, 36], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 30, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2371, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "5fd8e11413d7659bc1b0be8e8febf6d6342060aa9a91d63d", | |
| "tweak": "f249815599506c40", | |
| "msg": [52, 31, 35, 18, 29, 39, 55, 33, 52, 13, 25, 26, 61, 37, 36, 0, 46, 21, 3, 11, 25, 61, 8, 59, 53, 49, 4, 34, 34, 15], | |
| "ct": [25, 43, 8, 16, 26, 16, 3, 61, 19, 51, 35, 58, 21, 11, 55, 31, 63, 14, 26, 7, 10, 41, 4, 25, 26, 10, 8, 52, 51, 29], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 31, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2372, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "77b5e0675cc0ecffd9a187798870ce49ce4a9b6807e14b2b", | |
| "tweak": "dc5996a3061cff92", | |
| "msg": [62, 46, 10, 7, 40, 0, 42, 0, 46, 31, 54, 46, 50, 58, 22, 34, 12, 5, 15, 48, 18, 55, 57, 3, 51, 48, 48, 32, 49, 10, 42], | |
| "ct": [46, 38, 62, 45, 41, 33, 42, 61, 46, 29, 45, 54, 55, 58, 42, 23, 46, 54, 25, 34, 15, 16, 19, 52, 25, 52, 56, 15, 30, 7, 27], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 32, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2373, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "51bc85303caaaad311ecfdbad7b6d390f51de4de32beeb24", | |
| "tweak": "5ba80100c8ec15b3", | |
| "msg": [21, 62, 6, 23, 53, 50, 19, 47, 18, 35, 44, 44, 61, 27, 11, 63, 13, 30, 33, 42, 12, 4, 42, 33, 40, 25, 40, 10, 27, 46, 50, 47], | |
| "ct": [18, 45, 49, 0, 41, 27, 62, 19, 51, 22, 28, 39, 26, 49, 47, 27, 7, 61, 59, 51, 40, 19, 44, 56, 37, 4, 40, 18, 53, 7, 13, 35], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 33, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2374, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c873cf24452bb6d1ac26d53a77387c345eb0d8567f49d5ea", | |
| "tweak": "b46136fc98b7e9f8", | |
| "msg": [41, 49, 20, 21, 30, 28, 44, 10, 16, 47, 39, 12, 10, 11, 20, 27, 49, 18, 3, 31, 49, 38, 34, 58, 6, 49, 41, 62, 59, 28, 63, 58, 41], | |
| "ct": [53, 27, 58, 53, 13, 58, 24, 51, 50, 43, 41, 26, 0, 57, 42, 18, 43, 58, 16, 23, 33, 44, 52, 31, 23, 20, 16, 34, 43, 61, 11, 53, 33], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 40, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2375, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "874c932451575931e99c482805c40441d978af9c68bd82af", | |
| "tweak": "f4a660ef48089bb0", | |
| "msg": [60, 16, 60, 22, 7, 5, 3, 22, 43, 63, 45, 54, 23, 62, 54, 0, 50, 13, 46, 25, 29, 58, 46, 41, 50, 44, 36, 51, 5, 49, 37, 41, 51, 11, 34, 36, 22, 7, 59, 27], | |
| "ct": [21, 39, 32, 12, 2, 60, 4, 52, 9, 23, 15, 62, 16, 46, 42, 18, 5, 18, 51, 33, 41, 46, 0, 26, 47, 8, 33, 25, 47, 50, 55, 0, 3, 51, 52, 25, 61, 54, 30, 31], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 42, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2376, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "844dd69e5c1496301c98dd9009e108b2dd7ef18ea228e6d8", | |
| "tweak": "45f40372c10b9665", | |
| "msg": [38, 2, 54, 57, 12, 13, 45, 59, 31, 5, 59, 9, 26, 35, 56, 3, 33, 15, 46, 41, 1, 55, 1, 37, 37, 30, 51, 7, 29, 14, 15, 17, 51, 3, 0, 32, 0, 11, 41, 46, 3, 3], | |
| "ct": [39, 20, 2, 8, 5, 2, 22, 19, 61, 2, 56, 35, 39, 10, 44, 36, 3, 29, 6, 57, 11, 48, 19, 53, 51, 14, 37, 39, 11, 6, 53, 2, 32, 0, 62, 4, 21, 38, 21, 39, 24, 22], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 43, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2377, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "66ff915aded94b1eb32f9942ac36497f6da1d1dc893ff79c", | |
| "tweak": "06829dab9ea55bf6", | |
| "msg": [55, 10, 25, 19, 0, 35, 48, 11, 30, 25, 39, 37, 34, 24, 26, 59, 9, 62, 2, 21, 57, 47, 38, 49, 52, 57, 13, 16, 61, 4, 1, 45, 9, 51, 44, 30, 31, 48, 9, 53, 39, 14, 10], | |
| "ct": [63, 46, 56, 1, 7, 31, 30, 32, 34, 35, 25, 41, 44, 46, 26, 19, 29, 37, 48, 7, 20, 20, 57, 9, 54, 53, 49, 18, 36, 2, 57, 20, 41, 16, 20, 50, 57, 40, 16, 47, 11, 9, 56], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 52, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2378, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "6dd0ea64cd9bc0740d7ee6d74f9bf68d0419e1ee3d749893", | |
| "tweak": "4bd99bf85a64db87", | |
| "msg": [38, 61, 30, 48, 0, 35, 39, 42, 45, 49, 1, 63, 45, 32, 62, 18, 16, 32, 25, 20, 23, 15, 31, 32, 60, 56, 40, 41, 53, 35, 6, 62, 5, 9, 47, 44, 6, 26, 59, 49, 0, 59, 16, 1, 24, 18, 44, 6, 1, 27, 35, 15], | |
| "ct": [28, 33, 43, 6, 21, 13, 34, 40, 7, 19, 35, 16, 47, 2, 17, 31, 29, 30, 60, 12, 18, 27, 21, 47, 2, 47, 46, 59, 40, 30, 6, 7, 4, 30, 49, 18, 62, 23, 17, 58, 23, 54, 8, 9, 8, 28, 23, 47, 62, 46, 18, 54], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 53, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2379, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "2ee578022a552a010e6c71e663f81d67dcc6084ed7efbb10", | |
| "tweak": "a9e8b9cd1853cd10", | |
| "msg": [7, 19, 18, 14, 47, 55, 62, 47, 0, 9, 18, 43, 12, 58, 58, 60, 56, 30, 34, 49, 38, 31, 54, 0, 5, 62, 3, 0, 50, 55, 2, 12, 6, 40, 0, 25, 56, 35, 38, 17, 43, 52, 22, 0, 21, 44, 4, 59, 43, 6, 62, 10, 17], | |
| "ct": [61, 37, 61, 31, 10, 8, 32, 24, 6, 19, 54, 33, 11, 40, 16, 1, 6, 37, 16, 52, 59, 37, 60, 46, 3, 52, 2, 58, 45, 6, 61, 8, 51, 14, 38, 36, 7, 14, 44, 62, 62, 17, 10, 57, 0, 27, 22, 14, 35, 5, 34, 63, 14], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 64, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2380, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "e4c130f163d45035558190d51f439765679a202370a0ce7f", | |
| "tweak": "d99a093ac4bd3488", | |
| "msg": [45, 29, 2, 4, 38, 10, 30, 22, 46, 51, 44, 48, 38, 19, 21, 40, 40, 56, 45, 58, 12, 17, 4, 61, 24, 55, 60, 18, 35, 31, 50, 1, 11, 55, 56, 15, 32, 38, 53, 37, 22, 19, 34, 8, 40, 0, 27, 13, 57, 18, 11, 57, 42, 25, 1, 12, 12, 40, 9, 27, 33, 9, 51, 52], | |
| "ct": [38, 33, 15, 46, 13, 56, 62, 60, 52, 22, 59, 49, 6, 5, 26, 40, 36, 35, 56, 13, 60, 16, 6, 58, 18, 32, 45, 1, 42, 20, 38, 28, 2, 52, 12, 18, 6, 62, 26, 6, 34, 52, 28, 59, 18, 51, 36, 25, 24, 60, 5, 51, 11, 16, 50, 31, 4, 56, 26, 53, 36, 9, 34, 7], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 65, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2381, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "8b8eaed962db0042a7016dcf4324721463c3dc2b02621e2f", | |
| "tweak": "9e87e82de847d792", | |
| "msg": [34, 61, 37, 10, 16, 46, 4, 16, 7, 51, 54, 9, 7, 35, 35, 30, 56, 24, 52, 19, 0, 6, 4, 8, 7, 40, 62, 10, 42, 16, 1, 8, 35, 62, 0, 16, 42, 52, 27, 30, 4, 26, 52, 45, 20, 31, 31, 38, 2, 51, 57, 45, 1, 31, 47, 57, 7, 29, 46, 6, 2, 20, 25, 27, 56], | |
| "ct": [26, 12, 11, 39, 47, 6, 49, 20, 43, 43, 6, 8, 10, 34, 11, 5, 19, 1, 6, 32, 5, 33, 52, 9, 26, 50, 59, 20, 29, 26, 56, 28, 47, 39, 54, 63, 23, 40, 17, 48, 50, 13, 26, 32, 39, 16, 14, 2, 22, 45, 40, 30, 0, 31, 17, 29, 18, 1, 40, 23, 38, 59, 35, 24, 41], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 74, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2382, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "88fb6f2a66b846f34fc14fdba79ccb524569eb4bfd7b8902", | |
| "tweak": "14488526496d4920", | |
| "msg": [28, 30, 60, 37, 38, 42, 37, 10, 61, 13, 48, 55, 47, 15, 40, 1, 63, 27, 1, 51, 9, 49, 63, 63, 58, 23, 0, 47, 3, 35, 2, 42, 48, 48, 26, 61, 58, 14, 43, 11, 15, 10, 37, 56, 60, 7, 37, 23, 16, 32, 23, 52, 13, 52, 40, 63, 47, 48, 21, 39, 49, 31, 18, 47, 32, 45, 41, 22, 31, 28, 6, 55, 25, 27], | |
| "ct": [0, 24, 34, 7, 28, 31, 42, 18, 29, 31, 45, 2, 52, 38, 9, 3, 36, 21, 27, 54, 7, 26, 4, 47, 27, 58, 33, 2, 10, 21, 40, 36, 42, 0, 23, 52, 21, 59, 48, 47, 57, 57, 57, 49, 9, 52, 33, 14, 20, 4, 15, 34, 43, 4, 31, 17, 56, 14, 58, 12, 63, 5, 10, 50, 58, 5, 46, 16, 20, 11, 12, 51, 2, 46], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 75, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2383, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "0762a96f1d7dda4c5c2705c4f5ed2c22a6d20ab20072471b", | |
| "tweak": "84b2f3ab29a2dc52", | |
| "msg": [13, 42, 10, 21, 59, 31, 56, 31, 21, 28, 47, 55, 6, 42, 3, 11, 5, 14, 48, 34, 50, 17, 17, 23, 9, 63, 24, 35, 4, 39, 8, 46, 30, 44, 63, 1, 14, 16, 56, 19, 37, 33, 63, 42, 19, 26, 46, 18, 25, 11, 12, 48, 30, 11, 15, 10, 13, 52, 35, 36, 19, 22, 15, 37, 60, 57, 3, 19, 41, 15, 0, 53, 30, 0, 47], | |
| "ct": [26, 23, 13, 36, 60, 40, 16, 58, 10, 6, 47, 31, 28, 56, 52, 41, 23, 14, 2, 62, 13, 2, 7, 13, 55, 41, 43, 41, 59, 44, 10, 2, 2, 15, 59, 30, 11, 57, 51, 20, 46, 24, 42, 0, 38, 45, 30, 52, 32, 36, 37, 22, 35, 26, 3, 39, 47, 54, 56, 28, 22, 29, 57, 52, 35, 15, 6, 24, 37, 18, 63, 45, 24, 43, 59], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 80, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2384, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c3290a053478ca018533e702e2d0bf805933488260457c79", | |
| "tweak": "c814a8fb2641f8ef", | |
| "msg": [10, 1, 47, 3, 18, 35, 36, 35, 31, 44, 51, 11, 13, 1, 19, 41, 62, 2, 57, 56, 59, 50, 14, 25, 2, 44, 52, 58, 9, 24, 37, 10, 9, 33, 48, 19, 28, 29, 36, 7, 18, 63, 5, 41, 1, 25, 52, 13, 0, 28, 31, 61, 62, 34, 43, 25, 34, 45, 1, 36, 32, 8, 32, 18, 13, 10, 57, 24, 11, 24, 28, 57, 41, 63, 58, 18, 59, 42, 2, 0], | |
| "ct": [5, 4, 26, 28, 14, 52, 52, 26, 32, 20, 23, 6, 44, 36, 53, 62, 6, 57, 52, 35, 8, 32, 20, 36, 21, 26, 16, 60, 48, 53, 1, 63, 10, 19, 27, 0, 37, 16, 51, 20, 31, 9, 26, 9, 11, 61, 55, 8, 32, 44, 59, 25, 23, 10, 57, 40, 34, 27, 19, 17, 12, 56, 36, 22, 30, 38, 26, 56, 23, 38, 28, 27, 22, 58, 28, 36, 16, 28, 34, 18], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 84, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2385, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "bc92b081703aaaef843f21e8afaa9c1b6f04c0027bdc14fd", | |
| "tweak": "f51acbc849e25abb", | |
| "msg": [25, 54, 53, 9, 13, 33, 37, 61, 13, 47, 9, 27, 42, 6, 31, 58, 13, 22, 42, 1, 40, 26, 8, 21, 36, 0, 21, 59, 9, 12, 26, 60, 23, 44, 2, 2, 40, 63, 1, 19, 61, 19, 1, 10, 29, 40, 9, 62, 19, 31, 5, 24, 24, 53, 22, 49, 17, 62, 36, 2, 61, 15, 17, 7, 8, 7, 55, 8, 50, 37, 28, 34, 9, 4, 49, 37, 49, 36, 48, 59, 43, 25, 39, 15], | |
| "ct": [11, 12, 38, 15, 39, 29, 29, 45, 61, 40, 36, 52, 32, 0, 13, 50, 36, 47, 6, 31, 24, 42, 48, 42, 29, 48, 55, 26, 7, 54, 40, 21, 46, 59, 37, 40, 60, 4, 62, 10, 22, 54, 35, 4, 46, 15, 7, 2, 46, 30, 10, 47, 60, 14, 30, 6, 19, 11, 47, 23, 31, 52, 24, 4, 17, 1, 17, 21, 54, 13, 47, 25, 38, 6, 9, 39, 58, 57, 46, 53, 32, 2, 20, 11], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 128, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2386, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "f38798eb8567d4a7f70c50782361b5a6261d07e43c8b54ca", | |
| "tweak": "36c24b7c62ee3538", | |
| "msg": [12, 39, 2, 59, 17, 4, 25, 44, 45, 41, 56, 8, 44, 42, 0, 41, 43, 56, 43, 20, 27, 19, 60, 29, 46, 14, 19, 24, 22, 42, 57, 58, 45, 31, 51, 32, 28, 61, 16, 35, 40, 30, 10, 63, 2, 53, 43, 30, 48, 59, 49, 24, 38, 10, 24, 60, 20, 9, 57, 46, 37, 4, 20, 17, 28, 38, 46, 53, 55, 47, 20, 34, 22, 25, 60, 9, 20, 15, 30, 57, 14, 52, 1, 25, 18, 28, 39, 13, 4, 48, 12, 55, 44, 40, 42, 63, 38, 12, 50, 2, 21, 0, 7, 39, 22, 23, 16, 0, 29, 0, 18, 43, 61, 9, 23, 3, 2, 4, 63, 11, 51, 11, 51, 46, 47, 35, 17, 62], | |
| "ct": [28, 57, 11, 58, 25, 27, 13, 11, 14, 17, 54, 4, 47, 44, 62, 61, 9, 40, 4, 50, 49, 14, 38, 21, 25, 20, 53, 62, 23, 8, 34, 38, 39, 43, 8, 45, 57, 33, 24, 7, 1, 35, 48, 25, 1, 55, 5, 41, 15, 23, 2, 1, 14, 51, 33, 32, 61, 51, 10, 3, 19, 10, 26, 30, 16, 33, 34, 58, 4, 49, 52, 49, 58, 63, 25, 52, 18, 2, 39, 53, 61, 44, 33, 27, 61, 31, 36, 56, 8, 25, 16, 19, 61, 48, 5, 16, 4, 10, 17, 9, 37, 28, 56, 48, 42, 2, 49, 56, 10, 9, 44, 18, 22, 58, 47, 41, 2, 3, 59, 36, 44, 1, 3, 53, 60, 37, 12, 34], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 260, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2387, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "ddf845415ef282ad312951d506329229d34582b869cec20f", | |
| "tweak": "fa3a2a07855bde0b", | |
| "msg": [0, 50, 44, 29, 58, 39, 13, 56, 61, 47, 11, 31, 47, 59, 18, 54, 45, 10, 8, 43, 31, 34, 20, 4, 17, 9, 15, 39, 48, 18, 34, 55, 4, 36, 16, 41, 49, 51, 59, 63, 21, 39, 42, 9, 44, 63, 10, 38, 38, 4, 10, 30, 12, 9, 59, 63, 1, 55, 35, 63, 55, 34, 4, 55, 46, 53, 55, 39, 43, 32, 58, 31, 44, 28, 48, 51, 3, 29, 45, 6, 35, 36, 0, 31, 57, 46, 21, 4, 54, 3, 1, 9, 5, 54, 51, 39, 47, 45, 21, 31, 63, 18, 24, 28, 33, 29, 27, 23, 53, 45, 29, 51, 44, 0, 29, 60, 23, 47, 4, 3, 63, 10, 30, 34, 2, 5, 8, 48, 11, 14, 10, 22, 53, 37, 51, 25, 42, 15, 41, 41, 22, 46, 60, 21, 12, 45, 20, 22, 43, 39, 42, 23, 16, 41, 56, 32, 17, 30, 48, 23, 1, 28, 21, 43, 53, 37, 50, 7, 38, 26, 11, 14, 58, 55, 22, 11, 23, 25, 55, 57, 21, 14, 40, 29, 37, 57, 9, 55, 45, 31, 0, 18, 18, 43, 60, 60, 55, 63, 28, 22, 50, 2, 50, 20, 25, 56, 41, 35, 32, 23, 11, 3, 7, 10, 60, 47, 61, 52, 14, 9, 48, 55, 23, 34, 24, 4, 41, 2, 12, 16, 17, 3, 22, 37, 31, 2, 40, 6, 14, 8, 10, 14, 20, 41, 40, 41, 41, 56, 25, 33, 18, 33, 33, 62, 11, 41, 23, 31, 61, 3], | |
| "ct": [39, 55, 50, 14, 41, 18, 60, 44, 40, 39, 49, 39, 53, 32, 47, 43, 45, 57, 2, 22, 26, 25, 32, 3, 41, 52, 29, 18, 42, 25, 42, 3, 0, 59, 28, 52, 25, 0, 0, 43, 44, 13, 3, 44, 49, 42, 30, 26, 20, 29, 12, 25, 41, 61, 33, 12, 36, 2, 6, 29, 41, 11, 36, 18, 43, 28, 19, 14, 23, 62, 13, 39, 1, 46, 16, 20, 3, 23, 34, 8, 30, 26, 1, 4, 49, 23, 2, 56, 29, 29, 8, 3, 48, 44, 40, 2, 60, 23, 27, 62, 51, 21, 17, 52, 6, 50, 16, 34, 58, 52, 61, 63, 33, 32, 8, 31, 40, 11, 17, 19, 28, 44, 49, 47, 26, 44, 37, 53, 63, 61, 13, 54, 61, 43, 0, 37, 44, 1, 27, 6, 5, 48, 14, 15, 37, 23, 42, 55, 13, 23, 23, 0, 58, 29, 24, 45, 9, 8, 43, 6, 3, 47, 47, 15, 51, 28, 18, 58, 34, 38, 63, 55, 40, 43, 41, 43, 53, 1, 25, 39, 46, 4, 4, 41, 1, 63, 52, 50, 10, 59, 55, 39, 3, 57, 10, 48, 25, 54, 62, 56, 39, 43, 52, 36, 17, 53, 8, 34, 50, 33, 2, 58, 40, 54, 52, 36, 62, 35, 41, 28, 17, 47, 52, 57, 45, 28, 53, 13, 43, 9, 35, 54, 6, 61, 63, 44, 22, 61, 20, 48, 17, 11, 43, 21, 5, 58, 31, 20, 36, 13, 20, 26, 10, 43, 32, 8, 34, 50, 57, 11], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 22, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2388, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "e4d7316dc8f207a390bb0975ae78c2a506361b7a3c762dc970dff471d015a634", | |
| "tweak": "457e89bd400af1ab", | |
| "msg": [62, 7, 32, 2, 38, 48, 40, 46, 46, 28, 23, 8, 15, 39, 12, 37, 26, 0, 0, 30, 52, 15], | |
| "ct": [43, 11, 60, 47, 0, 18, 31, 16, 2, 55, 32, 27, 63, 0, 27, 13, 13, 50, 20, 2, 29, 11], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 23, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2389, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "0d3ce9853bb4fc12233e5c394be7fa40a52f13ce1a348b3ebf7656fb5dd4357b", | |
| "tweak": "bf83b0337f56f7bf", | |
| "msg": [56, 17, 33, 56, 33, 20, 60, 13, 33, 29, 29, 22, 13, 60, 62, 51, 1, 0, 63, 29, 18, 8, 38], | |
| "ct": [61, 17, 57, 9, 43, 41, 56, 19, 15, 54, 39, 52, 1, 0, 16, 32, 58, 3, 52, 26, 57, 45, 13], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 24, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2390, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "6dd6f146d834e25b75f7cde4071293e1cb4ed6be6f3e93a1338f21699c844fef", | |
| "tweak": "a043702fce39a1ce", | |
| "msg": [22, 0, 59, 44, 46, 37, 7, 39, 38, 58, 48, 53, 41, 52, 62, 31, 42, 12, 22, 14, 46, 38, 54, 10], | |
| "ct": [35, 24, 1, 54, 2, 22, 41, 38, 11, 24, 6, 25, 35, 38, 1, 4, 58, 31, 17, 11, 13, 1, 47, 51], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 25, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2391, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "e0325d51f62ed182ca91eb839e255cae9917f657cb90ac5c9f891c4ecbfb44ba", | |
| "tweak": "6a15097e7edd42a0", | |
| "msg": [21, 39, 22, 48, 0, 38, 55, 10, 56, 27, 24, 26, 29, 52, 40, 20, 7, 57, 17, 46, 21, 37, 63, 22, 38], | |
| "ct": [41, 22, 28, 52, 52, 62, 28, 55, 37, 49, 57, 34, 42, 60, 55, 34, 28, 21, 17, 22, 0, 47, 19, 57, 56], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 26, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2392, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "219dd3d491cb992c6c8c4d4292b5ee76784b4b383fc415b654f09d600248858b", | |
| "tweak": "6434003b257c6b31", | |
| "msg": [51, 40, 57, 56, 14, 56, 43, 57, 36, 31, 63, 21, 56, 19, 48, 0, 56, 2, 62, 14, 17, 17, 16, 63, 4, 28], | |
| "ct": [61, 34, 12, 39, 23, 52, 34, 18, 34, 53, 24, 24, 48, 37, 11, 42, 10, 27, 33, 4, 32, 50, 38, 19, 14, 45], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 27, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2393, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "89dcb7b56207898e6bbf9275e00e68d7f08eee8ef17be1a0359b5f15a4c7f476", | |
| "tweak": "2146a4ee0ca89f28", | |
| "msg": [34, 1, 51, 8, 16, 0, 57, 42, 62, 56, 49, 20, 25, 1, 2, 15, 19, 25, 20, 51, 9, 47, 57, 9, 21, 14, 35], | |
| "ct": [37, 47, 14, 0, 8, 1, 42, 35, 49, 3, 13, 63, 63, 12, 57, 16, 46, 59, 55, 46, 18, 45, 38, 15, 53, 5, 1], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 28, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2394, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "56b5a4449c4eab69ba4deb8094c02b97de3992b606485185334642bf8626dcee", | |
| "tweak": "46ab2623206bced3", | |
| "msg": [36, 20, 38, 22, 19, 22, 40, 34, 7, 2, 9, 37, 40, 18, 29, 59, 9, 22, 18, 46, 31, 31, 22, 20, 18, 1, 24, 6], | |
| "ct": [35, 34, 48, 16, 21, 45, 48, 61, 15, 18, 41, 43, 16, 40, 1, 33, 5, 27, 45, 46, 25, 56, 18, 61, 50, 27, 28, 61], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 29, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2395, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "289b50c9fef3028eebb6d8121536042e818bcf1ce7829d123daf3704c95a803d", | |
| "tweak": "6fc54bb5ade03038", | |
| "msg": [10, 42, 5, 38, 60, 53, 46, 29, 29, 10, 52, 33, 40, 5, 44, 10, 56, 22, 53, 19, 31, 53, 0, 8, 15, 43, 32, 47, 57], | |
| "ct": [26, 11, 37, 47, 58, 59, 48, 51, 27, 16, 61, 55, 12, 20, 20, 5, 36, 40, 33, 54, 31, 53, 56, 45, 32, 43, 36, 0, 22], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 30, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2396, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "73fb9509d5105cc23dc27665da2603ae368bb7472ee6faba1f50369cd283944e", | |
| "tweak": "5cbf2c8926102868", | |
| "msg": [15, 54, 26, 3, 38, 1, 58, 34, 28, 52, 9, 22, 18, 3, 4, 26, 58, 8, 35, 7, 55, 61, 51, 38, 48, 12, 58, 56, 33, 46], | |
| "ct": [7, 2, 63, 40, 23, 35, 59, 38, 8, 20, 0, 20, 56, 46, 27, 29, 14, 2, 43, 7, 54, 1, 50, 39, 0, 0, 41, 3, 35, 9], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 31, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2397, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c469e6908749a713e6ef407c557cea98515c3e931222e22d13b85ea1f6071231", | |
| "tweak": "47b8d0890cbc7d4d", | |
| "msg": [17, 63, 0, 24, 20, 45, 12, 63, 21, 44, 59, 37, 48, 30, 59, 26, 3, 59, 18, 10, 5, 63, 56, 34, 46, 54, 55, 4, 32, 35, 7], | |
| "ct": [3, 27, 61, 20, 28, 6, 46, 3, 44, 48, 52, 1, 63, 51, 37, 46, 8, 42, 5, 22, 39, 60, 59, 6, 40, 57, 17, 22, 9, 37, 21], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 32, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2398, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "233e4fdee70bcc20235b6977ddfc05b0df66f5635d827c66e5a63cdb16a24938", | |
| "tweak": "1b6819798da15c7a", | |
| "msg": [31, 28, 54, 16, 49, 29, 43, 62, 20, 15, 4, 56, 15, 21, 47, 51, 26, 17, 58, 29, 29, 48, 34, 36, 33, 62, 49, 62, 63, 10, 1, 47], | |
| "ct": [29, 41, 11, 53, 7, 26, 37, 1, 21, 16, 48, 25, 39, 14, 56, 50, 31, 10, 13, 63, 3, 30, 4, 38, 50, 46, 1, 40, 57, 53, 0, 15], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 33, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2399, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "ff5595a976430f9c424459d7206cfa55562f5f2328f12e31232499fb1e7c49b4", | |
| "tweak": "2d1ad468fddd0754", | |
| "msg": [37, 24, 36, 56, 27, 7, 8, 63, 8, 6, 51, 49, 25, 11, 10, 56, 37, 20, 35, 19, 46, 37, 13, 45, 40, 61, 52, 60, 55, 8, 16, 45, 6], | |
| "ct": [39, 19, 38, 18, 56, 46, 14, 14, 16, 26, 22, 20, 43, 3, 3, 28, 11, 36, 20, 63, 21, 13, 32, 40, 31, 35, 56, 47, 50, 7, 29, 37, 55], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 40, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2400, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "44d6353fd4623666bb7617a2235ebe645e1685dc11e084d7408c75042d94c06c", | |
| "tweak": "e0b69ccb91ebb7a3", | |
| "msg": [63, 45, 2, 37, 58, 42, 14, 50, 55, 37, 9, 0, 10, 50, 14, 15, 19, 20, 27, 53, 10, 25, 38, 20, 54, 30, 57, 16, 25, 2, 41, 39, 29, 60, 43, 24, 53, 34, 41, 46], | |
| "ct": [5, 46, 50, 51, 4, 34, 15, 17, 46, 49, 15, 56, 9, 16, 44, 55, 50, 43, 56, 11, 0, 43, 52, 14, 11, 13, 3, 28, 58, 17, 61, 51, 40, 10, 22, 42, 17, 48, 1, 54], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 42, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2401, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "4edbb16db0bbd2cb384d74b7bb8fb04673d3e8fe27a9c92e588846622153ba2b", | |
| "tweak": "e4f7062211ddb715", | |
| "msg": [54, 50, 55, 47, 43, 5, 32, 57, 58, 49, 49, 32, 43, 1, 1, 17, 44, 11, 45, 62, 43, 62, 48, 22, 2, 27, 63, 48, 33, 36, 12, 22, 14, 9, 3, 24, 16, 49, 14, 48, 16, 16], | |
| "ct": [58, 16, 14, 2, 19, 49, 46, 46, 29, 20, 15, 32, 14, 21, 27, 25, 10, 39, 14, 1, 9, 30, 46, 0, 25, 27, 60, 27, 18, 36, 47, 62, 29, 18, 15, 48, 48, 58, 40, 27, 34, 55], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 43, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2402, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "245e76807125598f7b52458933b88e3a11f3f356c831ac9088b9e7e1d2907294", | |
| "tweak": "c6f31b58ca89b6ad", | |
| "msg": [32, 41, 54, 51, 0, 18, 51, 32, 5, 51, 50, 12, 14, 12, 28, 14, 48, 59, 13, 39, 35, 48, 25, 29, 9, 52, 55, 60, 11, 38, 21, 28, 9, 34, 47, 48, 31, 36, 22, 61, 2, 24, 9], | |
| "ct": [27, 18, 33, 63, 45, 39, 5, 58, 20, 38, 59, 48, 39, 6, 53, 60, 33, 38, 1, 56, 53, 49, 35, 39, 51, 28, 12, 1, 11, 35, 34, 55, 37, 47, 63, 49, 53, 19, 12, 16, 36, 35, 9], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 52, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2403, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "a8e36a35aecd110c626951897911829b049fdb12e3a27c6191aebeab843fac05", | |
| "tweak": "ba56bdadc86b5559", | |
| "msg": [30, 15, 12, 9, 56, 61, 36, 34, 10, 33, 62, 2, 23, 14, 6, 56, 53, 13, 14, 54, 11, 57, 62, 36, 32, 23, 10, 47, 16, 31, 9, 20, 50, 29, 52, 10, 10, 63, 8, 20, 22, 31, 7, 11, 10, 19, 35, 6, 60, 62, 30, 15], | |
| "ct": [47, 44, 42, 59, 34, 9, 12, 19, 14, 48, 9, 60, 47, 44, 33, 56, 60, 59, 27, 43, 18, 57, 9, 28, 15, 22, 27, 27, 48, 53, 10, 33, 21, 42, 11, 60, 55, 1, 1, 4, 55, 14, 3, 57, 12, 0, 14, 61, 62, 33, 13, 38], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 53, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2404, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "d1a57b467e17c2e21d60678f3595a301fbddeb007211456b96b4a0186f31df6a", | |
| "tweak": "b18910ebe65ffe11", | |
| "msg": [49, 30, 40, 58, 40, 62, 6, 12, 9, 22, 15, 32, 57, 21, 44, 6, 39, 49, 37, 46, 15, 26, 18, 61, 1, 17, 8, 30, 13, 16, 9, 31, 50, 25, 5, 14, 51, 39, 16, 51, 8, 6, 34, 25, 41, 31, 39, 3, 44, 53, 26, 11, 37], | |
| "ct": [11, 3, 39, 56, 0, 55, 21, 30, 21, 28, 11, 33, 22, 47, 0, 60, 17, 43, 12, 23, 3, 12, 18, 20, 32, 16, 4, 15, 1, 57, 9, 52, 50, 33, 38, 36, 36, 18, 36, 18, 3, 8, 15, 52, 36, 18, 61, 28, 13, 61, 63, 24, 63], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 64, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2405, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "2f18635c07eefa940f9f24050f44a9ef0a635c87a70897eaceeeeef15fefe1f8", | |
| "tweak": "4ccb9dd3441d2cfb", | |
| "msg": [63, 39, 62, 55, 27, 33, 1, 28, 22, 54, 41, 40, 51, 51, 23, 1, 36, 30, 3, 24, 30, 20, 9, 7, 42, 2, 47, 30, 11, 38, 35, 44, 39, 30, 53, 18, 9, 29, 22, 41, 57, 0, 6, 61, 37, 52, 50, 57, 35, 49, 21, 37, 16, 18, 25, 50, 23, 18, 23, 23, 54, 33, 63, 44], | |
| "ct": [24, 43, 5, 50, 3, 49, 50, 1, 61, 60, 24, 0, 7, 28, 57, 41, 2, 21, 49, 31, 42, 11, 55, 57, 3, 52, 36, 37, 28, 19, 17, 26, 35, 8, 52, 19, 9, 52, 20, 22, 61, 59, 26, 39, 10, 2, 5, 8, 5, 11, 60, 59, 59, 43, 47, 0, 27, 4, 30, 43, 24, 33, 11, 12], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 65, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2406, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "81ff5cc5ffed8bba24714f6ea45c939632398d901a35289e7293f9abb65aa7d8", | |
| "tweak": "ecd9bd3638d8cee2", | |
| "msg": [55, 31, 24, 54, 62, 31, 45, 8, 49, 41, 7, 10, 18, 33, 47, 48, 15, 51, 19, 19, 22, 43, 29, 2, 35, 45, 30, 20, 31, 34, 22, 42, 19, 52, 62, 1, 18, 23, 29, 63, 20, 41, 63, 6, 19, 32, 43, 50, 42, 46, 3, 58, 13, 6, 61, 25, 33, 0, 22, 53, 53, 54, 33, 1, 47], | |
| "ct": [62, 17, 40, 39, 25, 33, 60, 54, 45, 53, 51, 63, 43, 6, 53, 63, 51, 4, 39, 19, 55, 9, 10, 16, 50, 1, 54, 32, 8, 57, 56, 4, 11, 18, 21, 24, 4, 30, 35, 24, 53, 36, 20, 56, 61, 25, 34, 38, 56, 18, 62, 8, 55, 18, 2, 57, 34, 5, 61, 35, 20, 2, 10, 27, 1], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 74, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2407, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "5a3d59c972ae591c65a5fbe8eaeb49ce3aa39ba24e9977d2bf5fe97eefcb64a0", | |
| "tweak": "9d7ec5179c821320", | |
| "msg": [4, 29, 37, 60, 33, 63, 0, 17, 55, 36, 38, 21, 18, 51, 20, 29, 18, 58, 59, 1, 0, 1, 11, 21, 42, 45, 35, 17, 10, 59, 16, 55, 51, 19, 30, 20, 24, 41, 41, 56, 29, 45, 39, 29, 54, 44, 5, 40, 31, 47, 43, 14, 10, 31, 2, 62, 52, 18, 38, 50, 9, 17, 37, 39, 60, 39, 10, 10, 51, 18, 48, 40, 27, 36], | |
| "ct": [42, 5, 2, 58, 9, 12, 50, 48, 0, 60, 63, 21, 63, 33, 53, 4, 23, 58, 52, 43, 1, 57, 21, 8, 58, 44, 32, 11, 5, 28, 55, 13, 42, 16, 1, 21, 27, 6, 4, 12, 26, 2, 23, 63, 2, 59, 26, 9, 22, 27, 0, 37, 12, 46, 20, 57, 21, 63, 32, 32, 21, 31, 24, 22, 28, 32, 60, 38, 9, 20, 53, 4, 51, 33], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 75, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2408, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "1b298a5019eb5ad8a52d71761697e38991d311c3c2233c596cfcba928d285aab", | |
| "tweak": "6a46a5b485a76143", | |
| "msg": [39, 54, 7, 62, 23, 41, 1, 40, 19, 49, 35, 19, 49, 55, 38, 47, 56, 26, 3, 1, 61, 43, 4, 34, 35, 38, 46, 48, 38, 45, 12, 34, 63, 56, 14, 42, 24, 41, 8, 41, 22, 1, 49, 40, 53, 20, 42, 41, 36, 29, 12, 37, 10, 31, 19, 33, 50, 38, 43, 15, 21, 9, 30, 62, 28, 55, 23, 42, 11, 51, 40, 23, 14, 52, 17], | |
| "ct": [26, 13, 12, 54, 54, 22, 15, 28, 56, 62, 49, 50, 12, 19, 52, 2, 44, 40, 35, 15, 56, 37, 54, 26, 20, 52, 56, 55, 9, 21, 5, 18, 61, 41, 20, 9, 48, 4, 16, 31, 14, 53, 6, 45, 38, 36, 60, 31, 20, 44, 61, 57, 21, 58, 18, 0, 57, 37, 46, 24, 29, 53, 51, 28, 16, 20, 4, 54, 51, 14, 34, 35, 4, 14, 29], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 80, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2409, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "4c21f21cf45f61eea701cdae4a3e06a74cd18fd63eec698b49b3a21f4e1c3bf9", | |
| "tweak": "0ec0a2520507286d", | |
| "msg": [38, 28, 48, 10, 8, 0, 19, 15, 33, 59, 61, 36, 43, 42, 43, 47, 52, 24, 14, 11, 51, 36, 53, 34, 19, 34, 54, 7, 63, 44, 16, 61, 42, 53, 9, 9, 26, 49, 40, 28, 20, 6, 55, 49, 51, 37, 1, 62, 4, 1, 40, 38, 44, 35, 61, 15, 39, 63, 35, 22, 19, 39, 19, 19, 24, 59, 34, 63, 15, 23, 44, 20, 14, 52, 28, 12, 61, 35, 24, 20], | |
| "ct": [41, 10, 53, 13, 9, 30, 11, 33, 30, 56, 58, 62, 10, 42, 36, 39, 14, 33, 20, 37, 18, 33, 18, 32, 48, 36, 40, 39, 36, 9, 20, 54, 47, 4, 40, 14, 1, 47, 42, 27, 14, 47, 44, 4, 32, 36, 41, 42, 20, 51, 27, 1, 26, 28, 39, 54, 30, 4, 20, 46, 18, 1, 49, 41, 59, 27, 40, 5, 59, 60, 20, 31, 21, 0, 61, 40, 31, 59, 34, 46], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 84, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2410, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "5d9a995d7994023a77efabc403db7c1b8db3e7ed546740e42ed74fbd39db1fda", | |
| "tweak": "d71f580ac957304b", | |
| "msg": [42, 32, 23, 26, 59, 60, 43, 58, 38, 57, 58, 51, 3, 2, 1, 28, 20, 51, 5, 20, 32, 57, 29, 10, 17, 32, 19, 12, 35, 42, 39, 15, 33, 34, 16, 15, 46, 61, 25, 23, 22, 19, 54, 57, 14, 45, 63, 18, 12, 57, 57, 21, 1, 19, 11, 43, 0, 55, 56, 8, 6, 7, 24, 18, 24, 59, 34, 15, 46, 25, 15, 11, 59, 46, 37, 52, 38, 19, 0, 13, 16, 25, 11, 52], | |
| "ct": [22, 36, 1, 10, 58, 32, 7, 55, 14, 4, 19, 41, 23, 54, 27, 17, 38, 13, 43, 27, 48, 60, 20, 15, 1, 46, 20, 26, 22, 51, 19, 0, 28, 19, 42, 9, 27, 35, 22, 37, 62, 60, 55, 7, 39, 36, 52, 20, 0, 29, 14, 44, 3, 31, 63, 28, 22, 45, 14, 14, 63, 62, 12, 9, 59, 60, 41, 28, 52, 9, 30, 11, 8, 9, 31, 31, 5, 7, 34, 43, 8, 15, 7, 62], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 128, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2411, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "0a04c284ea0028d71c986b4e547c0e03cc8969ac81ec89dacf67df23bf72d461", | |
| "tweak": "fdb7b6eda7cdb93c", | |
| "msg": [26, 61, 30, 42, 4, 40, 59, 13, 49, 54, 3, 27, 50, 33, 48, 25, 14, 61, 55, 42, 16, 1, 25, 55, 19, 47, 20, 35, 40, 2, 23, 43, 44, 33, 28, 6, 62, 13, 19, 21, 38, 3, 61, 47, 1, 61, 38, 62, 18, 63, 44, 18, 41, 45, 19, 21, 63, 27, 63, 22, 2, 54, 22, 31, 22, 23, 25, 13, 26, 36, 32, 14, 38, 16, 63, 52, 2, 57, 9, 47, 23, 30, 2, 61, 10, 49, 8, 60, 48, 50, 23, 18, 17, 11, 2, 53, 35, 38, 2, 56, 2, 8, 45, 27, 20, 3, 35, 34, 45, 40, 15, 16, 22, 1, 52, 31, 18, 34, 23, 21, 13, 58, 6, 53, 38, 14, 30, 38], | |
| "ct": [57, 10, 24, 10, 29, 40, 14, 13, 33, 0, 19, 25, 39, 14, 35, 55, 21, 47, 44, 10, 22, 52, 59, 16, 29, 24, 46, 18, 3, 13, 16, 1, 17, 14, 58, 44, 36, 21, 57, 55, 22, 18, 28, 48, 17, 61, 33, 40, 41, 62, 63, 47, 57, 50, 2, 17, 35, 40, 43, 51, 31, 30, 21, 29, 4, 1, 57, 21, 30, 55, 12, 9, 12, 16, 15, 3, 54, 38, 4, 7, 40, 14, 24, 6, 14, 11, 14, 16, 37, 22, 54, 31, 39, 46, 60, 59, 2, 28, 36, 24, 58, 48, 39, 16, 12, 31, 59, 24, 35, 36, 20, 38, 47, 48, 29, 5, 34, 63, 39, 62, 2, 44, 14, 22, 25, 20, 29, 51], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 260, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2412, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "e3009a081a300a5d2c99b076d69e8479ab2e040342b7558d4fb8c6cf978e809f", | |
| "tweak": "ae2aa7fbd0c4542d", | |
| "msg": [40, 42, 52, 28, 30, 61, 0, 31, 37, 17, 1, 15, 55, 32, 8, 46, 34, 58, 8, 7, 34, 21, 4, 41, 13, 56, 50, 12, 17, 59, 19, 7, 45, 57, 1, 12, 54, 60, 19, 4, 50, 5, 16, 61, 46, 41, 33, 63, 51, 3, 8, 58, 11, 40, 58, 21, 44, 4, 49, 58, 52, 37, 61, 8, 41, 35, 63, 16, 31, 45, 39, 31, 1, 26, 35, 32, 63, 39, 30, 51, 41, 35, 21, 46, 46, 60, 58, 8, 56, 16, 31, 17, 6, 12, 9, 41, 57, 20, 61, 3, 34, 30, 18, 52, 62, 33, 14, 4, 34, 26, 37, 36, 23, 22, 37, 14, 60, 14, 19, 37, 15, 38, 5, 25, 46, 60, 37, 37, 61, 24, 59, 63, 1, 40, 23, 52, 0, 4, 27, 43, 29, 56, 55, 11, 48, 63, 61, 33, 45, 45, 57, 25, 15, 31, 40, 21, 30, 51, 0, 42, 33, 53, 14, 50, 55, 49, 30, 22, 9, 14, 12, 36, 24, 11, 39, 14, 10, 57, 49, 46, 42, 29, 0, 30, 36, 15, 3, 55, 3, 60, 42, 48, 28, 14, 34, 56, 32, 48, 23, 46, 19, 4, 10, 29, 2, 13, 24, 2, 58, 14, 46, 51, 63, 34, 58, 30, 14, 10, 41, 4, 6, 46, 25, 58, 55, 6, 40, 29, 24, 37, 42, 47, 25, 60, 31, 33, 44, 40, 39, 15, 4, 49, 23, 48, 61, 43, 33, 29, 14, 18, 5, 52, 8, 61, 18, 10, 32, 34, 29, 18], | |
| "ct": [11, 42, 56, 10, 59, 46, 59, 14, 50, 18, 26, 63, 7, 18, 62, 55, 57, 32, 22, 20, 2, 29, 25, 14, 35, 37, 22, 38, 26, 39, 53, 1, 15, 11, 15, 14, 10, 21, 59, 44, 19, 19, 26, 16, 59, 42, 34, 18, 57, 33, 61, 59, 27, 27, 60, 48, 48, 46, 34, 59, 20, 62, 2, 6, 56, 11, 60, 47, 28, 45, 2, 58, 23, 22, 46, 60, 51, 22, 36, 22, 7, 43, 31, 48, 22, 24, 40, 28, 16, 34, 10, 53, 38, 5, 51, 25, 38, 47, 18, 47, 50, 13, 33, 27, 17, 17, 11, 44, 22, 40, 27, 23, 20, 46, 15, 14, 53, 16, 2, 10, 61, 41, 9, 52, 5, 53, 29, 26, 40, 56, 24, 6, 10, 30, 52, 26, 36, 49, 18, 63, 17, 55, 22, 53, 55, 59, 17, 11, 10, 63, 2, 4, 3, 5, 17, 31, 25, 15, 27, 22, 2, 25, 16, 33, 61, 20, 6, 11, 4, 36, 60, 5, 58, 60, 0, 41, 46, 60, 50, 4, 3, 46, 58, 2, 19, 6, 48, 54, 3, 16, 36, 25, 45, 32, 20, 30, 55, 15, 27, 16, 62, 3, 1, 28, 38, 1, 9, 25, 28, 55, 11, 58, 42, 6, 2, 46, 29, 19, 45, 0, 44, 39, 46, 46, 6, 49, 26, 27, 32, 63, 30, 1, 13, 9, 2, 56, 3, 16, 29, 62, 15, 31, 47, 15, 57, 29, 50, 9, 42, 39, 21, 29, 53, 13, 12, 12, 44, 34, 18, 8], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 0, | |
| "msgSize": 4, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2413, | |
| "comment": "invalid key size", | |
| "flags": [ | |
| "InvalidKeySize" | |
| ], | |
| "key": "", | |
| "tweak": "a5016eb62efc7e72", | |
| "msg": [35, 7, 4, 52], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 8, | |
| "msgSize": 4, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2414, | |
| "comment": "invalid key size", | |
| "flags": [ | |
| "InvalidKeySize" | |
| ], | |
| "key": "2e", | |
| "tweak": "f33d831e66c0db16", | |
| "msg": [32, 30, 14, 18], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 64, | |
| "msgSize": 4, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2415, | |
| "comment": "invalid key size", | |
| "flags": [ | |
| "InvalidKeySize" | |
| ], | |
| "key": "1f22cd7ded80f7a8", | |
| "tweak": "f40e82cd7c24eee2", | |
| "msg": [15, 37, 16, 0], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 160, | |
| "msgSize": 4, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2416, | |
| "comment": "invalid key size", | |
| "flags": [ | |
| "InvalidKeySize" | |
| ], | |
| "key": "9b708898ae15bbf6758a68366f724bc1b299e6ba", | |
| "tweak": "a769d9747fa24abf", | |
| "msg": [34, 51, 30, 53], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 320, | |
| "msgSize": 4, | |
| "radix": 64, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2417, | |
| "comment": "invalid key size", | |
| "flags": [ | |
| "InvalidKeySize" | |
| ], | |
| "key": "9a1b29efd5efb6504153004d40c73dba3157f7aa627104918b6d1abf5723830f4d106d3178a59209", | |
| "tweak": "c91e67905cb51765", | |
| "msg": [52, 31, 39, 55], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| } | |
| ] | |
| } |