| { | |
| "algorithm": "AES-FF1", | |
| "generatorVersion": "0.9rc5", | |
| "numberOfTests": 1852, | |
| "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": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "fb9fc869af3e4828da6efa18b5fa71a0", | |
| "tweak": "379f81cab6ed2517", | |
| "msg": [], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 1, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 2, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "7325733095d90aff456a1e00fa977365", | |
| "tweak": "a5f8950069a56f6c", | |
| "msg": [61], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 0, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 3, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "af2463f51df63a015178e30edcf25dacbeb2abbc5144d0a6", | |
| "tweak": "5d9c3dfb797c952a", | |
| "msg": [], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 1, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 4, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "e9e279f5fad3e7fd7922e838cf07da528ddcc5387f6145bf", | |
| "tweak": "a25989a2e4360bae", | |
| "msg": [79], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 0, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 5, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "f25e816c4d42629a428e48f2d48a31f79d6b1e8ef47e5ed3e7e5bbdf37f1806d", | |
| "tweak": "42dbc8913a275520", | |
| "msg": [], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 1, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 6, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "b8c800bed3286920bd1d9ad89a78808e9f815ec638663a725f256cc7078fdaf0", | |
| "tweak": "90120912eba3c19c", | |
| "msg": [58], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 2, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 7, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "ad65778960d778c614e2673dee073acb", | |
| "tweak": "4505f45a8fa30b90", | |
| "msg": [29, 11], | |
| "ct": [8, 23], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 3, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 8, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "aa6f23f573da39b110f4e155c418ba1f", | |
| "tweak": "8402018f66fd2cb9", | |
| "msg": [7, 1, 26], | |
| "ct": [67, 52, 75], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 2, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 9, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "911c9e0a87977587050ebb48f4f9e199fde8472781ecaf7a", | |
| "tweak": "cf98ea96ef005bc6", | |
| "msg": [38, 44], | |
| "ct": [17, 77], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 3, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 10, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "3c453964f4e42587db3a6de5de00673ede7e17672a4deb84", | |
| "tweak": "fe6290783f11946c", | |
| "msg": [41, 28, 11], | |
| "ct": [13, 54, 48], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 2, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 11, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "d05ae6e3819e2dcdd218be7c62465e8f1474f1fec8e79a1a3f7b88040d0f4160", | |
| "tweak": "823988f1ffb8ce23", | |
| "msg": [34, 83], | |
| "ct": [19, 24], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 3, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 12, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "1399758fa1ebf7cfda5f601c643443adaea4f4f8c19fc8772c5d5e3cc0cc6955", | |
| "tweak": "8c5a263a91b7cb4f", | |
| "msg": [23, 53, 69], | |
| "ct": [16, 8, 75], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 4, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 13, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "5dd5899794ff9b5007b4481aaa97f882", | |
| "tweak": "742f7f8b2ab0dc48", | |
| "msg": [51, 77, 61, 23], | |
| "ct": [22, 47, 7, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 14, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [0, 0, 0, 0], | |
| "ct": [21, 82, 81, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 15, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [84, 84, 84, 84], | |
| "ct": [70, 24, 80, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 16, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [48, 16, 48, 16], | |
| "ct": [77, 5, 23, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 17, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [48, 15, 48, 15], | |
| "ct": [49, 22, 38, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 18, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [20, 63, 20, 34], | |
| "ct": [62, 77, 28, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 19, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [31, 65, 61, 35], | |
| "ct": [43, 1, 11, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 20, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [49, 35, 58, 35], | |
| "ct": [83, 84, 43, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 21, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [27, 4, 5, 75], | |
| "ct": [26, 35, 3, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 22, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [47, 51, 75, 55], | |
| "ct": [77, 10, 7, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 23, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [59, 84, 84, 25], | |
| "ct": [44, 64, 35, 81], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 24, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [58, 76, 81, 33], | |
| "ct": [38, 52, 19, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 25, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [48, 24, 2, 15], | |
| "ct": [21, 22, 48, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 26, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [45, 73, 0, 21], | |
| "ct": [0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 27, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [0, 1, 77, 36], | |
| "ct": [84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 28, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [58, 38, 55, 57], | |
| "ct": [48, 16, 48, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 29, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": [27, 55, 83, 11], | |
| "ct": [48, 15, 48, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 30, | |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "af155ee428253306500bacff92", | |
| "msg": [58, 36, 75, 17], | |
| "ct": [77, 53, 13, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 31, | |
| "comment": "y = 0 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "af155ee428253306500bacff92", | |
| "msg": [84, 49, 76, 38], | |
| "ct": [82, 81, 68, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 32, | |
| "comment": "y = 0 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "af155ee428253306500bacff92", | |
| "msg": [44, 66, 69, 37], | |
| "ct": [24, 29, 15, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 33, | |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "af155ee428253306500bacff92", | |
| "msg": [54, 19, 20, 32], | |
| "ct": [42, 14, 35, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 34, | |
| "comment": "y = 1 and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "05012370623144c69c01270346", | |
| "msg": [1, 24, 6, 11], | |
| "ct": [0, 1, 77, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 35, | |
| "comment": "y = 1 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "05012370623144c69c01270346", | |
| "msg": [41, 32, 66, 15], | |
| "ct": [0, 2, 11, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 36, | |
| "comment": "y = 1 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "05012370623144c69c01270346", | |
| "msg": [18, 72, 55, 50], | |
| "ct": [48, 17, 41, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 37, | |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "05012370623144c69c01270346", | |
| "msg": [12, 11, 38, 8], | |
| "ct": [84, 84, 17, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 38, | |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "05012370623144c69c01270346", | |
| "msg": [14, 22, 7, 71], | |
| "ct": [0, 0, 48, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 39, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "9fcc8b2a9bc1934fa8ed0cb08f", | |
| "msg": [0, 0, 54, 7], | |
| "ct": [15, 49, 18, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 40, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "9fcc8b2a9bc1934fa8ed0cb08f", | |
| "msg": [0, 1, 54, 7], | |
| "ct": [38, 43, 56, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 41, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "9fcc8b2a9bc1934fa8ed0cb08f", | |
| "msg": [48, 16, 54, 7], | |
| "ct": [42, 53, 26, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 42, | |
| "comment": "y is maximal and (y + a) % radix**2 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "9fcc8b2a9bc1934fa8ed0cb08f", | |
| "msg": [60, 84, 54, 7], | |
| "ct": [27, 42, 73, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 43, | |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "9fcc8b2a9bc1934fa8ed0cb08f", | |
| "msg": [61, 0, 54, 7], | |
| "ct": [79, 46, 75, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 44, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "9fcc8b2a9bc1934fa8ed0cb08f", | |
| "msg": [84, 84, 54, 7], | |
| "ct": [47, 61, 66, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 45, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "b5c93d6da9df1abb68d1b4dd80", | |
| "msg": [36, 42, 69, 46], | |
| "ct": [28, 71, 65, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 46, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "b5c93d6da9df1abb68d1b4dd80", | |
| "msg": [34, 56, 70, 84], | |
| "ct": [46, 30, 31, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 47, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "b5c93d6da9df1abb68d1b4dd80", | |
| "msg": [10, 10, 4, 35], | |
| "ct": [43, 49, 40, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 48, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "b5c93d6da9df1abb68d1b4dd80", | |
| "msg": [39, 12, 23, 81], | |
| "ct": [59, 22, 57, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 49, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8a74f1cae832ef8d58c26b49157c187b", | |
| "tweak": "d7b8bdae53aba381", | |
| "msg": [-1, 63, 40, 30], | |
| "ct": [75, 37, 80, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 50, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8a74f1cae832ef8d58c26b49157c187b", | |
| "tweak": "d7b8bdae53aba381", | |
| "msg": [5, -1, 40, 30], | |
| "ct": [69, 37, 82, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 51, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8a74f1cae832ef8d58c26b49157c187b", | |
| "tweak": "d7b8bdae53aba381", | |
| "msg": [5, 63, 40, -1], | |
| "ct": [18, 41, 70, 59], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 52, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "595a962ebac0eff084666b49bc4ae204", | |
| "tweak": "d74b46fa68e8e1a1", | |
| "msg": [85, 54, 13, 65], | |
| "ct": [73, 4, 20, 49], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 53, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "595a962ebac0eff084666b49bc4ae204", | |
| "tweak": "d74b46fa68e8e1a1", | |
| "msg": [33, 85, 13, 65], | |
| "ct": [30, 78, 71, 16], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 54, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "595a962ebac0eff084666b49bc4ae204", | |
| "tweak": "d74b46fa68e8e1a1", | |
| "msg": [33, 54, 13, 85], | |
| "ct": [10, 12, 72, 42], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 5, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 55, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "0319599d6c7ca301230ec2b06c681097", | |
| "tweak": "125fd8f86c787e2d", | |
| "msg": [56, 33, 12, 48, 43], | |
| "ct": [62, 79, 62, 52, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 56, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [0, 0, 0, 0, 0], | |
| "ct": [12, 16, 9, 50, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 57, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [84, 84, 84, 84, 84], | |
| "ct": [25, 81, 66, 38, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 58, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [48, 16, 72, 48, 8], | |
| "ct": [51, 29, 80, 0, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 59, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [48, 15, 72, 48, 7], | |
| "ct": [35, 60, 51, 63, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 60, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [55, 16, 75, 25, 32], | |
| "ct": [66, 7, 22, 36, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 61, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [50, 8, 48, 11, 12], | |
| "ct": [76, 27, 52, 66, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 62, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [9, 25, 18, 53, 80], | |
| "ct": [7, 38, 46, 24, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 63, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [18, 57, 33, 48, 43], | |
| "ct": [17, 78, 61, 20, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 64, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [61, 21, 64, 24, 40], | |
| "ct": [44, 74, 38, 25, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 65, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [28, 64, 69, 71, 79], | |
| "ct": [68, 58, 13, 3, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 66, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [71, 20, 42, 38, 56], | |
| "ct": [75, 29, 48, 21, 82], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 67, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [13, 78, 2, 22, 68], | |
| "ct": [4, 37, 10, 66, 78], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 68, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [12, 83, 45, 19, 83], | |
| "ct": [0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 69, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [0, 53, 38, 47, 23], | |
| "ct": [84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 70, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [26, 19, 1, 63, 14], | |
| "ct": [48, 16, 72, 48, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 71, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": [23, 11, 42, 79, 2], | |
| "ct": [48, 15, 72, 48, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 72, | |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "17a382bb3efa41a48b0697ab", | |
| "msg": [60, 62, 19, 64, 22], | |
| "ct": [7, 22, 0, 13, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 73, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "17a382bb3efa41a48b0697ab", | |
| "msg": [3, 67, 15, 24, 42], | |
| "ct": [20, 4, 38, 35, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 74, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "17a382bb3efa41a48b0697ab", | |
| "msg": [76, 51, 58, 48, 47], | |
| "ct": [61, 20, 71, 16, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 75, | |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "17a382bb3efa41a48b0697ab", | |
| "msg": [18, 14, 53, 19, 6], | |
| "ct": [37, 61, 56, 59, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 76, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "d8bfed249746a3ffe6543a00", | |
| "msg": [61, 65, 36, 24, 8], | |
| "ct": [17, 34, 24, 70, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 77, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "d8bfed249746a3ffe6543a00", | |
| "msg": [16, 70, 78, 68, 11], | |
| "ct": [24, 20, 43, 82, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 78, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "d8bfed249746a3ffe6543a00", | |
| "msg": [70, 57, 61, 16, 73], | |
| "ct": [66, 58, 78, 49, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 79, | |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "d8bfed249746a3ffe6543a00", | |
| "msg": [19, 47, 5, 41, 72], | |
| "ct": [45, 30, 59, 33, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 80, | |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "d8bfed249746a3ffe6543a00", | |
| "msg": [2, 79, 81, 12, 73], | |
| "ct": [33, 23, 43, 45, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 81, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "9d5122d875de5a023d2216e2", | |
| "msg": [52, 30, 15, 22, 36], | |
| "ct": [84, 84, 61, 8, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 82, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "9d5122d875de5a023d2216e2", | |
| "msg": [7, 26, 69, 0, 7], | |
| "ct": [0, 0, 19, 70, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 83, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "9d5122d875de5a023d2216e2", | |
| "msg": [73, 15, 31, 21, 9], | |
| "ct": [48, 15, 34, 77, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 84, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "9d5122d875de5a023d2216e2", | |
| "msg": [16, 46, 55, 56, 56], | |
| "ct": [84, 83, 60, 65, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 85, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", | |
| "tweak": "ea7fef1b2f555ad8", | |
| "msg": [-1, 71, 2, 14, 19], | |
| "ct": [1, 67, 83, 32, 53], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 86, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", | |
| "tweak": "ea7fef1b2f555ad8", | |
| "msg": [63, -1, 2, 14, 19], | |
| "ct": [52, 72, 44, 13, 23], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 87, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", | |
| "tweak": "ea7fef1b2f555ad8", | |
| "msg": [63, 71, 2, 14, -1], | |
| "ct": [12, 21, 66, 52, 84], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 88, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4c21f6fea56458cd9fbec911583f228a", | |
| "tweak": "76fd0ebcce1d5691", | |
| "msg": [85, 43, 23, 81, 4], | |
| "ct": [37, 61, 14, 40, 27], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 89, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4c21f6fea56458cd9fbec911583f228a", | |
| "tweak": "76fd0ebcce1d5691", | |
| "msg": [69, 85, 23, 81, 4], | |
| "ct": [74, 28, 48, 13, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 90, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4c21f6fea56458cd9fbec911583f228a", | |
| "tweak": "76fd0ebcce1d5691", | |
| "msg": [69, 43, 23, 81, 85], | |
| "ct": [24, 43, 83, 17, 67], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 6, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 91, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "474bbf2aff5c252419c49a07d50e2bdf", | |
| "tweak": "d64296c362368a3d", | |
| "msg": [28, 5, 12, 6, 14, 11], | |
| "ct": [60, 71, 0, 24, 57, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 92, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [0, 0, 0, 0, 0, 0], | |
| "ct": [36, 69, 15, 57, 59, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 93, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [84, 84, 84, 84, 84, 84], | |
| "ct": [0, 75, 39, 69, 13, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 94, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [72, 48, 8, 72, 48, 8], | |
| "ct": [67, 28, 46, 11, 48, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 95, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [72, 48, 7, 72, 48, 7], | |
| "ct": [75, 4, 32, 79, 44, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 96, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [36, 1, 53, 14, 51, 29], | |
| "ct": [4, 50, 73, 14, 30, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 97, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [8, 20, 84, 70, 30, 77], | |
| "ct": [68, 59, 75, 53, 2, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 98, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [53, 13, 10, 81, 75, 38], | |
| "ct": [13, 21, 2, 9, 6, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 99, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [42, 66, 49, 79, 52, 38], | |
| "ct": [50, 76, 78, 22, 79, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 100, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [55, 11, 77, 70, 65, 74], | |
| "ct": [62, 70, 83, 70, 25, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 101, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [9, 73, 20, 22, 38, 37], | |
| "ct": [81, 64, 29, 84, 54, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 102, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [11, 71, 47, 52, 0, 48], | |
| "ct": [17, 39, 7, 62, 3, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 103, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [74, 37, 75, 26, 26, 36], | |
| "ct": [52, 65, 16, 23, 12, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 104, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [42, 75, 30, 55, 59, 35], | |
| "ct": [0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 105, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [38, 1, 44, 34, 41, 37], | |
| "ct": [84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 106, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [46, 40, 2, 7, 37, 5], | |
| "ct": [72, 48, 8, 72, 48, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 107, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": [62, 70, 78, 20, 23, 3], | |
| "ct": [72, 48, 7, 72, 48, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 108, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "822d7561c7542ad08fd97ee0", | |
| "msg": [57, 15, 60, 77, 45, 60], | |
| "ct": [41, 41, 1, 53, 25, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 109, | |
| "comment": "y = 0 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "822d7561c7542ad08fd97ee0", | |
| "msg": [26, 64, 58, 64, 40, 69], | |
| "ct": [77, 68, 26, 28, 46, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 110, | |
| "comment": "y = 0 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "822d7561c7542ad08fd97ee0", | |
| "msg": [69, 75, 39, 84, 40, 36], | |
| "ct": [62, 47, 28, 78, 40, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 111, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "822d7561c7542ad08fd97ee0", | |
| "msg": [25, 52, 61, 36, 0, 7], | |
| "ct": [74, 44, 21, 59, 83, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 112, | |
| "comment": "y is maximal and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "c4727f3b2e4456b03149752c", | |
| "msg": [20, 21, 23, 36, 41, 84], | |
| "ct": [82, 24, 0, 20, 6, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 113, | |
| "comment": "y is maximal and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "c4727f3b2e4456b03149752c", | |
| "msg": [66, 36, 32, 18, 49, 28], | |
| "ct": [82, 24, 1, 22, 84, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 114, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "c4727f3b2e4456b03149752c", | |
| "msg": [22, 28, 10, 31, 40, 62], | |
| "ct": [84, 84, 84, 25, 9, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 115, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "c4727f3b2e4456b03149752c", | |
| "msg": [18, 12, 36, 81, 59, 22], | |
| "ct": [0, 0, 0, 51, 82, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 116, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "c4727f3b2e4456b03149752c", | |
| "msg": [65, 79, 25, 54, 60, 57], | |
| "ct": [69, 72, 8, 32, 59, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 117, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "c4727f3b2e4456b03149752c", | |
| "msg": [71, 33, 82, 17, 82, 49], | |
| "ct": [82, 23, 84, 24, 2, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 118, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "8807371d57db7ef67172f7f7", | |
| "msg": [38, 62, 62, 66, 1, 41], | |
| "ct": [24, 50, 69, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 119, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "8807371d57db7ef67172f7f7", | |
| "msg": [49, 50, 35, 27, 55, 18], | |
| "ct": [24, 50, 69, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 120, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "8807371d57db7ef67172f7f7", | |
| "msg": [19, 64, 71, 10, 48, 57], | |
| "ct": [24, 50, 69, 72, 48, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 121, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "8807371d57db7ef67172f7f7", | |
| "msg": [62, 65, 2, 5, 35, 37], | |
| "ct": [24, 50, 69, 84, 84, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 122, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": [-1, 53, 29, 22, 28, 2], | |
| "ct": [38, 15, 5, 35, 8, 6], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 123, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": [83, 53, -1, 22, 28, 2], | |
| "ct": [27, 76, 15, 5, 74, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 124, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": [83, 53, 29, 22, 28, -1], | |
| "ct": [5, 46, 67, 34, 72, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 125, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a1550333e29a30bee95f3364cf1e3401", | |
| "tweak": "9f1cdbefde36af08", | |
| "msg": [85, 44, 22, 18, 67, 43], | |
| "ct": [84, 33, 54, 0, 6, 71], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 126, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a1550333e29a30bee95f3364cf1e3401", | |
| "tweak": "9f1cdbefde36af08", | |
| "msg": [62, 44, 85, 18, 67, 43], | |
| "ct": [36, 43, 82, 51, 83, 73], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 127, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a1550333e29a30bee95f3364cf1e3401", | |
| "tweak": "9f1cdbefde36af08", | |
| "msg": [62, 44, 22, 18, 67, 85], | |
| "ct": [20, 23, 27, 9, 61, 27], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 7, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 128, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "20b2c30d44c72c32a4564541332f45c3", | |
| "tweak": "3de9de4b8736f463", | |
| "msg": [83, 82, 71, 40, 29, 78, 50], | |
| "ct": [55, 27, 17, 10, 8, 58, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 129, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [0, 0, 0, 0, 0, 0, 0], | |
| "ct": [83, 55, 24, 26, 30, 82, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 130, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [84, 84, 84, 84, 84, 84, 84], | |
| "ct": [79, 60, 68, 29, 51, 83, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 131, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [72, 48, 8, 54, 54, 18, 2], | |
| "ct": [64, 30, 78, 12, 19, 24, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 132, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [72, 48, 7, 54, 54, 18, 1], | |
| "ct": [67, 46, 11, 2, 42, 63, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 133, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [35, 48, 48, 55, 52, 68, 73], | |
| "ct": [45, 26, 31, 23, 71, 5, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 134, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [31, 6, 67, 67, 54, 38, 78], | |
| "ct": [58, 63, 44, 43, 66, 71, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 135, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [78, 64, 29, 8, 53, 84, 59], | |
| "ct": [32, 50, 70, 11, 5, 25, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 136, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [27, 17, 17, 16, 0, 78, 79], | |
| "ct": [2, 63, 31, 1, 55, 37, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 137, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [63, 28, 4, 43, 37, 42, 39], | |
| "ct": [84, 38, 24, 31, 36, 32, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 138, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [68, 0, 58, 30, 10, 10, 58], | |
| "ct": [29, 78, 66, 73, 57, 62, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 139, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [12, 42, 48, 74, 17, 45, 20], | |
| "ct": [0, 56, 72, 67, 63, 60, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 140, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [3, 63, 82, 16, 23, 54, 30], | |
| "ct": [21, 49, 44, 69, 0, 45, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 141, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [14, 26, 58, 11, 71, 72, 39], | |
| "ct": [0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 142, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [17, 70, 64, 32, 32, 49, 77], | |
| "ct": [84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 143, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [46, 12, 61, 29, 29, 73, 30], | |
| "ct": [72, 48, 8, 54, 54, 18, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 144, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": [34, 48, 79, 21, 67, 82, 46], | |
| "ct": [72, 48, 7, 54, 54, 18, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 145, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "30fc02558228364741d7ba", | |
| "msg": [4, 5, 12, 70, 18, 73, 47], | |
| "ct": [0, 0, 0, 29, 74, 17, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 146, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "30fc02558228364741d7ba", | |
| "msg": [4, 14, 78, 55, 58, 59, 25], | |
| "ct": [0, 0, 1, 45, 48, 43, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 147, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "30fc02558228364741d7ba", | |
| "msg": [35, 13, 1, 60, 69, 5, 35], | |
| "ct": [72, 48, 8, 81, 26, 49, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 148, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "30fc02558228364741d7ba", | |
| "msg": [50, 7, 51, 52, 41, 29, 79], | |
| "ct": [84, 84, 84, 29, 59, 52, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 149, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "b3c5e4ae32874d413f4345", | |
| "msg": [15, 54, 10, 52, 45, 79, 25], | |
| "ct": [11, 80, 43, 17, 18, 54, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 150, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "b3c5e4ae32874d413f4345", | |
| "msg": [52, 82, 47, 1, 75, 8, 57], | |
| "ct": [59, 34, 7, 10, 67, 83, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 151, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "b3c5e4ae32874d413f4345", | |
| "msg": [25, 12, 23, 54, 32, 49, 16], | |
| "ct": [83, 52, 57, 79, 68, 84, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 152, | |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "b3c5e4ae32874d413f4345", | |
| "msg": [51, 15, 8, 35, 71, 71, 64], | |
| "ct": [10, 12, 22, 80, 57, 3, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 153, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "b3c5e4ae32874d413f4345", | |
| "msg": [25, 9, 35, 15, 53, 59, 40], | |
| "ct": [28, 23, 6, 57, 36, 74, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 154, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "6647b43f722b12a81f072c", | |
| "msg": [0, 0, 0, 56, 68, 27, 5], | |
| "ct": [21, 80, 73, 11, 32, 43, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 155, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "6647b43f722b12a81f072c", | |
| "msg": [0, 0, 1, 56, 68, 27, 5], | |
| "ct": [0, 18, 45, 63, 66, 82, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 156, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "6647b43f722b12a81f072c", | |
| "msg": [2, 60, 84, 56, 68, 27, 5], | |
| "ct": [55, 57, 59, 76, 31, 10, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 157, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "6647b43f722b12a81f072c", | |
| "msg": [2, 61, 0, 56, 68, 27, 5], | |
| "ct": [21, 54, 60, 75, 75, 54, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 158, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "6647b43f722b12a81f072c", | |
| "msg": [72, 48, 8, 56, 68, 27, 5], | |
| "ct": [24, 79, 13, 76, 50, 8, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 159, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "6647b43f722b12a81f072c", | |
| "msg": [84, 84, 84, 56, 68, 27, 5], | |
| "ct": [21, 32, 12, 5, 41, 21, 78], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 160, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": [-1, 59, 53, 18, 69, 69, 17], | |
| "ct": [56, 83, 75, 0, 68, 22, 9], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 161, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": [42, 59, -1, 18, 69, 69, 17], | |
| "ct": [71, 56, 73, 38, 73, 31, 8], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 162, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": [42, 59, 53, 18, 69, 69, -1], | |
| "ct": [33, 2, 50, 62, 21, 27, 74], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 163, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2172fb36a4ed06786fa3f06d3d5df882", | |
| "tweak": "18328eb43c95364e", | |
| "msg": [85, 15, 61, 30, 26, 48, 17], | |
| "ct": [18, 55, 72, 35, 41, 81, 29], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 164, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2172fb36a4ed06786fa3f06d3d5df882", | |
| "tweak": "18328eb43c95364e", | |
| "msg": [8, 15, 85, 30, 26, 48, 17], | |
| "ct": [35, 25, 53, 81, 40, 69, 40], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 165, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2172fb36a4ed06786fa3f06d3d5df882", | |
| "tweak": "18328eb43c95364e", | |
| "msg": [8, 15, 61, 30, 26, 48, 85], | |
| "ct": [57, 40, 11, 67, 29, 7, 20], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 8, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 166, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "60d83b209822c0d9b7033dca86444fa1", | |
| "tweak": "23ef05b155a108c4", | |
| "msg": [78, 75, 21, 60, 54, 69, 24, 80], | |
| "ct": [38, 52, 73, 42, 68, 75, 3, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 167, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [26, 54, 33, 75, 29, 60, 65, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 168, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [12, 60, 10, 25, 2, 44, 7, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 169, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [54, 54, 18, 2, 54, 54, 18, 2], | |
| "ct": [39, 56, 76, 53, 35, 79, 17, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 170, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [54, 54, 18, 1, 54, 54, 18, 1], | |
| "ct": [23, 33, 46, 29, 58, 45, 39, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 171, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [72, 24, 45, 58, 31, 73, 61, 31], | |
| "ct": [45, 80, 57, 0, 66, 63, 71, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 172, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [49, 44, 45, 84, 77, 67, 8, 15], | |
| "ct": [19, 83, 63, 35, 83, 30, 52, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 173, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [47, 58, 10, 56, 46, 38, 73, 31], | |
| "ct": [58, 25, 25, 54, 16, 23, 2, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 174, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [21, 37, 49, 51, 11, 61, 7, 37], | |
| "ct": [78, 24, 27, 78, 9, 23, 37, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 175, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [29, 16, 58, 73, 49, 33, 71, 44], | |
| "ct": [38, 30, 72, 0, 64, 41, 43, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 176, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [63, 29, 22, 1, 72, 56, 72, 54], | |
| "ct": [16, 31, 50, 59, 54, 12, 64, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 177, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [52, 30, 8, 82, 61, 64, 69, 49], | |
| "ct": [19, 79, 66, 10, 25, 47, 68, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 178, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [14, 18, 77, 80, 62, 15, 68, 77], | |
| "ct": [70, 71, 67, 10, 75, 41, 76, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 179, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [77, 1, 21, 78, 58, 8, 53, 63], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 180, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [21, 0, 35, 40, 32, 17, 11, 79], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 181, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [62, 63, 10, 73, 8, 75, 48, 35], | |
| "ct": [54, 54, 18, 2, 54, 54, 18, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 182, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": [10, 34, 27, 78, 81, 18, 69, 37], | |
| "ct": [54, 54, 18, 1, 54, 54, 18, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 183, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "32b28d175346d031ac52f7", | |
| "msg": [47, 73, 60, 27, 22, 57, 7, 39], | |
| "ct": [61, 12, 54, 72, 37, 52, 52, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 184, | |
| "comment": "y = 0 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "32b28d175346d031ac52f7", | |
| "msg": [4, 61, 42, 54, 17, 31, 43, 66], | |
| "ct": [24, 40, 57, 54, 55, 38, 5, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 185, | |
| "comment": "y = 0 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "32b28d175346d031ac52f7", | |
| "msg": [64, 33, 22, 21, 16, 45, 63, 50], | |
| "ct": [6, 5, 23, 25, 5, 37, 67, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 186, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "32b28d175346d031ac52f7", | |
| "msg": [59, 17, 29, 65, 14, 13, 53, 79], | |
| "ct": [68, 61, 27, 71, 72, 17, 7, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 187, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "0b77cb0d225aea97899aa9", | |
| "msg": [0, 0, 0, 0, 15, 2, 33, 39], | |
| "ct": [15, 29, 11, 4, 69, 21, 56, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 188, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "0b77cb0d225aea97899aa9", | |
| "msg": [0, 0, 0, 1, 15, 2, 33, 39], | |
| "ct": [64, 67, 73, 12, 44, 38, 71, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 189, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "0b77cb0d225aea97899aa9", | |
| "msg": [54, 54, 18, 2, 15, 2, 33, 39], | |
| "ct": [62, 37, 7, 4, 9, 13, 36, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 190, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "0b77cb0d225aea97899aa9", | |
| "msg": [84, 84, 84, 83, 15, 2, 33, 39], | |
| "ct": [69, 9, 50, 33, 84, 52, 70, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 191, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "0b77cb0d225aea97899aa9", | |
| "msg": [84, 84, 84, 84, 15, 2, 33, 39], | |
| "ct": [44, 33, 78, 83, 63, 3, 40, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 192, | |
| "comment": "y is maximal and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "e1bd244d89588401e339e7", | |
| "msg": [9, 3, 32, 78, 24, 23, 68, 40], | |
| "ct": [55, 6, 70, 45, 13, 2, 48, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 193, | |
| "comment": "y is maximal and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "e1bd244d89588401e339e7", | |
| "msg": [79, 35, 15, 79, 68, 31, 72, 79], | |
| "ct": [0, 48, 38, 36, 34, 19, 49, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 194, | |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "e1bd244d89588401e339e7", | |
| "msg": [8, 25, 27, 66, 73, 51, 59, 34], | |
| "ct": [20, 25, 63, 9, 20, 9, 59, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 195, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "e1bd244d89588401e339e7", | |
| "msg": [66, 7, 54, 40, 65, 6, 17, 35], | |
| "ct": [69, 26, 80, 66, 50, 51, 17, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 196, | |
| "comment": "y is maximal and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "e1bd244d89588401e339e7", | |
| "msg": [30, 84, 22, 60, 16, 75, 8, 54], | |
| "ct": [71, 63, 67, 75, 44, 72, 66, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 197, | |
| "comment": "y is maximal and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "e1bd244d89588401e339e7", | |
| "msg": [17, 84, 83, 71, 29, 3, 42, 36], | |
| "ct": [31, 6, 77, 50, 58, 78, 18, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 198, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "3fd1f7e5091007e0a9fd82", | |
| "msg": [53, 63, 41, 48, 0, 0, 0, 0], | |
| "ct": [77, 25, 32, 34, 63, 71, 62, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 199, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "3fd1f7e5091007e0a9fd82", | |
| "msg": [76, 55, 55, 64, 0, 0, 0, 1], | |
| "ct": [20, 18, 64, 41, 24, 54, 6, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 200, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "3fd1f7e5091007e0a9fd82", | |
| "msg": [12, 29, 9, 18, 54, 54, 18, 2], | |
| "ct": [36, 13, 46, 6, 64, 10, 3, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 201, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "3fd1f7e5091007e0a9fd82", | |
| "msg": [8, 82, 71, 35, 84, 84, 84, 84], | |
| "ct": [76, 5, 31, 54, 14, 84, 75, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 202, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": [-1, 6, 80, 83, 16, 13, 55, 66], | |
| "ct": [14, 79, 66, 7, 7, 20, 16, 84], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 203, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": [23, 6, -1, 83, 16, 13, 55, 66], | |
| "ct": [18, 30, 27, 55, 59, 75, 55, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 204, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": [23, 6, 80, 83, 16, 13, 55, -1], | |
| "ct": [14, 83, 12, 44, 16, 43, 13, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 205, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6cb9784804579638c14b7e47a961bd04", | |
| "tweak": "111046603935363e", | |
| "msg": [85, 25, 82, 43, 68, 0, 22, 40], | |
| "ct": [75, 59, 42, 51, 24, 51, 34, 17], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 206, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6cb9784804579638c14b7e47a961bd04", | |
| "tweak": "111046603935363e", | |
| "msg": [11, 25, 85, 43, 68, 0, 22, 40], | |
| "ct": [55, 12, 61, 69, 60, 11, 46, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 207, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6cb9784804579638c14b7e47a961bd04", | |
| "tweak": "111046603935363e", | |
| "msg": [11, 25, 82, 43, 68, 0, 22, 85], | |
| "ct": [12, 13, 35, 12, 31, 2, 4, 1], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 9, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 208, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "2215b9528000f5f306fcdfe2969c6785", | |
| "tweak": "0539d85c7b076285", | |
| "msg": [26, 14, 74, 14, 62, 30, 57, 28, 65], | |
| "ct": [29, 78, 59, 11, 73, 65, 76, 46, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 209, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [42, 79, 53, 83, 55, 70, 53, 23, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 210, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [77, 1, 22, 70, 81, 0, 79, 68, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 211, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [54, 54, 18, 2, 82, 23, 54, 12, 1], | |
| "ct": [80, 79, 48, 22, 83, 26, 62, 50, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 212, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [54, 54, 18, 1, 82, 23, 54, 12, 0], | |
| "ct": [25, 11, 73, 77, 13, 15, 78, 40, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 213, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [84, 37, 28, 14, 69, 41, 16, 53, 63], | |
| "ct": [42, 67, 75, 26, 42, 70, 82, 19, 78], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 214, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [51, 71, 64, 16, 43, 1, 62, 23, 70], | |
| "ct": [20, 63, 59, 11, 83, 1, 50, 2, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 215, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [13, 60, 18, 26, 21, 66, 74, 30, 36], | |
| "ct": [45, 41, 49, 57, 37, 84, 55, 17, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 216, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [39, 54, 40, 61, 51, 6, 82, 76, 19], | |
| "ct": [26, 83, 84, 65, 50, 82, 38, 5, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 217, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [38, 54, 56, 61, 10, 19, 70, 57, 51], | |
| "ct": [42, 75, 15, 35, 30, 65, 75, 43, 82], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 218, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [5, 18, 67, 47, 51, 43, 76, 11, 2], | |
| "ct": [71, 28, 41, 43, 36, 35, 56, 0, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 219, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [75, 32, 43, 5, 48, 30, 67, 79, 33], | |
| "ct": [27, 76, 12, 8, 9, 44, 60, 33, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 220, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [80, 46, 77, 80, 21, 31, 80, 84, 6], | |
| "ct": [78, 73, 84, 75, 55, 55, 83, 8, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 221, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [50, 60, 19, 56, 64, 33, 13, 59, 61], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 222, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [10, 18, 39, 6, 43, 9, 79, 12, 74], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 223, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [36, 44, 71, 29, 73, 75, 56, 61, 32], | |
| "ct": [54, 54, 18, 2, 82, 23, 54, 12, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 224, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": [72, 58, 21, 39, 50, 19, 78, 34, 15], | |
| "ct": [54, 54, 18, 1, 82, 23, 54, 12, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 225, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": [-1, 12, 53, 78, 23, 1, 42, 49, 31], | |
| "ct": [22, 55, 66, 23, 1, 52, 80, 73, 40], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 226, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": [43, 12, 53, -1, 23, 1, 42, 49, 31], | |
| "ct": [50, 82, 14, 21, 70, 35, 72, 68, 43], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 227, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": [43, 12, 53, 78, 23, 1, 42, 49, -1], | |
| "ct": [56, 7, 53, 5, 56, 68, 25, 75, 56], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 228, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "10af46b4f75183288f95e0e16a6dd195", | |
| "tweak": "b8dd0f629003f9e6", | |
| "msg": [85, 16, 42, 81, 6, 12, 42, 36, 29], | |
| "ct": [3, 17, 81, 28, 23, 11, 36, 78, 55], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 229, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "10af46b4f75183288f95e0e16a6dd195", | |
| "tweak": "b8dd0f629003f9e6", | |
| "msg": [9, 16, 42, 85, 6, 12, 42, 36, 29], | |
| "ct": [69, 60, 15, 22, 39, 64, 0, 49, 73], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 230, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "10af46b4f75183288f95e0e16a6dd195", | |
| "tweak": "b8dd0f629003f9e6", | |
| "msg": [9, 16, 42, 81, 6, 12, 42, 36, 85], | |
| "ct": [71, 76, 10, 50, 44, 4, 6, 36, 53], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 10, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 231, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "5474525ca99fb5da2babdbd45c727d16", | |
| "tweak": "f2cb4d9ba04b81f8", | |
| "msg": [5, 54, 28, 57, 59, 11, 82, 26, 21, 20], | |
| "ct": [31, 38, 22, 3, 60, 43, 39, 35, 34, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 232, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [8, 47, 55, 23, 26, 20, 29, 8, 82, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 233, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [84, 38, 73, 46, 75, 15, 74, 30, 50, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 234, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [82, 23, 54, 12, 1, 82, 23, 54, 12, 1], | |
| "ct": [57, 28, 76, 27, 11, 49, 34, 69, 74, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 235, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [82, 23, 54, 12, 0, 82, 23, 54, 12, 0], | |
| "ct": [33, 73, 26, 22, 39, 68, 46, 7, 30, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 236, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [34, 30, 72, 77, 58, 56, 71, 13, 51, 61], | |
| "ct": [45, 18, 44, 12, 55, 27, 2, 58, 7, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 237, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [42, 69, 44, 63, 72, 65, 56, 25, 84, 35], | |
| "ct": [42, 42, 34, 55, 9, 61, 79, 61, 48, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 238, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [29, 37, 60, 64, 35, 81, 37, 70, 69, 72], | |
| "ct": [56, 60, 82, 68, 66, 11, 15, 17, 60, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 239, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [72, 44, 53, 45, 4, 6, 58, 74, 3, 52], | |
| "ct": [2, 48, 51, 42, 4, 83, 15, 50, 81, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 240, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [52, 81, 78, 44, 0, 36, 50, 72, 64, 76], | |
| "ct": [55, 60, 11, 75, 4, 18, 26, 74, 74, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 241, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [27, 3, 59, 13, 40, 22, 10, 6, 74, 9], | |
| "ct": [47, 73, 35, 7, 40, 39, 53, 81, 51, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 242, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [81, 42, 34, 62, 15, 40, 84, 3, 40, 35], | |
| "ct": [15, 65, 32, 23, 53, 71, 80, 41, 27, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 243, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [76, 3, 21, 21, 62, 5, 70, 64, 44, 25], | |
| "ct": [6, 37, 65, 68, 26, 34, 13, 69, 59, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 244, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [43, 28, 74, 59, 42, 73, 15, 77, 82, 77], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 245, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [70, 52, 5, 21, 84, 79, 37, 84, 58, 7], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 246, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [47, 63, 3, 15, 24, 71, 32, 34, 60, 33], | |
| "ct": [82, 23, 54, 12, 1, 82, 23, 54, 12, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 247, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": [64, 35, 72, 32, 31, 81, 48, 64, 78, 81], | |
| "ct": [82, 23, 54, 12, 0, 82, 23, 54, 12, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 248, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "df18d08c340846b22926", | |
| "msg": [75, 83, 2, 60, 15, 30, 43, 25, 40, 4], | |
| "ct": [55, 0, 6, 43, 21, 81, 61, 26, 22, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 249, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "df18d08c340846b22926", | |
| "msg": [49, 58, 25, 24, 15, 82, 80, 45, 11, 33], | |
| "ct": [70, 60, 18, 79, 58, 21, 78, 39, 43, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 250, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "df18d08c340846b22926", | |
| "msg": [52, 82, 8, 25, 40, 51, 12, 22, 58, 23], | |
| "ct": [18, 21, 32, 62, 16, 83, 81, 52, 82, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 251, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "df18d08c340846b22926", | |
| "msg": [71, 9, 77, 84, 60, 75, 11, 69, 50, 12], | |
| "ct": [24, 17, 69, 27, 70, 64, 32, 15, 0, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 252, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "df18d08c340846b22926", | |
| "msg": [42, 11, 69, 83, 77, 53, 27, 18, 41, 37], | |
| "ct": [58, 48, 42, 40, 60, 59, 47, 19, 19, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 253, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "df18d08c340846b22926", | |
| "msg": [67, 49, 62, 22, 39, 40, 1, 20, 1, 50], | |
| "ct": [47, 72, 61, 33, 65, 2, 71, 35, 54, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 254, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": [-1, 62, 83, 65, 17, 4, 64, 51, 75, 75], | |
| "ct": [77, 80, 6, 23, 18, 23, 66, 41, 36, 34], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 255, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": [35, 62, 83, -1, 17, 4, 64, 51, 75, 75], | |
| "ct": [62, 49, 76, 69, 44, 52, 28, 3, 10, 16], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 256, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": [35, 62, 83, 65, 17, 4, 64, 51, 75, -1], | |
| "ct": [5, 59, 5, 39, 54, 38, 35, 43, 16, 73], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 257, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f7c3222a5fa86886cae44aa0929b9f00", | |
| "tweak": "1438411d3e200ede", | |
| "msg": [85, 36, 83, 67, 15, 5, 7, 63, 21, 31], | |
| "ct": [28, 36, 80, 50, 24, 72, 70, 21, 39, 50], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 258, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f7c3222a5fa86886cae44aa0929b9f00", | |
| "tweak": "1438411d3e200ede", | |
| "msg": [56, 36, 83, 85, 15, 5, 7, 63, 21, 31], | |
| "ct": [76, 12, 51, 3, 79, 83, 18, 14, 0, 58], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 259, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f7c3222a5fa86886cae44aa0929b9f00", | |
| "tweak": "1438411d3e200ede", | |
| "msg": [56, 36, 83, 67, 15, 5, 7, 63, 21, 85], | |
| "ct": [73, 8, 67, 9, 28, 2, 74, 42, 18, 35], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 11, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 260, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "63396f38c44f0c2d97468c4804b5d022", | |
| "tweak": "73068af95fd924fc", | |
| "msg": [48, 73, 84, 41, 11, 35, 14, 65, 35, 3, 6], | |
| "ct": [70, 70, 20, 62, 23, 0, 41, 15, 46, 56, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 261, | |
| "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": [24, 16, 1, 39, 61, 15, 31, 30, 35, 72, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 262, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [2, 42, 69, 20, 33, 13, 77, 54, 83, 69, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 263, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [82, 23, 54, 12, 1, 61, 80, 67, 65, 3, 64], | |
| "ct": [63, 8, 61, 18, 37, 26, 47, 7, 0, 4, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 264, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [82, 23, 54, 12, 0, 61, 80, 67, 65, 3, 63], | |
| "ct": [11, 68, 0, 28, 68, 77, 76, 0, 23, 18, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 265, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [9, 13, 25, 69, 33, 33, 11, 24, 74, 4, 17], | |
| "ct": [43, 64, 2, 34, 83, 62, 46, 6, 38, 69, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 266, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [38, 28, 41, 22, 70, 74, 63, 9, 38, 20, 39], | |
| "ct": [57, 72, 37, 43, 13, 71, 63, 84, 47, 22, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 267, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [28, 32, 9, 38, 32, 80, 52, 80, 1, 42, 79], | |
| "ct": [75, 22, 16, 6, 5, 25, 77, 28, 51, 42, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 268, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [51, 59, 52, 9, 38, 49, 39, 31, 39, 48, 56], | |
| "ct": [18, 76, 16, 51, 72, 48, 5, 54, 7, 81, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 269, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [49, 18, 49, 39, 27, 53, 2, 45, 40, 11, 67], | |
| "ct": [11, 20, 31, 17, 83, 15, 37, 1, 11, 79, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 270, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [26, 1, 53, 6, 69, 14, 63, 62, 51, 12, 66], | |
| "ct": [79, 36, 14, 2, 79, 1, 11, 27, 76, 38, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 271, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [16, 1, 45, 22, 60, 54, 29, 69, 59, 6, 52], | |
| "ct": [53, 27, 71, 21, 35, 73, 69, 32, 4, 31, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 272, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [0, 30, 7, 78, 68, 60, 22, 29, 45, 82, 3], | |
| "ct": [27, 14, 19, 49, 11, 51, 7, 51, 38, 12, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 273, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [17, 74, 16, 48, 54, 7, 13, 15, 16, 74, 35], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 274, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [26, 41, 59, 21, 75, 70, 0, 71, 67, 83, 75], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 275, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [18, 30, 7, 25, 68, 25, 69, 43, 19, 8, 54], | |
| "ct": [82, 23, 54, 12, 1, 61, 80, 67, 65, 3, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 276, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": [83, 1, 60, 73, 62, 68, 51, 40, 41, 23, 70], | |
| "ct": [82, 23, 54, 12, 0, 61, 80, 67, 65, 3, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 277, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "5daf59643f03d2b3c582", | |
| "msg": [0, 0, 0, 0, 0, 23, 12, 12, 51, 62, 49], | |
| "ct": [81, 27, 2, 82, 17, 65, 52, 75, 40, 1, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 278, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "5daf59643f03d2b3c582", | |
| "msg": [0, 0, 0, 0, 1, 23, 12, 12, 51, 62, 49], | |
| "ct": [40, 68, 34, 40, 31, 71, 45, 60, 50, 25, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 279, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "5daf59643f03d2b3c582", | |
| "msg": [82, 23, 54, 12, 1, 23, 12, 12, 51, 62, 49], | |
| "ct": [30, 38, 57, 15, 35, 26, 39, 67, 22, 2, 81], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 280, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "5daf59643f03d2b3c582", | |
| "msg": [84, 84, 84, 84, 84, 23, 12, 12, 51, 62, 49], | |
| "ct": [53, 65, 83, 62, 69, 52, 4, 17, 19, 80, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 281, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "04ff1a1a2598995cf474", | |
| "msg": [30, 57, 59, 26, 78, 68, 30, 46, 22, 35, 49], | |
| "ct": [74, 35, 83, 68, 69, 16, 44, 77, 29, 44, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 282, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "04ff1a1a2598995cf474", | |
| "msg": [61, 35, 70, 68, 51, 56, 2, 36, 8, 1, 75], | |
| "ct": [43, 20, 47, 1, 23, 35, 19, 4, 84, 44, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 283, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "04ff1a1a2598995cf474", | |
| "msg": [25, 45, 35, 13, 31, 46, 21, 10, 67, 22, 43], | |
| "ct": [6, 3, 20, 39, 72, 73, 32, 23, 44, 63, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 284, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "04ff1a1a2598995cf474", | |
| "msg": [49, 73, 8, 19, 22, 55, 77, 64, 12, 40, 65], | |
| "ct": [0, 20, 70, 60, 27, 48, 9, 22, 80, 44, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 285, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "04ff1a1a2598995cf474", | |
| "msg": [22, 4, 33, 56, 9, 55, 53, 68, 13, 12, 63], | |
| "ct": [51, 75, 19, 28, 33, 11, 39, 27, 71, 39, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 286, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "ca0820c9389cf2296ac5", | |
| "msg": [0, 0, 0, 0, 0, 36, 17, 2, 12, 19, 78], | |
| "ct": [53, 48, 20, 51, 12, 34, 12, 78, 35, 79, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 287, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "ca0820c9389cf2296ac5", | |
| "msg": [0, 0, 0, 0, 1, 36, 17, 2, 12, 19, 78], | |
| "ct": [53, 21, 40, 49, 70, 16, 65, 0, 30, 49, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 288, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "ca0820c9389cf2296ac5", | |
| "msg": [40, 3, 0, 48, 84, 36, 17, 2, 12, 19, 78], | |
| "ct": [23, 7, 35, 13, 28, 22, 50, 17, 39, 79, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 289, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "ca0820c9389cf2296ac5", | |
| "msg": [40, 3, 0, 49, 0, 36, 17, 2, 12, 19, 78], | |
| "ct": [8, 53, 9, 63, 79, 71, 45, 31, 12, 25, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 290, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "ca0820c9389cf2296ac5", | |
| "msg": [82, 23, 54, 12, 1, 36, 17, 2, 12, 19, 78], | |
| "ct": [46, 9, 68, 0, 9, 65, 44, 22, 73, 62, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 291, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "ca0820c9389cf2296ac5", | |
| "msg": [84, 84, 84, 84, 84, 36, 17, 2, 12, 19, 78], | |
| "ct": [70, 0, 65, 76, 67, 45, 84, 11, 40, 22, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 292, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "8d3a5dfc413dd2c9421f", | |
| "msg": [0, 0, 0, 0, 0, 3, 71, 1, 60, 13, 77], | |
| "ct": [33, 50, 2, 71, 30, 0, 74, 72, 15, 14, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 293, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "8d3a5dfc413dd2c9421f", | |
| "msg": [0, 0, 0, 0, 1, 3, 71, 1, 60, 13, 77], | |
| "ct": [17, 74, 47, 5, 82, 65, 39, 23, 79, 5, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 294, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "8d3a5dfc413dd2c9421f", | |
| "msg": [82, 23, 54, 12, 1, 3, 71, 1, 60, 13, 77], | |
| "ct": [63, 76, 55, 78, 81, 78, 29, 49, 35, 53, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 295, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "8d3a5dfc413dd2c9421f", | |
| "msg": [84, 84, 84, 84, 84, 3, 71, 1, 60, 13, 77], | |
| "ct": [23, 41, 57, 84, 40, 26, 19, 17, 53, 44, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 296, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": [-1, 60, 4, 84, 41, 24, 43, 21, 52, 5, 69], | |
| "ct": [50, 67, 31, 75, 55, 54, 41, 72, 51, 7, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 297, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": [47, 60, 4, -1, 41, 24, 43, 21, 52, 5, 69], | |
| "ct": [47, 9, 79, 69, 39, 52, 62, 79, 53, 69, 54], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 298, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": [47, 60, 4, 84, 41, 24, 43, 21, 52, 5, -1], | |
| "ct": [55, 37, 46, 10, 29, 51, 34, 13, 51, 6, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 299, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a754f6fc7f0951eb0648539d6bda0bc0", | |
| "tweak": "32b0c3770e08d939", | |
| "msg": [85, 39, 70, 14, 34, 75, 19, 59, 82, 30, 55], | |
| "ct": [42, 28, 79, 33, 62, 11, 47, 45, 79, 52, 66], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 300, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a754f6fc7f0951eb0648539d6bda0bc0", | |
| "tweak": "32b0c3770e08d939", | |
| "msg": [40, 39, 70, 85, 34, 75, 19, 59, 82, 30, 55], | |
| "ct": [47, 54, 37, 46, 23, 69, 28, 77, 53, 1, 64], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 301, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a754f6fc7f0951eb0648539d6bda0bc0", | |
| "tweak": "32b0c3770e08d939", | |
| "msg": [40, 39, 70, 14, 34, 75, 19, 59, 82, 30, 85], | |
| "ct": [7, 47, 78, 48, 18, 27, 47, 79, 68, 9, 28], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 12, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 302, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "ddc31fc7751a2bf5c8d2d815035622e8", | |
| "tweak": "0e10628c19795c4e", | |
| "msg": [8, 63, 76, 26, 22, 8, 41, 28, 62, 13, 79, 55], | |
| "ct": [47, 78, 38, 71, 29, 25, 4, 44, 69, 7, 45, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 303, | |
| "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": [76, 38, 28, 67, 12, 17, 71, 38, 37, 15, 48, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 304, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [1, 27, 84, 23, 8, 70, 74, 75, 5, 49, 40, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 305, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [61, 80, 67, 65, 3, 64, 61, 80, 67, 65, 3, 64], | |
| "ct": [33, 72, 5, 20, 32, 82, 54, 59, 47, 21, 35, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 306, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [61, 80, 67, 65, 3, 63, 61, 80, 67, 65, 3, 63], | |
| "ct": [56, 11, 51, 63, 83, 48, 72, 23, 26, 11, 57, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 307, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [78, 70, 1, 13, 0, 58, 38, 60, 45, 32, 31, 40], | |
| "ct": [79, 41, 49, 25, 24, 82, 37, 62, 65, 10, 0, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 308, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [58, 64, 1, 84, 38, 50, 2, 52, 54, 5, 36, 71], | |
| "ct": [53, 16, 65, 45, 0, 33, 64, 70, 78, 61, 12, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 309, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [59, 18, 59, 48, 3, 11, 43, 42, 48, 66, 48, 46], | |
| "ct": [35, 36, 68, 60, 54, 9, 81, 82, 7, 78, 29, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 310, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [26, 31, 44, 50, 5, 32, 27, 2, 44, 9, 64, 31], | |
| "ct": [42, 78, 84, 78, 12, 65, 60, 23, 47, 64, 12, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 311, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [14, 27, 54, 28, 12, 22, 1, 1, 47, 66, 56, 73], | |
| "ct": [24, 70, 53, 51, 45, 18, 29, 47, 77, 15, 80, 82], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 312, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [60, 43, 22, 12, 26, 48, 50, 67, 64, 35, 21, 18], | |
| "ct": [28, 3, 8, 15, 25, 19, 23, 12, 62, 43, 47, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 313, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [67, 46, 48, 29, 46, 24, 65, 32, 63, 20, 76, 70], | |
| "ct": [65, 11, 71, 84, 31, 42, 56, 82, 64, 29, 12, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 314, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [30, 22, 60, 79, 14, 76, 38, 57, 41, 75, 79, 68], | |
| "ct": [2, 14, 37, 73, 33, 6, 47, 68, 45, 4, 1, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 315, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [31, 70, 43, 33, 62, 65, 5, 44, 84, 84, 36, 49], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 316, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [35, 12, 47, 51, 9, 29, 41, 45, 9, 54, 22, 61], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 317, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [46, 4, 51, 81, 4, 74, 42, 62, 21, 50, 0, 2], | |
| "ct": [61, 80, 67, 65, 3, 64, 61, 80, 67, 65, 3, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 318, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": [42, 49, 49, 33, 54, 39, 31, 84, 72, 4, 29, 35], | |
| "ct": [61, 80, 67, 65, 3, 63, 61, 80, 67, 65, 3, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 319, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "78c72c59da58df9b303c", | |
| "msg": [0, 0, 0, 0, 0, 0, 45, 83, 0, 76, 47, 43], | |
| "ct": [22, 51, 78, 59, 45, 37, 23, 0, 15, 12, 3, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 320, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "78c72c59da58df9b303c", | |
| "msg": [0, 0, 0, 0, 0, 1, 45, 83, 0, 76, 47, 43], | |
| "ct": [76, 39, 4, 2, 28, 77, 41, 70, 6, 32, 23, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 321, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "78c72c59da58df9b303c", | |
| "msg": [61, 80, 67, 65, 3, 64, 45, 83, 0, 76, 47, 43], | |
| "ct": [37, 47, 24, 36, 44, 55, 34, 55, 37, 5, 8, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 322, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "78c72c59da58df9b303c", | |
| "msg": [84, 84, 84, 84, 84, 84, 45, 83, 0, 76, 47, 43], | |
| "ct": [43, 32, 0, 82, 54, 74, 13, 5, 19, 55, 42, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 323, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "a20c8902ac38fecbd4e3", | |
| "msg": [39, 38, 72, 20, 64, 3, 46, 55, 70, 76, 62, 71], | |
| "ct": [22, 44, 58, 64, 17, 38, 35, 20, 81, 54, 47, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 324, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "a20c8902ac38fecbd4e3", | |
| "msg": [49, 60, 82, 5, 59, 56, 78, 1, 14, 40, 77, 21], | |
| "ct": [56, 33, 37, 75, 66, 63, 58, 7, 12, 83, 50, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 325, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "a20c8902ac38fecbd4e3", | |
| "msg": [38, 1, 11, 14, 35, 32, 56, 38, 6, 39, 63, 36], | |
| "ct": [4, 16, 76, 70, 48, 63, 83, 74, 14, 81, 55, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 326, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "a20c8902ac38fecbd4e3", | |
| "msg": [39, 29, 59, 37, 54, 4, 24, 25, 63, 76, 29, 41], | |
| "ct": [60, 78, 77, 9, 78, 17, 56, 72, 19, 51, 67, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 327, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "a20c8902ac38fecbd4e3", | |
| "msg": [31, 25, 30, 12, 3, 1, 32, 47, 79, 58, 9, 17], | |
| "ct": [61, 17, 82, 59, 76, 62, 29, 1, 26, 12, 74, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 328, | |
| "comment": "y is maximal and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "e1fade2a313d8e1dbb61", | |
| "msg": [43, 5, 41, 13, 65, 6, 12, 54, 54, 59, 36, 75], | |
| "ct": [65, 7, 20, 15, 48, 47, 43, 3, 36, 68, 65, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 329, | |
| "comment": "y is maximal and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "e1fade2a313d8e1dbb61", | |
| "msg": [53, 13, 20, 33, 28, 46, 39, 14, 68, 54, 81, 73], | |
| "ct": [18, 29, 41, 34, 8, 35, 20, 18, 6, 30, 60, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 330, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "e1fade2a313d8e1dbb61", | |
| "msg": [40, 38, 79, 73, 15, 51, 32, 46, 80, 8, 23, 52], | |
| "ct": [32, 42, 59, 70, 14, 23, 70, 31, 54, 6, 40, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 331, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "e1fade2a313d8e1dbb61", | |
| "msg": [79, 73, 40, 65, 20, 21, 51, 63, 26, 36, 38, 48], | |
| "ct": [36, 62, 34, 55, 50, 82, 37, 16, 59, 13, 76, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 332, | |
| "comment": "y is maximal and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "e1fade2a313d8e1dbb61", | |
| "msg": [13, 46, 66, 37, 28, 3, 60, 56, 3, 26, 9, 35], | |
| "ct": [20, 4, 25, 56, 40, 0, 51, 77, 42, 56, 13, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 333, | |
| "comment": "y is maximal and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "e1fade2a313d8e1dbb61", | |
| "msg": [20, 24, 28, 40, 13, 29, 69, 81, 10, 72, 8, 73], | |
| "ct": [53, 41, 21, 17, 13, 65, 50, 32, 48, 67, 7, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 334, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "106ce156060064d813fd", | |
| "msg": [26, 72, 38, 23, 84, 13, 77, 17, 12, 6, 40, 38], | |
| "ct": [39, 27, 11, 15, 15, 25, 73, 79, 38, 71, 75, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 335, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "106ce156060064d813fd", | |
| "msg": [82, 27, 62, 32, 67, 38, 81, 20, 56, 5, 0, 42], | |
| "ct": [63, 42, 29, 37, 66, 18, 33, 39, 79, 39, 64, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 336, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "106ce156060064d813fd", | |
| "msg": [67, 6, 46, 64, 80, 42, 31, 46, 68, 8, 84, 76], | |
| "ct": [11, 68, 11, 56, 78, 6, 29, 63, 46, 33, 67, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 337, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "106ce156060064d813fd", | |
| "msg": [67, 71, 84, 32, 32, 71, 61, 14, 79, 80, 49, 58], | |
| "ct": [37, 20, 62, 12, 18, 71, 79, 31, 18, 75, 44, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 338, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": [-1, 24, 2, 43, 57, 15, 63, 37, 2, 51, 83, 26], | |
| "ct": [51, 73, 33, 75, 15, 33, 42, 60, 55, 65, 54, 49], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 339, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": [11, 24, 2, 43, -1, 15, 63, 37, 2, 51, 83, 26], | |
| "ct": [47, 59, 42, 72, 14, 67, 10, 61, 40, 68, 1, 1], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 340, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": [11, 24, 2, 43, 57, 15, 63, 37, 2, 51, 83, -1], | |
| "ct": [55, 63, 16, 80, 25, 8, 29, 15, 59, 62, 37, 76], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 341, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ff48b85aef731a80f4d7d296403e3912", | |
| "tweak": "39f246baa909dee0", | |
| "msg": [85, 6, 4, 68, 72, 44, 59, 29, 44, 15, 48, 2], | |
| "ct": [44, 68, 10, 71, 5, 83, 39, 70, 46, 54, 6, 37], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 342, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ff48b85aef731a80f4d7d296403e3912", | |
| "tweak": "39f246baa909dee0", | |
| "msg": [35, 6, 4, 68, 85, 44, 59, 29, 44, 15, 48, 2], | |
| "ct": [25, 54, 11, 9, 46, 34, 0, 33, 57, 69, 43, 22], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 343, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ff48b85aef731a80f4d7d296403e3912", | |
| "tweak": "39f246baa909dee0", | |
| "msg": [35, 6, 4, 68, 72, 44, 59, 29, 44, 15, 48, 85], | |
| "ct": [0, 0, 74, 39, 82, 77, 25, 78, 75, 19, 57, 5], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 13, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 344, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "d5e6c882f005525ce577f704ef6b525d", | |
| "tweak": "7ce1a7a4e6508c83", | |
| "msg": [13, 54, 13, 83, 73, 42, 34, 83, 69, 64, 83, 67, 78], | |
| "ct": [13, 11, 52, 21, 53, 77, 49, 14, 70, 44, 69, 53, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 345, | |
| "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": [48, 1, 67, 59, 37, 28, 30, 54, 33, 10, 2, 10, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 346, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [23, 41, 68, 4, 62, 26, 24, 9, 36, 53, 7, 36, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 347, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [61, 80, 67, 65, 3, 64, 46, 54, 71, 1, 82, 70, 16], | |
| "ct": [84, 52, 6, 39, 80, 30, 13, 2, 12, 62, 59, 25, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 348, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [61, 80, 67, 65, 3, 63, 46, 54, 71, 1, 82, 70, 15], | |
| "ct": [25, 11, 33, 7, 36, 20, 1, 64, 36, 14, 54, 73, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 349, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [28, 46, 37, 2, 80, 25, 6, 56, 84, 77, 71, 35, 62], | |
| "ct": [66, 40, 84, 2, 83, 46, 10, 7, 8, 16, 25, 26, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 350, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [8, 4, 0, 21, 53, 46, 10, 22, 67, 57, 23, 30, 46], | |
| "ct": [23, 83, 20, 69, 49, 69, 59, 70, 27, 37, 69, 13, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 351, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [68, 12, 64, 26, 83, 42, 42, 23, 32, 77, 41, 59, 3], | |
| "ct": [1, 20, 59, 36, 6, 84, 35, 20, 28, 19, 70, 76, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 352, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [35, 37, 6, 77, 26, 66, 0, 38, 64, 73, 33, 64, 68], | |
| "ct": [75, 80, 82, 70, 44, 22, 24, 79, 40, 1, 23, 52, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 353, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [25, 68, 25, 75, 73, 30, 69, 27, 67, 38, 62, 29, 0], | |
| "ct": [70, 3, 18, 70, 29, 36, 43, 14, 3, 61, 46, 28, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 354, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [11, 40, 51, 34, 59, 18, 33, 59, 36, 1, 76, 68, 65], | |
| "ct": [27, 63, 53, 33, 54, 75, 76, 71, 8, 12, 66, 61, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 355, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [55, 23, 72, 33, 30, 28, 11, 8, 55, 49, 70, 31, 77], | |
| "ct": [35, 13, 61, 55, 43, 65, 8, 38, 34, 4, 9, 4, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 356, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [78, 63, 58, 54, 72, 69, 25, 68, 54, 52, 5, 4, 30], | |
| "ct": [14, 14, 47, 55, 37, 61, 56, 38, 44, 6, 62, 73, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 357, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [64, 60, 73, 51, 39, 48, 59, 53, 83, 72, 62, 59, 81], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 358, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [71, 33, 48, 57, 19, 38, 53, 20, 50, 27, 18, 4, 23], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 359, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [70, 67, 2, 47, 40, 17, 13, 39, 2, 76, 66, 59, 43], | |
| "ct": [61, 80, 67, 65, 3, 64, 46, 54, 71, 1, 82, 70, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 360, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": [68, 69, 31, 49, 47, 14, 52, 58, 5, 16, 19, 73, 3], | |
| "ct": [61, 80, 67, 65, 3, 63, 46, 54, 71, 1, 82, 70, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 361, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "0e0d4d470362e57d7d", | |
| "msg": [43, 40, 0, 43, 64, 15, 74, 66, 31, 59, 40, 65, 39], | |
| "ct": [0, 0, 0, 0, 0, 0, 35, 67, 24, 56, 33, 81, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 362, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "0e0d4d470362e57d7d", | |
| "msg": [80, 22, 14, 80, 25, 9, 80, 7, 15, 83, 55, 46, 9], | |
| "ct": [0, 0, 0, 0, 0, 1, 6, 56, 23, 49, 67, 77, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 363, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "0e0d4d470362e57d7d", | |
| "msg": [70, 4, 45, 3, 67, 71, 24, 83, 37, 42, 35, 62, 34], | |
| "ct": [61, 80, 67, 65, 3, 64, 27, 37, 64, 82, 77, 19, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 364, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "0e0d4d470362e57d7d", | |
| "msg": [50, 11, 6, 59, 62, 2, 55, 19, 54, 76, 10, 40, 9], | |
| "ct": [84, 84, 84, 84, 84, 84, 27, 23, 12, 55, 43, 28, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 365, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9eb0d2215b31c5b1f6", | |
| "msg": [4, 44, 35, 59, 66, 58, 3, 36, 64, 26, 54, 28, 3], | |
| "ct": [69, 63, 27, 44, 26, 46, 23, 55, 32, 72, 25, 35, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 366, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9eb0d2215b31c5b1f6", | |
| "msg": [42, 21, 52, 23, 2, 14, 23, 70, 44, 64, 69, 82, 39], | |
| "ct": [35, 77, 52, 60, 81, 62, 73, 79, 25, 60, 31, 45, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 367, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9eb0d2215b31c5b1f6", | |
| "msg": [67, 83, 61, 30, 62, 21, 50, 38, 15, 67, 8, 45, 79], | |
| "ct": [70, 33, 65, 9, 67, 0, 23, 7, 54, 66, 56, 14, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 368, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9eb0d2215b31c5b1f6", | |
| "msg": [12, 83, 30, 82, 50, 11, 54, 9, 16, 16, 16, 41, 49], | |
| "ct": [37, 25, 9, 14, 30, 8, 51, 33, 23, 67, 0, 82, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 369, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9eb0d2215b31c5b1f6", | |
| "msg": [2, 17, 31, 44, 14, 57, 55, 29, 64, 79, 45, 63, 59], | |
| "ct": [75, 81, 67, 63, 26, 30, 18, 70, 41, 65, 82, 77, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 370, | |
| "comment": "y is maximal and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "effae9b491b67ea0e6", | |
| "msg": [82, 40, 20, 71, 50, 40, 61, 74, 64, 78, 33, 1, 79], | |
| "ct": [63, 44, 81, 84, 36, 0, 4, 49, 9, 74, 49, 7, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 371, | |
| "comment": "y is maximal and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "effae9b491b67ea0e6", | |
| "msg": [67, 32, 47, 40, 35, 25, 3, 22, 8, 4, 36, 32, 72], | |
| "ct": [63, 44, 81, 84, 36, 1, 70, 61, 56, 52, 29, 3, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 372, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "effae9b491b67ea0e6", | |
| "msg": [53, 34, 14, 60, 27, 66, 21, 18, 84, 84, 6, 35, 45], | |
| "ct": [84, 84, 84, 84, 84, 84, 7, 12, 24, 8, 56, 74, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 373, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "effae9b491b67ea0e6", | |
| "msg": [36, 72, 30, 23, 41, 39, 72, 58, 13, 60, 75, 30, 62], | |
| "ct": [0, 0, 0, 0, 0, 0, 81, 37, 61, 14, 49, 77, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 374, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "effae9b491b67ea0e6", | |
| "msg": [7, 84, 73, 71, 37, 34, 15, 70, 71, 51, 24, 64, 62], | |
| "ct": [40, 40, 64, 64, 39, 64, 48, 70, 71, 61, 68, 77, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 375, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "effae9b491b67ea0e6", | |
| "msg": [31, 74, 78, 78, 10, 1, 20, 55, 30, 34, 6, 8, 16], | |
| "ct": [63, 44, 81, 84, 35, 84, 38, 77, 13, 63, 72, 4, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 376, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "438f2178ec264492c2", | |
| "msg": [67, 7, 40, 57, 15, 33, 70, 5, 8, 63, 12, 17, 24], | |
| "ct": [81, 12, 10, 53, 33, 52, 57, 29, 44, 35, 20, 45, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 377, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "438f2178ec264492c2", | |
| "msg": [5, 52, 74, 26, 51, 66, 39, 80, 25, 15, 9, 77, 1], | |
| "ct": [18, 76, 31, 66, 69, 16, 32, 3, 61, 0, 8, 13, 78], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 378, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "438f2178ec264492c2", | |
| "msg": [40, 41, 26, 77, 37, 63, 35, 12, 34, 40, 72, 67, 9], | |
| "ct": [18, 24, 69, 33, 25, 80, 53, 67, 1, 22, 82, 59, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 379, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "438f2178ec264492c2", | |
| "msg": [62, 2, 67, 60, 50, 5, 4, 49, 79, 55, 37, 45, 10], | |
| "ct": [78, 76, 77, 58, 75, 68, 80, 2, 11, 66, 69, 32, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 380, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": [-1, 70, 63, 35, 83, 77, 58, 59, 28, 61, 76, 50, 76], | |
| "ct": [47, 48, 13, 21, 16, 59, 37, 16, 54, 83, 19, 46, 35], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 381, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": [25, 70, 63, 35, -1, 77, 58, 59, 28, 61, 76, 50, 76], | |
| "ct": [7, 52, 53, 40, 23, 20, 59, 52, 38, 75, 65, 20, 50], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 382, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": [25, 70, 63, 35, 83, 77, 58, 59, 28, 61, 76, 50, -1], | |
| "ct": [23, 48, 65, 10, 64, 70, 28, 41, 80, 52, 64, 62, 28], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 383, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5c5e833700f02242ede38a4b94dbf6bd", | |
| "tweak": "b6991bed3073a7ba", | |
| "msg": [85, 78, 75, 1, 73, 36, 2, 48, 75, 17, 25, 78, 74], | |
| "ct": [17, 56, 51, 79, 5, 84, 10, 25, 50, 2, 61, 3, 15], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 384, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5c5e833700f02242ede38a4b94dbf6bd", | |
| "tweak": "b6991bed3073a7ba", | |
| "msg": [29, 78, 75, 1, 85, 36, 2, 48, 75, 17, 25, 78, 74], | |
| "ct": [80, 51, 1, 53, 38, 63, 64, 40, 16, 83, 33, 33, 29], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 385, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5c5e833700f02242ede38a4b94dbf6bd", | |
| "tweak": "b6991bed3073a7ba", | |
| "msg": [29, 78, 75, 1, 73, 36, 2, 48, 75, 17, 25, 78, 85], | |
| "ct": [76, 64, 6, 65, 74, 77, 53, 72, 43, 60, 50, 34, 20], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 14, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 386, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "7a1122636a4417351c97156308d4f6aa", | |
| "tweak": "a9508e64d1ab8e34", | |
| "msg": [84, 20, 74, 51, 7, 71, 36, 74, 74, 60, 69, 34, 25, 64], | |
| "ct": [6, 0, 56, 71, 53, 29, 64, 59, 4, 3, 23, 63, 76, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 387, | |
| "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": [4, 81, 68, 80, 75, 70, 55, 77, 60, 4, 79, 45, 43, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 388, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [72, 48, 59, 11, 57, 82, 62, 78, 49, 24, 7, 18, 76, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 389, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [46, 54, 71, 1, 82, 70, 16, 46, 54, 71, 1, 82, 70, 16], | |
| "ct": [3, 0, 28, 44, 17, 43, 26, 29, 70, 33, 5, 45, 4, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 390, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [46, 54, 71, 1, 82, 70, 15, 46, 54, 71, 1, 82, 70, 15], | |
| "ct": [82, 2, 48, 33, 16, 8, 50, 8, 73, 44, 76, 84, 64, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 391, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [13, 48, 19, 63, 57, 47, 64, 41, 50, 51, 41, 12, 34, 8], | |
| "ct": [83, 21, 16, 16, 19, 76, 25, 64, 27, 31, 80, 52, 39, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 392, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [70, 2, 53, 7, 54, 22, 51, 4, 83, 73, 60, 84, 77, 11], | |
| "ct": [72, 22, 44, 26, 39, 72, 43, 8, 41, 51, 4, 74, 32, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 393, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [66, 41, 43, 52, 35, 27, 4, 38, 25, 84, 59, 30, 22, 69], | |
| "ct": [10, 69, 33, 59, 51, 76, 40, 28, 24, 48, 10, 72, 5, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 394, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [30, 18, 53, 17, 39, 33, 58, 28, 7, 37, 57, 4, 47, 28], | |
| "ct": [41, 78, 79, 78, 21, 56, 79, 15, 46, 74, 77, 32, 11, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 395, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [64, 0, 50, 35, 29, 62, 6, 54, 75, 30, 64, 4, 76, 4], | |
| "ct": [62, 8, 28, 55, 36, 46, 37, 4, 24, 19, 10, 17, 81, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 396, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [79, 33, 26, 51, 5, 38, 23, 5, 28, 34, 22, 82, 59, 46], | |
| "ct": [36, 47, 46, 39, 49, 7, 18, 38, 71, 0, 33, 51, 27, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 397, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [49, 19, 73, 80, 38, 83, 60, 44, 69, 84, 57, 73, 74, 59], | |
| "ct": [32, 60, 13, 27, 77, 49, 40, 9, 83, 51, 69, 21, 47, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 398, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [55, 2, 78, 63, 76, 18, 25, 58, 10, 24, 69, 40, 17, 21], | |
| "ct": [79, 33, 63, 18, 27, 61, 54, 2, 63, 24, 21, 80, 68, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 399, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [75, 33, 49, 61, 6, 8, 61, 29, 71, 6, 29, 40, 17, 47], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 400, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [29, 39, 25, 74, 60, 23, 70, 31, 30, 3, 9, 64, 0, 51], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 401, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [16, 70, 17, 63, 24, 57, 62, 13, 74, 53, 65, 24, 48, 18], | |
| "ct": [46, 54, 71, 1, 82, 70, 16, 46, 54, 71, 1, 82, 70, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 402, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": [56, 39, 9, 65, 11, 24, 16, 18, 25, 0, 68, 72, 41, 31], | |
| "ct": [46, 54, 71, 1, 82, 70, 15, 46, 54, 71, 1, 82, 70, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 403, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "d17581b5ca51d224c1", | |
| "msg": [0, 64, 44, 11, 63, 45, 49, 43, 52, 49, 16, 79, 26, 61], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 54, 22, 73, 39, 54, 54, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 404, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "d17581b5ca51d224c1", | |
| "msg": [25, 24, 65, 49, 82, 0, 46, 28, 3, 19, 45, 2, 44, 51], | |
| "ct": [0, 0, 0, 0, 0, 0, 1, 64, 82, 47, 0, 80, 50, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 405, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "d17581b5ca51d224c1", | |
| "msg": [35, 64, 15, 70, 63, 84, 39, 23, 43, 4, 18, 55, 39, 25], | |
| "ct": [46, 54, 71, 1, 82, 70, 16, 83, 13, 11, 55, 1, 72, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 406, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "d17581b5ca51d224c1", | |
| "msg": [77, 47, 45, 45, 64, 77, 41, 50, 66, 72, 61, 0, 22, 35], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 79, 37, 17, 55, 69, 11, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 407, | |
| "comment": "y = 1 and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "d37f56ece0a2fe91c5", | |
| "msg": [75, 60, 40, 32, 76, 22, 25, 12, 74, 2, 62, 11, 1, 25], | |
| "ct": [0, 0, 0, 0, 0, 0, 1, 50, 69, 47, 2, 9, 4, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 408, | |
| "comment": "y = 1 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "d37f56ece0a2fe91c5", | |
| "msg": [49, 72, 39, 54, 75, 47, 20, 14, 68, 26, 6, 43, 56, 73], | |
| "ct": [0, 0, 0, 0, 0, 0, 2, 82, 10, 75, 63, 39, 82, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 409, | |
| "comment": "y = 1 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "d37f56ece0a2fe91c5", | |
| "msg": [84, 82, 57, 74, 57, 63, 3, 1, 64, 47, 33, 76, 60, 77], | |
| "ct": [46, 54, 71, 1, 82, 70, 17, 71, 67, 82, 59, 12, 48, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 410, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "d37f56ece0a2fe91c5", | |
| "msg": [35, 10, 40, 75, 6, 35, 16, 64, 49, 41, 23, 58, 37, 44], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 83, 21, 41, 8, 32, 11, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 411, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "d37f56ece0a2fe91c5", | |
| "msg": [77, 3, 71, 80, 15, 46, 60, 79, 78, 69, 51, 21, 23, 9], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 19, 65, 82, 63, 22, 75, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 412, | |
| "comment": "y is maximal and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "67451dfbe3cc868dc6", | |
| "msg": [40, 1, 4, 77, 40, 64, 22, 14, 8, 9, 47, 3, 44, 76], | |
| "ct": [10, 67, 37, 63, 1, 18, 36, 0, 74, 78, 33, 35, 31, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 413, | |
| "comment": "y is maximal and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "67451dfbe3cc868dc6", | |
| "msg": [33, 10, 54, 67, 54, 46, 21, 1, 67, 49, 31, 38, 13, 44], | |
| "ct": [50, 59, 25, 72, 41, 12, 78, 4, 11, 31, 70, 5, 3, 78], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 414, | |
| "comment": "y is maximal and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "67451dfbe3cc868dc6", | |
| "msg": [45, 28, 32, 6, 45, 16, 72, 70, 41, 29, 53, 59, 52, 80], | |
| "ct": [39, 66, 80, 20, 15, 32, 20, 49, 29, 24, 35, 6, 38, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 415, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "67451dfbe3cc868dc6", | |
| "msg": [18, 46, 9, 27, 26, 76, 32, 29, 72, 48, 26, 55, 77, 35], | |
| "ct": [83, 62, 28, 40, 30, 68, 0, 29, 59, 31, 60, 28, 42, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 416, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "67451dfbe3cc868dc6", | |
| "msg": [11, 19, 17, 62, 80, 52, 17, 39, 49, 9, 63, 38, 21, 39], | |
| "ct": [52, 47, 25, 26, 10, 38, 27, 76, 79, 51, 24, 34, 31, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 417, | |
| "comment": "y is maximal and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "67451dfbe3cc868dc6", | |
| "msg": [52, 27, 83, 51, 75, 41, 84, 71, 5, 39, 75, 15, 14, 4], | |
| "ct": [54, 30, 79, 40, 58, 71, 12, 42, 31, 80, 72, 38, 26, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 418, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "fd8f80ff92d18abf5d", | |
| "msg": [27, 50, 22, 49, 7, 52, 52, 57, 66, 53, 14, 1, 3, 73], | |
| "ct": [73, 67, 66, 16, 80, 27, 76, 33, 48, 56, 57, 4, 40, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 419, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "fd8f80ff92d18abf5d", | |
| "msg": [62, 59, 46, 29, 41, 47, 2, 22, 70, 71, 24, 51, 22, 0], | |
| "ct": [43, 71, 73, 59, 65, 7, 71, 64, 48, 77, 74, 65, 29, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 420, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "fd8f80ff92d18abf5d", | |
| "msg": [28, 15, 16, 6, 51, 18, 18, 15, 10, 31, 13, 11, 9, 15], | |
| "ct": [33, 15, 54, 55, 28, 72, 2, 83, 70, 12, 40, 76, 3, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 421, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "fd8f80ff92d18abf5d", | |
| "msg": [10, 81, 73, 23, 76, 18, 28, 49, 57, 33, 50, 26, 37, 45], | |
| "ct": [46, 4, 72, 39, 74, 9, 68, 75, 6, 71, 69, 43, 73, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 422, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": [-1, 81, 29, 30, 34, 50, 75, 61, 41, 15, 14, 39, 74, 84], | |
| "ct": [83, 39, 44, 9, 25, 8, 82, 27, 68, 67, 34, 27, 41, 82], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 423, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": [66, 81, 29, 30, -1, 50, 75, 61, 41, 15, 14, 39, 74, 84], | |
| "ct": [66, 37, 45, 9, 42, 40, 24, 77, 27, 31, 2, 69, 31, 80], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 424, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": [66, 81, 29, 30, 34, 50, 75, 61, 41, 15, 14, 39, 74, -1], | |
| "ct": [51, 1, 50, 49, 81, 51, 9, 12, 26, 32, 80, 73, 74, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 425, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ffc854633e5caab4f4a9b5234a849ab3", | |
| "tweak": "7907414657d8c61f", | |
| "msg": [85, 76, 74, 48, 47, 61, 81, 25, 36, 5, 78, 19, 29, 24], | |
| "ct": [2, 57, 11, 64, 4, 32, 17, 5, 79, 27, 41, 80, 43, 81], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 426, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ffc854633e5caab4f4a9b5234a849ab3", | |
| "tweak": "7907414657d8c61f", | |
| "msg": [68, 76, 74, 48, 85, 61, 81, 25, 36, 5, 78, 19, 29, 24], | |
| "ct": [43, 39, 18, 76, 72, 15, 73, 21, 2, 44, 26, 77, 55, 9], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 427, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ffc854633e5caab4f4a9b5234a849ab3", | |
| "tweak": "7907414657d8c61f", | |
| "msg": [68, 76, 74, 48, 47, 61, 81, 25, 36, 5, 78, 19, 29, 85], | |
| "ct": [12, 81, 0, 81, 35, 84, 77, 66, 61, 27, 62, 12, 43, 38], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 15, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 428, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "7b0c5d430ef9383b04b2691ce3402a9a", | |
| "tweak": "ec71532112064259", | |
| "msg": [48, 2, 54, 57, 83, 66, 67, 44, 84, 27, 51, 32, 54, 41, 2], | |
| "ct": [76, 83, 75, 77, 71, 53, 17, 29, 9, 56, 83, 9, 31, 72, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 429, | |
| "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": [36, 11, 36, 28, 79, 80, 52, 58, 66, 13, 17, 8, 37, 22, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 430, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [29, 70, 10, 38, 9, 7, 26, 69, 10, 17, 14, 62, 34, 22, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 431, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [46, 54, 71, 1, 82, 70, 16, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "ct": [64, 14, 43, 56, 76, 6, 28, 30, 47, 84, 1, 22, 73, 66, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 432, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [46, 54, 71, 1, 82, 70, 15, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "ct": [3, 32, 33, 37, 47, 22, 40, 3, 21, 1, 17, 63, 50, 9, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 433, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [15, 51, 26, 23, 81, 68, 68, 40, 46, 41, 31, 30, 41, 76, 10], | |
| "ct": [53, 17, 41, 63, 35, 25, 66, 30, 12, 60, 39, 10, 20, 6, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 434, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [57, 5, 51, 83, 10, 51, 31, 55, 40, 42, 53, 76, 35, 9, 39], | |
| "ct": [80, 82, 63, 42, 78, 44, 50, 9, 70, 74, 78, 79, 75, 4, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 435, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [40, 69, 43, 14, 13, 81, 73, 62, 31, 81, 32, 32, 17, 35, 21], | |
| "ct": [59, 58, 8, 79, 43, 33, 49, 10, 74, 2, 38, 52, 40, 39, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 436, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [42, 21, 77, 73, 12, 9, 4, 69, 1, 15, 22, 60, 58, 67, 68], | |
| "ct": [74, 16, 25, 48, 23, 59, 52, 11, 14, 13, 77, 51, 49, 71, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 437, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [33, 70, 39, 2, 77, 53, 83, 80, 65, 10, 15, 16, 37, 35, 76], | |
| "ct": [73, 81, 1, 39, 12, 3, 77, 38, 43, 66, 70, 59, 79, 60, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 438, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [82, 58, 10, 24, 66, 50, 4, 21, 41, 27, 26, 74, 53, 53, 80], | |
| "ct": [35, 28, 82, 14, 70, 61, 65, 41, 54, 71, 37, 2, 38, 65, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 439, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [61, 13, 73, 29, 49, 73, 83, 19, 40, 10, 32, 71, 36, 15, 9], | |
| "ct": [22, 76, 25, 1, 0, 83, 82, 49, 25, 61, 21, 40, 39, 36, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 440, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [19, 73, 25, 10, 27, 62, 13, 46, 13, 66, 23, 51, 43, 20, 63], | |
| "ct": [26, 4, 46, 3, 38, 43, 84, 52, 12, 82, 22, 74, 75, 10, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 441, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [39, 60, 50, 83, 3, 66, 65, 66, 50, 36, 46, 9, 38, 51, 60], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 442, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [18, 71, 36, 49, 55, 3, 47, 83, 23, 69, 39, 33, 33, 42, 54], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 443, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [61, 75, 55, 6, 57, 77, 55, 40, 28, 75, 63, 70, 77, 54, 42], | |
| "ct": [46, 54, 71, 1, 82, 70, 16, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 444, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": [6, 10, 79, 42, 0, 20, 10, 5, 30, 68, 2, 70, 31, 49, 31], | |
| "ct": [46, 54, 71, 1, 82, 70, 15, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 445, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c171c07fb966d7ec", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 26, 10, 64, 81, 23, 27, 81, 82], | |
| "ct": [5, 62, 35, 34, 55, 71, 75, 26, 7, 8, 64, 80, 18, 54, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 446, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c171c07fb966d7ec", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 26, 10, 64, 81, 23, 27, 81, 82], | |
| "ct": [76, 12, 48, 84, 69, 44, 31, 54, 66, 74, 75, 0, 69, 65, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 447, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c171c07fb966d7ec", | |
| "msg": [46, 54, 71, 1, 82, 70, 16, 26, 10, 64, 81, 23, 27, 81, 82], | |
| "ct": [3, 23, 63, 6, 79, 76, 64, 83, 33, 58, 69, 0, 37, 2, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 448, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c171c07fb966d7ec", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 26, 10, 64, 81, 23, 27, 81, 82], | |
| "ct": [32, 55, 72, 61, 32, 24, 51, 26, 32, 10, 9, 23, 72, 18, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 449, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "e911920044011a7c", | |
| "msg": [9, 39, 5, 77, 84, 80, 42, 77, 65, 25, 70, 14, 50, 14, 18], | |
| "ct": [60, 62, 46, 11, 26, 33, 39, 61, 45, 61, 52, 76, 12, 11, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 450, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "e911920044011a7c", | |
| "msg": [76, 8, 81, 62, 6, 9, 14, 68, 61, 4, 84, 84, 67, 36, 73], | |
| "ct": [18, 60, 24, 10, 18, 50, 53, 40, 79, 1, 71, 44, 8, 44, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 451, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "e911920044011a7c", | |
| "msg": [77, 34, 48, 3, 44, 5, 48, 40, 44, 16, 43, 45, 37, 74, 73], | |
| "ct": [23, 44, 53, 70, 15, 61, 62, 10, 58, 76, 80, 41, 51, 59, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 452, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "e911920044011a7c", | |
| "msg": [9, 20, 54, 43, 55, 52, 11, 73, 15, 54, 39, 57, 41, 72, 2], | |
| "ct": [60, 57, 73, 23, 29, 62, 58, 11, 18, 11, 77, 58, 11, 78, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 453, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "e911920044011a7c", | |
| "msg": [83, 81, 41, 1, 54, 38, 17, 68, 12, 13, 37, 66, 67, 70, 48], | |
| "ct": [29, 63, 45, 44, 55, 19, 48, 0, 72, 31, 3, 54, 34, 23, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 454, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "f29bd15c959752db", | |
| "msg": [0, 72, 5, 22, 56, 44, 21, 41, 44, 2, 67, 31, 36, 70, 46], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 80, 25, 77, 20, 66, 83, 13, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 455, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "f29bd15c959752db", | |
| "msg": [36, 37, 61, 3, 68, 22, 61, 57, 3, 76, 83, 9, 71, 6, 1], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 13, 64, 16, 4, 3, 6, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 456, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "f29bd15c959752db", | |
| "msg": [81, 19, 27, 57, 62, 38, 35, 51, 13, 48, 6, 82, 7, 53, 1], | |
| "ct": [46, 54, 71, 1, 82, 70, 15, 71, 41, 24, 70, 1, 5, 55, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 457, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "f29bd15c959752db", | |
| "msg": [18, 65, 40, 81, 13, 65, 30, 2, 62, 43, 19, 7, 40, 81, 40], | |
| "ct": [84, 84, 84, 84, 84, 84, 83, 3, 18, 77, 74, 54, 33, 44, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 458, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": [-1, 6, 15, 59, 42, 78, 22, 80, 37, 80, 25, 37, 73, 22, 7], | |
| "ct": [63, 8, 80, 19, 75, 79, 45, 7, 78, 36, 39, 45, 11, 10, 79], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 459, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": [55, 6, 15, 59, 42, -1, 22, 80, 37, 80, 25, 37, 73, 22, 7], | |
| "ct": [53, 50, 18, 32, 28, 3, 74, 11, 71, 50, 43, 83, 79, 47, 9], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 460, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": [55, 6, 15, 59, 42, 78, 22, 80, 37, 80, 25, 37, 73, 22, -1], | |
| "ct": [36, 6, 72, 44, 9, 83, 81, 56, 10, 27, 5, 6, 74, 67, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 461, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b3561c3b9c0eb1856d9549791056ca3c", | |
| "tweak": "6eb52db288622550", | |
| "msg": [85, 59, 41, 1, 71, 3, 26, 74, 38, 39, 22, 84, 65, 45, 52], | |
| "ct": [60, 7, 44, 11, 33, 37, 13, 57, 23, 74, 23, 14, 71, 80, 5], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 462, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b3561c3b9c0eb1856d9549791056ca3c", | |
| "tweak": "6eb52db288622550", | |
| "msg": [24, 59, 41, 1, 71, 85, 26, 74, 38, 39, 22, 84, 65, 45, 52], | |
| "ct": [0, 10, 55, 48, 3, 19, 27, 13, 43, 61, 8, 21, 64, 43, 43], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 463, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b3561c3b9c0eb1856d9549791056ca3c", | |
| "tweak": "6eb52db288622550", | |
| "msg": [24, 59, 41, 1, 71, 3, 26, 74, 38, 39, 22, 84, 65, 45, 85], | |
| "ct": [36, 12, 79, 57, 66, 39, 66, 37, 14, 48, 36, 68, 16, 11, 24], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 16, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 464, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "48f0d03e41cc55c4b58f737b5acdea32", | |
| "tweak": "30944debca89ca90", | |
| "msg": [23, 45, 83, 44, 75, 4, 18, 80, 57, 11, 70, 57, 25, 19, 79, 4], | |
| "ct": [81, 27, 81, 39, 4, 20, 54, 58, 65, 5, 47, 27, 77, 16, 6, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 465, | |
| "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": [46, 18, 39, 19, 3, 55, 58, 65, 84, 75, 54, 78, 30, 16, 27, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 466, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [45, 0, 7, 37, 8, 20, 32, 0, 69, 66, 73, 1, 39, 50, 33, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 467, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 8, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "ct": [9, 13, 25, 25, 74, 44, 83, 84, 25, 75, 6, 52, 68, 51, 29, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 468, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 7, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "ct": [75, 55, 3, 9, 42, 34, 36, 76, 47, 21, 68, 33, 37, 74, 69, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 469, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [46, 25, 58, 41, 38, 33, 78, 36, 67, 41, 41, 49, 59, 59, 53, 63], | |
| "ct": [58, 33, 70, 12, 30, 16, 14, 11, 70, 26, 23, 47, 3, 1, 83, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 470, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [39, 17, 29, 15, 55, 53, 15, 82, 3, 72, 45, 43, 21, 42, 33, 54], | |
| "ct": [30, 11, 7, 34, 0, 10, 19, 79, 82, 33, 46, 51, 46, 4, 41, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 471, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [9, 26, 67, 22, 63, 22, 0, 2, 38, 58, 56, 70, 83, 53, 18, 82], | |
| "ct": [4, 84, 2, 29, 29, 23, 71, 64, 69, 80, 53, 12, 22, 65, 14, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 472, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [37, 84, 31, 79, 26, 23, 11, 12, 16, 43, 73, 17, 25, 66, 29, 26], | |
| "ct": [41, 68, 26, 73, 55, 72, 80, 42, 4, 10, 82, 72, 36, 25, 33, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 473, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [84, 44, 22, 4, 28, 7, 25, 41, 37, 9, 63, 0, 27, 65, 18, 17], | |
| "ct": [34, 1, 76, 29, 78, 75, 58, 32, 50, 42, 12, 31, 38, 37, 67, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 474, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [11, 4, 23, 37, 51, 57, 77, 83, 39, 12, 79, 11, 12, 53, 21, 67], | |
| "ct": [20, 33, 34, 40, 53, 28, 16, 37, 71, 44, 30, 21, 41, 43, 66, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 475, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [2, 57, 9, 4, 78, 56, 19, 13, 5, 0, 39, 11, 74, 42, 35, 18], | |
| "ct": [62, 33, 26, 39, 34, 77, 47, 14, 84, 26, 41, 44, 7, 16, 66, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 476, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [50, 41, 7, 62, 3, 45, 30, 36, 53, 76, 77, 72, 10, 38, 66, 34], | |
| "ct": [42, 8, 33, 22, 30, 21, 70, 24, 2, 10, 57, 71, 69, 63, 10, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 477, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [8, 3, 15, 7, 76, 61, 21, 5, 67, 50, 47, 67, 31, 61, 74, 67], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 478, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [77, 27, 26, 1, 33, 35, 38, 45, 21, 74, 68, 73, 33, 34, 18, 16], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 479, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [19, 79, 15, 49, 56, 56, 42, 28, 45, 75, 54, 31, 10, 69, 18, 50], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 8, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 480, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": [52, 71, 3, 49, 18, 31, 82, 7, 71, 46, 74, 31, 2, 12, 33, 20], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 7, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 481, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "265d02df9e53e514", | |
| "msg": [57, 74, 41, 39, 28, 5, 4, 76, 13, 67, 17, 16, 55, 43, 51, 37], | |
| "ct": [83, 36, 74, 7, 72, 70, 49, 70, 16, 57, 63, 61, 74, 45, 55, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 482, | |
| "comment": "y = 0 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "265d02df9e53e514", | |
| "msg": [10, 25, 43, 77, 3, 47, 62, 68, 68, 11, 33, 72, 44, 19, 41, 61], | |
| "ct": [79, 63, 66, 2, 11, 51, 41, 23, 82, 60, 53, 59, 34, 15, 2, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 483, | |
| "comment": "y = 0 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "265d02df9e53e514", | |
| "msg": [19, 28, 56, 57, 84, 67, 18, 29, 14, 83, 59, 18, 17, 0, 22, 18], | |
| "ct": [42, 60, 45, 70, 69, 49, 76, 6, 51, 81, 78, 6, 17, 10, 65, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 484, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "265d02df9e53e514", | |
| "msg": [9, 66, 56, 84, 2, 21, 61, 3, 56, 12, 80, 11, 61, 3, 71, 27], | |
| "ct": [12, 46, 38, 14, 70, 24, 18, 70, 81, 37, 28, 47, 84, 64, 59, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 485, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "9aed0a545dfe58aa", | |
| "msg": [65, 48, 40, 12, 38, 77, 67, 49, 79, 82, 76, 64, 40, 26, 15, 19], | |
| "ct": [34, 56, 0, 34, 23, 32, 71, 36, 50, 53, 15, 81, 84, 26, 54, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 486, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "9aed0a545dfe58aa", | |
| "msg": [83, 13, 43, 68, 61, 57, 10, 37, 36, 58, 58, 27, 9, 54, 49, 57], | |
| "ct": [2, 76, 80, 32, 49, 80, 63, 13, 32, 1, 48, 62, 67, 58, 71, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 487, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "9aed0a545dfe58aa", | |
| "msg": [7, 57, 3, 5, 26, 57, 66, 45, 8, 38, 20, 53, 67, 46, 42, 74], | |
| "ct": [76, 79, 42, 49, 30, 51, 23, 72, 79, 1, 49, 19, 20, 74, 2, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 488, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "9aed0a545dfe58aa", | |
| "msg": [10, 45, 30, 32, 8, 39, 55, 15, 55, 63, 40, 62, 67, 44, 27, 56], | |
| "ct": [24, 29, 16, 53, 24, 47, 10, 57, 15, 4, 10, 59, 74, 59, 58, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 489, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "9aed0a545dfe58aa", | |
| "msg": [57, 39, 45, 41, 80, 41, 17, 8, 79, 32, 70, 42, 64, 26, 65, 55], | |
| "ct": [83, 0, 49, 50, 82, 59, 77, 6, 55, 0, 71, 0, 43, 10, 80, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 490, | |
| "comment": "y is maximal and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "374513cc8a0f162a", | |
| "msg": [75, 35, 19, 22, 7, 29, 82, 69, 10, 24, 73, 40, 39, 16, 63, 29], | |
| "ct": [19, 68, 53, 27, 49, 26, 1, 62, 27, 84, 42, 54, 68, 71, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 491, | |
| "comment": "y is maximal and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "374513cc8a0f162a", | |
| "msg": [11, 66, 24, 32, 27, 79, 70, 22, 33, 34, 47, 23, 41, 74, 44, 12], | |
| "ct": [30, 25, 65, 26, 65, 57, 3, 16, 80, 56, 16, 42, 44, 75, 33, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 492, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "374513cc8a0f162a", | |
| "msg": [41, 37, 0, 68, 44, 1, 46, 22, 31, 25, 55, 39, 39, 44, 60, 68], | |
| "ct": [12, 14, 24, 41, 67, 42, 14, 28, 79, 25, 7, 6, 37, 8, 42, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 493, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "374513cc8a0f162a", | |
| "msg": [84, 38, 39, 9, 10, 49, 52, 17, 32, 0, 51, 57, 48, 49, 70, 70], | |
| "ct": [0, 36, 9, 64, 65, 18, 5, 84, 57, 54, 41, 67, 31, 16, 68, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 494, | |
| "comment": "y is maximal and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "374513cc8a0f162a", | |
| "msg": [2, 18, 28, 44, 53, 62, 60, 27, 13, 47, 5, 51, 30, 79, 19, 3], | |
| "ct": [43, 42, 35, 2, 77, 45, 30, 24, 41, 78, 58, 65, 77, 18, 49, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 495, | |
| "comment": "y is maximal and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "374513cc8a0f162a", | |
| "msg": [12, 70, 39, 57, 50, 10, 46, 11, 22, 16, 25, 37, 83, 47, 23, 29], | |
| "ct": [65, 34, 61, 53, 42, 36, 45, 37, 62, 11, 3, 49, 56, 35, 54, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 496, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "b659fc7dc3b46fb7", | |
| "msg": [16, 23, 68, 56, 62, 57, 43, 12, 14, 84, 0, 73, 68, 26, 50, 56], | |
| "ct": [50, 64, 11, 60, 15, 50, 26, 56, 65, 63, 49, 73, 16, 8, 77, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 497, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "b659fc7dc3b46fb7", | |
| "msg": [81, 69, 47, 68, 83, 83, 46, 2, 55, 80, 35, 58, 29, 21, 75, 30], | |
| "ct": [48, 75, 39, 8, 8, 35, 27, 24, 25, 1, 77, 63, 21, 73, 49, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 498, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "b659fc7dc3b46fb7", | |
| "msg": [56, 77, 42, 4, 17, 70, 48, 9, 52, 53, 59, 53, 47, 18, 45, 35], | |
| "ct": [61, 54, 23, 45, 57, 15, 37, 12, 8, 46, 30, 21, 36, 42, 58, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 499, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "b659fc7dc3b46fb7", | |
| "msg": [84, 14, 57, 72, 47, 79, 62, 17, 37, 60, 83, 62, 70, 51, 16, 46], | |
| "ct": [76, 52, 30, 19, 10, 73, 66, 68, 50, 63, 70, 71, 46, 76, 10, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 500, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": [-1, 18, 36, 27, 35, 1, 41, 17, 32, 61, 47, 55, 35, 20, 36, 28], | |
| "ct": [22, 55, 59, 40, 14, 8, 61, 28, 40, 7, 7, 16, 65, 36, 12, 49], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 501, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": [42, 18, 36, 27, 35, -1, 41, 17, 32, 61, 47, 55, 35, 20, 36, 28], | |
| "ct": [34, 54, 76, 48, 6, 3, 39, 84, 13, 79, 46, 31, 11, 0, 80, 36], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 502, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": [42, 18, 36, 27, 35, 1, 41, 17, 32, 61, 47, 55, 35, 20, 36, -1], | |
| "ct": [76, 67, 67, 22, 16, 72, 21, 72, 60, 73, 0, 18, 14, 63, 77, 4], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 503, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "30af095690a2f3d944cc254e64acd8f2", | |
| "tweak": "ac1248e7f1960aa8", | |
| "msg": [85, 29, 53, 53, 36, 0, 75, 8, 10, 53, 14, 82, 38, 73, 2, 78], | |
| "ct": [68, 42, 6, 78, 27, 12, 29, 25, 49, 23, 21, 19, 15, 56, 30, 5], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 504, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "30af095690a2f3d944cc254e64acd8f2", | |
| "tweak": "ac1248e7f1960aa8", | |
| "msg": [70, 29, 53, 53, 36, 85, 75, 8, 10, 53, 14, 82, 38, 73, 2, 78], | |
| "ct": [70, 16, 73, 49, 37, 24, 69, 11, 30, 49, 60, 35, 21, 83, 70, 77], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 505, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "30af095690a2f3d944cc254e64acd8f2", | |
| "tweak": "ac1248e7f1960aa8", | |
| "msg": [70, 29, 53, 53, 36, 0, 75, 8, 10, 53, 14, 82, 38, 73, 2, 85], | |
| "ct": [39, 74, 12, 64, 37, 58, 74, 47, 20, 59, 3, 72, 12, 74, 15, 25], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 17, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 506, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "22351a53774415942eb879b483eda9a2", | |
| "tweak": "b4a5dce9958d53fc", | |
| "msg": [31, 36, 76, 20, 31, 12, 61, 35, 57, 33, 4, 53, 4, 50, 61, 0, 42], | |
| "ct": [73, 49, 80, 22, 82, 17, 37, 39, 24, 8, 6, 46, 12, 6, 59, 49, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 507, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [7, 28, 64, 57, 24, 50, 78, 52, 40, 41, 74, 17, 51, 47, 44, 24, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 508, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [62, 57, 40, 57, 79, 77, 37, 67, 69, 7, 38, 19, 34, 5, 66, 59, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 509, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 8, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "ct": [81, 75, 20, 15, 75, 7, 43, 80, 46, 38, 1, 25, 66, 54, 3, 26, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 510, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 7, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "ct": [32, 13, 56, 74, 65, 84, 44, 77, 54, 83, 21, 47, 16, 55, 83, 79, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 511, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [39, 51, 66, 22, 14, 64, 1, 10, 53, 36, 28, 59, 33, 33, 4, 65, 50], | |
| "ct": [55, 0, 26, 52, 49, 15, 71, 61, 10, 51, 10, 80, 77, 39, 31, 31, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 512, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [50, 7, 43, 68, 60, 33, 19, 2, 5, 19, 83, 28, 71, 63, 71, 18, 7], | |
| "ct": [56, 48, 4, 19, 68, 66, 59, 9, 75, 83, 58, 25, 72, 33, 59, 46, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 513, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [39, 4, 76, 43, 68, 28, 29, 58, 79, 62, 40, 6, 69, 18, 20, 7, 17], | |
| "ct": [24, 39, 11, 67, 83, 31, 39, 27, 1, 42, 67, 46, 44, 5, 8, 15, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 514, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [44, 78, 78, 2, 55, 64, 51, 73, 79, 45, 79, 22, 49, 81, 17, 68, 65], | |
| "ct": [72, 51, 35, 12, 10, 15, 1, 84, 61, 24, 19, 3, 36, 9, 50, 58, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 515, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [61, 28, 68, 68, 28, 37, 36, 77, 39, 72, 34, 31, 50, 42, 66, 60, 30], | |
| "ct": [27, 31, 25, 9, 39, 64, 16, 53, 9, 32, 33, 43, 76, 9, 1, 66, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 516, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [42, 54, 41, 7, 25, 65, 54, 61, 44, 78, 55, 30, 48, 84, 24, 59, 50], | |
| "ct": [57, 68, 11, 49, 57, 20, 41, 27, 6, 5, 57, 7, 78, 80, 15, 26, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 517, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [3, 51, 3, 65, 5, 2, 22, 1, 24, 66, 33, 61, 15, 41, 28, 61, 2], | |
| "ct": [75, 62, 70, 12, 66, 5, 60, 56, 74, 27, 72, 9, 11, 9, 31, 81, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 518, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [22, 25, 79, 2, 56, 10, 27, 5, 69, 20, 43, 7, 13, 84, 43, 34, 19], | |
| "ct": [20, 23, 9, 55, 77, 31, 57, 59, 50, 51, 41, 36, 24, 27, 40, 68, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 519, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [15, 4, 6, 54, 84, 69, 14, 55, 72, 38, 70, 67, 53, 45, 50, 80, 55], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 520, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [8, 44, 61, 16, 25, 22, 56, 51, 1, 70, 4, 19, 58, 25, 45, 46, 9], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 521, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [71, 3, 71, 18, 52, 39, 63, 46, 57, 3, 33, 19, 7, 11, 48, 55, 16], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 8, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 522, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": [75, 41, 84, 58, 35, 40, 54, 82, 11, 4, 37, 69, 34, 77, 31, 69, 83], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 7, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 523, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "5f7c2511aab983", | |
| "msg": [48, 23, 41, 81, 23, 41, 42, 25, 60, 15, 24, 55, 69, 69, 25, 79, 12], | |
| "ct": [43, 36, 8, 54, 23, 11, 24, 77, 78, 55, 7, 14, 39, 5, 74, 81, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 524, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "5f7c2511aab983", | |
| "msg": [5, 39, 62, 41, 38, 17, 76, 80, 62, 21, 32, 35, 13, 70, 71, 19, 26], | |
| "ct": [27, 76, 68, 83, 17, 8, 34, 83, 11, 71, 41, 52, 56, 75, 31, 75, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 525, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "5f7c2511aab983", | |
| "msg": [13, 55, 28, 53, 12, 78, 37, 58, 14, 11, 68, 66, 63, 7, 41, 81, 62], | |
| "ct": [73, 30, 21, 80, 69, 77, 41, 83, 30, 0, 30, 55, 79, 41, 84, 41, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 526, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "5f7c2511aab983", | |
| "msg": [73, 26, 68, 0, 26, 18, 53, 66, 2, 69, 78, 29, 40, 84, 63, 65, 29], | |
| "ct": [16, 59, 6, 21, 22, 48, 43, 37, 9, 23, 47, 25, 8, 65, 75, 37, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 527, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "5f7c2511aab983", | |
| "msg": [73, 37, 32, 9, 35, 65, 12, 10, 9, 6, 37, 5, 35, 24, 66, 20, 57], | |
| "ct": [12, 15, 52, 58, 67, 44, 72, 31, 2, 20, 34, 76, 60, 48, 42, 1, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 528, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "5f7c2511aab983", | |
| "msg": [28, 37, 0, 6, 44, 34, 17, 59, 9, 12, 21, 27, 74, 16, 41, 20, 41], | |
| "ct": [74, 4, 41, 62, 42, 78, 1, 21, 9, 49, 60, 56, 31, 33, 10, 59, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 529, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "d32e7d84f9a25b", | |
| "msg": [34, 1, 32, 10, 25, 52, 55, 74, 78, 4, 80, 79, 8, 57, 61, 5, 25], | |
| "ct": [70, 53, 44, 17, 63, 43, 2, 78, 45, 4, 68, 72, 50, 60, 55, 44, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 530, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "d32e7d84f9a25b", | |
| "msg": [60, 55, 52, 55, 4, 19, 35, 14, 20, 53, 19, 51, 47, 66, 44, 70, 71], | |
| "ct": [6, 67, 55, 39, 26, 64, 42, 23, 60, 57, 6, 65, 7, 25, 34, 68, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 531, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "d32e7d84f9a25b", | |
| "msg": [27, 66, 68, 13, 42, 28, 40, 81, 74, 32, 9, 14, 83, 74, 6, 23, 63], | |
| "ct": [64, 49, 3, 64, 31, 37, 78, 10, 37, 69, 49, 11, 73, 14, 72, 56, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 532, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "d32e7d84f9a25b", | |
| "msg": [39, 78, 44, 80, 38, 16, 12, 53, 70, 51, 9, 48, 37, 63, 10, 56, 28], | |
| "ct": [24, 78, 41, 4, 1, 9, 68, 35, 41, 15, 15, 20, 13, 58, 14, 46, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 533, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": [-1, 40, 65, 16, 41, 52, 67, 52, 65, 61, 73, 76, 48, 1, 8, 0, 6], | |
| "ct": [24, 56, 39, 11, 7, 78, 42, 22, 14, 74, 66, 7, 34, 43, 47, 57, 53], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 534, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": [77, 40, 65, 16, 41, -1, 67, 52, 65, 61, 73, 76, 48, 1, 8, 0, 6], | |
| "ct": [64, 20, 14, 0, 29, 7, 17, 57, 68, 63, 33, 39, 62, 39, 54, 5, 27], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 535, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": [77, 40, 65, 16, 41, 52, 67, 52, 65, 61, 73, 76, 48, 1, 8, 0, -1], | |
| "ct": [8, 55, 57, 51, 30, 83, 36, 19, 54, 9, 66, 10, 64, 71, 75, 1, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 536, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "686ea9217bb0367e5a2330edbae3eae3", | |
| "tweak": "6c21c99e0acacfa0", | |
| "msg": [85, 65, 76, 49, 58, 24, 42, 15, 3, 47, 21, 56, 66, 30, 31, 16, 7], | |
| "ct": [1, 69, 65, 67, 40, 5, 73, 5, 23, 78, 13, 20, 51, 80, 22, 42, 15], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 537, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "686ea9217bb0367e5a2330edbae3eae3", | |
| "tweak": "6c21c99e0acacfa0", | |
| "msg": [84, 65, 76, 49, 58, 85, 42, 15, 3, 47, 21, 56, 66, 30, 31, 16, 7], | |
| "ct": [21, 17, 21, 24, 9, 22, 72, 61, 54, 68, 63, 39, 14, 53, 54, 1, 71], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 538, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "686ea9217bb0367e5a2330edbae3eae3", | |
| "tweak": "6c21c99e0acacfa0", | |
| "msg": [84, 65, 76, 49, 58, 24, 42, 15, 3, 47, 21, 56, 66, 30, 31, 16, 85], | |
| "ct": [70, 5, 30, 34, 12, 25, 69, 79, 13, 57, 47, 25, 0, 38, 32, 42, 65], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 18, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 539, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "40dcd7ccae73e5e9bba5523fbab77a3c", | |
| "tweak": "60ddd7c8df1437cf", | |
| "msg": [68, 81, 37, 42, 34, 62, 13, 63, 59, 61, 46, 46, 28, 35, 54, 29, 52, 69], | |
| "ct": [48, 30, 72, 45, 77, 38, 25, 58, 40, 48, 53, 43, 40, 32, 23, 12, 75, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 540, | |
| "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": [61, 32, 41, 7, 77, 68, 16, 5, 33, 0, 13, 2, 62, 14, 41, 51, 44, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 541, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [58, 77, 32, 81, 10, 51, 50, 4, 19, 71, 2, 56, 76, 33, 44, 28, 71, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 542, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 2, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "ct": [72, 61, 57, 49, 83, 21, 46, 5, 16, 79, 5, 66, 44, 57, 32, 68, 63, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 543, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 1, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "ct": [80, 7, 44, 17, 64, 43, 60, 51, 5, 62, 60, 61, 61, 45, 36, 75, 60, 82], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 544, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [59, 81, 69, 82, 23, 84, 58, 10, 53, 0, 58, 9, 4, 68, 83, 12, 83, 44], | |
| "ct": [63, 39, 24, 16, 20, 61, 25, 25, 14, 38, 52, 11, 42, 84, 49, 39, 35, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 545, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [2, 39, 66, 40, 53, 18, 33, 61, 42, 38, 64, 55, 37, 7, 2, 64, 84, 23], | |
| "ct": [41, 13, 3, 4, 71, 3, 76, 5, 83, 53, 84, 81, 19, 48, 66, 68, 69, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 546, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [60, 72, 51, 18, 82, 70, 33, 12, 83, 11, 0, 43, 15, 9, 8, 48, 68, 82], | |
| "ct": [3, 83, 21, 19, 60, 34, 33, 21, 20, 22, 48, 60, 43, 26, 33, 2, 5, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 547, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [73, 8, 24, 30, 34, 78, 70, 76, 64, 1, 55, 36, 43, 7, 52, 81, 17, 59], | |
| "ct": [42, 15, 30, 28, 14, 33, 75, 30, 76, 65, 64, 60, 49, 20, 69, 51, 17, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 548, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [11, 9, 78, 64, 49, 53, 6, 23, 66, 4, 25, 3, 39, 74, 79, 74, 30, 79], | |
| "ct": [31, 11, 34, 13, 50, 0, 34, 80, 45, 80, 14, 21, 33, 49, 53, 14, 10, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 549, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [68, 23, 49, 65, 61, 82, 52, 57, 43, 47, 8, 19, 67, 83, 19, 60, 9, 57], | |
| "ct": [22, 31, 71, 54, 64, 62, 25, 38, 68, 58, 2, 17, 19, 3, 5, 47, 3, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 550, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [20, 30, 42, 48, 77, 45, 32, 3, 45, 70, 38, 14, 24, 29, 38, 3, 84, 53], | |
| "ct": [61, 77, 62, 10, 69, 37, 45, 38, 9, 37, 56, 20, 67, 41, 28, 39, 58, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 551, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [32, 27, 34, 15, 66, 80, 32, 64, 23, 43, 51, 79, 54, 11, 8, 81, 32, 42], | |
| "ct": [56, 1, 69, 77, 83, 62, 28, 25, 57, 37, 82, 71, 15, 54, 45, 11, 42, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 552, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [44, 14, 43, 47, 62, 32, 76, 22, 82, 51, 49, 13, 45, 70, 71, 5, 41, 80], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 553, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [35, 18, 32, 55, 53, 26, 66, 16, 83, 5, 73, 83, 9, 84, 10, 68, 71, 69], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 554, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [24, 59, 52, 67, 12, 81, 20, 71, 31, 5, 11, 59, 25, 55, 14, 32, 61, 44], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 2, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 555, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": [50, 55, 44, 31, 28, 77, 13, 21, 30, 82, 45, 28, 80, 50, 18, 77, 6, 66], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 1, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 556, | |
| "comment": "y = 1 and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "d62f57746bd340", | |
| "msg": [82, 42, 60, 35, 54, 33, 82, 9, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [72, 9, 21, 24, 70, 63, 84, 57, 22, 25, 49, 33, 1, 71, 0, 61, 44, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 557, | |
| "comment": "y = 1 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "d62f57746bd340", | |
| "msg": [19, 44, 42, 60, 39, 51, 13, 15, 53, 0, 0, 0, 0, 0, 0, 0, 0, 1], | |
| "ct": [68, 62, 83, 28, 42, 29, 27, 84, 83, 23, 52, 14, 51, 22, 34, 24, 66, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 558, | |
| "comment": "y = 1 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "d62f57746bd340", | |
| "msg": [22, 41, 4, 21, 40, 26, 23, 31, 81, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "ct": [55, 10, 52, 73, 47, 19, 59, 46, 82, 69, 44, 23, 11, 54, 16, 76, 17, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 559, | |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "d62f57746bd340", | |
| "msg": [39, 51, 20, 61, 21, 38, 5, 66, 70, 84, 84, 84, 84, 84, 84, 84, 84, 83], | |
| "ct": [58, 75, 10, 32, 8, 1, 64, 80, 45, 63, 69, 12, 84, 18, 72, 44, 39, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 560, | |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "d62f57746bd340", | |
| "msg": [45, 77, 58, 67, 79, 23, 11, 61, 76, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [56, 68, 46, 74, 60, 47, 22, 7, 70, 50, 31, 17, 64, 30, 68, 76, 63, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 561, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "08dc8204f3b8c5", | |
| "msg": [48, 65, 36, 52, 71, 77, 64, 84, 52, 48, 11, 13, 67, 36, 7, 7, 60, 28], | |
| "ct": [20, 72, 56, 62, 20, 84, 40, 35, 38, 52, 11, 16, 58, 55, 26, 30, 40, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 562, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "08dc8204f3b8c5", | |
| "msg": [41, 67, 1, 18, 65, 8, 14, 72, 42, 4, 27, 52, 80, 2, 59, 73, 82, 46], | |
| "ct": [54, 59, 49, 6, 19, 18, 60, 34, 7, 15, 47, 31, 72, 52, 29, 68, 20, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 563, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "08dc8204f3b8c5", | |
| "msg": [22, 59, 15, 58, 5, 47, 28, 69, 42, 48, 1, 46, 76, 44, 4, 52, 20, 25], | |
| "ct": [27, 37, 20, 0, 61, 78, 30, 1, 79, 53, 10, 60, 65, 4, 53, 63, 60, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 564, | |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "08dc8204f3b8c5", | |
| "msg": [14, 24, 74, 79, 3, 82, 55, 56, 48, 59, 55, 22, 80, 31, 76, 44, 23, 74], | |
| "ct": [68, 11, 37, 54, 46, 12, 38, 78, 58, 25, 63, 13, 83, 83, 2, 82, 71, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 565, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "08dc8204f3b8c5", | |
| "msg": [74, 55, 83, 29, 61, 14, 24, 41, 3, 24, 11, 15, 15, 19, 57, 80, 38, 16], | |
| "ct": [65, 45, 80, 60, 75, 41, 83, 2, 13, 21, 30, 53, 49, 30, 35, 65, 35, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 566, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "08dc8204f3b8c5", | |
| "msg": [24, 80, 84, 82, 12, 77, 39, 17, 61, 31, 28, 78, 31, 7, 34, 54, 23, 60], | |
| "ct": [11, 27, 44, 20, 80, 80, 39, 68, 51, 64, 42, 18, 3, 21, 27, 71, 51, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 567, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": [-1, 82, 72, 53, 46, 66, 25, 31, 28, 77, 38, 45, 38, 75, 70, 77, 54, 71], | |
| "ct": [35, 72, 2, 19, 29, 26, 33, 64, 61, 58, 18, 42, 72, 59, 6, 56, 6, 46], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 568, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": [70, 82, 72, 53, 46, 66, -1, 31, 28, 77, 38, 45, 38, 75, 70, 77, 54, 71], | |
| "ct": [22, 69, 55, 68, 66, 28, 5, 48, 38, 59, 58, 19, 51, 56, 84, 42, 74, 1], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 569, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": [70, 82, 72, 53, 46, 66, 25, 31, 28, 77, 38, 45, 38, 75, 70, 77, 54, -1], | |
| "ct": [47, 48, 20, 15, 81, 19, 26, 44, 19, 77, 76, 63, 75, 53, 59, 79, 1, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 570, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "78697ffbb38f9e3abeb9b3ef7e0a18bd", | |
| "tweak": "75425b9396cd9121", | |
| "msg": [85, 13, 84, 64, 46, 21, 30, 73, 43, 16, 1, 33, 9, 42, 78, 82, 63, 56], | |
| "ct": [19, 11, 0, 59, 36, 77, 63, 52, 38, 27, 25, 78, 34, 82, 18, 69, 56, 78], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 571, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "78697ffbb38f9e3abeb9b3ef7e0a18bd", | |
| "tweak": "75425b9396cd9121", | |
| "msg": [61, 13, 84, 64, 46, 21, 85, 73, 43, 16, 1, 33, 9, 42, 78, 82, 63, 56], | |
| "ct": [43, 78, 78, 32, 63, 70, 66, 63, 45, 59, 38, 84, 61, 42, 55, 70, 70, 63], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 572, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "78697ffbb38f9e3abeb9b3ef7e0a18bd", | |
| "tweak": "75425b9396cd9121", | |
| "msg": [61, 13, 84, 64, 46, 21, 30, 73, 43, 16, 1, 33, 9, 42, 78, 82, 63, 85], | |
| "ct": [41, 77, 5, 22, 7, 41, 42, 22, 69, 41, 71, 28, 19, 1, 41, 76, 38, 8], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 19, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 573, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "3591cc97af4a5d1492305f87269ee691", | |
| "tweak": "13786144a50ef10a", | |
| "msg": [5, 29, 74, 61, 49, 61, 78, 11, 79, 73, 75, 51, 12, 1, 73, 66, 57, 40, 25], | |
| "ct": [7, 64, 71, 68, 34, 29, 69, 24, 61, 47, 31, 27, 83, 35, 74, 19, 76, 70, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 574, | |
| "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": [74, 47, 81, 23, 32, 34, 64, 56, 78, 78, 67, 77, 19, 77, 23, 18, 3, 4, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 575, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [73, 44, 53, 8, 76, 8, 22, 35, 28, 64, 27, 47, 41, 72, 55, 0, 14, 14, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 576, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 2, 79, 54, 58, 2, 74, 77, 69, 82, 24, 1], | |
| "ct": [83, 70, 45, 36, 84, 63, 10, 41, 19, 64, 5, 34, 60, 71, 29, 15, 71, 48, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 577, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 1, 79, 54, 58, 2, 74, 77, 69, 82, 24, 0], | |
| "ct": [3, 65, 42, 44, 3, 29, 35, 62, 63, 17, 78, 14, 50, 33, 49, 19, 53, 15, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 578, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [84, 18, 50, 80, 3, 51, 83, 63, 25, 14, 77, 5, 82, 48, 27, 60, 62, 84, 0], | |
| "ct": [76, 1, 70, 17, 61, 4, 51, 39, 76, 59, 75, 52, 6, 83, 45, 50, 79, 36, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 579, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [42, 23, 77, 7, 46, 76, 82, 72, 73, 45, 50, 74, 63, 78, 1, 16, 4, 80, 19], | |
| "ct": [79, 49, 37, 13, 64, 48, 84, 32, 81, 49, 35, 52, 10, 83, 74, 79, 21, 18, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 580, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [36, 16, 23, 66, 42, 38, 44, 71, 82, 12, 28, 51, 25, 25, 58, 72, 8, 59, 49], | |
| "ct": [39, 29, 51, 42, 28, 66, 50, 25, 55, 76, 7, 31, 49, 57, 8, 49, 65, 62, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 581, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [20, 32, 55, 29, 36, 12, 1, 67, 77, 3, 62, 61, 39, 1, 5, 18, 77, 45, 40], | |
| "ct": [62, 51, 13, 29, 63, 58, 0, 55, 21, 44, 10, 80, 23, 51, 70, 22, 21, 78, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 582, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [24, 62, 60, 34, 40, 78, 50, 18, 25, 42, 35, 21, 13, 62, 32, 8, 9, 13, 10], | |
| "ct": [31, 24, 84, 1, 16, 5, 73, 23, 31, 5, 1, 78, 52, 74, 79, 70, 75, 36, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 583, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [78, 72, 34, 76, 22, 60, 65, 47, 80, 70, 41, 45, 44, 34, 46, 15, 38, 19, 60], | |
| "ct": [62, 70, 39, 72, 12, 29, 31, 20, 36, 65, 17, 28, 76, 53, 38, 75, 4, 39, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 584, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [35, 18, 54, 61, 65, 39, 62, 37, 79, 62, 35, 5, 72, 73, 38, 51, 3, 11, 0], | |
| "ct": [13, 49, 12, 13, 61, 15, 41, 5, 66, 56, 32, 9, 34, 70, 60, 56, 36, 50, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 585, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [67, 64, 20, 84, 41, 72, 49, 41, 24, 60, 54, 10, 67, 71, 5, 75, 67, 67, 69], | |
| "ct": [46, 29, 29, 39, 82, 72, 40, 68, 4, 4, 60, 74, 42, 15, 83, 37, 44, 73, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 586, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [70, 46, 25, 33, 56, 61, 83, 25, 50, 36, 68, 9, 32, 1, 26, 79, 32, 74, 75], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 587, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [11, 70, 79, 76, 49, 48, 4, 81, 57, 41, 54, 54, 20, 21, 9, 61, 44, 63, 60], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 588, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [83, 77, 28, 77, 17, 27, 10, 11, 63, 12, 61, 10, 1, 20, 52, 0, 56, 55, 53], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 2, 79, 54, 58, 2, 74, 77, 69, 82, 24, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 589, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": [30, 37, 40, 12, 50, 72, 0, 27, 71, 54, 51, 49, 6, 60, 42, 50, 78, 11, 29], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 1, 79, 54, 58, 2, 74, 77, 69, 82, 24, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 590, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "dd13a75b3e5950533add4b07c1465ac29d79a51a4bd3", | |
| "msg": [39, 22, 54, 41, 43, 25, 47, 50, 3, 38, 48, 37, 0, 2, 55, 28, 49, 48, 52], | |
| "ct": [83, 26, 73, 77, 72, 68, 27, 42, 64, 54, 47, 77, 20, 60, 32, 15, 73, 20, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 591, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "dd13a75b3e5950533add4b07c1465ac29d79a51a4bd3", | |
| "msg": [84, 26, 56, 72, 59, 15, 13, 82, 25, 52, 59, 17, 73, 50, 24, 51, 12, 77, 30], | |
| "ct": [63, 36, 81, 83, 75, 70, 41, 36, 81, 7, 45, 35, 75, 74, 40, 46, 68, 59, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 592, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "dd13a75b3e5950533add4b07c1465ac29d79a51a4bd3", | |
| "msg": [79, 34, 15, 65, 62, 27, 24, 41, 61, 24, 62, 51, 67, 33, 11, 80, 43, 64, 37], | |
| "ct": [78, 79, 63, 25, 71, 31, 17, 52, 48, 27, 28, 54, 79, 44, 43, 81, 59, 39, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 593, | |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "dd13a75b3e5950533add4b07c1465ac29d79a51a4bd3", | |
| "msg": [10, 36, 66, 58, 77, 22, 41, 64, 34, 33, 63, 63, 1, 27, 29, 25, 0, 58, 21], | |
| "ct": [37, 78, 41, 48, 31, 72, 40, 26, 51, 35, 42, 63, 84, 66, 22, 16, 9, 66, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 594, | |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "dd13a75b3e5950533add4b07c1465ac29d79a51a4bd3", | |
| "msg": [13, 73, 28, 24, 43, 65, 36, 54, 24, 24, 14, 38, 73, 57, 59, 47, 53, 51, 25], | |
| "ct": [27, 38, 43, 10, 62, 72, 23, 26, 76, 75, 31, 9, 14, 32, 27, 25, 81, 5, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 595, | |
| "comment": "y is maximal and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "00fa66c1dbaeac162cecfc87e4ec2accbb5634449bbb", | |
| "msg": [8, 30, 70, 4, 40, 20, 70, 28, 1, 73, 16, 40, 23, 78, 10, 26, 84, 0, 40], | |
| "ct": [84, 17, 44, 65, 38, 2, 60, 48, 0, 63, 11, 4, 9, 82, 54, 25, 56, 84, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 596, | |
| "comment": "y is maximal and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "00fa66c1dbaeac162cecfc87e4ec2accbb5634449bbb", | |
| "msg": [3, 50, 75, 30, 47, 81, 35, 53, 32, 15, 61, 77, 62, 23, 62, 84, 48, 3, 6], | |
| "ct": [84, 17, 44, 65, 38, 2, 60, 48, 1, 80, 46, 65, 83, 12, 4, 5, 31, 78, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 597, | |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "00fa66c1dbaeac162cecfc87e4ec2accbb5634449bbb", | |
| "msg": [40, 50, 22, 40, 49, 44, 35, 2, 16, 13, 11, 82, 56, 18, 51, 20, 47, 29, 75], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 30, 33, 50, 61, 76, 27, 44, 74, 19, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 598, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "00fa66c1dbaeac162cecfc87e4ec2accbb5634449bbb", | |
| "msg": [67, 61, 20, 68, 40, 47, 49, 36, 60, 73, 33, 7, 63, 83, 3, 75, 81, 44, 4], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 26, 56, 84, 0, 11, 75, 54, 70, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 599, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "00fa66c1dbaeac162cecfc87e4ec2accbb5634449bbb", | |
| "msg": [15, 11, 17, 2, 54, 67, 40, 66, 59, 19, 53, 57, 51, 71, 19, 52, 66, 79, 13], | |
| "ct": [52, 8, 1, 53, 35, 27, 14, 5, 2, 39, 51, 6, 67, 48, 2, 41, 3, 78, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 600, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "00fa66c1dbaeac162cecfc87e4ec2accbb5634449bbb", | |
| "msg": [69, 35, 63, 6, 62, 31, 7, 55, 77, 3, 7, 36, 44, 39, 79, 65, 8, 27, 7], | |
| "ct": [84, 17, 44, 65, 38, 2, 60, 47, 84, 70, 47, 59, 4, 54, 70, 4, 51, 29, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 601, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": [-1, 26, 57, 65, 71, 19, 76, 12, 79, 26, 82, 25, 25, 81, 84, 7, 66, 10, 57], | |
| "ct": [3, 11, 6, 50, 41, 67, 62, 26, 10, 10, 10, 24, 15, 30, 7, 17, 57, 14, 38], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 602, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": [33, 26, 57, 65, 71, 19, -1, 12, 79, 26, 82, 25, 25, 81, 84, 7, 66, 10, 57], | |
| "ct": [30, 84, 49, 58, 31, 24, 47, 84, 16, 10, 62, 54, 41, 77, 9, 42, 20, 11, 50], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 603, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": [33, 26, 57, 65, 71, 19, 76, 12, 79, 26, 82, 25, 25, 81, 84, 7, 66, 10, -1], | |
| "ct": [70, 66, 71, 61, 30, 30, 17, 53, 64, 69, 48, 23, 48, 36, 29, 8, 29, 0, 53], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 604, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1dd4fbf95318aaee210bf7998af2e151", | |
| "tweak": "9e51c7c565c4d041", | |
| "msg": [85, 71, 5, 84, 70, 81, 47, 25, 68, 44, 25, 75, 19, 13, 48, 83, 82, 39, 31], | |
| "ct": [12, 60, 44, 65, 6, 79, 5, 11, 0, 72, 24, 34, 63, 65, 62, 48, 54, 2, 14], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 605, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1dd4fbf95318aaee210bf7998af2e151", | |
| "tweak": "9e51c7c565c4d041", | |
| "msg": [81, 71, 5, 84, 70, 81, 85, 25, 68, 44, 25, 75, 19, 13, 48, 83, 82, 39, 31], | |
| "ct": [28, 15, 65, 24, 28, 77, 75, 66, 69, 47, 45, 57, 65, 0, 37, 84, 10, 8, 71], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 606, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1dd4fbf95318aaee210bf7998af2e151", | |
| "tweak": "9e51c7c565c4d041", | |
| "msg": [81, 71, 5, 84, 70, 81, 47, 25, 68, 44, 25, 75, 19, 13, 48, 83, 82, 39, 85], | |
| "ct": [58, 5, 13, 33, 37, 34, 76, 54, 40, 41, 31, 30, 56, 24, 58, 77, 80, 30, 80], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 4, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 607, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f9626066827656fe088a7bf737c1cc1a3a3adc7015ffee7f", | |
| "tweak": "bc6d9ff72c250366", | |
| "msg": [34, 50, 65, 18], | |
| "ct": [20, 76, 49, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 608, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [0, 0, 0, 0], | |
| "ct": [75, 42, 33, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 609, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [84, 84, 84, 84], | |
| "ct": [14, 33, 78, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 610, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [48, 16, 48, 16], | |
| "ct": [17, 26, 29, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 611, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [48, 15, 48, 15], | |
| "ct": [61, 5, 67, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 612, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [7, 30, 41, 17], | |
| "ct": [21, 45, 58, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 613, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [58, 83, 26, 59], | |
| "ct": [63, 43, 21, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 614, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [62, 22, 79, 65], | |
| "ct": [45, 20, 6, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 615, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [3, 56, 76, 7], | |
| "ct": [9, 47, 9, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 616, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [56, 32, 56, 37], | |
| "ct": [70, 56, 29, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 617, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [9, 29, 52, 13], | |
| "ct": [49, 49, 22, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 618, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [39, 14, 62, 6], | |
| "ct": [42, 80, 26, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 619, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [1, 30, 60, 48], | |
| "ct": [0, 29, 62, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 620, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [27, 69, 29, 9], | |
| "ct": [0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 621, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [42, 9, 55, 34], | |
| "ct": [84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 622, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [48, 59, 82, 40], | |
| "ct": [48, 16, 48, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 623, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": [51, 45, 66, 18], | |
| "ct": [48, 15, 48, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 624, | |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "e8d5719379099595d18e33a4a3", | |
| "msg": [0, 0, 48, 71], | |
| "ct": [28, 83, 44, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 625, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "e8d5719379099595d18e33a4a3", | |
| "msg": [0, 1, 48, 71], | |
| "ct": [41, 50, 24, 82], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 626, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "e8d5719379099595d18e33a4a3", | |
| "msg": [48, 16, 48, 71], | |
| "ct": [16, 34, 67, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 627, | |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "e8d5719379099595d18e33a4a3", | |
| "msg": [84, 84, 48, 71], | |
| "ct": [69, 71, 23, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 628, | |
| "comment": "y = 1 and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "8848db3941ff63c2d73299d93f", | |
| "msg": [40, 54, 78, 43], | |
| "ct": [81, 2, 27, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 629, | |
| "comment": "y = 1 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "8848db3941ff63c2d73299d93f", | |
| "msg": [18, 58, 61, 80], | |
| "ct": [45, 13, 75, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 630, | |
| "comment": "y = 1 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "8848db3941ff63c2d73299d93f", | |
| "msg": [39, 33, 74, 45], | |
| "ct": [21, 82, 23, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 631, | |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "8848db3941ff63c2d73299d93f", | |
| "msg": [71, 45, 15, 73], | |
| "ct": [47, 81, 53, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 632, | |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "8848db3941ff63c2d73299d93f", | |
| "msg": [43, 21, 42, 31], | |
| "ct": [52, 38, 53, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 633, | |
| "comment": "y is maximal and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "012ddfdeb32ce9d323dd48e098", | |
| "msg": [71, 14, 4, 33], | |
| "ct": [24, 0, 68, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 634, | |
| "comment": "y is maximal and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "012ddfdeb32ce9d323dd48e098", | |
| "msg": [18, 30, 39, 51], | |
| "ct": [24, 1, 38, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 635, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "012ddfdeb32ce9d323dd48e098", | |
| "msg": [46, 38, 35, 48], | |
| "ct": [72, 16, 11, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 636, | |
| "comment": "y is maximal and (y + a) % radix**2 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "012ddfdeb32ce9d323dd48e098", | |
| "msg": [31, 78, 44, 78], | |
| "ct": [84, 84, 60, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 637, | |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "012ddfdeb32ce9d323dd48e098", | |
| "msg": [29, 70, 36, 73], | |
| "ct": [0, 0, 26, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 638, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "012ddfdeb32ce9d323dd48e098", | |
| "msg": [76, 9, 78, 84], | |
| "ct": [23, 84, 49, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 639, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "ff7f9d8ad63763bb33980fb281", | |
| "msg": [45, 15, 39, 38], | |
| "ct": [15, 75, 39, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 640, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "ff7f9d8ad63763bb33980fb281", | |
| "msg": [68, 68, 44, 65], | |
| "ct": [55, 14, 84, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 641, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "ff7f9d8ad63763bb33980fb281", | |
| "msg": [23, 30, 67, 8], | |
| "ct": [30, 51, 67, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 642, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "ff7f9d8ad63763bb33980fb281", | |
| "msg": [26, 79, 9, 17], | |
| "ct": [51, 53, 33, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 643, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", | |
| "tweak": "2cd30b0db6e83292", | |
| "msg": [-1, 26, 35, 12], | |
| "ct": [35, 14, 81, 16], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 644, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", | |
| "tweak": "2cd30b0db6e83292", | |
| "msg": [29, -1, 35, 12], | |
| "ct": [47, 1, 82, 3], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 645, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", | |
| "tweak": "2cd30b0db6e83292", | |
| "msg": [29, 26, 35, -1], | |
| "ct": [15, 33, 75, 49], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 646, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "115497adde2f2b03c500571460257c2d5d6e4adbf930ed92", | |
| "tweak": "8898e78fe1234981", | |
| "msg": [85, 17, 18, 43], | |
| "ct": [27, 3, 42, 29], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 647, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "115497adde2f2b03c500571460257c2d5d6e4adbf930ed92", | |
| "tweak": "8898e78fe1234981", | |
| "msg": [74, 85, 18, 43], | |
| "ct": [13, 66, 28, 14], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 648, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "115497adde2f2b03c500571460257c2d5d6e4adbf930ed92", | |
| "tweak": "8898e78fe1234981", | |
| "msg": [74, 17, 18, 85], | |
| "ct": [63, 75, 31, 49], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 5, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 649, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "a6c055a8cba4718f411d1a3d9c9e2051261ce3e369b2fa13", | |
| "tweak": "c5d9512a52de22b7", | |
| "msg": [56, 78, 45, 71, 18], | |
| "ct": [39, 56, 29, 54, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 650, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [0, 0, 0, 0, 0], | |
| "ct": [32, 4, 11, 75, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 651, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [84, 84, 84, 84, 84], | |
| "ct": [79, 42, 54, 48, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 652, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [48, 16, 72, 48, 8], | |
| "ct": [49, 51, 63, 44, 78], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 653, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [48, 15, 72, 48, 7], | |
| "ct": [17, 71, 65, 81, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 654, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [66, 3, 64, 27, 77], | |
| "ct": [58, 47, 28, 36, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 655, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [77, 3, 14, 67, 34], | |
| "ct": [71, 30, 64, 77, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 656, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [11, 26, 79, 55, 36], | |
| "ct": [5, 49, 32, 63, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 657, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [9, 47, 27, 11, 41], | |
| "ct": [83, 24, 44, 30, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 658, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [46, 79, 35, 36, 38], | |
| "ct": [66, 44, 63, 17, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 659, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [67, 3, 1, 48, 80], | |
| "ct": [80, 41, 23, 30, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 660, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [66, 84, 17, 60, 25], | |
| "ct": [43, 60, 62, 17, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 661, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [44, 4, 80, 56, 55], | |
| "ct": [16, 6, 7, 83, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 662, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [58, 8, 76, 24, 31], | |
| "ct": [0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 663, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [20, 15, 15, 58, 54], | |
| "ct": [84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 664, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [38, 37, 41, 11, 83], | |
| "ct": [48, 16, 72, 48, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 665, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": [47, 34, 60, 1, 57], | |
| "ct": [48, 15, 72, 48, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 666, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "92c392f460ed6924cddc3608", | |
| "msg": [15, 76, 18, 25, 21], | |
| "ct": [54, 53, 82, 18, 78], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 667, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "92c392f460ed6924cddc3608", | |
| "msg": [61, 7, 65, 26, 5], | |
| "ct": [8, 1, 3, 63, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 668, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "92c392f460ed6924cddc3608", | |
| "msg": [78, 75, 64, 19, 29], | |
| "ct": [54, 71, 79, 63, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 669, | |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "92c392f460ed6924cddc3608", | |
| "msg": [42, 58, 66, 29, 33], | |
| "ct": [69, 6, 7, 84, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 670, | |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "92c392f460ed6924cddc3608", | |
| "msg": [23, 14, 74, 1, 81], | |
| "ct": [53, 25, 21, 9, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 671, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "4e24b2a652b9d24914b4c32a", | |
| "msg": [25, 78, 58, 17, 41], | |
| "ct": [9, 81, 72, 31, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 672, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "4e24b2a652b9d24914b4c32a", | |
| "msg": [39, 46, 53, 62, 60], | |
| "ct": [62, 47, 5, 20, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 673, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "4e24b2a652b9d24914b4c32a", | |
| "msg": [78, 23, 1, 25, 3], | |
| "ct": [50, 18, 19, 13, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 674, | |
| "comment": "y is maximal and (y + a) % radix**2 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "4e24b2a652b9d24914b4c32a", | |
| "msg": [5, 63, 68, 0, 1], | |
| "ct": [78, 60, 84, 71, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 675, | |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "4e24b2a652b9d24914b4c32a", | |
| "msg": [63, 37, 8, 29, 10], | |
| "ct": [81, 12, 33, 31, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 676, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "4e24b2a652b9d24914b4c32a", | |
| "msg": [17, 11, 66, 83, 80], | |
| "ct": [28, 3, 5, 18, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 677, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "c64e2687ab9de9d00081af91", | |
| "msg": [28, 79, 6, 43, 40], | |
| "ct": [65, 6, 4, 2, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 678, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "c64e2687ab9de9d00081af91", | |
| "msg": [83, 2, 60, 25, 55], | |
| "ct": [30, 11, 64, 46, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 679, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "c64e2687ab9de9d00081af91", | |
| "msg": [15, 13, 6, 1, 8], | |
| "ct": [76, 52, 44, 69, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 680, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "c64e2687ab9de9d00081af91", | |
| "msg": [25, 29, 15, 13, 58], | |
| "ct": [65, 72, 32, 18, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 681, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", | |
| "tweak": "2ae737de3b2aa4b0", | |
| "msg": [-1, 63, 84, 45, 54], | |
| "ct": [43, 81, 55, 51, 35], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 682, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", | |
| "tweak": "2ae737de3b2aa4b0", | |
| "msg": [31, -1, 84, 45, 54], | |
| "ct": [43, 37, 50, 52, 23], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 683, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", | |
| "tweak": "2ae737de3b2aa4b0", | |
| "msg": [31, 63, 84, 45, -1], | |
| "ct": [10, 23, 20, 65, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 684, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ddac46d5938acf57e6453139d3133408262e08aa8fd3d716", | |
| "tweak": "e3558a23742ec229", | |
| "msg": [85, 63, 28, 39, 27], | |
| "ct": [58, 48, 28, 14, 46], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 685, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ddac46d5938acf57e6453139d3133408262e08aa8fd3d716", | |
| "tweak": "e3558a23742ec229", | |
| "msg": [16, 85, 28, 39, 27], | |
| "ct": [72, 32, 54, 32, 65], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 686, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ddac46d5938acf57e6453139d3133408262e08aa8fd3d716", | |
| "tweak": "e3558a23742ec229", | |
| "msg": [16, 63, 28, 39, 85], | |
| "ct": [63, 40, 39, 50, 20], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 6, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 687, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "4d7429ddc83d27457a152d4981aab3ddf56dd2410647ad47", | |
| "tweak": "ada060734534dfa1", | |
| "msg": [73, 53, 83, 46, 7, 84], | |
| "ct": [15, 30, 0, 63, 15, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 688, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [0, 0, 0, 0, 0, 0], | |
| "ct": [59, 57, 16, 42, 5, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 689, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [84, 84, 84, 84, 84, 84], | |
| "ct": [78, 53, 13, 84, 9, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 690, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [72, 48, 8, 72, 48, 8], | |
| "ct": [60, 55, 7, 81, 57, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 691, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [72, 48, 7, 72, 48, 7], | |
| "ct": [0, 50, 8, 48, 19, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 692, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [8, 22, 10, 54, 44, 5], | |
| "ct": [71, 79, 36, 53, 54, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 693, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [46, 68, 5, 41, 35, 25], | |
| "ct": [49, 8, 18, 75, 10, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 694, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [19, 82, 64, 63, 71, 14], | |
| "ct": [6, 21, 77, 8, 0, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 695, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [74, 64, 26, 16, 47, 55], | |
| "ct": [54, 77, 24, 37, 66, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 696, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [31, 33, 45, 53, 45, 0], | |
| "ct": [18, 62, 72, 49, 20, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 697, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [42, 65, 2, 54, 17, 49], | |
| "ct": [78, 49, 65, 77, 35, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 698, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [18, 27, 60, 13, 59, 19], | |
| "ct": [0, 69, 31, 66, 48, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 699, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [46, 12, 66, 40, 34, 76], | |
| "ct": [4, 61, 50, 4, 65, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 700, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [11, 37, 36, 7, 79, 57], | |
| "ct": [0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 701, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [55, 37, 31, 49, 56, 15], | |
| "ct": [84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 702, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [38, 37, 43, 12, 35, 80], | |
| "ct": [72, 48, 8, 72, 48, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 703, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": [23, 23, 75, 76, 54, 10], | |
| "ct": [72, 48, 7, 72, 48, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 704, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "253bd3c2be0043ab360c86a2", | |
| "msg": [17, 38, 48, 39, 29, 58], | |
| "ct": [9, 69, 0, 61, 51, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 705, | |
| "comment": "y = 0 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "253bd3c2be0043ab360c86a2", | |
| "msg": [33, 57, 74, 14, 0, 58], | |
| "ct": [40, 68, 83, 48, 36, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 706, | |
| "comment": "y = 0 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "253bd3c2be0043ab360c86a2", | |
| "msg": [62, 45, 53, 68, 38, 1], | |
| "ct": [84, 29, 40, 16, 23, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 707, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "253bd3c2be0043ab360c86a2", | |
| "msg": [77, 31, 54, 2, 54, 16], | |
| "ct": [9, 23, 32, 80, 62, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 708, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "76f61667cb4085bd29ed528d", | |
| "msg": [0, 0, 0, 29, 34, 27], | |
| "ct": [73, 24, 61, 49, 66, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 709, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "76f61667cb4085bd29ed528d", | |
| "msg": [0, 0, 1, 29, 34, 27], | |
| "ct": [82, 46, 36, 63, 84, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 710, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "76f61667cb4085bd29ed528d", | |
| "msg": [2, 60, 84, 29, 34, 27], | |
| "ct": [3, 17, 19, 41, 1, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 711, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "76f61667cb4085bd29ed528d", | |
| "msg": [2, 61, 0, 29, 34, 27], | |
| "ct": [83, 27, 43, 61, 68, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 712, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "76f61667cb4085bd29ed528d", | |
| "msg": [72, 48, 8, 29, 34, 27], | |
| "ct": [62, 43, 0, 60, 13, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 713, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "76f61667cb4085bd29ed528d", | |
| "msg": [84, 84, 84, 29, 34, 27], | |
| "ct": [28, 40, 60, 84, 72, 78], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 714, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "d9e7c5e3f1961cd33a36c686", | |
| "msg": [21, 4, 68, 63, 2, 46], | |
| "ct": [7, 56, 61, 14, 19, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 715, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "d9e7c5e3f1961cd33a36c686", | |
| "msg": [57, 46, 32, 63, 31, 69], | |
| "ct": [61, 18, 82, 69, 17, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 716, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "d9e7c5e3f1961cd33a36c686", | |
| "msg": [36, 8, 75, 18, 79, 65], | |
| "ct": [20, 31, 38, 25, 24, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 717, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "d9e7c5e3f1961cd33a36c686", | |
| "msg": [72, 75, 61, 55, 47, 75], | |
| "ct": [16, 79, 26, 84, 68, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 718, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", | |
| "tweak": "c0b22a647b59d5ca", | |
| "msg": [-1, 15, 75, 64, 11, 24], | |
| "ct": [77, 79, 11, 62, 71, 37], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 719, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", | |
| "tweak": "c0b22a647b59d5ca", | |
| "msg": [36, 15, -1, 64, 11, 24], | |
| "ct": [23, 64, 66, 25, 30, 45], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 720, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", | |
| "tweak": "c0b22a647b59d5ca", | |
| "msg": [36, 15, 75, 64, 11, -1], | |
| "ct": [53, 12, 64, 29, 11, 70], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 721, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "bb2978d48f4e5c125cd7bbcc129f8a2ad093b9a2cf88598d", | |
| "tweak": "15ac069bfbc353e3", | |
| "msg": [85, 79, 18, 81, 50, 15], | |
| "ct": [47, 56, 47, 15, 68, 16], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 722, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "bb2978d48f4e5c125cd7bbcc129f8a2ad093b9a2cf88598d", | |
| "tweak": "15ac069bfbc353e3", | |
| "msg": [51, 79, 85, 81, 50, 15], | |
| "ct": [38, 74, 68, 63, 58, 51], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 723, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "bb2978d48f4e5c125cd7bbcc129f8a2ad093b9a2cf88598d", | |
| "tweak": "15ac069bfbc353e3", | |
| "msg": [51, 79, 18, 81, 50, 85], | |
| "ct": [6, 0, 65, 19, 70, 59], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 7, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 724, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "87f7c60d04f5313cff17a4e7fad56c33b0afb439939c1ab5", | |
| "tweak": "20e854d3f367ab8e", | |
| "msg": [18, 22, 66, 62, 62, 0, 79], | |
| "ct": [50, 30, 1, 76, 68, 36, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 725, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [0, 0, 0, 0, 0, 0, 0], | |
| "ct": [9, 62, 80, 47, 27, 22, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 726, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [84, 84, 84, 84, 84, 84, 84], | |
| "ct": [16, 60, 22, 59, 79, 80, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 727, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [72, 48, 8, 54, 54, 18, 2], | |
| "ct": [29, 67, 10, 0, 55, 81, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 728, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [72, 48, 7, 54, 54, 18, 1], | |
| "ct": [26, 54, 27, 20, 43, 14, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 729, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [9, 26, 58, 16, 57, 0, 45], | |
| "ct": [57, 43, 60, 7, 41, 20, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 730, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [12, 0, 41, 80, 67, 9, 59], | |
| "ct": [84, 66, 76, 14, 17, 46, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 731, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [19, 59, 58, 19, 46, 71, 16], | |
| "ct": [39, 75, 2, 63, 23, 34, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 732, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [71, 66, 70, 19, 42, 32, 26], | |
| "ct": [43, 57, 67, 59, 71, 81, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 733, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [73, 25, 14, 54, 47, 56, 52], | |
| "ct": [1, 78, 42, 80, 21, 34, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 734, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [33, 16, 55, 42, 18, 73, 12], | |
| "ct": [8, 21, 27, 83, 0, 81, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 735, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [40, 79, 15, 7, 65, 32, 5], | |
| "ct": [21, 84, 65, 31, 4, 34, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 736, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [66, 52, 8, 23, 25, 16, 75], | |
| "ct": [22, 18, 50, 8, 73, 29, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 737, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [8, 17, 12, 70, 44, 40, 25], | |
| "ct": [0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 738, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [70, 12, 79, 13, 4, 4, 59], | |
| "ct": [84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 739, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [48, 75, 73, 53, 79, 12, 79], | |
| "ct": [72, 48, 8, 54, 54, 18, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 740, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": [48, 23, 48, 61, 22, 78, 37], | |
| "ct": [72, 48, 7, 54, 54, 18, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 741, | |
| "comment": "y is maximal and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "244e63d681be379220fc46", | |
| "msg": [17, 80, 46, 32, 1, 59, 30], | |
| "ct": [40, 18, 7, 69, 82, 24, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 742, | |
| "comment": "y is maximal and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "244e63d681be379220fc46", | |
| "msg": [66, 1, 15, 83, 10, 51, 56], | |
| "ct": [40, 18, 7, 69, 82, 24, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 743, | |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "244e63d681be379220fc46", | |
| "msg": [23, 63, 75, 6, 2, 21, 36], | |
| "ct": [40, 18, 7, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 744, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "244e63d681be379220fc46", | |
| "msg": [22, 43, 5, 4, 50, 55, 50], | |
| "ct": [40, 18, 7, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 745, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "244e63d681be379220fc46", | |
| "msg": [75, 3, 29, 61, 35, 27, 49], | |
| "ct": [40, 18, 7, 39, 51, 42, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 746, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "244e63d681be379220fc46", | |
| "msg": [81, 68, 24, 17, 62, 52, 64], | |
| "ct": [40, 18, 7, 69, 82, 23, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 747, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", | |
| "tweak": "60ffe987c829b479", | |
| "msg": [-1, 0, 65, 48, 50, 57, 0], | |
| "ct": [65, 69, 37, 20, 29, 25, 20], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 748, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", | |
| "tweak": "60ffe987c829b479", | |
| "msg": [28, 0, -1, 48, 50, 57, 0], | |
| "ct": [18, 58, 67, 82, 4, 57, 57], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 749, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", | |
| "tweak": "60ffe987c829b479", | |
| "msg": [28, 0, 65, 48, 50, 57, -1], | |
| "ct": [78, 30, 76, 16, 28, 72, 79], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 750, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2d2b7f922559160dabb493fec8514c0897a30cca2f2aece2", | |
| "tweak": "126a300455b32ffc", | |
| "msg": [85, 59, 77, 44, 75, 77, 72], | |
| "ct": [63, 9, 71, 34, 28, 59, 16], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 751, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2d2b7f922559160dabb493fec8514c0897a30cca2f2aece2", | |
| "tweak": "126a300455b32ffc", | |
| "msg": [51, 59, 85, 44, 75, 77, 72], | |
| "ct": [21, 38, 4, 39, 74, 52, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 752, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2d2b7f922559160dabb493fec8514c0897a30cca2f2aece2", | |
| "tweak": "126a300455b32ffc", | |
| "msg": [51, 59, 77, 44, 75, 77, 85], | |
| "ct": [42, 0, 55, 40, 55, 5, 36], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 8, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 753, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "92a79c3f030f2aba3096f2537c9d47403d9f4b2ede166d87", | |
| "tweak": "3146e53b9e1162f2", | |
| "msg": [81, 63, 35, 78, 69, 72, 29, 64], | |
| "ct": [30, 38, 31, 16, 57, 25, 16, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 754, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [44, 47, 2, 63, 17, 30, 68, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 755, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [6, 49, 60, 33, 61, 59, 18, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 756, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [54, 54, 18, 2, 54, 54, 18, 2], | |
| "ct": [12, 65, 72, 17, 52, 48, 69, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 757, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [54, 54, 18, 1, 54, 54, 18, 1], | |
| "ct": [72, 65, 38, 54, 68, 67, 29, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 758, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [24, 26, 0, 52, 76, 66, 25, 79], | |
| "ct": [71, 63, 35, 66, 72, 22, 62, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 759, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [67, 12, 28, 34, 28, 40, 80, 81], | |
| "ct": [53, 6, 26, 7, 35, 54, 40, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 760, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [53, 45, 46, 77, 60, 22, 7, 24], | |
| "ct": [22, 45, 54, 39, 46, 18, 80, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 761, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [0, 29, 21, 71, 3, 67, 64, 40], | |
| "ct": [62, 3, 48, 8, 6, 46, 14, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 762, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [58, 50, 38, 39, 30, 8, 38, 72], | |
| "ct": [27, 26, 58, 43, 27, 37, 11, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 763, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [69, 54, 81, 65, 69, 52, 56, 76], | |
| "ct": [77, 32, 4, 52, 6, 50, 4, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 764, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [45, 35, 64, 5, 71, 48, 8, 42], | |
| "ct": [17, 6, 84, 78, 75, 26, 13, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 765, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [16, 59, 53, 84, 58, 56, 64, 12], | |
| "ct": [62, 47, 63, 6, 1, 52, 11, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 766, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [26, 48, 5, 11, 30, 8, 41, 0], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 767, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [47, 50, 20, 0, 31, 37, 64, 45], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 768, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [24, 59, 82, 46, 79, 65, 32, 4], | |
| "ct": [54, 54, 18, 2, 54, 54, 18, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 769, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": [37, 43, 27, 47, 58, 15, 84, 67], | |
| "ct": [54, 54, 18, 1, 54, 54, 18, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 770, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "38bb3acf30e5fdcc3d8d95", | |
| "msg": [83, 81, 79, 43, 33, 40, 14, 58], | |
| "ct": [20, 0, 77, 20, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 771, | |
| "comment": "y = 0 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "38bb3acf30e5fdcc3d8d95", | |
| "msg": [76, 0, 69, 2, 72, 56, 81, 30], | |
| "ct": [20, 0, 77, 20, 0, 0, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 772, | |
| "comment": "y = 0 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "38bb3acf30e5fdcc3d8d95", | |
| "msg": [65, 5, 45, 21, 0, 12, 69, 47], | |
| "ct": [20, 0, 77, 20, 54, 54, 18, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 773, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "38bb3acf30e5fdcc3d8d95", | |
| "msg": [54, 47, 60, 20, 82, 5, 52, 68], | |
| "ct": [20, 0, 77, 20, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 774, | |
| "comment": "y = 1 and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "6bd9fd22dfb51a4b96eea2", | |
| "msg": [54, 26, 83, 28, 53, 70, 33, 75], | |
| "ct": [28, 18, 12, 64, 64, 42, 42, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 775, | |
| "comment": "y = 1 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "6bd9fd22dfb51a4b96eea2", | |
| "msg": [64, 13, 61, 79, 61, 14, 35, 45], | |
| "ct": [56, 66, 9, 39, 43, 55, 42, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 776, | |
| "comment": "y = 1 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "6bd9fd22dfb51a4b96eea2", | |
| "msg": [1, 51, 11, 40, 58, 69, 75, 21], | |
| "ct": [53, 0, 79, 63, 35, 36, 63, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 777, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "6bd9fd22dfb51a4b96eea2", | |
| "msg": [75, 18, 43, 24, 52, 72, 18, 27], | |
| "ct": [34, 49, 58, 21, 44, 5, 63, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 778, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "6bd9fd22dfb51a4b96eea2", | |
| "msg": [5, 37, 0, 67, 48, 30, 55, 2], | |
| "ct": [30, 35, 41, 65, 17, 41, 59, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 779, | |
| "comment": "y is maximal and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "3cd66ca72c6703491f8b33", | |
| "msg": [52, 40, 35, 82, 44, 83, 49, 14], | |
| "ct": [37, 20, 76, 62, 69, 82, 24, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 780, | |
| "comment": "y is maximal and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "3cd66ca72c6703491f8b33", | |
| "msg": [40, 70, 33, 35, 66, 61, 1, 57], | |
| "ct": [37, 20, 76, 62, 69, 82, 24, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 781, | |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "3cd66ca72c6703491f8b33", | |
| "msg": [30, 74, 28, 76, 2, 72, 17, 71], | |
| "ct": [37, 20, 76, 62, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 782, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "3cd66ca72c6703491f8b33", | |
| "msg": [36, 21, 76, 80, 40, 17, 74, 64], | |
| "ct": [37, 20, 76, 62, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 783, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "3cd66ca72c6703491f8b33", | |
| "msg": [45, 52, 59, 19, 39, 7, 80, 17], | |
| "ct": [37, 20, 76, 62, 39, 51, 42, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 784, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "3cd66ca72c6703491f8b33", | |
| "msg": [26, 51, 55, 4, 70, 0, 9, 7], | |
| "ct": [37, 20, 76, 62, 69, 82, 23, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 785, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "4cf794174d6d3e75286167", | |
| "msg": [0, 0, 0, 0, 59, 59, 56, 25], | |
| "ct": [11, 75, 55, 9, 71, 5, 48, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 786, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "4cf794174d6d3e75286167", | |
| "msg": [0, 0, 0, 1, 59, 59, 56, 25], | |
| "ct": [9, 3, 32, 47, 64, 20, 21, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 787, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "4cf794174d6d3e75286167", | |
| "msg": [54, 54, 18, 2, 59, 59, 56, 25], | |
| "ct": [53, 4, 6, 49, 62, 22, 33, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 788, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "4cf794174d6d3e75286167", | |
| "msg": [84, 84, 84, 84, 59, 59, 56, 25], | |
| "ct": [9, 61, 74, 27, 50, 23, 69, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 789, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", | |
| "tweak": "1a7d6192c4daa46f", | |
| "msg": [-1, 72, 69, 30, 15, 35, 67, 24], | |
| "ct": [84, 30, 31, 43, 68, 14, 56, 25], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 790, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", | |
| "tweak": "1a7d6192c4daa46f", | |
| "msg": [25, 72, -1, 30, 15, 35, 67, 24], | |
| "ct": [80, 78, 73, 22, 68, 12, 42, 47], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 791, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", | |
| "tweak": "1a7d6192c4daa46f", | |
| "msg": [25, 72, 69, 30, 15, 35, 67, -1], | |
| "ct": [61, 35, 15, 75, 46, 50, 41, 23], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 792, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "060e85d45ff556aa4268529b34bc7fe200f6ce158e6c29da", | |
| "tweak": "f6e7e8a3f1258cf4", | |
| "msg": [85, 2, 29, 12, 7, 81, 5, 25], | |
| "ct": [6, 79, 65, 9, 74, 72, 34, 4], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 793, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "060e85d45ff556aa4268529b34bc7fe200f6ce158e6c29da", | |
| "tweak": "f6e7e8a3f1258cf4", | |
| "msg": [24, 2, 85, 12, 7, 81, 5, 25], | |
| "ct": [83, 18, 48, 52, 36, 80, 40, 28], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 794, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "060e85d45ff556aa4268529b34bc7fe200f6ce158e6c29da", | |
| "tweak": "f6e7e8a3f1258cf4", | |
| "msg": [24, 2, 29, 12, 7, 81, 5, 85], | |
| "ct": [82, 44, 22, 65, 11, 68, 24, 6], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 9, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 795, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "c5fa236ae679d3c1d533758578e3a5c48752179eb298ac0e", | |
| "tweak": "72ac4fc84f5bc825", | |
| "msg": [61, 59, 46, 58, 27, 80, 54, 43, 18], | |
| "ct": [39, 44, 75, 28, 82, 16, 7, 39, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 796, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [72, 59, 57, 28, 77, 47, 7, 54, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 797, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [27, 55, 77, 69, 73, 14, 64, 83, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 798, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [54, 54, 18, 2, 82, 23, 54, 12, 1], | |
| "ct": [1, 31, 52, 14, 56, 73, 17, 47, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 799, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [54, 54, 18, 1, 82, 23, 54, 12, 0], | |
| "ct": [33, 69, 44, 53, 31, 30, 57, 65, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 800, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [80, 59, 1, 64, 23, 62, 3, 64, 77], | |
| "ct": [78, 10, 70, 80, 16, 31, 66, 68, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 801, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [2, 0, 10, 20, 67, 14, 19, 34, 15], | |
| "ct": [73, 29, 52, 44, 14, 3, 29, 66, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 802, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [62, 36, 8, 5, 75, 38, 47, 77, 57], | |
| "ct": [21, 80, 9, 84, 80, 10, 44, 18, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 803, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [16, 34, 52, 49, 4, 8, 27, 52, 57], | |
| "ct": [20, 38, 25, 43, 41, 53, 83, 2, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 804, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [19, 36, 53, 22, 8, 50, 6, 21, 47], | |
| "ct": [24, 26, 1, 78, 60, 63, 76, 7, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 805, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [14, 68, 22, 37, 4, 50, 70, 7, 83], | |
| "ct": [56, 65, 54, 3, 40, 34, 10, 0, 82], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 806, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [40, 59, 64, 61, 14, 41, 57, 37, 31], | |
| "ct": [29, 74, 8, 38, 6, 69, 44, 54, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 807, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [34, 44, 84, 14, 15, 57, 65, 20, 25], | |
| "ct": [61, 53, 45, 19, 3, 7, 30, 69, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 808, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [80, 81, 77, 59, 73, 74, 29, 48, 69], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 809, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [9, 55, 77, 82, 15, 13, 27, 51, 40], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 810, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [22, 66, 78, 83, 54, 41, 31, 71, 13], | |
| "ct": [54, 54, 18, 2, 82, 23, 54, 12, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 811, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": [27, 71, 42, 11, 69, 29, 67, 65, 11], | |
| "ct": [54, 54, 18, 1, 82, 23, 54, 12, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 812, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "44bae8f51567abefca32", | |
| "msg": [38, 77, 45, 15, 13, 79, 70, 65, 3], | |
| "ct": [48, 72, 14, 29, 3, 39, 21, 44, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 813, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "44bae8f51567abefca32", | |
| "msg": [9, 81, 0, 43, 9, 9, 0, 17, 3], | |
| "ct": [57, 30, 18, 21, 13, 74, 77, 45, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 814, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "44bae8f51567abefca32", | |
| "msg": [62, 14, 47, 19, 83, 82, 77, 35, 22], | |
| "ct": [55, 39, 20, 52, 12, 72, 80, 52, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 815, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "44bae8f51567abefca32", | |
| "msg": [22, 37, 39, 38, 7, 44, 0, 50, 8], | |
| "ct": [22, 53, 71, 54, 65, 80, 22, 7, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 816, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "44bae8f51567abefca32", | |
| "msg": [37, 33, 7, 48, 52, 17, 72, 59, 31], | |
| "ct": [2, 8, 4, 27, 18, 33, 9, 44, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 817, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", | |
| "tweak": "2f4481b579f8a5f8", | |
| "msg": [-1, 46, 30, 40, 33, 71, 34, 22, 8], | |
| "ct": [82, 55, 16, 41, 16, 24, 23, 16, 22], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 818, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", | |
| "tweak": "2f4481b579f8a5f8", | |
| "msg": [23, 46, 30, -1, 33, 71, 34, 22, 8], | |
| "ct": [20, 33, 36, 61, 53, 15, 58, 10, 77], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 819, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", | |
| "tweak": "2f4481b579f8a5f8", | |
| "msg": [23, 46, 30, 40, 33, 71, 34, 22, -1], | |
| "ct": [27, 22, 1, 58, 52, 48, 55, 44, 12], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 820, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9c1811cf7a13549eac199e34e869d3fd187358f15cd8c919", | |
| "tweak": "c49d3690f96fd61d", | |
| "msg": [85, 18, 33, 40, 30, 39, 6, 60, 16], | |
| "ct": [51, 24, 53, 8, 39, 72, 75, 38, 59], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 821, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9c1811cf7a13549eac199e34e869d3fd187358f15cd8c919", | |
| "tweak": "c49d3690f96fd61d", | |
| "msg": [0, 18, 33, 85, 30, 39, 6, 60, 16], | |
| "ct": [66, 36, 65, 76, 10, 65, 58, 33, 71], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 822, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9c1811cf7a13549eac199e34e869d3fd187358f15cd8c919", | |
| "tweak": "c49d3690f96fd61d", | |
| "msg": [0, 18, 33, 40, 30, 39, 6, 60, 85], | |
| "ct": [28, 42, 27, 48, 39, 39, 69, 15, 61], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 10, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 823, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "8cf0a0e458eba1cc12ed18041ba331835519346134d0e908", | |
| "tweak": "ea8c0ae555bb05ce", | |
| "msg": [83, 76, 12, 47, 78, 75, 48, 28, 40, 62], | |
| "ct": [8, 45, 33, 33, 19, 59, 68, 56, 58, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 824, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [61, 15, 35, 0, 28, 23, 46, 13, 34, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 825, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [0, 58, 79, 81, 69, 22, 40, 50, 47, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 826, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [82, 23, 54, 12, 1, 82, 23, 54, 12, 1], | |
| "ct": [27, 6, 23, 37, 61, 23, 51, 63, 48, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 827, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [82, 23, 54, 12, 0, 82, 23, 54, 12, 0], | |
| "ct": [54, 78, 45, 74, 51, 78, 20, 22, 82, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 828, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [49, 27, 32, 82, 27, 28, 57, 52, 46, 31], | |
| "ct": [42, 18, 55, 56, 8, 6, 48, 52, 28, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 829, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [41, 37, 16, 21, 70, 20, 20, 66, 0, 76], | |
| "ct": [15, 72, 33, 45, 53, 73, 30, 39, 61, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 830, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [35, 69, 26, 50, 41, 49, 60, 48, 73, 8], | |
| "ct": [22, 47, 36, 39, 84, 47, 24, 31, 26, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 831, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [59, 6, 58, 14, 52, 7, 0, 52, 51, 5], | |
| "ct": [16, 32, 75, 29, 83, 42, 32, 66, 24, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 832, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [74, 22, 13, 17, 5, 66, 43, 58, 74, 13], | |
| "ct": [7, 61, 5, 30, 67, 39, 55, 82, 17, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 833, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [53, 83, 54, 69, 47, 42, 71, 32, 15, 34], | |
| "ct": [66, 77, 41, 10, 9, 31, 11, 64, 69, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 834, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [1, 57, 11, 24, 34, 7, 67, 35, 58, 5], | |
| "ct": [10, 45, 4, 56, 12, 37, 46, 12, 57, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 835, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [82, 60, 63, 35, 58, 62, 80, 18, 37, 11], | |
| "ct": [80, 44, 0, 11, 8, 61, 81, 39, 61, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 836, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [47, 10, 25, 0, 31, 64, 31, 40, 8, 43], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 837, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [13, 18, 15, 20, 57, 65, 40, 11, 63, 48], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 838, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [51, 6, 4, 28, 60, 25, 74, 5, 29, 35], | |
| "ct": [82, 23, 54, 12, 1, 82, 23, 54, 12, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 839, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": [60, 43, 57, 38, 45, 19, 77, 38, 71, 57], | |
| "ct": [82, 23, 54, 12, 0, 82, 23, 54, 12, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 840, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", | |
| "tweak": "4343b0033d260a29", | |
| "msg": [-1, 3, 54, 80, 75, 33, 33, 4, 38, 17], | |
| "ct": [72, 29, 57, 84, 76, 69, 25, 34, 42, 27], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 841, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", | |
| "tweak": "4343b0033d260a29", | |
| "msg": [60, 3, 54, -1, 75, 33, 33, 4, 38, 17], | |
| "ct": [71, 46, 72, 65, 4, 54, 22, 1, 70, 7], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 842, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", | |
| "tweak": "4343b0033d260a29", | |
| "msg": [60, 3, 54, 80, 75, 33, 33, 4, 38, -1], | |
| "ct": [0, 72, 74, 76, 17, 18, 64, 33, 29, 61], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 843, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8722800b088373ef24f85bc9aac8a44f31c30e0c6901b506", | |
| "tweak": "d11f20b9ff8a1475", | |
| "msg": [85, 66, 7, 13, 40, 13, 52, 16, 83, 0], | |
| "ct": [61, 49, 7, 57, 69, 79, 75, 58, 82, 38], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 844, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8722800b088373ef24f85bc9aac8a44f31c30e0c6901b506", | |
| "tweak": "d11f20b9ff8a1475", | |
| "msg": [48, 66, 7, 85, 40, 13, 52, 16, 83, 0], | |
| "ct": [27, 16, 9, 83, 12, 78, 76, 23, 28, 78], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 845, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8722800b088373ef24f85bc9aac8a44f31c30e0c6901b506", | |
| "tweak": "d11f20b9ff8a1475", | |
| "msg": [48, 66, 7, 13, 40, 13, 52, 16, 83, 85], | |
| "ct": [60, 68, 19, 15, 58, 81, 12, 69, 48, 16], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 11, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 846, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f8a4cc9863b4aa6eb5b16e9401b0b83e25dd78a96abe6870", | |
| "tweak": "8d5a3a9b130e7bad", | |
| "msg": [74, 4, 62, 42, 1, 83, 21, 2, 32, 21, 35], | |
| "ct": [7, 62, 77, 82, 51, 62, 3, 39, 66, 83, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 847, | |
| "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": [18, 36, 35, 8, 56, 70, 55, 24, 57, 19, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 848, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [22, 4, 10, 60, 69, 84, 38, 11, 44, 0, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 849, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [82, 23, 54, 12, 1, 61, 80, 67, 65, 3, 64], | |
| "ct": [33, 4, 62, 34, 52, 65, 67, 29, 19, 1, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 850, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [82, 23, 54, 12, 0, 61, 80, 67, 65, 3, 63], | |
| "ct": [4, 53, 37, 19, 40, 70, 20, 67, 75, 62, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 851, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [83, 28, 68, 5, 84, 35, 45, 77, 43, 64, 43], | |
| "ct": [74, 81, 66, 8, 20, 60, 72, 20, 16, 14, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 852, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [23, 40, 57, 56, 16, 0, 55, 42, 27, 54, 21], | |
| "ct": [16, 73, 36, 14, 82, 20, 53, 56, 79, 63, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 853, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [67, 17, 4, 58, 66, 43, 37, 4, 79, 2, 78], | |
| "ct": [67, 54, 30, 63, 29, 73, 66, 27, 12, 47, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 854, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [26, 63, 35, 59, 67, 62, 1, 3, 10, 43, 16], | |
| "ct": [80, 46, 0, 24, 32, 47, 28, 20, 20, 33, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 855, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [66, 53, 20, 68, 2, 73, 32, 31, 78, 64, 54], | |
| "ct": [48, 52, 72, 65, 72, 72, 72, 4, 18, 60, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 856, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [18, 83, 25, 65, 8, 81, 48, 59, 62, 28, 41], | |
| "ct": [72, 63, 16, 0, 47, 49, 21, 56, 11, 20, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 857, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [24, 2, 62, 73, 2, 35, 41, 45, 14, 74, 58], | |
| "ct": [65, 28, 71, 45, 4, 49, 62, 56, 14, 10, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 858, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [65, 37, 63, 7, 78, 72, 41, 12, 23, 71, 5], | |
| "ct": [17, 10, 81, 46, 54, 6, 51, 30, 78, 22, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 859, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [20, 35, 38, 37, 24, 6, 14, 79, 62, 48, 46], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 860, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [48, 12, 57, 32, 53, 56, 81, 28, 8, 61, 41], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 861, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [43, 65, 10, 29, 20, 10, 10, 80, 38, 81, 79], | |
| "ct": [82, 23, 54, 12, 1, 61, 80, 67, 65, 3, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 862, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": [5, 73, 80, 64, 54, 37, 3, 18, 15, 6, 61], | |
| "ct": [82, 23, 54, 12, 0, 61, 80, 67, 65, 3, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 863, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "f50866784eee9642087a", | |
| "msg": [24, 33, 38, 38, 21, 65, 79, 59, 71, 11, 71], | |
| "ct": [0, 0, 0, 0, 0, 37, 6, 82, 53, 5, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 864, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "f50866784eee9642087a", | |
| "msg": [68, 4, 60, 1, 18, 11, 55, 44, 72, 1, 43], | |
| "ct": [0, 0, 0, 0, 1, 37, 45, 32, 2, 32, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 865, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "f50866784eee9642087a", | |
| "msg": [46, 8, 66, 79, 43, 55, 25, 55, 29, 0, 10], | |
| "ct": [82, 23, 54, 12, 1, 13, 62, 27, 42, 51, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 866, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "f50866784eee9642087a", | |
| "msg": [11, 31, 23, 57, 20, 66, 28, 48, 15, 15, 74], | |
| "ct": [84, 84, 84, 84, 84, 34, 52, 6, 72, 48, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 867, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "ef892f0f83cef3e7b659", | |
| "msg": [16, 74, 46, 31, 83, 16, 49, 25, 81, 56, 12], | |
| "ct": [5, 3, 52, 6, 37, 67, 50, 53, 82, 38, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 868, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "ef892f0f83cef3e7b659", | |
| "msg": [53, 44, 82, 5, 66, 66, 78, 45, 39, 27, 49], | |
| "ct": [22, 26, 17, 56, 52, 83, 13, 77, 79, 81, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 869, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "ef892f0f83cef3e7b659", | |
| "msg": [27, 38, 19, 65, 78, 55, 83, 34, 26, 0, 28], | |
| "ct": [34, 75, 65, 9, 71, 61, 74, 63, 19, 45, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 870, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "ef892f0f83cef3e7b659", | |
| "msg": [22, 5, 84, 50, 64, 54, 84, 40, 70, 52, 83], | |
| "ct": [25, 4, 40, 68, 65, 0, 75, 23, 48, 83, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 871, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "ef892f0f83cef3e7b659", | |
| "msg": [81, 2, 81, 75, 39, 25, 81, 7, 74, 40, 46], | |
| "ct": [54, 75, 2, 52, 46, 15, 73, 45, 84, 57, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 872, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5ab07b04bb404c6e3e16", | |
| "msg": [70, 63, 8, 36, 1, 69, 49, 61, 19, 41, 76], | |
| "ct": [77, 70, 14, 55, 54, 76, 39, 30, 81, 35, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 873, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5ab07b04bb404c6e3e16", | |
| "msg": [84, 58, 49, 12, 34, 13, 63, 51, 17, 53, 46], | |
| "ct": [50, 66, 79, 6, 43, 62, 16, 65, 8, 69, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 874, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5ab07b04bb404c6e3e16", | |
| "msg": [28, 27, 60, 12, 60, 83, 45, 15, 56, 51, 45], | |
| "ct": [26, 29, 39, 62, 23, 58, 29, 76, 11, 53, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 875, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5ab07b04bb404c6e3e16", | |
| "msg": [14, 31, 39, 62, 38, 62, 31, 45, 76, 83, 48], | |
| "ct": [64, 49, 51, 34, 69, 15, 60, 29, 15, 30, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 876, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5ab07b04bb404c6e3e16", | |
| "msg": [66, 16, 40, 7, 41, 6, 81, 3, 57, 45, 0], | |
| "ct": [55, 65, 18, 76, 21, 4, 65, 49, 35, 64, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 877, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "5ab07b04bb404c6e3e16", | |
| "msg": [24, 14, 52, 49, 84, 60, 2, 8, 55, 71, 42], | |
| "ct": [34, 63, 36, 22, 0, 79, 36, 28, 61, 16, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 878, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "a709e9c82ce783b5d4a9", | |
| "msg": [62, 10, 19, 54, 54, 15, 4, 28, 70, 35, 26], | |
| "ct": [64, 46, 11, 7, 15, 17, 25, 24, 54, 25, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 879, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "a709e9c82ce783b5d4a9", | |
| "msg": [51, 81, 0, 22, 56, 84, 38, 42, 62, 24, 51], | |
| "ct": [82, 49, 10, 45, 21, 1, 50, 57, 18, 13, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 880, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "a709e9c82ce783b5d4a9", | |
| "msg": [28, 42, 47, 14, 55, 10, 31, 59, 34, 59, 62], | |
| "ct": [32, 42, 24, 14, 75, 38, 52, 40, 12, 70, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 881, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", | |
| "tweak": "a709e9c82ce783b5d4a9", | |
| "msg": [37, 50, 26, 38, 43, 21, 54, 3, 84, 47, 84], | |
| "ct": [49, 46, 57, 54, 72, 79, 23, 29, 40, 28, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 882, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", | |
| "tweak": "d0d85e79b79f69f7", | |
| "msg": [-1, 47, 53, 72, 30, 61, 24, 67, 72, 7, 26], | |
| "ct": [80, 53, 74, 22, 21, 34, 0, 67, 62, 61, 65], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 883, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", | |
| "tweak": "d0d85e79b79f69f7", | |
| "msg": [40, 47, 53, -1, 30, 61, 24, 67, 72, 7, 26], | |
| "ct": [7, 0, 82, 21, 79, 83, 71, 59, 81, 54, 7], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 884, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", | |
| "tweak": "d0d85e79b79f69f7", | |
| "msg": [40, 47, 53, 72, 30, 61, 24, 67, 72, 7, -1], | |
| "ct": [31, 24, 47, 12, 33, 0, 16, 41, 8, 78, 59], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 885, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd305caa657e5b5411390929e4c019cd55a92347319be547", | |
| "tweak": "cb8295df5abea6dd", | |
| "msg": [85, 30, 64, 33, 5, 44, 17, 31, 20, 0, 50], | |
| "ct": [12, 2, 3, 49, 20, 12, 68, 39, 77, 42, 69], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 886, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd305caa657e5b5411390929e4c019cd55a92347319be547", | |
| "tweak": "cb8295df5abea6dd", | |
| "msg": [3, 30, 64, 85, 5, 44, 17, 31, 20, 0, 50], | |
| "ct": [35, 14, 60, 8, 73, 67, 83, 25, 71, 22, 18], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 887, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd305caa657e5b5411390929e4c019cd55a92347319be547", | |
| "tweak": "cb8295df5abea6dd", | |
| "msg": [3, 30, 64, 33, 5, 44, 17, 31, 20, 0, 85], | |
| "ct": [6, 43, 49, 11, 32, 68, 56, 10, 29, 64, 39], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 12, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 888, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f095a5d39f0b499cef0130b4eb3bfae90253a1f30270efb5", | |
| "tweak": "36b5ea2cee9c08d6", | |
| "msg": [51, 2, 78, 60, 18, 7, 44, 26, 18, 32, 36, 51], | |
| "ct": [2, 29, 69, 37, 33, 38, 15, 4, 10, 69, 17, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 889, | |
| "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": [31, 6, 44, 17, 19, 12, 47, 15, 43, 79, 69, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 890, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [6, 52, 41, 59, 77, 29, 28, 43, 44, 79, 14, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 891, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [61, 80, 67, 65, 3, 64, 61, 80, 67, 65, 3, 64], | |
| "ct": [28, 75, 5, 21, 26, 32, 60, 41, 40, 52, 71, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 892, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [61, 80, 67, 65, 3, 63, 61, 80, 67, 65, 3, 63], | |
| "ct": [26, 48, 41, 11, 71, 13, 41, 9, 81, 54, 19, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 893, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [44, 17, 14, 30, 41, 4, 5, 35, 29, 83, 40, 58], | |
| "ct": [12, 27, 67, 49, 0, 5, 56, 31, 56, 42, 7, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 894, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [13, 55, 2, 60, 74, 73, 61, 34, 32, 56, 22, 32], | |
| "ct": [23, 66, 32, 64, 14, 33, 52, 69, 3, 15, 80, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 895, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [74, 61, 77, 74, 80, 73, 44, 37, 61, 64, 61, 28], | |
| "ct": [76, 4, 49, 52, 28, 34, 50, 41, 68, 45, 74, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 896, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [34, 46, 53, 33, 10, 50, 80, 41, 37, 30, 32, 16], | |
| "ct": [81, 29, 56, 55, 3, 6, 71, 49, 76, 15, 22, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 897, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [22, 15, 83, 43, 74, 39, 77, 40, 23, 17, 53, 33], | |
| "ct": [49, 0, 61, 20, 63, 36, 20, 36, 35, 16, 47, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 898, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [25, 25, 46, 51, 0, 60, 40, 43, 23, 69, 35, 37], | |
| "ct": [43, 51, 78, 52, 67, 24, 4, 71, 10, 68, 7, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 899, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [42, 82, 26, 44, 48, 37, 60, 35, 72, 59, 80, 79], | |
| "ct": [70, 2, 47, 70, 28, 65, 13, 36, 42, 69, 25, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 900, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [21, 61, 18, 35, 48, 32, 8, 31, 62, 76, 15, 40], | |
| "ct": [19, 33, 32, 21, 48, 5, 36, 31, 4, 24, 34, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 901, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [8, 15, 19, 50, 4, 9, 72, 62, 53, 32, 75, 83], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 902, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [20, 44, 5, 48, 83, 73, 10, 8, 59, 35, 25, 5], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 903, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [44, 83, 63, 46, 19, 70, 13, 12, 58, 39, 23, 0], | |
| "ct": [61, 80, 67, 65, 3, 64, 61, 80, 67, 65, 3, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 904, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": [57, 24, 48, 4, 55, 56, 66, 84, 13, 40, 19, 8], | |
| "ct": [61, 80, 67, 65, 3, 63, 61, 80, 67, 65, 3, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 905, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "834ab615bb6e87f1bef0", | |
| "msg": [66, 62, 1, 51, 46, 82, 8, 70, 68, 75, 30, 10], | |
| "ct": [0, 0, 0, 0, 0, 0, 42, 59, 36, 34, 33, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 906, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "834ab615bb6e87f1bef0", | |
| "msg": [66, 65, 57, 8, 47, 55, 62, 73, 84, 49, 19, 35], | |
| "ct": [0, 0, 0, 0, 0, 1, 31, 41, 38, 66, 30, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 907, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "834ab615bb6e87f1bef0", | |
| "msg": [73, 61, 24, 35, 62, 52, 2, 31, 10, 31, 33, 84], | |
| "ct": [61, 80, 67, 65, 3, 64, 43, 5, 59, 21, 37, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 908, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "834ab615bb6e87f1bef0", | |
| "msg": [33, 7, 42, 61, 27, 4, 80, 0, 58, 55, 76, 42], | |
| "ct": [84, 84, 84, 84, 84, 84, 7, 62, 12, 41, 74, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 909, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "6c8071610cc123ab695b", | |
| "msg": [0, 0, 0, 0, 0, 0, 44, 20, 57, 83, 59, 56], | |
| "ct": [58, 66, 11, 6, 18, 49, 37, 59, 31, 24, 54, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 910, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "6c8071610cc123ab695b", | |
| "msg": [0, 0, 0, 0, 0, 1, 44, 20, 57, 83, 59, 56], | |
| "ct": [28, 46, 6, 3, 69, 56, 79, 13, 44, 5, 63, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 911, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "6c8071610cc123ab695b", | |
| "msg": [61, 80, 67, 65, 3, 64, 44, 20, 57, 83, 59, 56], | |
| "ct": [40, 43, 48, 3, 13, 50, 17, 6, 2, 19, 17, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 912, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "6c8071610cc123ab695b", | |
| "msg": [84, 84, 84, 84, 84, 83, 44, 20, 57, 83, 59, 56], | |
| "ct": [20, 17, 25, 72, 1, 17, 52, 35, 41, 68, 66, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 913, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "6c8071610cc123ab695b", | |
| "msg": [84, 84, 84, 84, 84, 84, 44, 20, 57, 83, 59, 56], | |
| "ct": [15, 50, 1, 49, 19, 23, 18, 47, 14, 16, 41, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 914, | |
| "comment": "y is maximal and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "ad00cf9aabec7a64f246", | |
| "msg": [67, 84, 84, 42, 61, 76, 6, 45, 52, 65, 56, 59], | |
| "ct": [9, 65, 61, 67, 80, 73, 63, 44, 81, 84, 36, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 915, | |
| "comment": "y is maximal and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "ad00cf9aabec7a64f246", | |
| "msg": [65, 45, 80, 3, 64, 53, 56, 73, 44, 19, 52, 47], | |
| "ct": [9, 65, 61, 67, 80, 73, 63, 44, 81, 84, 36, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 916, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "ad00cf9aabec7a64f246", | |
| "msg": [57, 48, 16, 81, 60, 37, 34, 54, 66, 47, 53, 42], | |
| "ct": [9, 65, 61, 67, 80, 73, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 917, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "ad00cf9aabec7a64f246", | |
| "msg": [32, 33, 59, 9, 24, 58, 36, 5, 50, 58, 31, 83], | |
| "ct": [9, 65, 61, 67, 80, 73, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 918, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "ad00cf9aabec7a64f246", | |
| "msg": [76, 57, 14, 83, 4, 21, 59, 49, 64, 74, 51, 4], | |
| "ct": [9, 65, 61, 67, 80, 73, 40, 40, 64, 64, 39, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 919, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "ad00cf9aabec7a64f246", | |
| "msg": [41, 70, 79, 72, 65, 27, 74, 75, 8, 55, 45, 61], | |
| "ct": [9, 65, 61, 67, 80, 73, 63, 44, 81, 84, 35, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 920, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "8c2103edf43d99ec61db", | |
| "msg": [60, 73, 76, 39, 20, 4, 44, 68, 36, 2, 4, 81], | |
| "ct": [65, 22, 42, 54, 32, 10, 71, 17, 4, 61, 58, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 921, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "8c2103edf43d99ec61db", | |
| "msg": [78, 31, 58, 6, 15, 83, 68, 54, 17, 9, 3, 65], | |
| "ct": [13, 30, 84, 67, 6, 1, 52, 1, 71, 59, 20, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 922, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "8c2103edf43d99ec61db", | |
| "msg": [16, 25, 45, 11, 69, 3, 9, 77, 24, 67, 81, 39], | |
| "ct": [37, 43, 6, 29, 38, 20, 21, 43, 45, 16, 46, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 923, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "8c2103edf43d99ec61db", | |
| "msg": [82, 16, 41, 83, 22, 23, 22, 10, 69, 2, 58, 7], | |
| "ct": [18, 71, 3, 31, 10, 21, 23, 38, 68, 47, 59, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 924, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", | |
| "tweak": "1f8dcd3dd4e01cbd", | |
| "msg": [-1, 7, 5, 83, 7, 15, 5, 2, 59, 41, 1, 11], | |
| "ct": [55, 61, 0, 2, 43, 54, 48, 71, 58, 35, 22, 61], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 925, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", | |
| "tweak": "1f8dcd3dd4e01cbd", | |
| "msg": [17, 7, 5, 83, -1, 15, 5, 2, 59, 41, 1, 11], | |
| "ct": [34, 40, 69, 29, 17, 46, 12, 48, 43, 37, 57, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 926, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", | |
| "tweak": "1f8dcd3dd4e01cbd", | |
| "msg": [17, 7, 5, 83, 7, 15, 5, 2, 59, 41, 1, -1], | |
| "ct": [74, 79, 71, 83, 10, 80, 39, 36, 47, 7, 40, 53], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 927, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "236359f52941c0572e90a1d45d8280d437065560552e3d73", | |
| "tweak": "90d752cf97485a2d", | |
| "msg": [85, 31, 9, 43, 58, 27, 44, 81, 63, 72, 47, 80], | |
| "ct": [2, 9, 65, 70, 31, 0, 49, 20, 72, 71, 45, 23], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 928, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "236359f52941c0572e90a1d45d8280d437065560552e3d73", | |
| "tweak": "90d752cf97485a2d", | |
| "msg": [21, 31, 9, 43, 85, 27, 44, 81, 63, 72, 47, 80], | |
| "ct": [58, 2, 49, 20, 24, 29, 52, 6, 40, 60, 37, 45], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 929, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "236359f52941c0572e90a1d45d8280d437065560552e3d73", | |
| "tweak": "90d752cf97485a2d", | |
| "msg": [21, 31, 9, 43, 58, 27, 44, 81, 63, 72, 47, 85], | |
| "ct": [28, 8, 35, 77, 36, 68, 58, 69, 0, 27, 21, 22], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 13, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 930, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "2b36e8a149dbee09bdfc43feaab6aa2d22f6b46b5a967013", | |
| "tweak": "506f5152883327d6", | |
| "msg": [59, 33, 59, 40, 35, 7, 64, 42, 82, 3, 3, 32, 4], | |
| "ct": [65, 37, 68, 18, 44, 49, 46, 20, 29, 26, 23, 46, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 931, | |
| "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": [3, 32, 56, 57, 72, 1, 79, 68, 5, 68, 54, 65, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 932, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [8, 66, 16, 19, 38, 26, 70, 56, 25, 52, 30, 23, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 933, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [61, 80, 67, 65, 3, 64, 46, 54, 71, 1, 82, 70, 16], | |
| "ct": [72, 63, 29, 14, 70, 56, 82, 41, 69, 59, 2, 26, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 934, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [61, 80, 67, 65, 3, 63, 46, 54, 71, 1, 82, 70, 15], | |
| "ct": [57, 74, 59, 45, 17, 44, 51, 72, 22, 8, 11, 65, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 935, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [25, 29, 76, 4, 48, 70, 31, 58, 54, 4, 63, 76, 30], | |
| "ct": [44, 81, 9, 63, 77, 82, 82, 78, 41, 25, 38, 27, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 936, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [59, 23, 47, 68, 52, 61, 13, 17, 78, 62, 45, 32, 21], | |
| "ct": [4, 65, 82, 82, 7, 16, 40, 41, 26, 42, 80, 79, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 937, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [60, 27, 14, 18, 3, 35, 10, 5, 34, 9, 52, 81, 81], | |
| "ct": [41, 16, 5, 73, 71, 72, 0, 24, 77, 41, 8, 61, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 938, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [12, 73, 59, 62, 15, 9, 39, 84, 53, 52, 72, 28, 67], | |
| "ct": [13, 23, 64, 24, 23, 21, 22, 20, 4, 56, 50, 82, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 939, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [37, 71, 4, 62, 0, 0, 35, 47, 8, 1, 52, 59, 50], | |
| "ct": [73, 0, 27, 56, 71, 58, 83, 68, 20, 31, 40, 77, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 940, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [21, 27, 62, 16, 56, 64, 42, 8, 77, 84, 70, 30, 5], | |
| "ct": [78, 50, 73, 3, 2, 11, 25, 63, 3, 77, 44, 16, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 941, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [71, 22, 27, 40, 66, 81, 10, 63, 63, 70, 45, 44, 43], | |
| "ct": [0, 53, 77, 31, 50, 30, 5, 61, 32, 1, 2, 0, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 942, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [25, 30, 53, 69, 77, 74, 1, 37, 27, 42, 41, 32, 17], | |
| "ct": [48, 30, 44, 11, 58, 54, 75, 49, 35, 84, 4, 8, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 943, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [27, 0, 13, 57, 12, 63, 28, 55, 76, 17, 14, 16, 71], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 944, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [41, 16, 49, 40, 65, 0, 65, 28, 0, 23, 39, 4, 36], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 945, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [43, 21, 60, 70, 51, 76, 83, 53, 58, 74, 27, 21, 72], | |
| "ct": [61, 80, 67, 65, 3, 64, 46, 54, 71, 1, 82, 70, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 946, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": [76, 55, 2, 21, 65, 49, 28, 58, 15, 52, 20, 24, 3], | |
| "ct": [61, 80, 67, 65, 3, 63, 46, 54, 71, 1, 82, 70, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 947, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "ff79782711747892c6", | |
| "msg": [80, 11, 5, 80, 57, 35, 55, 31, 41, 16, 12, 27, 26], | |
| "ct": [60, 58, 0, 65, 84, 53, 30, 17, 62, 73, 42, 65, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 948, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "ff79782711747892c6", | |
| "msg": [82, 22, 22, 1, 21, 13, 26, 52, 0, 26, 75, 83, 24], | |
| "ct": [82, 59, 7, 60, 8, 82, 6, 9, 48, 69, 27, 78, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 949, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "ff79782711747892c6", | |
| "msg": [4, 77, 70, 46, 32, 42, 46, 4, 46, 33, 51, 52, 35], | |
| "ct": [68, 35, 37, 0, 34, 65, 55, 0, 16, 69, 28, 41, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 950, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "ff79782711747892c6", | |
| "msg": [79, 74, 63, 61, 52, 49, 23, 11, 67, 82, 35, 79, 74], | |
| "ct": [49, 50, 11, 0, 82, 72, 25, 20, 31, 81, 43, 40, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 951, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "0ce1a20324bab9386b", | |
| "msg": [40, 11, 82, 5, 55, 34, 3, 19, 22, 58, 47, 37, 42], | |
| "ct": [47, 69, 11, 49, 19, 73, 66, 67, 43, 78, 28, 4, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 952, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "0ce1a20324bab9386b", | |
| "msg": [83, 64, 80, 81, 7, 19, 37, 69, 21, 68, 4, 62, 57], | |
| "ct": [81, 61, 72, 41, 6, 30, 62, 6, 83, 1, 13, 14, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 953, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "0ce1a20324bab9386b", | |
| "msg": [5, 33, 34, 17, 3, 57, 58, 5, 36, 49, 83, 47, 50], | |
| "ct": [64, 67, 38, 59, 13, 28, 81, 6, 6, 13, 22, 11, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 954, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "0ce1a20324bab9386b", | |
| "msg": [0, 56, 52, 29, 46, 67, 81, 31, 35, 12, 42, 7, 71], | |
| "ct": [12, 45, 76, 57, 54, 60, 31, 34, 77, 30, 68, 2, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 955, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "0ce1a20324bab9386b", | |
| "msg": [7, 43, 28, 62, 46, 73, 43, 56, 71, 36, 82, 83, 28], | |
| "ct": [49, 16, 62, 19, 26, 4, 80, 75, 77, 54, 62, 67, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 956, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "2f508a3a85db27cee3", | |
| "msg": [74, 23, 10, 62, 9, 64, 7, 4, 35, 83, 73, 10, 69], | |
| "ct": [41, 69, 72, 5, 41, 62, 43, 52, 76, 31, 63, 30, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 957, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "2f508a3a85db27cee3", | |
| "msg": [37, 18, 78, 7, 63, 4, 51, 83, 19, 22, 37, 61, 27], | |
| "ct": [53, 21, 40, 68, 46, 21, 15, 79, 51, 68, 75, 75, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 958, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "2f508a3a85db27cee3", | |
| "msg": [5, 7, 7, 24, 47, 13, 62, 8, 76, 17, 40, 19, 43], | |
| "ct": [39, 36, 32, 56, 62, 10, 83, 61, 66, 44, 29, 78, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 959, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "2f508a3a85db27cee3", | |
| "msg": [37, 8, 32, 39, 49, 31, 82, 38, 74, 32, 54, 0, 27], | |
| "ct": [34, 10, 84, 12, 21, 66, 25, 3, 26, 65, 63, 32, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 960, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "2f508a3a85db27cee3", | |
| "msg": [76, 68, 71, 68, 66, 4, 72, 18, 19, 62, 1, 55, 38], | |
| "ct": [16, 1, 1, 15, 84, 11, 9, 75, 76, 43, 45, 26, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 961, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "2f508a3a85db27cee3", | |
| "msg": [33, 73, 40, 12, 66, 17, 18, 19, 52, 29, 33, 43, 38], | |
| "ct": [75, 61, 8, 39, 42, 1, 20, 24, 62, 50, 8, 34, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 962, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "e8b579bbb878d456da", | |
| "msg": [45, 6, 53, 17, 25, 78, 84, 73, 37, 53, 29, 39, 30], | |
| "ct": [72, 40, 58, 34, 35, 69, 76, 76, 51, 79, 53, 81, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 963, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "e8b579bbb878d456da", | |
| "msg": [67, 79, 60, 39, 47, 25, 23, 29, 25, 5, 24, 73, 74], | |
| "ct": [69, 38, 8, 7, 1, 45, 49, 46, 35, 69, 84, 26, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 964, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "e8b579bbb878d456da", | |
| "msg": [26, 49, 52, 42, 52, 26, 76, 39, 80, 9, 64, 74, 40], | |
| "ct": [59, 61, 73, 55, 65, 5, 41, 77, 47, 2, 30, 21, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 965, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "e8b579bbb878d456da", | |
| "msg": [13, 54, 30, 7, 44, 15, 10, 68, 54, 5, 73, 52, 13], | |
| "ct": [75, 8, 77, 73, 31, 31, 6, 55, 42, 30, 74, 0, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 966, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", | |
| "tweak": "bd80cf69edccc86d", | |
| "msg": [-1, 14, 13, 16, 52, 72, 77, 17, 61, 56, 29, 45, 42], | |
| "ct": [41, 4, 66, 0, 9, 24, 39, 68, 46, 42, 11, 22, 70], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 967, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", | |
| "tweak": "bd80cf69edccc86d", | |
| "msg": [48, 14, 13, 16, -1, 72, 77, 17, 61, 56, 29, 45, 42], | |
| "ct": [67, 45, 16, 80, 38, 53, 28, 72, 73, 55, 12, 39, 26], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 968, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", | |
| "tweak": "bd80cf69edccc86d", | |
| "msg": [48, 14, 13, 16, 52, 72, 77, 17, 61, 56, 29, 45, -1], | |
| "ct": [11, 69, 64, 62, 55, 56, 80, 74, 39, 43, 51, 15, 2], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 969, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c1087909c51696d32933caa867d0b0aaa4ed800e6eae73db", | |
| "tweak": "8912be707ad5b623", | |
| "msg": [85, 4, 2, 8, 24, 59, 73, 82, 3, 73, 27, 68, 12], | |
| "ct": [30, 11, 83, 8, 71, 54, 50, 58, 37, 23, 16, 52, 28], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 970, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c1087909c51696d32933caa867d0b0aaa4ed800e6eae73db", | |
| "tweak": "8912be707ad5b623", | |
| "msg": [24, 4, 2, 8, 85, 59, 73, 82, 3, 73, 27, 68, 12], | |
| "ct": [19, 30, 60, 55, 73, 23, 45, 1, 18, 50, 4, 10, 79], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 971, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c1087909c51696d32933caa867d0b0aaa4ed800e6eae73db", | |
| "tweak": "8912be707ad5b623", | |
| "msg": [24, 4, 2, 8, 24, 59, 73, 82, 3, 73, 27, 68, 85], | |
| "ct": [31, 29, 57, 31, 49, 70, 13, 84, 22, 74, 64, 30, 81], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 14, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 972, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "4a9421ed0d8105f41f06225c61a861adc98d34d2700dfd63", | |
| "tweak": "6f60cf632424685f", | |
| "msg": [3, 23, 43, 28, 7, 44, 22, 55, 76, 22, 84, 50, 63, 14], | |
| "ct": [60, 36, 20, 43, 32, 14, 36, 14, 33, 13, 76, 8, 16, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 973, | |
| "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": [12, 37, 70, 18, 54, 21, 0, 18, 71, 41, 67, 10, 66, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 974, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [63, 79, 12, 65, 18, 42, 51, 51, 44, 72, 24, 28, 74, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 975, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [46, 54, 71, 1, 82, 70, 16, 46, 54, 71, 1, 82, 70, 16], | |
| "ct": [11, 45, 8, 45, 66, 33, 39, 58, 2, 2, 81, 55, 64, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 976, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [46, 54, 71, 1, 82, 70, 15, 46, 54, 71, 1, 82, 70, 15], | |
| "ct": [24, 22, 7, 42, 73, 79, 0, 47, 12, 34, 14, 45, 11, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 977, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [71, 50, 34, 13, 75, 34, 3, 12, 39, 48, 3, 62, 54, 79], | |
| "ct": [2, 23, 64, 7, 44, 78, 1, 18, 17, 56, 42, 1, 63, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 978, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [49, 53, 40, 12, 5, 9, 7, 81, 14, 64, 19, 13, 47, 37], | |
| "ct": [79, 7, 50, 74, 35, 34, 47, 23, 39, 73, 23, 65, 40, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 979, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [76, 64, 74, 29, 78, 38, 5, 30, 68, 3, 51, 80, 16, 2], | |
| "ct": [82, 48, 75, 14, 15, 27, 82, 64, 38, 64, 63, 18, 27, 58], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 980, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [47, 84, 28, 46, 32, 17, 71, 54, 40, 34, 22, 60, 50, 35], | |
| "ct": [59, 57, 16, 32, 40, 75, 72, 56, 59, 70, 73, 55, 80, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 981, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [62, 33, 30, 34, 71, 40, 12, 70, 8, 53, 25, 16, 62, 25], | |
| "ct": [5, 65, 45, 1, 15, 25, 7, 28, 43, 53, 25, 2, 26, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 982, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [71, 71, 38, 43, 69, 72, 68, 56, 56, 23, 21, 16, 43, 57], | |
| "ct": [56, 64, 19, 16, 20, 50, 65, 58, 68, 5, 68, 5, 66, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 983, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [76, 65, 1, 73, 6, 58, 18, 72, 25, 21, 31, 65, 82, 65], | |
| "ct": [33, 34, 69, 56, 27, 22, 9, 4, 62, 6, 52, 17, 82, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 984, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [40, 48, 44, 82, 40, 20, 45, 26, 6, 61, 0, 14, 38, 5], | |
| "ct": [7, 63, 28, 65, 47, 3, 9, 26, 31, 2, 61, 39, 31, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 985, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [22, 11, 53, 39, 68, 32, 73, 44, 50, 19, 4, 18, 62, 4], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 986, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [4, 79, 34, 8, 72, 30, 80, 71, 19, 32, 13, 24, 81, 43], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 987, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [16, 40, 6, 59, 28, 9, 66, 38, 5, 17, 84, 81, 15, 76], | |
| "ct": [46, 54, 71, 1, 82, 70, 16, 46, 54, 71, 1, 82, 70, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 988, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": [40, 5, 46, 77, 2, 23, 14, 56, 59, 33, 37, 30, 32, 74], | |
| "ct": [46, 54, 71, 1, 82, 70, 15, 46, 54, 71, 1, 82, 70, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 989, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "fb2f3098286b140e55", | |
| "msg": [67, 45, 76, 14, 11, 18, 5, 52, 31, 46, 10, 54, 50, 15], | |
| "ct": [37, 75, 52, 4, 64, 47, 8, 4, 76, 12, 30, 77, 35, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 990, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "fb2f3098286b140e55", | |
| "msg": [72, 0, 13, 20, 33, 30, 28, 7, 42, 53, 55, 10, 52, 30], | |
| "ct": [15, 43, 13, 24, 53, 12, 27, 80, 43, 9, 56, 11, 32, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 991, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "fb2f3098286b140e55", | |
| "msg": [31, 27, 48, 23, 48, 62, 32, 59, 63, 79, 84, 14, 9, 44], | |
| "ct": [50, 28, 0, 2, 52, 70, 9, 31, 40, 52, 18, 1, 42, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 992, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "fb2f3098286b140e55", | |
| "msg": [32, 77, 15, 49, 9, 67, 55, 4, 18, 12, 5, 83, 79, 7], | |
| "ct": [27, 51, 10, 67, 84, 18, 14, 62, 9, 21, 20, 70, 65, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 993, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "240731dfed42be5c5c", | |
| "msg": [2, 18, 39, 56, 5, 45, 29, 82, 51, 27, 15, 37, 22, 42], | |
| "ct": [24, 11, 38, 22, 58, 65, 67, 50, 69, 77, 11, 6, 25, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 994, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "240731dfed42be5c5c", | |
| "msg": [26, 4, 33, 10, 43, 5, 51, 69, 36, 19, 18, 48, 49, 3], | |
| "ct": [38, 66, 63, 1, 38, 59, 28, 67, 42, 81, 66, 46, 12, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 995, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "240731dfed42be5c5c", | |
| "msg": [28, 66, 19, 20, 58, 28, 13, 2, 10, 5, 28, 49, 74, 36], | |
| "ct": [47, 5, 73, 74, 42, 49, 79, 15, 75, 51, 60, 0, 77, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 996, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "240731dfed42be5c5c", | |
| "msg": [53, 13, 32, 68, 47, 71, 76, 11, 8, 29, 78, 32, 12, 64], | |
| "ct": [67, 58, 57, 2, 37, 77, 68, 69, 18, 49, 5, 25, 61, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 997, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "240731dfed42be5c5c", | |
| "msg": [46, 3, 30, 81, 20, 13, 79, 33, 57, 73, 82, 76, 4, 1], | |
| "ct": [60, 12, 74, 67, 83, 66, 51, 38, 60, 33, 14, 28, 4, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 998, | |
| "comment": "y is maximal and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "0c67101ae1d0d9839a", | |
| "msg": [47, 25, 29, 33, 28, 39, 21, 60, 7, 33, 39, 50, 23, 53], | |
| "ct": [12, 71, 68, 31, 8, 44, 70, 28, 72, 68, 44, 12, 26, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 999, | |
| "comment": "y is maximal and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "0c67101ae1d0d9839a", | |
| "msg": [62, 1, 22, 46, 44, 24, 2, 28, 72, 12, 71, 69, 62, 23], | |
| "ct": [20, 20, 75, 75, 41, 54, 67, 61, 20, 32, 49, 23, 76, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1000, | |
| "comment": "y is maximal and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "0c67101ae1d0d9839a", | |
| "msg": [32, 63, 23, 33, 41, 6, 25, 27, 55, 19, 37, 12, 38, 20], | |
| "ct": [1, 17, 77, 61, 77, 28, 80, 61, 66, 54, 6, 56, 45, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1001, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "0c67101ae1d0d9839a", | |
| "msg": [3, 61, 47, 83, 65, 74, 34, 7, 0, 35, 28, 40, 43, 22], | |
| "ct": [54, 22, 9, 52, 66, 71, 33, 28, 12, 36, 7, 51, 83, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1002, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "0c67101ae1d0d9839a", | |
| "msg": [59, 81, 73, 39, 25, 75, 34, 11, 36, 3, 52, 28, 60, 27], | |
| "ct": [76, 10, 10, 27, 47, 31, 16, 42, 47, 79, 59, 48, 72, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1003, | |
| "comment": "y is maximal and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "0c67101ae1d0d9839a", | |
| "msg": [8, 38, 13, 36, 33, 59, 74, 75, 71, 81, 60, 83, 67, 7], | |
| "ct": [14, 12, 69, 42, 49, 33, 15, 1, 79, 74, 52, 44, 20, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1004, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "04d51ee4c8ea34457c", | |
| "msg": [83, 25, 82, 1, 22, 12, 48, 29, 54, 67, 74, 2, 55, 70], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 64, 77, 39, 65, 17, 25, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1005, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "04d51ee4c8ea34457c", | |
| "msg": [63, 70, 48, 74, 27, 56, 63, 42, 12, 20, 48, 63, 47, 80], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 34, 39, 33, 4, 44, 76, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1006, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "04d51ee4c8ea34457c", | |
| "msg": [36, 73, 49, 49, 73, 25, 24, 35, 17, 36, 82, 33, 38, 13], | |
| "ct": [46, 54, 71, 1, 82, 70, 15, 69, 33, 39, 7, 55, 50, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1007, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "04d51ee4c8ea34457c", | |
| "msg": [55, 71, 71, 53, 25, 23, 27, 7, 71, 31, 30, 19, 48, 73], | |
| "ct": [84, 84, 84, 84, 84, 84, 83, 49, 64, 22, 48, 32, 63, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1008, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", | |
| "tweak": "9a07b801ec3e37d6", | |
| "msg": [-1, 4, 39, 44, 61, 41, 20, 50, 46, 1, 65, 6, 80, 80], | |
| "ct": [83, 35, 29, 5, 34, 20, 21, 0, 27, 66, 49, 65, 61, 36], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1009, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", | |
| "tweak": "9a07b801ec3e37d6", | |
| "msg": [84, 4, 39, 44, -1, 41, 20, 50, 46, 1, 65, 6, 80, 80], | |
| "ct": [39, 22, 54, 32, 20, 31, 1, 55, 39, 37, 69, 84, 69, 65], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1010, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", | |
| "tweak": "9a07b801ec3e37d6", | |
| "msg": [84, 4, 39, 44, 61, 41, 20, 50, 46, 1, 65, 6, 80, -1], | |
| "ct": [81, 21, 55, 73, 38, 7, 83, 80, 12, 40, 59, 84, 65, 25], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1011, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d1950a4b27fe02511b7632769a597711cf9c7175682f9423", | |
| "tweak": "74f784d7afdacec4", | |
| "msg": [85, 35, 13, 53, 49, 7, 46, 38, 14, 82, 28, 72, 7, 62], | |
| "ct": [13, 52, 14, 54, 6, 30, 76, 6, 34, 10, 43, 71, 22, 82], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1012, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d1950a4b27fe02511b7632769a597711cf9c7175682f9423", | |
| "tweak": "74f784d7afdacec4", | |
| "msg": [30, 35, 13, 53, 85, 7, 46, 38, 14, 82, 28, 72, 7, 62], | |
| "ct": [67, 53, 4, 51, 12, 71, 83, 61, 73, 37, 84, 23, 72, 2], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1013, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d1950a4b27fe02511b7632769a597711cf9c7175682f9423", | |
| "tweak": "74f784d7afdacec4", | |
| "msg": [30, 35, 13, 53, 49, 7, 46, 38, 14, 82, 28, 72, 7, 85], | |
| "ct": [44, 45, 62, 82, 1, 7, 64, 36, 2, 76, 16, 74, 64, 44], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 15, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1014, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "38c2d6d8d1717f48e8e7bc3d54820ee7de2cecf0fc6f167b", | |
| "tweak": "7a3ce6a3066b2e0b", | |
| "msg": [39, 29, 65, 45, 49, 40, 61, 17, 4, 53, 48, 52, 35, 54, 27], | |
| "ct": [78, 48, 50, 21, 23, 61, 56, 23, 30, 18, 20, 36, 54, 14, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1015, | |
| "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": [65, 57, 71, 20, 25, 5, 51, 64, 53, 69, 5, 30, 6, 67, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1016, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [7, 56, 10, 51, 44, 51, 24, 64, 1, 11, 21, 19, 57, 31, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1017, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [46, 54, 71, 1, 82, 70, 16, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "ct": [57, 31, 40, 7, 65, 43, 30, 84, 17, 36, 82, 44, 76, 9, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1018, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [46, 54, 71, 1, 82, 70, 15, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "ct": [35, 60, 19, 17, 36, 12, 72, 84, 76, 59, 60, 45, 60, 34, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1019, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [68, 48, 14, 23, 20, 3, 56, 22, 63, 81, 43, 12, 81, 77, 45], | |
| "ct": [5, 20, 12, 76, 71, 36, 80, 26, 2, 75, 76, 73, 61, 18, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1020, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [44, 79, 19, 6, 77, 78, 46, 77, 73, 71, 76, 60, 36, 42, 81], | |
| "ct": [42, 78, 58, 77, 81, 46, 60, 82, 44, 79, 32, 14, 61, 54, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1021, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [62, 31, 5, 19, 68, 66, 48, 9, 46, 24, 64, 51, 5, 51, 48], | |
| "ct": [49, 4, 78, 16, 11, 73, 75, 35, 43, 70, 66, 67, 57, 75, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1022, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [8, 69, 1, 41, 30, 7, 5, 68, 77, 32, 57, 65, 76, 66, 9], | |
| "ct": [25, 2, 0, 4, 51, 3, 14, 79, 78, 65, 9, 57, 42, 58, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1023, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [75, 49, 84, 8, 26, 79, 82, 39, 18, 37, 24, 17, 65, 41, 80], | |
| "ct": [38, 11, 75, 13, 84, 44, 33, 66, 18, 9, 16, 27, 62, 16, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1024, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [76, 45, 49, 24, 38, 66, 69, 48, 78, 50, 14, 81, 21, 67, 78], | |
| "ct": [33, 79, 3, 57, 13, 9, 84, 68, 20, 41, 84, 4, 45, 41, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1025, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [68, 1, 40, 12, 53, 39, 5, 42, 31, 62, 57, 44, 66, 26, 51], | |
| "ct": [2, 20, 80, 63, 39, 46, 71, 18, 20, 62, 7, 80, 5, 8, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1026, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [70, 47, 35, 3, 39, 64, 62, 73, 75, 17, 28, 71, 20, 49, 54], | |
| "ct": [57, 2, 35, 12, 6, 73, 37, 50, 59, 68, 25, 69, 6, 32, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1027, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [44, 36, 38, 39, 61, 71, 20, 17, 66, 23, 28, 34, 73, 25, 41], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1028, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [22, 43, 72, 19, 51, 11, 70, 58, 82, 14, 4, 31, 74, 82, 51], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1029, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [37, 12, 20, 21, 42, 52, 40, 20, 18, 52, 26, 76, 83, 46, 28], | |
| "ct": [46, 54, 71, 1, 82, 70, 16, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1030, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": [25, 81, 26, 74, 78, 20, 27, 70, 20, 56, 35, 1, 10, 70, 39], | |
| "ct": [46, 54, 71, 1, 82, 70, 15, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1031, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "ba6405bef9d82812", | |
| "msg": [38, 29, 73, 44, 15, 44, 20, 69, 76, 82, 48, 64, 75, 77, 39], | |
| "ct": [66, 82, 48, 12, 71, 73, 8, 76, 69, 81, 20, 4, 66, 20, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1032, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "ba6405bef9d82812", | |
| "msg": [77, 49, 26, 70, 66, 28, 35, 46, 5, 70, 12, 68, 18, 61, 4], | |
| "ct": [25, 45, 76, 74, 56, 0, 60, 65, 21, 65, 49, 49, 3, 38, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1033, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "ba6405bef9d82812", | |
| "msg": [48, 18, 20, 53, 13, 82, 42, 72, 0, 64, 36, 37, 38, 14, 31], | |
| "ct": [60, 18, 65, 0, 37, 28, 77, 75, 83, 47, 3, 24, 67, 76, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1034, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "ba6405bef9d82812", | |
| "msg": [80, 79, 62, 25, 23, 51, 36, 23, 84, 55, 22, 63, 32, 8, 22], | |
| "ct": [76, 44, 20, 63, 75, 15, 25, 0, 15, 68, 11, 80, 70, 30, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1035, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "165eeff9ac7a5bf9", | |
| "msg": [2, 49, 65, 19, 38, 83, 6, 45, 23, 63, 83, 46, 27, 50, 7], | |
| "ct": [75, 50, 37, 66, 22, 38, 5, 51, 15, 80, 1, 5, 40, 5, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1036, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "165eeff9ac7a5bf9", | |
| "msg": [26, 12, 48, 46, 15, 27, 47, 38, 47, 41, 60, 34, 13, 81, 78], | |
| "ct": [48, 65, 44, 10, 36, 24, 27, 32, 38, 80, 10, 6, 67, 59, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1037, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "165eeff9ac7a5bf9", | |
| "msg": [23, 26, 47, 60, 73, 56, 54, 78, 49, 78, 60, 30, 9, 19, 76], | |
| "ct": [24, 26, 74, 77, 43, 53, 10, 14, 66, 29, 23, 73, 6, 6, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1038, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "165eeff9ac7a5bf9", | |
| "msg": [52, 50, 51, 46, 32, 0, 31, 55, 6, 29, 5, 41, 47, 41, 4], | |
| "ct": [12, 37, 66, 72, 50, 77, 54, 65, 83, 0, 30, 16, 82, 14, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1039, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "165eeff9ac7a5bf9", | |
| "msg": [24, 32, 3, 5, 16, 31, 17, 34, 18, 23, 14, 4, 43, 0, 50], | |
| "ct": [3, 0, 31, 49, 15, 5, 34, 1, 80, 52, 31, 39, 82, 34, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1040, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "98e219cc22c58bc3", | |
| "msg": [8, 37, 77, 74, 29, 83, 20, 16, 72, 56, 67, 9, 31, 20, 59], | |
| "ct": [84, 60, 41, 50, 30, 1, 24, 29, 5, 39, 27, 55, 53, 68, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1041, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "98e219cc22c58bc3", | |
| "msg": [15, 69, 67, 40, 26, 68, 37, 8, 10, 49, 30, 69, 28, 14, 34], | |
| "ct": [64, 48, 20, 30, 78, 75, 32, 30, 10, 0, 10, 27, 16, 15, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1042, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "98e219cc22c58bc3", | |
| "msg": [44, 84, 34, 71, 12, 6, 24, 39, 49, 9, 80, 64, 46, 70, 43], | |
| "ct": [11, 0, 43, 29, 14, 6, 1, 8, 78, 28, 57, 10, 78, 73, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1043, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "98e219cc22c58bc3", | |
| "msg": [84, 77, 11, 28, 70, 20, 71, 67, 78, 64, 5, 71, 53, 58, 79], | |
| "ct": [16, 19, 62, 54, 67, 2, 65, 77, 82, 8, 38, 72, 81, 64, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1044, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "98e219cc22c58bc3", | |
| "msg": [42, 62, 7, 49, 67, 37, 76, 2, 82, 58, 41, 5, 16, 28, 78], | |
| "ct": [70, 82, 17, 42, 72, 51, 73, 47, 46, 34, 58, 31, 61, 23, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1045, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "98e219cc22c58bc3", | |
| "msg": [47, 53, 3, 30, 16, 52, 65, 44, 73, 45, 50, 71, 30, 61, 27], | |
| "ct": [74, 6, 33, 12, 50, 32, 60, 37, 36, 24, 26, 39, 55, 59, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1046, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "2ec2d51f781c629c", | |
| "msg": [36, 74, 29, 76, 32, 42, 13, 13, 81, 0, 38, 39, 68, 6, 52], | |
| "ct": [63, 57, 18, 17, 11, 37, 38, 80, 67, 80, 67, 17, 56, 11, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1047, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "2ec2d51f781c629c", | |
| "msg": [47, 69, 49, 6, 75, 25, 53, 84, 25, 70, 35, 19, 52, 39, 9], | |
| "ct": [20, 43, 7, 28, 79, 62, 21, 66, 24, 83, 82, 33, 0, 70, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1048, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "2ec2d51f781c629c", | |
| "msg": [75, 84, 48, 78, 48, 11, 21, 65, 79, 8, 73, 7, 78, 66, 41], | |
| "ct": [44, 43, 52, 24, 69, 0, 33, 64, 6, 56, 37, 18, 49, 51, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1049, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", | |
| "tweak": "2ec2d51f781c629c", | |
| "msg": [57, 58, 79, 49, 49, 24, 58, 1, 40, 69, 20, 17, 30, 26, 49], | |
| "ct": [3, 27, 42, 72, 36, 81, 81, 63, 39, 4, 49, 69, 61, 39, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1050, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", | |
| "tweak": "ba017ceaf04a7470", | |
| "msg": [-1, 59, 40, 7, 26, 19, 82, 16, 66, 5, 64, 3, 76, 41, 42], | |
| "ct": [63, 23, 15, 18, 24, 54, 75, 8, 13, 19, 36, 77, 50, 25, 39], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1051, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", | |
| "tweak": "ba017ceaf04a7470", | |
| "msg": [9, 59, 40, 7, 26, -1, 82, 16, 66, 5, 64, 3, 76, 41, 42], | |
| "ct": [71, 10, 20, 73, 60, 46, 52, 2, 53, 27, 48, 33, 62, 16, 82], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1052, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", | |
| "tweak": "ba017ceaf04a7470", | |
| "msg": [9, 59, 40, 7, 26, 19, 82, 16, 66, 5, 64, 3, 76, 41, -1], | |
| "ct": [36, 27, 5, 62, 83, 76, 68, 70, 25, 67, 57, 53, 73, 31, 23], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1053, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "34529c33750e7dd679eeda39b4699c1f46f1d7f9c38c37f0", | |
| "tweak": "8f3f07649e14c582", | |
| "msg": [85, 23, 50, 29, 62, 28, 66, 67, 15, 15, 23, 29, 77, 79, 31], | |
| "ct": [20, 47, 4, 27, 61, 71, 2, 46, 15, 53, 80, 6, 61, 48, 52], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1054, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "34529c33750e7dd679eeda39b4699c1f46f1d7f9c38c37f0", | |
| "tweak": "8f3f07649e14c582", | |
| "msg": [36, 23, 50, 29, 62, 85, 66, 67, 15, 15, 23, 29, 77, 79, 31], | |
| "ct": [29, 23, 16, 25, 44, 57, 13, 40, 46, 5, 56, 49, 84, 21, 51], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1055, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "34529c33750e7dd679eeda39b4699c1f46f1d7f9c38c37f0", | |
| "tweak": "8f3f07649e14c582", | |
| "msg": [36, 23, 50, 29, 62, 28, 66, 67, 15, 15, 23, 29, 77, 79, 85], | |
| "ct": [37, 57, 36, 25, 51, 54, 22, 74, 10, 66, 81, 74, 30, 14, 46], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 16, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1056, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "28d8da67806410e5565bcc5a9d7ab9fb357413fa0158378c", | |
| "tweak": "63ff6d96b7960f8a", | |
| "msg": [79, 63, 55, 3, 7, 11, 62, 37, 80, 83, 65, 11, 56, 29, 59, 54], | |
| "ct": [50, 9, 76, 28, 49, 59, 14, 77, 73, 70, 5, 34, 7, 59, 58, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1057, | |
| "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": [61, 2, 23, 56, 27, 53, 52, 71, 77, 29, 50, 79, 47, 2, 31, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1058, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [55, 82, 8, 29, 25, 39, 35, 7, 53, 30, 53, 30, 46, 24, 49, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1059, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 8, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "ct": [22, 43, 54, 50, 18, 37, 77, 19, 65, 20, 48, 51, 66, 13, 1, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1060, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 7, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "ct": [66, 28, 44, 69, 11, 3, 32, 80, 82, 59, 42, 21, 81, 3, 27, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1061, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [84, 18, 0, 11, 12, 55, 78, 76, 70, 33, 22, 42, 56, 51, 44, 45], | |
| "ct": [62, 73, 5, 11, 10, 55, 22, 29, 76, 60, 47, 80, 5, 77, 39, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1062, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [11, 76, 42, 73, 78, 57, 0, 48, 38, 18, 27, 75, 18, 49, 39, 7], | |
| "ct": [71, 31, 60, 30, 14, 29, 6, 64, 40, 3, 27, 52, 49, 43, 54, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1063, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [39, 7, 72, 82, 19, 14, 27, 69, 7, 57, 53, 54, 5, 2, 61, 67], | |
| "ct": [25, 4, 76, 54, 11, 42, 55, 31, 42, 8, 28, 1, 49, 49, 39, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1064, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [71, 81, 75, 60, 74, 9, 29, 49, 34, 67, 30, 10, 47, 32, 62, 55], | |
| "ct": [14, 79, 25, 84, 45, 6, 35, 42, 57, 83, 18, 55, 51, 40, 52, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1065, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [9, 67, 34, 67, 28, 57, 78, 13, 76, 1, 3, 65, 19, 83, 41, 6], | |
| "ct": [5, 40, 69, 9, 20, 45, 4, 37, 2, 64, 26, 75, 26, 22, 23, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1066, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [58, 59, 31, 44, 57, 49, 5, 83, 47, 29, 38, 0, 65, 14, 17, 25], | |
| "ct": [23, 76, 28, 68, 49, 54, 13, 35, 23, 76, 25, 68, 25, 73, 65, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1067, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [19, 55, 36, 84, 23, 73, 7, 58, 41, 61, 74, 78, 10, 63, 52, 73], | |
| "ct": [31, 82, 39, 14, 36, 0, 79, 23, 16, 51, 0, 4, 44, 75, 57, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1068, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [36, 3, 47, 14, 75, 80, 83, 9, 51, 14, 37, 60, 38, 72, 49, 4], | |
| "ct": [49, 45, 3, 6, 29, 1, 50, 42, 68, 2, 65, 77, 72, 6, 21, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1069, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [56, 16, 17, 9, 12, 54, 40, 5, 23, 7, 45, 49, 47, 77, 42, 73], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1070, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [14, 21, 32, 78, 32, 12, 65, 6, 9, 33, 77, 64, 58, 23, 32, 33], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1071, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [55, 23, 83, 5, 59, 78, 67, 81, 8, 20, 23, 29, 45, 46, 31, 36], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 8, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1072, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", | |
| "tweak": "9fe4a8c4cc889cfa", | |
| "msg": [59, 75, 76, 53, 29, 76, 4, 71, 59, 36, 57, 70, 52, 50, 55, 38], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 7, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1073, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "fa6a148b86f749ab", | |
| "msg": [43, 25, 62, 52, 52, 69, 35, 46, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [52, 72, 8, 54, 54, 23, 60, 40, 13, 46, 33, 77, 45, 69, 51, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1074, | |
| "comment": "y = 0 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "fa6a148b86f749ab", | |
| "msg": [18, 6, 1, 25, 4, 23, 67, 2, 0, 0, 0, 0, 0, 0, 0, 1], | |
| "ct": [34, 79, 18, 5, 75, 4, 59, 4, 41, 68, 27, 4, 32, 66, 60, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1075, | |
| "comment": "y = 0 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "fa6a148b86f749ab", | |
| "msg": [43, 75, 18, 10, 57, 11, 83, 40, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "ct": [80, 19, 23, 30, 58, 57, 30, 18, 18, 79, 33, 45, 50, 29, 49, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1076, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "fa6a148b86f749ab", | |
| "msg": [33, 36, 36, 3, 76, 14, 13, 51, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [79, 69, 69, 63, 78, 22, 28, 1, 77, 70, 64, 30, 20, 6, 42, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1077, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "5e0904ec2ab3a5e0", | |
| "msg": [25, 1, 42, 64, 9, 53, 22, 50, 55, 63, 83, 33, 49, 80, 28, 75], | |
| "ct": [35, 66, 21, 38, 7, 34, 8, 21, 57, 83, 3, 73, 12, 80, 60, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1078, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "5e0904ec2ab3a5e0", | |
| "msg": [47, 29, 33, 60, 42, 41, 10, 28, 71, 29, 54, 31, 23, 57, 29, 38], | |
| "ct": [3, 42, 33, 71, 2, 42, 76, 68, 62, 60, 59, 62, 21, 73, 23, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1079, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "5e0904ec2ab3a5e0", | |
| "msg": [15, 0, 32, 13, 30, 54, 74, 58, 39, 65, 52, 10, 63, 52, 48, 63], | |
| "ct": [49, 19, 21, 40, 7, 49, 15, 68, 50, 75, 53, 29, 56, 62, 7, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1080, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "5e0904ec2ab3a5e0", | |
| "msg": [55, 8, 80, 27, 29, 14, 3, 60, 63, 40, 40, 75, 29, 30, 19, 15], | |
| "ct": [51, 18, 57, 74, 36, 19, 28, 14, 38, 34, 40, 75, 3, 34, 59, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1081, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "5e0904ec2ab3a5e0", | |
| "msg": [68, 12, 18, 70, 66, 59, 79, 39, 53, 53, 73, 69, 11, 34, 32, 24], | |
| "ct": [58, 38, 59, 57, 21, 50, 48, 7, 35, 60, 3, 25, 73, 7, 18, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1082, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", | |
| "tweak": "5e0904ec2ab3a5e0", | |
| "msg": [65, 64, 45, 59, 65, 71, 70, 31, 4, 53, 63, 49, 26, 30, 15, 7], | |
| "ct": [83, 77, 15, 72, 7, 56, 11, 78, 22, 9, 10, 19, 45, 38, 47, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1083, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", | |
| "tweak": "81c9e9d9fc6bb6db", | |
| "msg": [-1, 58, 40, 33, 56, 44, 36, 13, 81, 36, 62, 47, 16, 9, 24, 8], | |
| "ct": [26, 45, 73, 82, 28, 64, 59, 56, 10, 28, 35, 60, 40, 47, 20, 17], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1084, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", | |
| "tweak": "81c9e9d9fc6bb6db", | |
| "msg": [45, 58, 40, 33, 56, -1, 36, 13, 81, 36, 62, 47, 16, 9, 24, 8], | |
| "ct": [57, 32, 25, 50, 79, 46, 45, 0, 40, 35, 52, 84, 55, 57, 4, 52], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1085, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", | |
| "tweak": "81c9e9d9fc6bb6db", | |
| "msg": [45, 58, 40, 33, 56, 44, 36, 13, 81, 36, 62, 47, 16, 9, 24, -1], | |
| "ct": [72, 15, 14, 55, 15, 0, 74, 35, 79, 5, 76, 73, 24, 77, 82, 11], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1086, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6cac9aabfcbc0da807fb366ac243fc6f27e18399b923c7d4", | |
| "tweak": "c77433eef983d9c1", | |
| "msg": [85, 18, 64, 75, 41, 33, 77, 32, 57, 31, 31, 67, 49, 9, 6, 65], | |
| "ct": [56, 74, 72, 4, 28, 7, 33, 32, 6, 77, 41, 70, 41, 3, 47, 51], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1087, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6cac9aabfcbc0da807fb366ac243fc6f27e18399b923c7d4", | |
| "tweak": "c77433eef983d9c1", | |
| "msg": [36, 18, 64, 75, 41, 85, 77, 32, 57, 31, 31, 67, 49, 9, 6, 65], | |
| "ct": [59, 46, 17, 22, 44, 65, 59, 48, 6, 80, 80, 28, 59, 35, 45, 52], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1088, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6cac9aabfcbc0da807fb366ac243fc6f27e18399b923c7d4", | |
| "tweak": "c77433eef983d9c1", | |
| "msg": [36, 18, 64, 75, 41, 33, 77, 32, 57, 31, 31, 67, 49, 9, 6, 85], | |
| "ct": [81, 12, 27, 11, 83, 52, 30, 59, 43, 79, 70, 70, 50, 69, 8, 71], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 17, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1089, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f620ff36bcd7f62b38ee8dc91b2a1d1ac5645e4c31432921", | |
| "tweak": "fedb3a07315c4484", | |
| "msg": [11, 67, 26, 0, 1, 59, 38, 63, 80, 3, 42, 37, 55, 18, 68, 7, 35], | |
| "ct": [65, 1, 30, 46, 42, 19, 68, 15, 83, 9, 63, 54, 31, 28, 26, 12, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1090, | |
| "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": [25, 18, 4, 12, 11, 76, 37, 29, 75, 45, 44, 36, 81, 51, 39, 56, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1091, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [35, 43, 43, 21, 50, 4, 18, 72, 71, 12, 16, 36, 0, 72, 35, 66, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1092, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 8, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "ct": [4, 11, 5, 76, 11, 21, 14, 28, 39, 65, 84, 69, 76, 84, 53, 37, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1093, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 7, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "ct": [44, 81, 25, 12, 5, 16, 36, 20, 67, 58, 76, 44, 0, 74, 44, 46, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1094, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [48, 38, 65, 18, 83, 60, 0, 43, 17, 6, 22, 6, 65, 76, 54, 80, 12], | |
| "ct": [1, 19, 83, 16, 53, 10, 11, 23, 57, 68, 81, 47, 71, 22, 78, 8, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1095, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [9, 15, 12, 38, 50, 25, 28, 56, 25, 65, 68, 70, 76, 53, 10, 18, 29], | |
| "ct": [9, 17, 38, 10, 84, 25, 62, 26, 10, 0, 79, 43, 19, 65, 14, 57, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1096, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [71, 54, 9, 75, 84, 58, 84, 6, 8, 19, 51, 1, 42, 62, 84, 76, 77], | |
| "ct": [40, 26, 77, 78, 36, 82, 60, 13, 30, 19, 60, 57, 18, 32, 19, 55, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1097, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [22, 35, 47, 15, 3, 19, 79, 29, 6, 9, 44, 41, 54, 38, 81, 2, 51], | |
| "ct": [11, 14, 10, 8, 51, 80, 25, 38, 77, 0, 80, 43, 76, 37, 68, 70, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1098, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [76, 2, 31, 45, 37, 22, 45, 84, 6, 22, 22, 43, 25, 30, 79, 58, 31], | |
| "ct": [64, 7, 66, 61, 69, 33, 72, 0, 28, 51, 3, 41, 49, 22, 65, 12, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1099, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [40, 43, 74, 63, 58, 34, 47, 34, 75, 55, 38, 18, 76, 50, 78, 18, 72], | |
| "ct": [60, 50, 20, 4, 64, 34, 36, 35, 12, 80, 30, 60, 13, 15, 39, 22, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1100, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [81, 57, 56, 69, 26, 22, 25, 77, 15, 55, 1, 64, 44, 49, 84, 51, 31], | |
| "ct": [35, 43, 35, 62, 0, 5, 50, 46, 18, 8, 71, 11, 4, 19, 23, 52, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1101, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [67, 63, 3, 35, 35, 6, 10, 61, 79, 84, 7, 73, 56, 0, 37, 63, 38], | |
| "ct": [5, 22, 3, 8, 38, 46, 83, 35, 80, 34, 57, 3, 63, 59, 5, 71, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1102, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [28, 50, 39, 54, 25, 47, 54, 21, 42, 48, 43, 10, 73, 73, 32, 37, 54], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1103, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [12, 58, 53, 46, 45, 72, 23, 60, 41, 30, 75, 84, 4, 15, 21, 23, 81], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1104, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [30, 77, 58, 80, 0, 23, 73, 74, 68, 61, 5, 33, 7, 59, 40, 72, 14], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 8, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1105, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", | |
| "tweak": "13d480958d51fab5", | |
| "msg": [24, 83, 32, 28, 44, 3, 9, 19, 47, 68, 11, 24, 84, 50, 36, 28, 20], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 7, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1106, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "29fd6d311d3da4", | |
| "msg": [20, 82, 19, 33, 68, 62, 61, 66, 71, 17, 63, 59, 76, 32, 40, 2, 17], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 32, 43, 72, 22, 43, 47, 28, 48, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1107, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "29fd6d311d3da4", | |
| "msg": [80, 73, 63, 82, 62, 7, 60, 80, 37, 72, 16, 33, 63, 27, 21, 2, 63], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 1, 40, 75, 81, 10, 31, 72, 37, 1, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1108, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "29fd6d311d3da4", | |
| "msg": [43, 4, 42, 63, 10, 28, 31, 59, 39, 63, 22, 10, 25, 73, 30, 78, 64], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 8, 66, 57, 81, 39, 1, 70, 17, 77, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1109, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "29fd6d311d3da4", | |
| "msg": [9, 37, 17, 61, 10, 31, 30, 41, 17, 43, 29, 21, 4, 26, 31, 11, 30], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 23, 13, 50, 30, 53, 82, 62, 80, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1110, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "9457ecd4aa2b46", | |
| "msg": [24, 82, 64, 25, 7, 77, 24, 4, 55, 20, 52, 27, 64, 25, 80, 38, 53], | |
| "ct": [51, 68, 15, 63, 75, 30, 19, 7, 25, 7, 60, 29, 39, 25, 26, 60, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1111, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "9457ecd4aa2b46", | |
| "msg": [62, 84, 66, 31, 14, 1, 8, 6, 33, 2, 74, 26, 74, 21, 56, 25, 2], | |
| "ct": [1, 38, 55, 29, 69, 41, 19, 53, 71, 15, 12, 7, 14, 42, 76, 22, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1112, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "9457ecd4aa2b46", | |
| "msg": [12, 20, 6, 35, 0, 25, 55, 82, 82, 83, 25, 15, 0, 7, 51, 62, 48], | |
| "ct": [72, 58, 21, 4, 80, 21, 23, 3, 12, 49, 5, 5, 56, 57, 79, 40, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1113, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "9457ecd4aa2b46", | |
| "msg": [32, 66, 26, 62, 13, 66, 2, 21, 19, 84, 64, 31, 3, 26, 33, 15, 41], | |
| "ct": [21, 76, 16, 82, 9, 29, 46, 70, 53, 82, 80, 59, 29, 15, 76, 69, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1114, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "9457ecd4aa2b46", | |
| "msg": [75, 67, 47, 31, 60, 9, 31, 22, 61, 29, 6, 56, 5, 52, 34, 23, 55], | |
| "ct": [46, 72, 73, 67, 56, 51, 4, 56, 3, 81, 18, 75, 57, 55, 26, 7, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1115, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", | |
| "tweak": "9457ecd4aa2b46", | |
| "msg": [2, 42, 67, 69, 8, 72, 26, 30, 11, 10, 24, 84, 73, 12, 15, 70, 46], | |
| "ct": [49, 23, 72, 4, 49, 41, 47, 82, 30, 52, 25, 41, 21, 62, 57, 80, 81], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1116, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", | |
| "tweak": "0284255ddf9a1021", | |
| "msg": [-1, 43, 17, 74, 68, 72, 74, 31, 61, 73, 78, 34, 14, 79, 60, 31, 21], | |
| "ct": [79, 52, 38, 74, 66, 75, 80, 47, 21, 10, 47, 71, 67, 63, 78, 36, 38], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1117, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", | |
| "tweak": "0284255ddf9a1021", | |
| "msg": [75, 43, 17, 74, 68, -1, 74, 31, 61, 73, 78, 34, 14, 79, 60, 31, 21], | |
| "ct": [45, 30, 65, 41, 67, 65, 9, 11, 45, 17, 16, 8, 11, 20, 77, 19, 36], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1118, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", | |
| "tweak": "0284255ddf9a1021", | |
| "msg": [75, 43, 17, 74, 68, 72, 74, 31, 61, 73, 78, 34, 14, 79, 60, 31, -1], | |
| "ct": [48, 78, 51, 8, 69, 73, 75, 23, 57, 58, 6, 42, 82, 52, 6, 46, 45], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1119, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "574427a307818e9d1d06a18b6cd389a947d3822b73d1476e", | |
| "tweak": "0b97e0d7c0d522d4", | |
| "msg": [85, 14, 10, 78, 76, 83, 71, 4, 21, 50, 17, 76, 77, 60, 23, 62, 78], | |
| "ct": [77, 54, 54, 28, 69, 67, 25, 5, 7, 83, 78, 11, 52, 77, 39, 58, 68], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1120, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "574427a307818e9d1d06a18b6cd389a947d3822b73d1476e", | |
| "tweak": "0b97e0d7c0d522d4", | |
| "msg": [9, 14, 10, 78, 76, 85, 71, 4, 21, 50, 17, 76, 77, 60, 23, 62, 78], | |
| "ct": [47, 49, 64, 59, 37, 70, 24, 30, 36, 58, 9, 53, 47, 51, 68, 28, 24], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1121, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "574427a307818e9d1d06a18b6cd389a947d3822b73d1476e", | |
| "tweak": "0b97e0d7c0d522d4", | |
| "msg": [9, 14, 10, 78, 76, 83, 71, 4, 21, 50, 17, 76, 77, 60, 23, 62, 85], | |
| "ct": [21, 44, 47, 58, 0, 71, 27, 68, 4, 61, 73, 67, 23, 36, 21, 82, 61], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 18, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1122, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "47eb4430ea1cb545acc8f09ada1ecc8574d394b5a20e5017", | |
| "tweak": "683baf80b9d31daa", | |
| "msg": [76, 26, 70, 67, 8, 28, 14, 34, 53, 11, 20, 46, 7, 52, 58, 19, 36, 2], | |
| "ct": [59, 43, 30, 15, 47, 52, 26, 35, 29, 30, 41, 72, 84, 61, 35, 41, 66, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1123, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [7, 49, 47, 29, 0, 14, 64, 13, 15, 45, 41, 48, 6, 17, 3, 1, 60, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1124, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [29, 25, 37, 53, 8, 10, 52, 73, 5, 82, 34, 61, 9, 59, 81, 84, 4, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1125, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 2, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "ct": [84, 10, 46, 54, 37, 28, 23, 52, 11, 13, 32, 29, 80, 45, 2, 52, 61, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1126, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 1, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "ct": [57, 30, 3, 40, 63, 71, 1, 7, 82, 68, 48, 73, 8, 3, 4, 63, 17, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1127, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [4, 15, 51, 39, 65, 25, 3, 34, 28, 77, 58, 9, 50, 1, 73, 68, 76, 7], | |
| "ct": [18, 10, 31, 17, 25, 32, 5, 1, 78, 15, 29, 83, 46, 47, 11, 79, 82, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1128, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [67, 22, 35, 21, 64, 26, 66, 44, 68, 52, 23, 52, 5, 83, 10, 34, 4, 11], | |
| "ct": [47, 2, 3, 67, 34, 74, 31, 81, 16, 17, 54, 81, 35, 32, 14, 9, 54, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1129, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [45, 77, 0, 62, 48, 2, 54, 53, 32, 25, 31, 27, 71, 54, 72, 73, 53, 78], | |
| "ct": [21, 66, 64, 67, 29, 36, 81, 15, 43, 28, 41, 42, 47, 17, 33, 14, 41, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1130, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [64, 47, 77, 60, 67, 41, 3, 49, 69, 76, 63, 62, 10, 43, 27, 46, 75, 6], | |
| "ct": [81, 24, 11, 54, 57, 67, 53, 35, 50, 44, 83, 31, 52, 70, 17, 25, 29, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1131, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [76, 32, 81, 4, 15, 50, 50, 51, 58, 6, 63, 30, 9, 16, 41, 64, 58, 42], | |
| "ct": [49, 73, 13, 45, 33, 77, 74, 45, 55, 13, 4, 27, 72, 55, 72, 78, 35, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1132, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [43, 51, 0, 82, 7, 57, 84, 48, 36, 13, 84, 4, 75, 49, 59, 29, 50, 82], | |
| "ct": [23, 3, 61, 50, 72, 69, 75, 24, 0, 5, 34, 57, 37, 37, 24, 2, 32, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1133, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [15, 81, 17, 16, 16, 25, 34, 68, 10, 23, 61, 82, 67, 41, 71, 35, 61, 64], | |
| "ct": [27, 71, 64, 5, 30, 0, 67, 44, 37, 65, 46, 7, 60, 76, 33, 19, 3, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1134, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [57, 33, 74, 60, 83, 7, 76, 9, 11, 61, 59, 68, 69, 23, 16, 25, 69, 14], | |
| "ct": [61, 42, 83, 48, 37, 83, 57, 74, 42, 46, 82, 77, 43, 65, 61, 5, 33, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1135, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [67, 0, 54, 70, 72, 41, 74, 72, 29, 58, 44, 17, 82, 32, 15, 74, 57, 2], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1136, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [23, 36, 26, 11, 7, 4, 84, 31, 1, 29, 74, 19, 47, 53, 37, 82, 69, 40], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1137, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [41, 13, 47, 76, 37, 47, 0, 21, 26, 67, 77, 51, 53, 75, 70, 21, 46, 8], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 2, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1138, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", | |
| "tweak": "8ef1d4315ed3c68f", | |
| "msg": [16, 0, 60, 15, 14, 50, 31, 1, 33, 8, 36, 58, 41, 61, 11, 27, 44, 54], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 1, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1139, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "d98f7275fddc7e", | |
| "msg": [44, 8, 24, 11, 55, 51, 7, 7, 68, 65, 26, 25, 12, 57, 13, 79, 84, 12], | |
| "ct": [13, 5, 75, 14, 56, 51, 82, 77, 18, 69, 23, 12, 39, 58, 32, 30, 31, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1140, | |
| "comment": "y = 0 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "d98f7275fddc7e", | |
| "msg": [33, 55, 19, 48, 11, 27, 27, 37, 24, 21, 65, 36, 69, 81, 0, 75, 0, 25], | |
| "ct": [34, 40, 51, 37, 8, 60, 18, 82, 26, 58, 13, 53, 75, 48, 26, 23, 22, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1141, | |
| "comment": "y = 0 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "d98f7275fddc7e", | |
| "msg": [54, 73, 72, 75, 51, 81, 2, 5, 32, 45, 18, 72, 7, 58, 62, 36, 58, 58], | |
| "ct": [63, 58, 44, 64, 48, 77, 34, 29, 19, 18, 51, 24, 18, 57, 80, 48, 9, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1142, | |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "d98f7275fddc7e", | |
| "msg": [42, 25, 54, 23, 79, 70, 67, 75, 39, 71, 68, 47, 59, 45, 33, 14, 53, 80], | |
| "ct": [1, 77, 24, 3, 29, 57, 35, 47, 31, 21, 46, 25, 19, 84, 54, 8, 30, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1143, | |
| "comment": "y is maximal and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "37eef3910d889a", | |
| "msg": [36, 2, 80, 57, 80, 10, 49, 56, 83, 80, 65, 61, 77, 26, 57, 11, 70, 40], | |
| "ct": [82, 60, 43, 35, 57, 57, 77, 81, 67, 1, 20, 30, 63, 44, 81, 84, 36, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1144, | |
| "comment": "y is maximal and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "37eef3910d889a", | |
| "msg": [8, 40, 15, 43, 41, 12, 76, 4, 53, 15, 12, 15, 4, 5, 8, 62, 23, 51], | |
| "ct": [82, 60, 43, 35, 57, 57, 77, 81, 67, 1, 20, 30, 63, 44, 81, 84, 36, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1145, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "37eef3910d889a", | |
| "msg": [30, 51, 41, 31, 25, 64, 41, 36, 1, 36, 65, 57, 61, 35, 84, 82, 12, 2], | |
| "ct": [82, 60, 43, 35, 57, 57, 77, 81, 67, 54, 10, 72, 51, 42, 21, 37, 78, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1146, | |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "37eef3910d889a", | |
| "msg": [24, 50, 53, 8, 74, 22, 25, 47, 80, 2, 52, 12, 47, 46, 49, 69, 42, 29], | |
| "ct": [82, 60, 43, 35, 57, 57, 77, 81, 67, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1147, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "37eef3910d889a", | |
| "msg": [44, 8, 28, 34, 10, 2, 17, 59, 62, 26, 60, 2, 6, 54, 43, 36, 66, 13], | |
| "ct": [82, 60, 43, 35, 57, 57, 77, 81, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1148, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "37eef3910d889a", | |
| "msg": [76, 71, 2, 24, 35, 2, 64, 18, 51, 40, 73, 56, 22, 84, 26, 84, 64, 78], | |
| "ct": [82, 60, 43, 35, 57, 57, 77, 81, 67, 1, 20, 30, 63, 44, 81, 84, 35, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1149, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "688335089539e4", | |
| "msg": [30, 70, 66, 78, 70, 10, 16, 84, 76, 33, 41, 49, 46, 32, 51, 83, 13, 9], | |
| "ct": [84, 42, 64, 80, 2, 29, 80, 84, 10, 77, 70, 22, 28, 49, 44, 67, 18, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1150, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "688335089539e4", | |
| "msg": [66, 26, 68, 59, 26, 60, 54, 44, 74, 10, 54, 32, 45, 20, 56, 16, 41, 48], | |
| "ct": [73, 58, 37, 64, 69, 59, 63, 55, 54, 68, 7, 67, 19, 57, 78, 29, 69, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1151, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "688335089539e4", | |
| "msg": [33, 2, 36, 9, 1, 54, 74, 43, 80, 82, 37, 63, 48, 18, 58, 55, 84, 44], | |
| "ct": [25, 38, 76, 38, 79, 41, 75, 46, 15, 3, 58, 79, 39, 38, 23, 19, 74, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1152, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", | |
| "tweak": "688335089539e4", | |
| "msg": [48, 3, 68, 24, 36, 45, 64, 77, 82, 36, 26, 69, 58, 72, 57, 68, 6, 63], | |
| "ct": [46, 15, 29, 23, 77, 67, 71, 11, 0, 78, 33, 49, 43, 10, 61, 23, 8, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1153, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", | |
| "tweak": "8fb4ffb3514c5fcc", | |
| "msg": [-1, 13, 43, 46, 49, 46, 78, 4, 19, 16, 3, 26, 69, 41, 34, 61, 39, 73], | |
| "ct": [83, 79, 14, 69, 80, 29, 29, 61, 52, 75, 74, 32, 0, 41, 52, 34, 32, 82], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1154, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", | |
| "tweak": "8fb4ffb3514c5fcc", | |
| "msg": [45, 13, 43, 46, 49, 46, -1, 4, 19, 16, 3, 26, 69, 41, 34, 61, 39, 73], | |
| "ct": [54, 37, 9, 8, 15, 48, 64, 84, 34, 20, 57, 23, 41, 81, 12, 14, 27, 15], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1155, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", | |
| "tweak": "8fb4ffb3514c5fcc", | |
| "msg": [45, 13, 43, 46, 49, 46, 78, 4, 19, 16, 3, 26, 69, 41, 34, 61, 39, -1], | |
| "ct": [20, 71, 72, 79, 48, 9, 6, 64, 19, 24, 10, 11, 9, 25, 35, 78, 83, 21], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1156, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "12f8dfb4a41367cb1d5c277a71e9ecb966fd25d953affc33", | |
| "tweak": "10f09614089ca74a", | |
| "msg": [85, 76, 16, 25, 33, 44, 76, 23, 34, 22, 0, 33, 48, 51, 36, 68, 51, 45], | |
| "ct": [39, 0, 45, 61, 57, 32, 9, 49, 38, 70, 35, 33, 44, 2, 54, 42, 35, 19], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1157, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "12f8dfb4a41367cb1d5c277a71e9ecb966fd25d953affc33", | |
| "tweak": "10f09614089ca74a", | |
| "msg": [26, 76, 16, 25, 33, 44, 85, 23, 34, 22, 0, 33, 48, 51, 36, 68, 51, 45], | |
| "ct": [53, 10, 54, 28, 59, 7, 22, 22, 34, 48, 1, 20, 41, 52, 65, 42, 12, 4], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1158, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "12f8dfb4a41367cb1d5c277a71e9ecb966fd25d953affc33", | |
| "tweak": "10f09614089ca74a", | |
| "msg": [26, 76, 16, 25, 33, 44, 76, 23, 34, 22, 0, 33, 48, 51, 36, 68, 51, 85], | |
| "ct": [50, 28, 77, 2, 27, 16, 12, 74, 46, 77, 61, 38, 45, 41, 3, 77, 70, 41], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 19, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1159, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "ba47709f6c5147bb5e20ee8869b439706fef5f984862cc0d", | |
| "tweak": "1a8494e5274bc2df", | |
| "msg": [36, 33, 46, 53, 68, 36, 5, 22, 20, 22, 12, 35, 50, 3, 5, 58, 33, 71, 11], | |
| "ct": [57, 62, 31, 15, 33, 51, 14, 1, 13, 50, 9, 18, 73, 37, 49, 45, 2, 72, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1160, | |
| "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": [81, 45, 55, 80, 31, 58, 27, 25, 40, 66, 16, 18, 56, 66, 32, 84, 1, 56, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1161, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [43, 44, 47, 58, 64, 76, 42, 1, 49, 65, 28, 23, 52, 72, 30, 1, 21, 68, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1162, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 2, 79, 54, 58, 2, 74, 77, 69, 82, 24, 1], | |
| "ct": [67, 17, 39, 4, 13, 39, 41, 37, 39, 41, 80, 24, 34, 31, 56, 50, 79, 64, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1163, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 1, 79, 54, 58, 2, 74, 77, 69, 82, 24, 0], | |
| "ct": [64, 84, 55, 45, 45, 18, 72, 67, 52, 50, 38, 72, 31, 32, 82, 57, 29, 56, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1164, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [53, 30, 45, 55, 45, 74, 46, 19, 47, 8, 72, 9, 60, 38, 63, 44, 46, 1, 60], | |
| "ct": [53, 51, 27, 74, 28, 16, 68, 60, 47, 0, 54, 63, 31, 26, 64, 56, 1, 58, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1165, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [41, 35, 26, 16, 58, 11, 22, 81, 71, 31, 50, 19, 23, 40, 36, 46, 27, 53, 44], | |
| "ct": [69, 76, 25, 11, 15, 6, 65, 6, 62, 59, 47, 25, 26, 24, 50, 5, 19, 69, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1166, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [71, 8, 48, 39, 57, 10, 41, 75, 56, 14, 35, 65, 25, 34, 72, 6, 74, 35, 50], | |
| "ct": [3, 50, 28, 31, 21, 56, 11, 71, 42, 68, 43, 55, 43, 64, 34, 11, 35, 24, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1167, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [29, 28, 65, 1, 49, 61, 72, 16, 18, 9, 16, 21, 30, 4, 26, 42, 55, 29, 10], | |
| "ct": [49, 3, 31, 32, 41, 6, 38, 69, 11, 22, 83, 11, 76, 83, 14, 83, 41, 65, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1168, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [80, 43, 30, 34, 38, 55, 73, 22, 26, 46, 17, 61, 1, 31, 78, 15, 3, 80, 37], | |
| "ct": [56, 33, 15, 46, 47, 52, 3, 55, 0, 72, 5, 69, 70, 67, 78, 82, 57, 74, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1169, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [28, 84, 24, 14, 55, 5, 22, 80, 42, 83, 44, 82, 69, 8, 43, 21, 53, 41, 41], | |
| "ct": [15, 16, 51, 25, 32, 57, 36, 15, 51, 46, 33, 32, 49, 84, 58, 2, 29, 27, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1170, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [81, 71, 66, 83, 56, 81, 34, 62, 70, 83, 17, 70, 6, 81, 75, 9, 44, 69, 1], | |
| "ct": [84, 36, 71, 47, 74, 10, 6, 61, 9, 54, 43, 76, 73, 21, 27, 18, 26, 36, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1171, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [12, 38, 71, 38, 22, 78, 36, 64, 30, 27, 81, 61, 28, 5, 3, 15, 8, 18, 81], | |
| "ct": [67, 35, 27, 10, 74, 25, 69, 55, 83, 1, 81, 71, 31, 3, 56, 66, 60, 8, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1172, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [53, 36, 35, 12, 5, 66, 79, 26, 38, 31, 5, 83, 16, 1, 32, 69, 37, 71, 15], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1173, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [50, 74, 8, 63, 19, 82, 8, 1, 72, 2, 62, 71, 77, 38, 39, 25, 79, 8, 24], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1174, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [73, 22, 66, 60, 35, 34, 17, 50, 11, 49, 23, 40, 30, 0, 38, 39, 49, 31, 1], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 2, 79, 54, 58, 2, 74, 77, 69, 82, 24, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1175, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", | |
| "tweak": "eb0ec722d32a5563", | |
| "msg": [42, 72, 56, 34, 22, 5, 71, 49, 77, 57, 58, 84, 30, 63, 19, 10, 56, 44, 16], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 1, 79, 54, 58, 2, 74, 77, 69, 82, 24, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1176, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", | |
| "tweak": "210a87007dcef98c", | |
| "msg": [-1, 70, 35, 15, 22, 72, 42, 1, 68, 22, 24, 83, 84, 3, 64, 21, 60, 57, 43], | |
| "ct": [7, 14, 32, 68, 25, 84, 2, 42, 9, 73, 68, 62, 79, 50, 72, 20, 4, 84, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1177, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", | |
| "tweak": "210a87007dcef98c", | |
| "msg": [7, 70, 35, 15, 22, 72, -1, 1, 68, 22, 24, 83, 84, 3, 64, 21, 60, 57, 43], | |
| "ct": [80, 32, 47, 36, 63, 52, 37, 64, 58, 70, 6, 30, 47, 62, 58, 7, 26, 61, 62], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1178, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", | |
| "tweak": "210a87007dcef98c", | |
| "msg": [7, 70, 35, 15, 22, 72, 42, 1, 68, 22, 24, 83, 84, 3, 64, 21, 60, 57, -1], | |
| "ct": [62, 26, 51, 31, 7, 51, 26, 80, 28, 4, 50, 19, 80, 44, 70, 21, 22, 72, 46], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1179, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e43b71d32f12126623630bca40c90e69b33594f8d37ef4ad", | |
| "tweak": "09b665033869ab7c", | |
| "msg": [85, 53, 57, 82, 57, 47, 28, 8, 22, 43, 30, 65, 69, 77, 45, 52, 26, 32, 70], | |
| "ct": [57, 59, 15, 28, 10, 0, 42, 66, 25, 44, 2, 24, 30, 51, 20, 78, 57, 32, 76], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1180, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e43b71d32f12126623630bca40c90e69b33594f8d37ef4ad", | |
| "tweak": "09b665033869ab7c", | |
| "msg": [46, 53, 57, 82, 57, 47, 85, 8, 22, 43, 30, 65, 69, 77, 45, 52, 26, 32, 70], | |
| "ct": [12, 11, 67, 38, 15, 15, 49, 53, 50, 45, 30, 19, 8, 25, 82, 7, 34, 9, 61], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1181, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e43b71d32f12126623630bca40c90e69b33594f8d37ef4ad", | |
| "tweak": "09b665033869ab7c", | |
| "msg": [46, 53, 57, 82, 57, 47, 28, 8, 22, 43, 30, 65, 69, 77, 45, 52, 26, 32, 85], | |
| "ct": [35, 22, 69, 76, 33, 62, 12, 75, 84, 7, 47, 22, 13, 66, 74, 28, 26, 46, 42], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 4, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1182, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "c4acbec2544b6a08d8b24841fc55fccf7450bfd64169fa7dbea965ccae52ac13", | |
| "tweak": "427713fa26fac273", | |
| "msg": [76, 31, 34, 48], | |
| "ct": [22, 36, 49, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1183, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [0, 0, 0, 0], | |
| "ct": [28, 16, 4, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1184, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [84, 84, 84, 84], | |
| "ct": [61, 40, 46, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1185, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [48, 16, 48, 16], | |
| "ct": [23, 16, 21, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1186, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [48, 15, 48, 15], | |
| "ct": [50, 20, 25, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1187, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [20, 64, 26, 43], | |
| "ct": [38, 3, 44, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1188, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [14, 4, 48, 0], | |
| "ct": [13, 16, 17, 62], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1189, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [52, 67, 65, 50], | |
| "ct": [15, 84, 52, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1190, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [8, 36, 11, 63], | |
| "ct": [83, 56, 11, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1191, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [80, 28, 66, 82], | |
| "ct": [53, 17, 5, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1192, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [37, 77, 6, 7], | |
| "ct": [82, 74, 63, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1193, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [80, 5, 35, 70], | |
| "ct": [46, 25, 42, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1194, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [29, 23, 8, 36], | |
| "ct": [58, 71, 34, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1195, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [23, 13, 65, 67], | |
| "ct": [0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1196, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [58, 13, 40, 70], | |
| "ct": [84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1197, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [51, 2, 75, 74], | |
| "ct": [48, 16, 48, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1198, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", | |
| "tweak": "943f8393fb6c5876", | |
| "msg": [22, 44, 75, 46], | |
| "ct": [48, 15, 48, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1199, | |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "4026c37ef69c98b7a2b20d1440", | |
| "msg": [3, 47, 14, 66], | |
| "ct": [35, 74, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1200, | |
| "comment": "y = 0 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "4026c37ef69c98b7a2b20d1440", | |
| "msg": [42, 1, 43, 38], | |
| "ct": [35, 74, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1201, | |
| "comment": "y = 0 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "4026c37ef69c98b7a2b20d1440", | |
| "msg": [81, 53, 83, 9], | |
| "ct": [35, 74, 48, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1202, | |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "4026c37ef69c98b7a2b20d1440", | |
| "msg": [28, 22, 52, 75], | |
| "ct": [35, 74, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1203, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "bee6e58811945f1f2f4ca0b980", | |
| "msg": [52, 67, 39, 81], | |
| "ct": [8, 24, 81, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1204, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "bee6e58811945f1f2f4ca0b980", | |
| "msg": [49, 84, 40, 69], | |
| "ct": [84, 62, 43, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1205, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "bee6e58811945f1f2f4ca0b980", | |
| "msg": [33, 36, 4, 19], | |
| "ct": [73, 54, 62, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1206, | |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "bee6e58811945f1f2f4ca0b980", | |
| "msg": [80, 84, 33, 57], | |
| "ct": [28, 43, 66, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1207, | |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "bee6e58811945f1f2f4ca0b980", | |
| "msg": [65, 41, 21, 72], | |
| "ct": [68, 74, 49, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1208, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "c136ac54119482c1579826da61", | |
| "msg": [25, 16, 62, 3], | |
| "ct": [81, 31, 23, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1209, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "c136ac54119482c1579826da61", | |
| "msg": [4, 44, 72, 48], | |
| "ct": [19, 83, 75, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1210, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "c136ac54119482c1579826da61", | |
| "msg": [4, 36, 62, 26], | |
| "ct": [13, 40, 15, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1211, | |
| "comment": "y is maximal and (y + a) % radix**2 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "c136ac54119482c1579826da61", | |
| "msg": [0, 77, 64, 1], | |
| "ct": [8, 30, 67, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1212, | |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "c136ac54119482c1579826da61", | |
| "msg": [68, 20, 49, 50], | |
| "ct": [51, 31, 64, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1213, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "c136ac54119482c1579826da61", | |
| "msg": [21, 67, 34, 67], | |
| "ct": [34, 15, 45, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1214, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "9f50ebe25b6273b0bacfda1fda", | |
| "msg": [9, 69, 71, 67], | |
| "ct": [10, 11, 28, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1215, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "9f50ebe25b6273b0bacfda1fda", | |
| "msg": [19, 43, 6, 31], | |
| "ct": [15, 55, 5, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1216, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "9f50ebe25b6273b0bacfda1fda", | |
| "msg": [26, 0, 70, 0], | |
| "ct": [4, 75, 54, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1217, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", | |
| "tweak": "9f50ebe25b6273b0bacfda1fda", | |
| "msg": [59, 16, 31, 49], | |
| "ct": [65, 61, 19, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1218, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a", | |
| "tweak": "498e5d8a4a05d992", | |
| "msg": [-1, 8, 20, 29], | |
| "ct": [60, 30, 69, 82], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1219, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a", | |
| "tweak": "498e5d8a4a05d992", | |
| "msg": [32, -1, 20, 29], | |
| "ct": [9, 36, 82, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1220, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a", | |
| "tweak": "498e5d8a4a05d992", | |
| "msg": [32, 8, 20, -1], | |
| "ct": [32, 5, 83, 47], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1221, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4404be1117aaa4ced6500b7063283647873c3742f88905f2ccab5e2b967f8d36", | |
| "tweak": "b4f8cba246ec06e6", | |
| "msg": [85, 75, 69, 25], | |
| "ct": [35, 16, 0, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1222, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4404be1117aaa4ced6500b7063283647873c3742f88905f2ccab5e2b967f8d36", | |
| "tweak": "b4f8cba246ec06e6", | |
| "msg": [54, 85, 69, 25], | |
| "ct": [52, 33, 41, 25], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1223, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4404be1117aaa4ced6500b7063283647873c3742f88905f2ccab5e2b967f8d36", | |
| "tweak": "b4f8cba246ec06e6", | |
| "msg": [54, 75, 69, 85], | |
| "ct": [55, 55, 20, 72], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 5, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1224, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "7b533301e6a7ac808d56cba45eb385cafec081eac871832d6936e40dfdac432e", | |
| "tweak": "3a8c315a81fe2e71", | |
| "msg": [84, 27, 35, 28, 16], | |
| "ct": [27, 70, 21, 50, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1225, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [0, 0, 0, 0, 0], | |
| "ct": [55, 31, 2, 64, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1226, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [84, 84, 84, 84, 84], | |
| "ct": [11, 22, 65, 25, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1227, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [48, 16, 72, 48, 8], | |
| "ct": [10, 84, 68, 74, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1228, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [48, 15, 72, 48, 7], | |
| "ct": [35, 84, 83, 3, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1229, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [9, 44, 11, 43, 44], | |
| "ct": [37, 54, 26, 2, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1230, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [34, 1, 65, 50, 46], | |
| "ct": [49, 56, 50, 47, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1231, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [54, 12, 63, 61, 55], | |
| "ct": [57, 16, 33, 15, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1232, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [52, 17, 47, 57, 56], | |
| "ct": [31, 54, 25, 37, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1233, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [28, 37, 14, 62, 65], | |
| "ct": [23, 52, 72, 44, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1234, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [19, 73, 66, 42, 26], | |
| "ct": [46, 84, 24, 39, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1235, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [15, 9, 78, 15, 77], | |
| "ct": [56, 7, 1, 25, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1236, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [26, 80, 83, 1, 25], | |
| "ct": [75, 35, 32, 37, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1237, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [40, 0, 15, 57, 23], | |
| "ct": [0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1238, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [13, 55, 53, 43, 61], | |
| "ct": [84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1239, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [30, 39, 80, 18, 50], | |
| "ct": [48, 16, 72, 48, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1240, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", | |
| "tweak": "16208ad8581f9aa4", | |
| "msg": [60, 35, 41, 62, 47], | |
| "ct": [48, 15, 72, 48, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1241, | |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "e181868dc6174efe3c097ca0", | |
| "msg": [63, 12, 42, 78, 74], | |
| "ct": [0, 0, 33, 41, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1242, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "e181868dc6174efe3c097ca0", | |
| "msg": [50, 80, 43, 82, 11], | |
| "ct": [0, 1, 49, 66, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1243, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "e181868dc6174efe3c097ca0", | |
| "msg": [4, 13, 40, 20, 79], | |
| "ct": [48, 16, 58, 3, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1244, | |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "e181868dc6174efe3c097ca0", | |
| "msg": [22, 69, 66, 45, 16], | |
| "ct": [84, 84, 25, 35, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1245, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "c5b332a0c9ae63875d7bd728", | |
| "msg": [0, 0, 30, 52, 48], | |
| "ct": [10, 4, 7, 40, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1246, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "c5b332a0c9ae63875d7bd728", | |
| "msg": [0, 1, 30, 52, 48], | |
| "ct": [52, 24, 59, 79, 82], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1247, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "c5b332a0c9ae63875d7bd728", | |
| "msg": [48, 16, 30, 52, 48], | |
| "ct": [27, 65, 32, 2, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1248, | |
| "comment": "y is maximal and (y + a) % radix**2 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "c5b332a0c9ae63875d7bd728", | |
| "msg": [60, 84, 30, 52, 48], | |
| "ct": [44, 47, 34, 66, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1249, | |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "c5b332a0c9ae63875d7bd728", | |
| "msg": [61, 0, 30, 52, 48], | |
| "ct": [66, 79, 70, 45, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1250, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", | |
| "tweak": "c5b332a0c9ae63875d7bd728", | |
| "msg": [84, 84, 30, 52, 48], | |
| "ct": [73, 71, 6, 45, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1251, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870", | |
| "tweak": "b69e51a606729a69", | |
| "msg": [-1, 20, 39, 41, 71], | |
| "ct": [26, 56, 65, 61, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1252, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870", | |
| "tweak": "b69e51a606729a69", | |
| "msg": [77, -1, 39, 41, 71], | |
| "ct": [71, 45, 33, 39, 35], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1253, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870", | |
| "tweak": "b69e51a606729a69", | |
| "msg": [77, 20, 39, 41, -1], | |
| "ct": [73, 6, 66, 7, 64], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1254, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5803e1e52f24a0377f41888b385b645dbe5df64e37708b91e84bec3ba35f4c67", | |
| "tweak": "e8c2640d14c2689b", | |
| "msg": [85, 61, 62, 60, 40], | |
| "ct": [75, 23, 73, 38, 63], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1255, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5803e1e52f24a0377f41888b385b645dbe5df64e37708b91e84bec3ba35f4c67", | |
| "tweak": "e8c2640d14c2689b", | |
| "msg": [84, 85, 62, 60, 40], | |
| "ct": [46, 24, 7, 45, 36], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1256, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5803e1e52f24a0377f41888b385b645dbe5df64e37708b91e84bec3ba35f4c67", | |
| "tweak": "e8c2640d14c2689b", | |
| "msg": [84, 61, 62, 60, 85], | |
| "ct": [67, 74, 33, 56, 3], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 6, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1257, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "d82810eea883aa693dafbad9520a23919e6d5eadef78b28226daca2af64a68e5", | |
| "tweak": "44bbec52bad40a55", | |
| "msg": [73, 16, 32, 83, 48, 65], | |
| "ct": [37, 1, 61, 15, 82, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1258, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [0, 0, 0, 0, 0, 0], | |
| "ct": [38, 51, 39, 35, 82, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1259, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [84, 84, 84, 84, 84, 84], | |
| "ct": [46, 60, 24, 29, 38, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1260, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [72, 48, 8, 72, 48, 8], | |
| "ct": [14, 8, 21, 43, 62, 78], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1261, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [72, 48, 7, 72, 48, 7], | |
| "ct": [66, 14, 10, 72, 26, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1262, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [82, 57, 59, 1, 4, 7], | |
| "ct": [73, 63, 74, 2, 30, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1263, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [22, 1, 51, 9, 35, 22], | |
| "ct": [80, 60, 13, 64, 12, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1264, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [13, 40, 54, 16, 53, 80], | |
| "ct": [19, 4, 52, 2, 76, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1265, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [48, 32, 40, 32, 77, 51], | |
| "ct": [25, 61, 78, 75, 8, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1266, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [60, 21, 39, 29, 59, 41], | |
| "ct": [8, 12, 77, 60, 37, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1267, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [79, 55, 48, 81, 15, 15], | |
| "ct": [79, 11, 17, 48, 68, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1268, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [24, 12, 26, 82, 48, 25], | |
| "ct": [10, 43, 39, 5, 44, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1269, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [16, 24, 76, 31, 2, 39], | |
| "ct": [68, 5, 17, 65, 58, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1270, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [52, 62, 81, 50, 14, 49], | |
| "ct": [0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1271, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [31, 75, 56, 74, 10, 0], | |
| "ct": [84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1272, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [13, 34, 53, 15, 75, 57], | |
| "ct": [72, 48, 8, 72, 48, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1273, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", | |
| "tweak": "9342a88d4b672bbb", | |
| "msg": [16, 46, 66, 60, 69, 29], | |
| "ct": [72, 48, 7, 72, 48, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1274, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "602bd456626885a160800040", | |
| "msg": [67, 76, 10, 16, 53, 75], | |
| "ct": [18, 31, 36, 18, 32, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1275, | |
| "comment": "y = 0 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "602bd456626885a160800040", | |
| "msg": [82, 80, 33, 15, 32, 42], | |
| "ct": [9, 44, 38, 66, 22, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1276, | |
| "comment": "y = 0 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "602bd456626885a160800040", | |
| "msg": [54, 3, 73, 84, 25, 27], | |
| "ct": [59, 67, 13, 69, 25, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1277, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "602bd456626885a160800040", | |
| "msg": [2, 41, 27, 40, 47, 51], | |
| "ct": [82, 50, 77, 21, 14, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1278, | |
| "comment": "y = 1 and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "eaae0f0ee7fcf19665f57dd5", | |
| "msg": [66, 41, 24, 56, 41, 76], | |
| "ct": [65, 68, 74, 30, 59, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1279, | |
| "comment": "y = 1 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "eaae0f0ee7fcf19665f57dd5", | |
| "msg": [57, 3, 52, 37, 46, 76], | |
| "ct": [64, 37, 67, 49, 8, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1280, | |
| "comment": "y = 1 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "eaae0f0ee7fcf19665f57dd5", | |
| "msg": [22, 56, 84, 3, 80, 29], | |
| "ct": [70, 52, 82, 43, 11, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1281, | |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "eaae0f0ee7fcf19665f57dd5", | |
| "msg": [36, 20, 0, 43, 73, 71], | |
| "ct": [13, 42, 14, 21, 65, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1282, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "eaae0f0ee7fcf19665f57dd5", | |
| "msg": [73, 41, 47, 54, 1, 35], | |
| "ct": [40, 17, 40, 68, 81, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1283, | |
| "comment": "y is maximal and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "6fce16f66f5a7a4556a4b2d4", | |
| "msg": [7, 15, 20, 0, 0, 0], | |
| "ct": [35, 50, 11, 4, 68, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1284, | |
| "comment": "y is maximal and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "6fce16f66f5a7a4556a4b2d4", | |
| "msg": [69, 58, 54, 0, 0, 1], | |
| "ct": [83, 3, 5, 5, 31, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1285, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "6fce16f66f5a7a4556a4b2d4", | |
| "msg": [60, 13, 56, 2, 60, 84], | |
| "ct": [11, 3, 67, 61, 6, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1286, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "6fce16f66f5a7a4556a4b2d4", | |
| "msg": [81, 8, 2, 2, 61, 0], | |
| "ct": [58, 49, 31, 80, 84, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1287, | |
| "comment": "y is maximal and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "6fce16f66f5a7a4556a4b2d4", | |
| "msg": [15, 2, 39, 72, 48, 8], | |
| "ct": [40, 29, 0, 55, 15, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1288, | |
| "comment": "y is maximal and a is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "6fce16f66f5a7a4556a4b2d4", | |
| "msg": [3, 62, 3, 84, 84, 84], | |
| "ct": [69, 68, 82, 3, 48, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1289, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "a09f1cb063730beaf0c1d384", | |
| "msg": [0, 0, 0, 57, 16, 49], | |
| "ct": [77, 83, 78, 10, 46, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1290, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "a09f1cb063730beaf0c1d384", | |
| "msg": [0, 0, 1, 57, 16, 49], | |
| "ct": [4, 68, 44, 48, 27, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1291, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "a09f1cb063730beaf0c1d384", | |
| "msg": [72, 48, 8, 57, 16, 49], | |
| "ct": [40, 62, 79, 75, 69, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1292, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", | |
| "tweak": "a09f1cb063730beaf0c1d384", | |
| "msg": [84, 84, 84, 57, 16, 49], | |
| "ct": [16, 55, 4, 67, 28, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1293, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", | |
| "tweak": "bf692e602f57a277", | |
| "msg": [-1, 32, 55, 48, 69, 11], | |
| "ct": [25, 34, 54, 67, 1, 69], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1294, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", | |
| "tweak": "bf692e602f57a277", | |
| "msg": [24, 32, -1, 48, 69, 11], | |
| "ct": [42, 11, 0, 63, 68, 15], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1295, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", | |
| "tweak": "bf692e602f57a277", | |
| "msg": [24, 32, 55, 48, 69, -1], | |
| "ct": [48, 83, 32, 49, 29, 36], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1296, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ac40ad9e332a0045f7a03e8474e067be3fee6812c71cdcbe07f2ba4c2b289448", | |
| "tweak": "4e7172cdd991b8fa", | |
| "msg": [85, 10, 25, 49, 22, 8], | |
| "ct": [49, 7, 11, 77, 60, 76], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1297, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ac40ad9e332a0045f7a03e8474e067be3fee6812c71cdcbe07f2ba4c2b289448", | |
| "tweak": "4e7172cdd991b8fa", | |
| "msg": [22, 10, 85, 49, 22, 8], | |
| "ct": [83, 16, 45, 30, 0, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1298, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ac40ad9e332a0045f7a03e8474e067be3fee6812c71cdcbe07f2ba4c2b289448", | |
| "tweak": "4e7172cdd991b8fa", | |
| "msg": [22, 10, 25, 49, 22, 85], | |
| "ct": [3, 14, 4, 57, 56, 23], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 7, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1299, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "647b69567516a585377f3fc9a8129c255431b0b5ab6792f9aa3fd646f3146b13", | |
| "tweak": "39774b45a4fdd85b", | |
| "msg": [54, 61, 12, 63, 42, 25, 32], | |
| "ct": [74, 0, 52, 69, 63, 8, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1300, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [0, 0, 0, 0, 0, 0, 0], | |
| "ct": [70, 63, 53, 14, 38, 80, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1301, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [84, 84, 84, 84, 84, 84, 84], | |
| "ct": [10, 48, 23, 14, 67, 8, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1302, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [72, 48, 8, 54, 54, 18, 2], | |
| "ct": [39, 33, 81, 76, 50, 65, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1303, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [72, 48, 7, 54, 54, 18, 1], | |
| "ct": [34, 7, 42, 16, 38, 78, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1304, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [25, 6, 21, 21, 54, 18, 43], | |
| "ct": [12, 26, 48, 22, 65, 33, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1305, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [16, 60, 14, 50, 43, 47, 7], | |
| "ct": [23, 69, 43, 20, 60, 75, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1306, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [47, 76, 49, 54, 59, 16, 1], | |
| "ct": [71, 49, 0, 10, 1, 13, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1307, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [59, 33, 64, 83, 37, 28, 55], | |
| "ct": [59, 59, 33, 32, 50, 74, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1308, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [18, 57, 55, 43, 16, 79, 8], | |
| "ct": [44, 73, 10, 75, 74, 65, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1309, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [59, 22, 39, 14, 36, 39, 20], | |
| "ct": [60, 24, 57, 48, 63, 84, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1310, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [3, 8, 76, 43, 1, 62, 82], | |
| "ct": [40, 59, 71, 52, 41, 30, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1311, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [68, 40, 39, 40, 38, 33, 17], | |
| "ct": [33, 62, 61, 0, 64, 75, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1312, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [40, 24, 24, 4, 76, 33, 68], | |
| "ct": [0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1313, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [34, 48, 72, 14, 81, 28, 35], | |
| "ct": [84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1314, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [31, 13, 65, 15, 22, 21, 45], | |
| "ct": [72, 48, 8, 54, 54, 18, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1315, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", | |
| "tweak": "85e4782f20e0178c", | |
| "msg": [51, 0, 59, 32, 2, 59, 62], | |
| "ct": [72, 48, 7, 54, 54, 18, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1316, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "7834773830a0cf2cce5850", | |
| "msg": [62, 16, 69, 76, 44, 21, 83], | |
| "ct": [70, 25, 35, 33, 61, 45, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1317, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "7834773830a0cf2cce5850", | |
| "msg": [62, 44, 52, 77, 51, 81, 26], | |
| "ct": [7, 55, 7, 38, 53, 38, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1318, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "7834773830a0cf2cce5850", | |
| "msg": [5, 77, 74, 30, 40, 40, 43], | |
| "ct": [10, 57, 82, 13, 30, 42, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1319, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "7834773830a0cf2cce5850", | |
| "msg": [17, 7, 25, 72, 43, 7, 4], | |
| "ct": [19, 19, 47, 78, 22, 75, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1320, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "bd604286237f4d1d7eaf5d", | |
| "msg": [28, 18, 34, 46, 23, 35, 82], | |
| "ct": [52, 73, 80, 71, 3, 2, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1321, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "bd604286237f4d1d7eaf5d", | |
| "msg": [33, 36, 73, 33, 56, 6, 39], | |
| "ct": [12, 58, 38, 43, 30, 48, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1322, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "bd604286237f4d1d7eaf5d", | |
| "msg": [48, 16, 1, 22, 30, 6, 22], | |
| "ct": [28, 67, 43, 3, 11, 55, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1323, | |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "bd604286237f4d1d7eaf5d", | |
| "msg": [65, 23, 67, 48, 66, 17, 70], | |
| "ct": [53, 75, 64, 31, 37, 46, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1324, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "bd604286237f4d1d7eaf5d", | |
| "msg": [2, 34, 31, 42, 42, 63, 18], | |
| "ct": [74, 69, 17, 17, 52, 53, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1325, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "96c86bac462a4a58f11799", | |
| "msg": [0, 0, 0, 27, 42, 33, 21], | |
| "ct": [29, 31, 25, 6, 83, 83, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1326, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "96c86bac462a4a58f11799", | |
| "msg": [0, 0, 1, 27, 42, 33, 21], | |
| "ct": [31, 50, 32, 55, 24, 46, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1327, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "96c86bac462a4a58f11799", | |
| "msg": [2, 60, 84, 27, 42, 33, 21], | |
| "ct": [68, 44, 21, 13, 2, 52, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1328, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "96c86bac462a4a58f11799", | |
| "msg": [2, 61, 0, 27, 42, 33, 21], | |
| "ct": [12, 20, 75, 57, 15, 37, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1329, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "96c86bac462a4a58f11799", | |
| "msg": [72, 48, 8, 27, 42, 33, 21], | |
| "ct": [32, 14, 26, 27, 17, 75, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1330, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", | |
| "tweak": "96c86bac462a4a58f11799", | |
| "msg": [84, 84, 84, 27, 42, 33, 21], | |
| "ct": [10, 42, 79, 82, 42, 51, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1331, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", | |
| "tweak": "c5df6cad17b46d67", | |
| "msg": [-1, 74, 50, 54, 27, 75, 26], | |
| "ct": [42, 26, 53, 71, 16, 71, 4], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1332, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", | |
| "tweak": "c5df6cad17b46d67", | |
| "msg": [58, 74, -1, 54, 27, 75, 26], | |
| "ct": [30, 52, 58, 14, 0, 41, 9], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1333, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", | |
| "tweak": "c5df6cad17b46d67", | |
| "msg": [58, 74, 50, 54, 27, 75, -1], | |
| "ct": [41, 14, 12, 59, 59, 9, 40], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1334, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "816f6fc55de4f914bdb6e07698c1b4e628fdccf7b2cba1562c48c79abc471a0a", | |
| "tweak": "62723fe6e87a61ad", | |
| "msg": [85, 23, 21, 18, 77, 36, 84], | |
| "ct": [51, 45, 48, 19, 26, 74, 45], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1335, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "816f6fc55de4f914bdb6e07698c1b4e628fdccf7b2cba1562c48c79abc471a0a", | |
| "tweak": "62723fe6e87a61ad", | |
| "msg": [36, 23, 85, 18, 77, 36, 84], | |
| "ct": [11, 73, 62, 19, 36, 66, 18], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1336, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "816f6fc55de4f914bdb6e07698c1b4e628fdccf7b2cba1562c48c79abc471a0a", | |
| "tweak": "62723fe6e87a61ad", | |
| "msg": [36, 23, 21, 18, 77, 36, 85], | |
| "ct": [27, 33, 63, 45, 50, 4, 79], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 8, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1337, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "066c6a83fd826a5fa7f3b4025bb9c833befa12044d3fbed87280a4c7a0435b03", | |
| "tweak": "80650ae5bc5e1bb1", | |
| "msg": [20, 39, 5, 68, 27, 20, 82, 24], | |
| "ct": [54, 46, 40, 14, 52, 80, 77, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1338, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [21, 14, 68, 17, 84, 17, 71, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1339, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [3, 75, 83, 68, 16, 41, 3, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1340, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [54, 54, 18, 2, 54, 54, 18, 2], | |
| "ct": [15, 76, 34, 52, 19, 59, 56, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1341, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [54, 54, 18, 1, 54, 54, 18, 1], | |
| "ct": [44, 7, 54, 65, 69, 2, 52, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1342, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [49, 0, 78, 23, 78, 23, 47, 48], | |
| "ct": [15, 31, 2, 67, 22, 82, 38, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1343, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [20, 51, 48, 12, 46, 24, 52, 14], | |
| "ct": [56, 66, 29, 3, 27, 1, 58, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1344, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [29, 83, 49, 27, 0, 59, 69, 2], | |
| "ct": [82, 83, 26, 51, 44, 64, 41, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1345, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [68, 36, 38, 10, 11, 68, 13, 61], | |
| "ct": [53, 15, 6, 54, 0, 47, 30, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1346, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [43, 4, 0, 11, 28, 21, 0, 66], | |
| "ct": [57, 39, 81, 43, 36, 63, 82, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1347, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [46, 56, 30, 51, 61, 10, 58, 30], | |
| "ct": [82, 44, 73, 5, 77, 36, 81, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1348, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [51, 59, 74, 68, 60, 8, 50, 47], | |
| "ct": [48, 25, 24, 83, 40, 51, 75, 80], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1349, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [45, 64, 2, 13, 13, 36, 64, 8], | |
| "ct": [76, 82, 75, 70, 25, 55, 42, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1350, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [53, 13, 36, 80, 21, 24, 77, 62], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1351, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [36, 50, 83, 4, 21, 59, 36, 80], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1352, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [24, 37, 14, 58, 58, 77, 23, 84], | |
| "ct": [54, 54, 18, 2, 54, 54, 18, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1353, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", | |
| "tweak": "6b79eea9265e4ccf", | |
| "msg": [31, 16, 10, 2, 70, 17, 15, 35], | |
| "ct": [54, 54, 18, 1, 54, 54, 18, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1354, | |
| "comment": "y = 1 and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "e760d0c08b62aee7c803f8", | |
| "msg": [41, 66, 28, 74, 82, 52, 77, 44], | |
| "ct": [1, 62, 9, 24, 0, 0, 0, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1355, | |
| "comment": "y = 1 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "e760d0c08b62aee7c803f8", | |
| "msg": [43, 30, 23, 57, 39, 58, 65, 21], | |
| "ct": [1, 62, 9, 24, 0, 0, 0, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1356, | |
| "comment": "y = 1 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "e760d0c08b62aee7c803f8", | |
| "msg": [63, 15, 50, 12, 65, 27, 10, 45], | |
| "ct": [1, 62, 9, 24, 54, 54, 18, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1357, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "e760d0c08b62aee7c803f8", | |
| "msg": [18, 77, 25, 18, 40, 52, 24, 33], | |
| "ct": [1, 62, 9, 24, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1358, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "e760d0c08b62aee7c803f8", | |
| "msg": [53, 71, 25, 42, 5, 58, 32, 38], | |
| "ct": [1, 62, 9, 24, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1359, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "e27c45347526b7ee5b3f11", | |
| "msg": [0, 0, 0, 0, 62, 47, 47, 0], | |
| "ct": [41, 78, 84, 3, 52, 6, 3, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1360, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "e27c45347526b7ee5b3f11", | |
| "msg": [0, 0, 0, 1, 62, 47, 47, 0], | |
| "ct": [28, 17, 26, 18, 60, 28, 20, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1361, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "e27c45347526b7ee5b3f11", | |
| "msg": [54, 54, 18, 2, 62, 47, 47, 0], | |
| "ct": [51, 41, 58, 49, 84, 45, 47, 82], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1362, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", | |
| "tweak": "e27c45347526b7ee5b3f11", | |
| "msg": [84, 84, 84, 84, 62, 47, 47, 0], | |
| "ct": [37, 23, 76, 78, 76, 43, 31, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1363, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", | |
| "tweak": "55d9bf63cd98d552", | |
| "msg": [-1, 54, 43, 48, 1, 29, 25, 57], | |
| "ct": [62, 27, 34, 42, 23, 63, 47, 62], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1364, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", | |
| "tweak": "55d9bf63cd98d552", | |
| "msg": [5, 54, -1, 48, 1, 29, 25, 57], | |
| "ct": [42, 20, 33, 45, 10, 74, 50, 54], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1365, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", | |
| "tweak": "55d9bf63cd98d552", | |
| "msg": [5, 54, 43, 48, 1, 29, 25, -1], | |
| "ct": [47, 5, 33, 57, 26, 64, 68, 72], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1366, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e29da8d834b3c5afade80ddc7297908adb907b8410ce41ce881bce7ce00fab7f", | |
| "tweak": "c592cbb9d6073a6e", | |
| "msg": [85, 74, 36, 23, 27, 73, 32, 51], | |
| "ct": [18, 7, 7, 31, 5, 79, 45, 41], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1367, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e29da8d834b3c5afade80ddc7297908adb907b8410ce41ce881bce7ce00fab7f", | |
| "tweak": "c592cbb9d6073a6e", | |
| "msg": [67, 74, 85, 23, 27, 73, 32, 51], | |
| "ct": [75, 72, 64, 41, 50, 10, 73, 41], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1368, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e29da8d834b3c5afade80ddc7297908adb907b8410ce41ce881bce7ce00fab7f", | |
| "tweak": "c592cbb9d6073a6e", | |
| "msg": [67, 74, 36, 23, 27, 73, 32, 85], | |
| "ct": [39, 79, 61, 14, 81, 34, 34, 68], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 9, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1369, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f44f1e998316e5fe6f5c6f8d89919428d692d931130409c41ba4955dfc4c8c14", | |
| "tweak": "387c0277bb97fa8e", | |
| "msg": [31, 63, 66, 55, 62, 79, 64, 13, 59], | |
| "ct": [54, 40, 20, 13, 53, 30, 15, 48, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1370, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [7, 30, 44, 52, 71, 20, 3, 58, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1371, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [74, 13, 4, 66, 73, 65, 83, 60, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1372, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [54, 54, 18, 2, 82, 23, 54, 12, 1], | |
| "ct": [63, 14, 29, 34, 71, 74, 82, 79, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1373, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [54, 54, 18, 1, 82, 23, 54, 12, 0], | |
| "ct": [51, 38, 70, 65, 43, 9, 59, 15, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1374, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [8, 43, 75, 25, 81, 1, 41, 79, 13], | |
| "ct": [33, 60, 47, 14, 26, 74, 41, 74, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1375, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [80, 28, 38, 35, 77, 41, 77, 9, 8], | |
| "ct": [70, 83, 79, 29, 4, 64, 70, 50, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1376, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [49, 37, 42, 21, 31, 82, 35, 18, 31], | |
| "ct": [56, 41, 11, 80, 79, 60, 40, 63, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1377, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [69, 24, 64, 63, 25, 0, 75, 78, 37], | |
| "ct": [61, 67, 60, 28, 73, 55, 14, 75, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1378, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [71, 40, 3, 80, 71, 76, 27, 63, 60], | |
| "ct": [33, 0, 64, 31, 65, 3, 40, 35, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1379, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [42, 39, 3, 75, 44, 43, 82, 50, 75], | |
| "ct": [56, 29, 3, 44, 39, 64, 28, 67, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1380, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [17, 36, 56, 19, 5, 83, 6, 49, 26], | |
| "ct": [67, 14, 14, 78, 6, 62, 22, 45, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1381, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [79, 28, 51, 78, 63, 60, 16, 38, 50], | |
| "ct": [77, 28, 8, 0, 23, 6, 54, 37, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1382, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [43, 82, 54, 2, 62, 53, 46, 37, 50], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1383, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [27, 0, 78, 59, 65, 81, 34, 26, 65], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1384, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [59, 59, 12, 36, 74, 57, 79, 35, 80], | |
| "ct": [54, 54, 18, 2, 82, 23, 54, 12, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1385, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", | |
| "tweak": "0f79bdd51e894679", | |
| "msg": [80, 40, 35, 10, 37, 69, 67, 78, 34], | |
| "ct": [54, 54, 18, 1, 82, 23, 54, 12, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1386, | |
| "comment": "y = 1 and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "5b443aeb87b857995abd", | |
| "msg": [82, 69, 26, 55, 84, 33, 67, 23, 81], | |
| "ct": [0, 0, 0, 1, 62, 65, 64, 9, 71], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1387, | |
| "comment": "y = 1 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "5b443aeb87b857995abd", | |
| "msg": [16, 19, 61, 48, 57, 30, 37, 9, 21], | |
| "ct": [0, 0, 0, 2, 5, 5, 30, 81, 10], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1388, | |
| "comment": "y = 1 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "5b443aeb87b857995abd", | |
| "msg": [20, 55, 84, 84, 28, 12, 57, 0, 74], | |
| "ct": [54, 54, 18, 3, 55, 35, 56, 11, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1389, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "5b443aeb87b857995abd", | |
| "msg": [16, 57, 82, 80, 29, 2, 52, 18, 55], | |
| "ct": [84, 84, 84, 84, 43, 0, 70, 73, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1390, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", | |
| "tweak": "5b443aeb87b857995abd", | |
| "msg": [16, 70, 52, 27, 26, 49, 61, 56, 30], | |
| "ct": [0, 0, 0, 0, 76, 45, 27, 81, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1391, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", | |
| "tweak": "5aa849326a17e15a", | |
| "msg": [-1, 23, 79, 3, 68, 69, 50, 51, 69], | |
| "ct": [7, 24, 81, 59, 11, 23, 81, 12, 17], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1392, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", | |
| "tweak": "5aa849326a17e15a", | |
| "msg": [4, 23, 79, -1, 68, 69, 50, 51, 69], | |
| "ct": [73, 5, 75, 70, 45, 41, 34, 22, 78], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1393, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", | |
| "tweak": "5aa849326a17e15a", | |
| "msg": [4, 23, 79, 3, 68, 69, 50, 51, -1], | |
| "ct": [50, 4, 17, 17, 44, 84, 48, 27, 76], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1394, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "636284c4bd595a850feb3655ba26b3349c693b5081cf89cf9c398294a641bc42", | |
| "tweak": "b428f084e199ce6f", | |
| "msg": [85, 35, 9, 18, 60, 65, 8, 67, 47], | |
| "ct": [19, 18, 62, 22, 30, 17, 39, 49, 70], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1395, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "636284c4bd595a850feb3655ba26b3349c693b5081cf89cf9c398294a641bc42", | |
| "tweak": "b428f084e199ce6f", | |
| "msg": [31, 35, 9, 85, 60, 65, 8, 67, 47], | |
| "ct": [2, 68, 13, 26, 49, 75, 32, 4, 2], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1396, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "636284c4bd595a850feb3655ba26b3349c693b5081cf89cf9c398294a641bc42", | |
| "tweak": "b428f084e199ce6f", | |
| "msg": [31, 35, 9, 18, 60, 65, 8, 67, 85], | |
| "ct": [47, 84, 45, 15, 46, 40, 19, 10, 7], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 10, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1397, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "267c361cd190db6be369183a3b1a71601103f958cd6b791112928244c9402939", | |
| "tweak": "d00249da9e347109", | |
| "msg": [49, 81, 69, 56, 76, 47, 45, 1, 61, 13], | |
| "ct": [72, 40, 8, 24, 80, 61, 37, 9, 14, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1398, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [19, 66, 67, 5, 61, 26, 44, 31, 33, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1399, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [5, 53, 9, 22, 34, 61, 33, 17, 11, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1400, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [82, 23, 54, 12, 1, 82, 23, 54, 12, 1], | |
| "ct": [54, 49, 44, 22, 52, 18, 84, 16, 60, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1401, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [82, 23, 54, 12, 0, 82, 23, 54, 12, 0], | |
| "ct": [81, 75, 79, 15, 68, 58, 0, 60, 83, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1402, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [2, 4, 75, 43, 47, 1, 29, 34, 80, 20], | |
| "ct": [38, 44, 83, 24, 83, 37, 83, 73, 82, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1403, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [10, 52, 31, 19, 42, 75, 56, 0, 26, 22], | |
| "ct": [27, 61, 65, 56, 26, 71, 68, 65, 15, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1404, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [23, 40, 40, 13, 74, 55, 64, 2, 9, 33], | |
| "ct": [6, 15, 20, 75, 4, 60, 13, 72, 38, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1405, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [54, 39, 49, 79, 40, 73, 22, 54, 18, 44], | |
| "ct": [7, 44, 82, 75, 56, 55, 82, 12, 16, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1406, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [39, 37, 70, 27, 18, 40, 31, 58, 6, 9], | |
| "ct": [39, 29, 6, 12, 13, 83, 83, 70, 60, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1407, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [44, 50, 69, 16, 44, 76, 84, 18, 10, 15], | |
| "ct": [39, 40, 14, 41, 3, 84, 25, 56, 37, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1408, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [8, 79, 26, 41, 76, 0, 78, 28, 69, 72], | |
| "ct": [17, 31, 22, 26, 33, 18, 3, 50, 12, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1409, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [16, 29, 58, 64, 16, 48, 28, 72, 33, 63], | |
| "ct": [15, 64, 21, 42, 82, 77, 49, 79, 53, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1410, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [75, 35, 35, 60, 7, 13, 33, 20, 43, 19], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1411, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [68, 9, 57, 36, 67, 53, 66, 7, 44, 83], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1412, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [30, 55, 55, 81, 28, 22, 84, 63, 65, 55], | |
| "ct": [82, 23, 54, 12, 1, 82, 23, 54, 12, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1413, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", | |
| "tweak": "68801fd1e1ea4d75", | |
| "msg": [4, 29, 15, 3, 62, 54, 80, 49, 27, 42], | |
| "ct": [82, 23, 54, 12, 0, 82, 23, 54, 12, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1414, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", | |
| "tweak": "aac963be9bb06d9c", | |
| "msg": [-1, 23, 83, 57, 74, 0, 12, 82, 77, 13], | |
| "ct": [38, 53, 60, 29, 2, 84, 35, 7, 18, 67], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1415, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", | |
| "tweak": "aac963be9bb06d9c", | |
| "msg": [60, 23, 83, -1, 74, 0, 12, 82, 77, 13], | |
| "ct": [61, 76, 74, 58, 65, 48, 70, 11, 57, 56], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1416, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", | |
| "tweak": "aac963be9bb06d9c", | |
| "msg": [60, 23, 83, 57, 74, 0, 12, 82, 77, -1], | |
| "ct": [10, 17, 32, 68, 40, 31, 8, 23, 3, 37], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1417, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "06b0800ab288483c100941fb6298ea4d1acd676d7dbd6e51c911cd5d6eb79818", | |
| "tweak": "09e9bc141f60d425", | |
| "msg": [85, 58, 31, 32, 2, 12, 10, 70, 42, 26], | |
| "ct": [70, 31, 76, 11, 67, 59, 42, 74, 60, 45], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1418, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "06b0800ab288483c100941fb6298ea4d1acd676d7dbd6e51c911cd5d6eb79818", | |
| "tweak": "09e9bc141f60d425", | |
| "msg": [80, 58, 31, 85, 2, 12, 10, 70, 42, 26], | |
| "ct": [59, 60, 26, 48, 31, 0, 52, 49, 5, 55], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1419, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "06b0800ab288483c100941fb6298ea4d1acd676d7dbd6e51c911cd5d6eb79818", | |
| "tweak": "09e9bc141f60d425", | |
| "msg": [80, 58, 31, 32, 2, 12, 10, 70, 42, 85], | |
| "ct": [35, 69, 17, 12, 21, 1, 63, 83, 52, 64], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 11, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1420, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "a40786c69f8a487744536af3e952b5e4c3c848cf21a994e28fa555d8d1ac9beb", | |
| "tweak": "8782789b84c8fa4a", | |
| "msg": [80, 64, 47, 43, 72, 7, 69, 51, 60, 61, 74], | |
| "ct": [84, 43, 9, 27, 2, 44, 73, 3, 82, 64, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1421, | |
| "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": [81, 80, 22, 83, 48, 48, 74, 47, 66, 34, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1422, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [22, 37, 73, 77, 67, 34, 2, 70, 70, 40, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1423, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [82, 23, 54, 12, 1, 61, 80, 67, 65, 3, 64], | |
| "ct": [41, 64, 81, 76, 63, 5, 74, 34, 52, 32, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1424, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [82, 23, 54, 12, 0, 61, 80, 67, 65, 3, 63], | |
| "ct": [38, 80, 32, 21, 2, 64, 67, 64, 60, 4, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1425, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [50, 18, 36, 20, 74, 57, 13, 4, 60, 55, 31], | |
| "ct": [39, 29, 41, 73, 77, 62, 77, 38, 24, 71, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1426, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [72, 41, 2, 34, 67, 74, 37, 16, 27, 62, 14], | |
| "ct": [72, 60, 25, 39, 78, 72, 51, 46, 73, 57, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1427, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [32, 34, 46, 79, 50, 30, 17, 64, 79, 30, 73], | |
| "ct": [5, 27, 20, 74, 9, 25, 34, 37, 51, 84, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1428, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [51, 18, 42, 63, 69, 75, 24, 82, 78, 45, 44], | |
| "ct": [29, 56, 9, 14, 74, 56, 53, 50, 71, 81, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1429, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [76, 22, 78, 6, 69, 21, 23, 15, 84, 31, 23], | |
| "ct": [27, 78, 47, 20, 83, 84, 78, 46, 73, 75, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1430, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [5, 63, 0, 22, 49, 30, 78, 0, 3, 7, 39], | |
| "ct": [73, 40, 20, 2, 35, 77, 25, 40, 46, 55, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1431, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [47, 12, 64, 52, 65, 12, 52, 81, 7, 36, 21], | |
| "ct": [81, 25, 23, 44, 79, 40, 46, 19, 58, 80, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1432, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [39, 57, 6, 76, 74, 65, 84, 59, 8, 77, 54], | |
| "ct": [71, 75, 77, 59, 5, 68, 74, 37, 45, 74, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1433, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [21, 33, 2, 29, 14, 4, 75, 60, 45, 31, 6], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1434, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [38, 33, 14, 43, 69, 1, 52, 50, 57, 42, 51], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1435, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [39, 45, 13, 67, 6, 78, 31, 26, 67, 27, 41], | |
| "ct": [82, 23, 54, 12, 1, 61, 80, 67, 65, 3, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1436, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", | |
| "tweak": "b72708737a746e25", | |
| "msg": [2, 28, 11, 17, 5, 24, 82, 19, 53, 52, 70], | |
| "ct": [82, 23, 54, 12, 0, 61, 80, 67, 65, 3, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1437, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "1e62b617e0369031c820", | |
| "msg": [48, 71, 79, 50, 57, 41, 45, 70, 80, 50, 14], | |
| "ct": [82, 69, 24, 29, 82, 41, 59, 62, 17, 26, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1438, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "1e62b617e0369031c820", | |
| "msg": [45, 59, 70, 54, 80, 77, 81, 78, 13, 23, 68], | |
| "ct": [51, 47, 3, 10, 71, 48, 48, 52, 34, 48, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1439, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "1e62b617e0369031c820", | |
| "msg": [45, 64, 65, 56, 49, 83, 13, 33, 82, 56, 72], | |
| "ct": [66, 28, 12, 78, 79, 3, 19, 22, 3, 63, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1440, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "1e62b617e0369031c820", | |
| "msg": [63, 1, 62, 81, 28, 37, 80, 6, 48, 37, 6], | |
| "ct": [65, 31, 80, 10, 31, 32, 47, 45, 5, 30, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1441, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "ed728dfce0e5cd011116", | |
| "msg": [42, 73, 82, 33, 33, 9, 34, 67, 0, 53, 67], | |
| "ct": [62, 73, 38, 27, 54, 74, 34, 66, 58, 27, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1442, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "ed728dfce0e5cd011116", | |
| "msg": [66, 0, 29, 77, 51, 48, 12, 16, 27, 69, 19], | |
| "ct": [53, 3, 16, 3, 69, 64, 82, 34, 63, 51, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1443, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "ed728dfce0e5cd011116", | |
| "msg": [6, 57, 6, 80, 7, 33, 16, 24, 11, 30, 25], | |
| "ct": [76, 49, 48, 51, 41, 62, 76, 49, 51, 39, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1444, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "ed728dfce0e5cd011116", | |
| "msg": [81, 72, 16, 79, 61, 67, 49, 81, 70, 18, 6], | |
| "ct": [48, 55, 79, 60, 74, 19, 1, 68, 4, 82, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1445, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "ed728dfce0e5cd011116", | |
| "msg": [23, 13, 50, 64, 21, 69, 38, 38, 10, 66, 42], | |
| "ct": [8, 35, 0, 26, 49, 82, 77, 10, 19, 36, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1446, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "4aff365c7e2ce6d3a3a1", | |
| "msg": [55, 71, 68, 0, 84, 62, 69, 22, 36, 7, 49], | |
| "ct": [55, 17, 84, 37, 35, 27, 26, 5, 14, 0, 54], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1447, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "4aff365c7e2ce6d3a3a1", | |
| "msg": [59, 20, 52, 81, 26, 73, 48, 47, 17, 65, 39], | |
| "ct": [5, 39, 21, 60, 51, 28, 6, 55, 63, 42, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1448, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "4aff365c7e2ce6d3a3a1", | |
| "msg": [24, 1, 3, 50, 12, 84, 78, 43, 13, 32, 17], | |
| "ct": [61, 76, 37, 59, 80, 7, 84, 51, 15, 12, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1449, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "4aff365c7e2ce6d3a3a1", | |
| "msg": [58, 55, 4, 84, 2, 3, 52, 71, 60, 73, 66], | |
| "ct": [53, 14, 54, 56, 25, 55, 9, 79, 29, 9, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1450, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "4aff365c7e2ce6d3a3a1", | |
| "msg": [49, 19, 64, 14, 73, 70, 77, 30, 2, 10, 81], | |
| "ct": [12, 18, 77, 31, 56, 23, 55, 31, 47, 56, 35], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1451, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "4aff365c7e2ce6d3a3a1", | |
| "msg": [37, 62, 9, 32, 66, 41, 19, 75, 80, 36, 0], | |
| "ct": [29, 9, 79, 58, 81, 18, 15, 43, 53, 46, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1452, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "4b587a2ac774cdbb3780", | |
| "msg": [64, 49, 0, 74, 66, 31, 23, 43, 80, 57, 74], | |
| "ct": [12, 8, 45, 13, 56, 11, 50, 35, 81, 31, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1453, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "4b587a2ac774cdbb3780", | |
| "msg": [46, 44, 71, 26, 45, 56, 75, 49, 58, 3, 50], | |
| "ct": [12, 29, 65, 37, 38, 43, 8, 22, 74, 54, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1454, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "4b587a2ac774cdbb3780", | |
| "msg": [27, 21, 59, 24, 12, 78, 14, 64, 9, 28, 48], | |
| "ct": [84, 28, 37, 15, 69, 29, 62, 71, 42, 64, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1455, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", | |
| "tweak": "4b587a2ac774cdbb3780", | |
| "msg": [82, 5, 48, 71, 4, 31, 42, 68, 5, 84, 34], | |
| "ct": [19, 35, 9, 11, 62, 19, 19, 30, 75, 31, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1456, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", | |
| "tweak": "788f47262b8e7b97", | |
| "msg": [-1, 19, 46, 78, 64, 28, 77, 57, 42, 43, 43], | |
| "ct": [50, 53, 62, 24, 55, 20, 15, 31, 78, 43, 61], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1457, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", | |
| "tweak": "788f47262b8e7b97", | |
| "msg": [53, 19, 46, -1, 64, 28, 77, 57, 42, 43, 43], | |
| "ct": [73, 15, 24, 8, 80, 21, 46, 31, 79, 10, 82], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1458, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", | |
| "tweak": "788f47262b8e7b97", | |
| "msg": [53, 19, 46, 78, 64, 28, 77, 57, 42, 43, -1], | |
| "ct": [68, 30, 13, 42, 46, 40, 72, 15, 61, 31, 77], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1459, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "103a0a4998e992bf4b74eb7cdebdb7b4b02045b7f702f9e741e767446bc07c75", | |
| "tweak": "4feb0bf613d06cbc", | |
| "msg": [85, 40, 18, 58, 54, 81, 42, 78, 39, 82, 83], | |
| "ct": [46, 9, 39, 40, 1, 8, 24, 47, 63, 68, 30], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1460, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "103a0a4998e992bf4b74eb7cdebdb7b4b02045b7f702f9e741e767446bc07c75", | |
| "tweak": "4feb0bf613d06cbc", | |
| "msg": [67, 40, 18, 85, 54, 81, 42, 78, 39, 82, 83], | |
| "ct": [75, 69, 12, 52, 76, 32, 9, 10, 9, 68, 70], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1461, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "103a0a4998e992bf4b74eb7cdebdb7b4b02045b7f702f9e741e767446bc07c75", | |
| "tweak": "4feb0bf613d06cbc", | |
| "msg": [67, 40, 18, 58, 54, 81, 42, 78, 39, 82, 85], | |
| "ct": [56, 67, 33, 78, 71, 69, 2, 54, 54, 10, 50], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 12, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1462, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "2e94a84c78be80cd598366058d4f6cdf8095666dcac7a00ad832d9f33e20d13c", | |
| "tweak": "415e0101a302aaa6", | |
| "msg": [12, 42, 29, 28, 64, 17, 52, 62, 50, 83, 78, 34], | |
| "ct": [25, 27, 45, 11, 62, 59, 43, 26, 72, 68, 58, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1463, | |
| "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": [17, 11, 4, 69, 70, 14, 12, 65, 42, 44, 60, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1464, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [18, 17, 33, 30, 59, 47, 5, 59, 35, 65, 61, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1465, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [61, 80, 67, 65, 3, 64, 61, 80, 67, 65, 3, 64], | |
| "ct": [17, 53, 57, 5, 10, 56, 5, 8, 84, 82, 43, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1466, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [61, 80, 67, 65, 3, 63, 61, 80, 67, 65, 3, 63], | |
| "ct": [69, 50, 39, 41, 15, 31, 83, 68, 82, 8, 53, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1467, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [4, 35, 12, 35, 63, 39, 23, 24, 30, 61, 79, 78], | |
| "ct": [46, 61, 11, 1, 64, 72, 45, 45, 45, 65, 5, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1468, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [38, 57, 38, 46, 71, 43, 81, 61, 43, 69, 60, 64], | |
| "ct": [81, 66, 58, 19, 66, 46, 41, 33, 54, 83, 24, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1469, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [46, 55, 24, 45, 29, 67, 20, 47, 14, 26, 45, 26], | |
| "ct": [72, 1, 71, 17, 15, 43, 78, 62, 49, 77, 48, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1470, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [40, 74, 26, 56, 42, 68, 58, 16, 39, 26, 67, 54], | |
| "ct": [61, 63, 46, 36, 13, 31, 16, 63, 73, 17, 80, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1471, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [15, 59, 39, 79, 42, 31, 51, 42, 7, 18, 3, 6], | |
| "ct": [73, 17, 8, 49, 18, 65, 4, 73, 72, 62, 3, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1472, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [31, 83, 10, 25, 4, 71, 76, 56, 80, 13, 52, 13], | |
| "ct": [71, 35, 35, 0, 50, 47, 37, 24, 4, 5, 7, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1473, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [84, 38, 57, 55, 55, 75, 33, 40, 62, 66, 22, 56], | |
| "ct": [66, 21, 21, 37, 18, 37, 39, 62, 61, 40, 14, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1474, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [81, 59, 20, 81, 50, 67, 20, 20, 35, 38, 77, 10], | |
| "ct": [22, 31, 70, 10, 10, 5, 29, 27, 24, 51, 74, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1475, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [71, 8, 81, 80, 5, 37, 20, 14, 36, 46, 7, 65], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1476, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [41, 76, 30, 77, 28, 14, 57, 54, 39, 68, 22, 52], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1477, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [79, 40, 69, 14, 52, 29, 16, 24, 69, 20, 27, 45], | |
| "ct": [61, 80, 67, 65, 3, 64, 61, 80, 67, 65, 3, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1478, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", | |
| "tweak": "b44b719ef00f7276", | |
| "msg": [51, 82, 48, 39, 81, 44, 45, 78, 69, 62, 68, 3], | |
| "ct": [61, 80, 67, 65, 3, 63, 61, 80, 67, 65, 3, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1479, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "c93aa0a1fa75e4c71231", | |
| "msg": [83, 38, 48, 54, 73, 0, 49, 35, 17, 18, 9, 2], | |
| "ct": [0, 0, 0, 0, 0, 0, 40, 25, 21, 49, 50, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1480, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "c93aa0a1fa75e4c71231", | |
| "msg": [15, 19, 48, 62, 53, 66, 77, 6, 63, 71, 67, 40], | |
| "ct": [0, 0, 0, 0, 0, 1, 64, 15, 61, 48, 21, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1481, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "c93aa0a1fa75e4c71231", | |
| "msg": [19, 21, 70, 42, 60, 7, 47, 41, 35, 38, 39, 1], | |
| "ct": [61, 80, 67, 65, 3, 64, 32, 4, 5, 64, 65, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1482, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "c93aa0a1fa75e4c71231", | |
| "msg": [10, 61, 82, 64, 26, 50, 79, 3, 48, 11, 6, 35], | |
| "ct": [84, 84, 84, 84, 84, 84, 0, 44, 36, 54, 45, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1483, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "8b00b9a1df7608cbfddb", | |
| "msg": [47, 74, 61, 36, 58, 77, 77, 68, 71, 38, 51, 73], | |
| "ct": [69, 4, 0, 20, 48, 44, 71, 25, 49, 51, 45, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1484, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "8b00b9a1df7608cbfddb", | |
| "msg": [55, 36, 11, 8, 3, 57, 34, 57, 32, 65, 76, 43], | |
| "ct": [35, 26, 14, 50, 40, 67, 24, 18, 52, 7, 66, 63], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1485, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "8b00b9a1df7608cbfddb", | |
| "msg": [82, 81, 20, 54, 16, 0, 84, 70, 11, 18, 27, 6], | |
| "ct": [51, 3, 79, 10, 60, 32, 63, 65, 45, 71, 14, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1486, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "8b00b9a1df7608cbfddb", | |
| "msg": [16, 59, 77, 81, 12, 18, 46, 69, 8, 60, 78, 41], | |
| "ct": [16, 4, 53, 26, 9, 41, 12, 4, 83, 39, 29, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1487, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "8b00b9a1df7608cbfddb", | |
| "msg": [71, 49, 54, 14, 78, 84, 67, 78, 18, 64, 46, 35], | |
| "ct": [19, 38, 18, 80, 83, 54, 73, 61, 38, 56, 7, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1488, | |
| "comment": "y is maximal and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "192ff34b963f884f5848", | |
| "msg": [55, 0, 81, 0, 72, 60, 64, 79, 50, 33, 13, 35], | |
| "ct": [82, 58, 20, 81, 8, 80, 63, 44, 81, 84, 36, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1489, | |
| "comment": "y is maximal and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "192ff34b963f884f5848", | |
| "msg": [2, 4, 46, 56, 84, 30, 16, 10, 69, 68, 16, 20], | |
| "ct": [82, 58, 20, 81, 8, 80, 63, 44, 81, 84, 36, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1490, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "192ff34b963f884f5848", | |
| "msg": [32, 77, 23, 82, 66, 1, 66, 61, 75, 82, 68, 32], | |
| "ct": [82, 58, 20, 81, 8, 80, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1491, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "192ff34b963f884f5848", | |
| "msg": [21, 79, 41, 83, 1, 13, 29, 7, 13, 15, 20, 48], | |
| "ct": [82, 58, 20, 81, 8, 80, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1492, | |
| "comment": "y is maximal and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "192ff34b963f884f5848", | |
| "msg": [14, 30, 40, 15, 8, 35, 19, 70, 57, 53, 71, 1], | |
| "ct": [82, 58, 20, 81, 8, 80, 40, 40, 64, 64, 39, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1493, | |
| "comment": "y is maximal and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "192ff34b963f884f5848", | |
| "msg": [44, 76, 20, 0, 30, 2, 82, 59, 59, 44, 56, 46], | |
| "ct": [82, 58, 20, 81, 8, 80, 63, 44, 81, 84, 35, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1494, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "f5a7379bfb38a0f2b9bc", | |
| "msg": [3, 50, 33, 50, 62, 72, 0, 0, 0, 0, 0, 0], | |
| "ct": [20, 11, 50, 52, 47, 37, 67, 72, 3, 74, 27, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1495, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "f5a7379bfb38a0f2b9bc", | |
| "msg": [78, 15, 69, 75, 6, 15, 0, 0, 0, 0, 0, 1], | |
| "ct": [73, 25, 82, 39, 68, 34, 40, 30, 19, 68, 48, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1496, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "f5a7379bfb38a0f2b9bc", | |
| "msg": [80, 12, 1, 17, 72, 77, 61, 80, 67, 65, 3, 64], | |
| "ct": [73, 44, 64, 33, 69, 2, 15, 54, 11, 65, 27, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1497, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", | |
| "tweak": "f5a7379bfb38a0f2b9bc", | |
| "msg": [51, 19, 79, 41, 47, 12, 84, 84, 84, 84, 84, 84], | |
| "ct": [2, 30, 44, 13, 67, 65, 61, 68, 29, 15, 11, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1498, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", | |
| "tweak": "17f2087530ca7e57", | |
| "msg": [-1, 74, 23, 80, 6, 5, 13, 4, 29, 78, 10, 43], | |
| "ct": [45, 15, 65, 81, 70, 13, 27, 42, 11, 44, 76, 60], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1499, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", | |
| "tweak": "17f2087530ca7e57", | |
| "msg": [78, 74, 23, 80, -1, 5, 13, 4, 29, 78, 10, 43], | |
| "ct": [21, 18, 64, 12, 30, 15, 8, 25, 12, 53, 44, 15], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1500, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", | |
| "tweak": "17f2087530ca7e57", | |
| "msg": [78, 74, 23, 80, 6, 5, 13, 4, 29, 78, 10, -1], | |
| "ct": [0, 79, 11, 40, 47, 72, 53, 4, 1, 18, 53, 5], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1501, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7c40581a06d4b952510199f33631dc976df4ee31dc337d35b80b7b223f77ca65", | |
| "tweak": "cd203b308b844c45", | |
| "msg": [85, 5, 51, 75, 57, 11, 3, 35, 30, 0, 32, 28], | |
| "ct": [15, 78, 72, 42, 41, 43, 44, 40, 25, 62, 84, 54], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1502, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7c40581a06d4b952510199f33631dc976df4ee31dc337d35b80b7b223f77ca65", | |
| "tweak": "cd203b308b844c45", | |
| "msg": [61, 5, 51, 75, 85, 11, 3, 35, 30, 0, 32, 28], | |
| "ct": [72, 41, 55, 53, 64, 22, 55, 32, 9, 34, 31, 30], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1503, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7c40581a06d4b952510199f33631dc976df4ee31dc337d35b80b7b223f77ca65", | |
| "tweak": "cd203b308b844c45", | |
| "msg": [61, 5, 51, 75, 57, 11, 3, 35, 30, 0, 32, 85], | |
| "ct": [54, 35, 5, 57, 6, 60, 19, 24, 56, 3, 14, 15], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 13, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1504, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "82685c3a0cab8a3c5777c43196c7f9eb6d1cbc31f79de68bc23a066b6d9d2053", | |
| "tweak": "3fd780e554341138", | |
| "msg": [61, 47, 72, 73, 61, 74, 15, 79, 4, 73, 44, 53, 60], | |
| "ct": [29, 74, 43, 30, 52, 83, 9, 65, 84, 80, 34, 33, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1505, | |
| "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": [57, 53, 39, 79, 50, 56, 64, 5, 77, 79, 27, 69, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1506, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [32, 38, 68, 19, 29, 65, 11, 21, 59, 80, 49, 46, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1507, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [61, 80, 67, 65, 3, 64, 46, 54, 71, 1, 82, 70, 16], | |
| "ct": [46, 76, 27, 63, 65, 59, 38, 48, 22, 47, 1, 15, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1508, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [61, 80, 67, 65, 3, 63, 46, 54, 71, 1, 82, 70, 15], | |
| "ct": [17, 69, 81, 84, 39, 54, 46, 20, 17, 59, 61, 14, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1509, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [29, 83, 27, 75, 56, 2, 25, 42, 10, 65, 79, 82, 59], | |
| "ct": [72, 59, 3, 16, 27, 48, 54, 72, 12, 75, 62, 0, 30], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1510, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [36, 75, 16, 44, 58, 18, 22, 60, 39, 40, 49, 77, 67], | |
| "ct": [74, 22, 70, 5, 26, 36, 61, 4, 56, 31, 53, 59, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1511, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [0, 28, 40, 3, 69, 17, 45, 61, 61, 46, 2, 22, 40], | |
| "ct": [42, 0, 27, 51, 3, 26, 29, 52, 42, 72, 80, 45, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1512, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [68, 45, 74, 38, 71, 59, 57, 24, 50, 29, 5, 23, 37], | |
| "ct": [77, 76, 3, 65, 33, 7, 65, 37, 2, 53, 1, 54, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1513, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [13, 75, 69, 62, 58, 74, 20, 1, 6, 46, 0, 1, 27], | |
| "ct": [19, 15, 22, 48, 13, 75, 24, 3, 50, 4, 31, 59, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1514, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [27, 33, 38, 84, 0, 63, 37, 13, 48, 12, 14, 20, 56], | |
| "ct": [40, 65, 56, 14, 62, 25, 80, 0, 21, 75, 15, 23, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1515, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [4, 15, 80, 84, 14, 60, 30, 55, 45, 78, 5, 71, 53], | |
| "ct": [6, 19, 48, 40, 39, 34, 70, 17, 78, 35, 16, 15, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1516, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [9, 32, 2, 51, 59, 3, 43, 35, 67, 50, 78, 55, 80], | |
| "ct": [11, 47, 6, 38, 23, 37, 75, 40, 23, 45, 36, 13, 82], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1517, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [20, 17, 68, 80, 49, 38, 47, 47, 69, 36, 38, 0, 40], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1518, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [31, 9, 8, 51, 33, 24, 46, 82, 51, 5, 51, 58, 40], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1519, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [49, 33, 82, 0, 55, 73, 37, 76, 48, 42, 9, 42, 48], | |
| "ct": [61, 80, 67, 65, 3, 64, 46, 54, 71, 1, 82, 70, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1520, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", | |
| "tweak": "d5479b1a88388aa8", | |
| "msg": [58, 83, 82, 27, 69, 74, 1, 47, 9, 16, 1, 23, 26], | |
| "ct": [61, 80, 67, 65, 3, 63, 46, 54, 71, 1, 82, 70, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1521, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "f021b42c018df529dc", | |
| "msg": [31, 62, 13, 54, 26, 29, 45, 52, 50, 20, 62, 56, 76], | |
| "ct": [6, 34, 40, 19, 73, 0, 1, 21, 60, 38, 84, 19, 19], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1522, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "f021b42c018df529dc", | |
| "msg": [20, 54, 40, 56, 18, 13, 65, 1, 68, 13, 44, 67, 55], | |
| "ct": [62, 4, 40, 12, 84, 65, 32, 43, 61, 84, 32, 23, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1523, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "f021b42c018df529dc", | |
| "msg": [59, 21, 14, 45, 29, 71, 1, 53, 83, 33, 22, 82, 79], | |
| "ct": [50, 65, 46, 80, 19, 10, 12, 56, 46, 27, 17, 47, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1524, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "f021b42c018df529dc", | |
| "msg": [47, 43, 22, 48, 31, 55, 33, 10, 65, 36, 79, 34, 7], | |
| "ct": [55, 29, 62, 60, 42, 40, 43, 23, 58, 80, 8, 39, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1525, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "4f63cab2b7c6983b12", | |
| "msg": [24, 60, 46, 72, 32, 41, 10, 10, 22, 81, 81, 38, 0], | |
| "ct": [84, 82, 69, 44, 73, 12, 42, 79, 52, 53, 27, 7, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1526, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "4f63cab2b7c6983b12", | |
| "msg": [35, 61, 59, 13, 7, 53, 38, 49, 5, 19, 4, 18, 62], | |
| "ct": [57, 60, 9, 82, 18, 18, 34, 0, 36, 16, 36, 15, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1527, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "4f63cab2b7c6983b12", | |
| "msg": [71, 83, 31, 17, 79, 16, 32, 36, 11, 80, 73, 3, 47], | |
| "ct": [61, 12, 54, 54, 8, 24, 81, 32, 45, 2, 5, 61, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1528, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "4f63cab2b7c6983b12", | |
| "msg": [66, 23, 41, 45, 4, 63, 53, 13, 77, 69, 79, 32, 8], | |
| "ct": [12, 24, 49, 28, 67, 66, 38, 1, 82, 74, 66, 13, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1529, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "4f63cab2b7c6983b12", | |
| "msg": [38, 61, 35, 1, 72, 78, 38, 30, 40, 66, 77, 4, 15], | |
| "ct": [14, 54, 33, 30, 80, 7, 67, 81, 73, 67, 26, 7, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1530, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "1b21ea658251aadb1b", | |
| "msg": [0, 0, 0, 0, 0, 0, 68, 50, 67, 14, 62, 63, 27], | |
| "ct": [3, 81, 49, 42, 33, 32, 18, 23, 63, 18, 10, 53, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1531, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "1b21ea658251aadb1b", | |
| "msg": [0, 0, 0, 0, 0, 1, 68, 50, 67, 14, 62, 63, 27], | |
| "ct": [40, 82, 81, 80, 47, 49, 22, 12, 47, 61, 9, 78, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1532, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "1b21ea658251aadb1b", | |
| "msg": [21, 40, 3, 0, 48, 84, 68, 50, 67, 14, 62, 63, 27], | |
| "ct": [44, 43, 43, 38, 74, 61, 15, 51, 72, 54, 82, 44, 79], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1533, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "1b21ea658251aadb1b", | |
| "msg": [21, 40, 3, 0, 49, 0, 68, 50, 67, 14, 62, 63, 27], | |
| "ct": [39, 20, 73, 59, 13, 44, 60, 48, 76, 38, 45, 35, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1534, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "1b21ea658251aadb1b", | |
| "msg": [61, 80, 67, 65, 3, 64, 68, 50, 67, 14, 62, 63, 27], | |
| "ct": [57, 36, 79, 38, 19, 50, 62, 61, 19, 21, 48, 6, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1535, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "1b21ea658251aadb1b", | |
| "msg": [84, 84, 84, 84, 84, 84, 68, 50, 67, 14, 62, 63, 27], | |
| "ct": [39, 18, 78, 41, 1, 15, 57, 50, 26, 61, 64, 27, 60], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1536, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "77f1055c731c0d8daa", | |
| "msg": [23, 12, 18, 7, 74, 39, 52, 44, 18, 44, 47, 25, 24], | |
| "ct": [27, 67, 27, 62, 12, 81, 27, 2, 40, 62, 39, 52, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1537, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "77f1055c731c0d8daa", | |
| "msg": [17, 74, 3, 15, 68, 35, 10, 1, 31, 79, 76, 79, 34], | |
| "ct": [80, 51, 80, 27, 7, 63, 73, 43, 23, 30, 67, 27, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1538, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "77f1055c731c0d8daa", | |
| "msg": [55, 53, 17, 56, 44, 1, 79, 30, 11, 6, 52, 29, 78], | |
| "ct": [24, 18, 72, 49, 77, 50, 48, 73, 15, 18, 30, 52, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1539, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", | |
| "tweak": "77f1055c731c0d8daa", | |
| "msg": [74, 63, 75, 13, 9, 41, 13, 37, 58, 63, 36, 83, 78], | |
| "ct": [41, 18, 8, 64, 21, 62, 4, 74, 50, 28, 73, 25, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1540, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", | |
| "tweak": "f39c64c847f175d6", | |
| "msg": [-1, 26, 6, 78, 27, 67, 70, 43, 62, 81, 65, 20, 53], | |
| "ct": [58, 37, 14, 39, 19, 4, 16, 17, 22, 40, 55, 16, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1541, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", | |
| "tweak": "f39c64c847f175d6", | |
| "msg": [74, 26, 6, 78, -1, 67, 70, 43, 62, 81, 65, 20, 53], | |
| "ct": [16, 68, 57, 32, 4, 59, 50, 39, 35, 10, 65, 4, 83], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1542, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", | |
| "tweak": "f39c64c847f175d6", | |
| "msg": [74, 26, 6, 78, 27, 67, 70, 43, 62, 81, 65, 20, -1], | |
| "ct": [65, 16, 20, 72, 63, 8, 83, 47, 16, 16, 78, 45, 63], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1543, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26a9c91c4e344a84cf50aa9849cc33dbeee68cf1f54b4b47b78a809a72617072", | |
| "tweak": "96b981c46f71f2da", | |
| "msg": [85, 19, 58, 4, 75, 0, 37, 50, 43, 69, 36, 68, 3], | |
| "ct": [49, 35, 72, 41, 13, 81, 38, 1, 22, 60, 35, 79, 5], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1544, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26a9c91c4e344a84cf50aa9849cc33dbeee68cf1f54b4b47b78a809a72617072", | |
| "tweak": "96b981c46f71f2da", | |
| "msg": [67, 19, 58, 4, 85, 0, 37, 50, 43, 69, 36, 68, 3], | |
| "ct": [23, 68, 63, 19, 13, 46, 60, 4, 21, 73, 51, 73, 12], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1545, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26a9c91c4e344a84cf50aa9849cc33dbeee68cf1f54b4b47b78a809a72617072", | |
| "tweak": "96b981c46f71f2da", | |
| "msg": [67, 19, 58, 4, 75, 0, 37, 50, 43, 69, 36, 68, 85], | |
| "ct": [81, 67, 48, 0, 2, 37, 2, 44, 34, 68, 36, 61, 17], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 14, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1546, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "fdd21f2020d809a2930f3d6c0b2cc23e65e1240eb5e301531aecb8180808393b", | |
| "tweak": "104403ed1d3acccc", | |
| "msg": [15, 5, 14, 79, 57, 15, 43, 42, 22, 7, 25, 25, 3, 34], | |
| "ct": [25, 0, 34, 31, 30, 49, 46, 54, 78, 28, 1, 5, 71, 56], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1547, | |
| "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": [45, 19, 41, 48, 54, 34, 0, 8, 23, 66, 2, 25, 32, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1548, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [48, 84, 74, 46, 10, 83, 43, 38, 52, 19, 7, 10, 33, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1549, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [46, 54, 71, 1, 82, 70, 16, 46, 54, 71, 1, 82, 70, 16], | |
| "ct": [32, 24, 35, 10, 49, 54, 2, 12, 70, 37, 53, 45, 56, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1550, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [46, 54, 71, 1, 82, 70, 15, 46, 54, 71, 1, 82, 70, 15], | |
| "ct": [43, 6, 47, 25, 61, 55, 9, 79, 16, 17, 29, 44, 35, 18], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1551, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [6, 2, 21, 29, 49, 53, 11, 31, 66, 34, 82, 46, 42, 34], | |
| "ct": [36, 76, 48, 57, 41, 20, 71, 48, 50, 43, 77, 49, 41, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1552, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [15, 27, 7, 35, 11, 12, 48, 83, 59, 35, 43, 28, 75, 30], | |
| "ct": [52, 55, 3, 13, 11, 6, 41, 70, 55, 38, 7, 3, 40, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1553, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [6, 39, 38, 19, 39, 80, 10, 62, 59, 41, 29, 30, 37, 68], | |
| "ct": [34, 16, 3, 18, 51, 61, 64, 7, 22, 24, 62, 15, 82, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1554, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [50, 43, 21, 68, 43, 41, 63, 68, 21, 44, 28, 43, 56, 33], | |
| "ct": [49, 82, 81, 69, 52, 16, 65, 30, 84, 45, 84, 76, 70, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1555, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [71, 57, 16, 59, 26, 21, 8, 27, 59, 74, 47, 83, 13, 55], | |
| "ct": [70, 16, 22, 55, 17, 75, 3, 0, 59, 44, 11, 63, 7, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1556, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [31, 21, 72, 51, 42, 81, 46, 43, 30, 74, 73, 53, 8, 16], | |
| "ct": [19, 60, 23, 30, 44, 26, 60, 30, 59, 22, 55, 13, 32, 21], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1557, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [5, 75, 59, 4, 67, 22, 52, 3, 26, 65, 73, 8, 1, 16], | |
| "ct": [75, 71, 67, 34, 55, 47, 33, 29, 42, 50, 40, 78, 52, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1558, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [75, 24, 77, 82, 27, 64, 74, 46, 55, 6, 50, 61, 70, 76], | |
| "ct": [10, 51, 27, 6, 29, 83, 55, 60, 68, 83, 30, 9, 40, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1559, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [19, 38, 14, 22, 75, 65, 0, 75, 43, 77, 7, 13, 81, 25], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1560, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [75, 62, 63, 37, 63, 23, 48, 38, 81, 84, 30, 55, 23, 51], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1561, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [20, 59, 1, 72, 29, 42, 30, 84, 68, 23, 55, 22, 30, 12], | |
| "ct": [46, 54, 71, 1, 82, 70, 16, 46, 54, 71, 1, 82, 70, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1562, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", | |
| "tweak": "f9993f625da88752", | |
| "msg": [54, 66, 64, 26, 67, 15, 39, 83, 68, 54, 33, 61, 3, 27], | |
| "ct": [46, 54, 71, 1, 82, 70, 15, 46, 54, 71, 1, 82, 70, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1563, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "baaf1a5fb0a65c9b64", | |
| "msg": [55, 38, 0, 62, 54, 79, 55, 42, 31, 28, 49, 32, 20, 72], | |
| "ct": [19, 23, 53, 76, 4, 1, 18, 40, 67, 72, 32, 31, 63, 4], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1564, | |
| "comment": "y = 0 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "baaf1a5fb0a65c9b64", | |
| "msg": [76, 57, 84, 17, 9, 7, 59, 58, 67, 59, 46, 37, 81, 41], | |
| "ct": [3, 72, 15, 59, 0, 63, 13, 9, 13, 51, 55, 83, 25, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1565, | |
| "comment": "y = 0 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "baaf1a5fb0a65c9b64", | |
| "msg": [12, 49, 19, 5, 36, 2, 80, 70, 47, 21, 25, 81, 23, 29], | |
| "ct": [78, 23, 74, 53, 9, 68, 72, 12, 28, 81, 82, 42, 75, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1566, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "baaf1a5fb0a65c9b64", | |
| "msg": [42, 15, 30, 2, 60, 48, 20, 11, 58, 24, 72, 10, 77, 2], | |
| "ct": [27, 21, 76, 47, 67, 35, 38, 64, 41, 69, 84, 60, 69, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1567, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "802f47fe4fc5043928", | |
| "msg": [55, 44, 40, 8, 17, 69, 52, 49, 29, 8, 16, 84, 80, 20], | |
| "ct": [71, 75, 18, 69, 50, 19, 11, 76, 40, 18, 62, 54, 6, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1568, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "802f47fe4fc5043928", | |
| "msg": [34, 28, 73, 16, 0, 73, 40, 45, 46, 83, 37, 27, 11, 65], | |
| "ct": [59, 65, 9, 63, 36, 62, 80, 1, 54, 2, 70, 81, 5, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1569, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "802f47fe4fc5043928", | |
| "msg": [27, 52, 25, 73, 34, 56, 27, 79, 62, 80, 33, 55, 81, 59], | |
| "ct": [53, 81, 72, 0, 58, 23, 81, 19, 53, 83, 75, 54, 23, 3], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1570, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "802f47fe4fc5043928", | |
| "msg": [81, 5, 29, 8, 69, 65, 56, 59, 31, 40, 63, 2, 63, 34], | |
| "ct": [6, 56, 40, 62, 38, 4, 14, 26, 34, 68, 13, 4, 84, 78], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1571, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "802f47fe4fc5043928", | |
| "msg": [78, 59, 57, 18, 27, 5, 50, 51, 67, 82, 2, 52, 2, 35], | |
| "ct": [6, 12, 12, 8, 45, 59, 33, 46, 4, 61, 61, 2, 26, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1572, | |
| "comment": "y is maximal and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "129337bcdbad2897c2", | |
| "msg": [9, 31, 56, 12, 80, 74, 31, 65, 48, 0, 58, 71, 63, 10], | |
| "ct": [76, 73, 56, 4, 27, 82, 69, 8, 32, 79, 56, 45, 71, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1573, | |
| "comment": "y is maximal and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "129337bcdbad2897c2", | |
| "msg": [27, 8, 0, 79, 54, 67, 13, 0, 0, 50, 34, 2, 63, 58], | |
| "ct": [81, 1, 26, 49, 24, 54, 27, 38, 83, 57, 36, 42, 39, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1574, | |
| "comment": "y is maximal and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "129337bcdbad2897c2", | |
| "msg": [5, 7, 26, 30, 6, 0, 4, 61, 3, 78, 65, 44, 21, 4], | |
| "ct": [72, 6, 72, 35, 4, 75, 71, 77, 57, 72, 43, 8, 72, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1575, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "129337bcdbad2897c2", | |
| "msg": [11, 15, 50, 50, 37, 62, 29, 63, 13, 6, 36, 3, 71, 12], | |
| "ct": [69, 8, 21, 27, 83, 40, 26, 1, 65, 53, 36, 77, 54, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1576, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "129337bcdbad2897c2", | |
| "msg": [25, 24, 25, 26, 22, 29, 31, 22, 51, 67, 14, 26, 10, 81], | |
| "ct": [14, 35, 68, 66, 28, 80, 5, 26, 19, 37, 10, 34, 5, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1577, | |
| "comment": "y is maximal and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "129337bcdbad2897c2", | |
| "msg": [49, 13, 83, 30, 65, 0, 52, 76, 21, 17, 83, 81, 61, 41], | |
| "ct": [23, 41, 58, 14, 55, 34, 3, 27, 43, 11, 15, 22, 27, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1578, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "f09aa6d8b9db515797", | |
| "msg": [69, 21, 35, 72, 68, 5, 84, 41, 50, 18, 23, 7, 30, 82], | |
| "ct": [59, 56, 30, 44, 26, 4, 50, 3, 79, 6, 64, 53, 43, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1579, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "f09aa6d8b9db515797", | |
| "msg": [49, 43, 61, 58, 46, 6, 69, 21, 26, 61, 4, 21, 82, 41], | |
| "ct": [5, 1, 76, 44, 3, 38, 0, 35, 57, 50, 23, 24, 50, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1580, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "f09aa6d8b9db515797", | |
| "msg": [69, 65, 75, 68, 1, 34, 17, 8, 20, 74, 25, 3, 31, 2], | |
| "ct": [14, 3, 83, 49, 11, 64, 80, 58, 46, 24, 40, 65, 52, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1581, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", | |
| "tweak": "f09aa6d8b9db515797", | |
| "msg": [4, 21, 5, 49, 78, 0, 68, 18, 22, 82, 76, 23, 22, 71], | |
| "ct": [38, 72, 37, 49, 32, 67, 69, 59, 10, 58, 81, 13, 19, 77], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1582, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", | |
| "tweak": "00f218eb912f6eeb", | |
| "msg": [-1, 5, 53, 10, 21, 37, 8, 38, 8, 26, 6, 75, 81, 80], | |
| "ct": [55, 17, 58, 61, 82, 6, 53, 3, 23, 14, 48, 15, 77, 1], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1583, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", | |
| "tweak": "00f218eb912f6eeb", | |
| "msg": [10, 5, 53, 10, -1, 37, 8, 38, 8, 26, 6, 75, 81, 80], | |
| "ct": [70, 78, 23, 32, 5, 74, 13, 51, 10, 81, 6, 56, 55, 42], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1584, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", | |
| "tweak": "00f218eb912f6eeb", | |
| "msg": [10, 5, 53, 10, 21, 37, 8, 38, 8, 26, 6, 75, 81, -1], | |
| "ct": [57, 71, 43, 65, 42, 64, 77, 40, 82, 12, 55, 63, 27, 18], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1585, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "76e91e7985b9d8a2c044b72b616187aa2436cf86a0bbe6568e11613024fa1e36", | |
| "tweak": "328614413392fde8", | |
| "msg": [85, 47, 60, 9, 45, 71, 10, 30, 3, 12, 34, 4, 1, 19], | |
| "ct": [19, 26, 64, 5, 82, 71, 16, 74, 21, 17, 8, 17, 21, 81], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1586, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "76e91e7985b9d8a2c044b72b616187aa2436cf86a0bbe6568e11613024fa1e36", | |
| "tweak": "328614413392fde8", | |
| "msg": [17, 47, 60, 9, 85, 71, 10, 30, 3, 12, 34, 4, 1, 19], | |
| "ct": [81, 77, 49, 49, 84, 57, 67, 55, 46, 68, 26, 47, 52, 79], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1587, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "76e91e7985b9d8a2c044b72b616187aa2436cf86a0bbe6568e11613024fa1e36", | |
| "tweak": "328614413392fde8", | |
| "msg": [17, 47, 60, 9, 45, 71, 10, 30, 3, 12, 34, 4, 1, 85], | |
| "ct": [11, 41, 45, 17, 31, 70, 72, 21, 46, 55, 44, 29, 2, 42], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 15, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1588, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "2f9e5c52ea98009130c5c4302ab79c69e9b89a3871ef8b13d04e3cb3ab09d963", | |
| "tweak": "c6eca51b923fbd6f", | |
| "msg": [11, 32, 78, 46, 83, 44, 43, 54, 47, 38, 26, 61, 33, 61, 78], | |
| "ct": [59, 29, 32, 23, 64, 15, 6, 80, 19, 71, 1, 42, 69, 41, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1589, | |
| "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": [47, 19, 61, 5, 7, 51, 11, 55, 51, 23, 57, 57, 39, 75, 81], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1590, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [56, 44, 34, 30, 15, 3, 45, 3, 14, 64, 35, 13, 59, 84, 28], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1591, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [46, 54, 71, 1, 82, 70, 16, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "ct": [21, 70, 47, 27, 29, 72, 84, 3, 29, 31, 67, 50, 51, 30, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1592, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [46, 54, 71, 1, 82, 70, 15, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "ct": [43, 49, 58, 58, 50, 42, 37, 39, 72, 78, 27, 75, 5, 17, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1593, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [7, 24, 71, 59, 31, 59, 80, 39, 73, 32, 71, 1, 77, 26, 66], | |
| "ct": [60, 30, 74, 58, 44, 22, 52, 32, 74, 77, 65, 32, 82, 72, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1594, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [55, 48, 40, 12, 17, 12, 15, 54, 56, 54, 47, 34, 44, 14, 35], | |
| "ct": [25, 60, 22, 40, 66, 70, 1, 53, 58, 72, 22, 69, 20, 76, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1595, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [25, 6, 35, 83, 82, 81, 23, 76, 7, 7, 81, 27, 0, 15, 44], | |
| "ct": [81, 63, 9, 34, 59, 20, 69, 12, 67, 30, 69, 43, 51, 28, 41], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1596, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [35, 14, 14, 37, 12, 56, 26, 70, 73, 70, 0, 72, 83, 41, 54], | |
| "ct": [3, 45, 25, 67, 68, 53, 51, 4, 69, 54, 23, 34, 15, 6, 15], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1597, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [48, 26, 25, 53, 69, 2, 31, 83, 51, 65, 33, 23, 2, 9, 26], | |
| "ct": [78, 24, 37, 12, 0, 7, 63, 15, 52, 23, 29, 3, 60, 37, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1598, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [47, 11, 47, 11, 82, 31, 59, 59, 17, 33, 39, 65, 62, 10, 45], | |
| "ct": [9, 70, 82, 67, 32, 50, 6, 13, 80, 1, 35, 13, 17, 16, 22], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1599, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [11, 72, 51, 20, 71, 84, 68, 51, 35, 63, 78, 14, 22, 26, 35], | |
| "ct": [49, 14, 81, 22, 64, 76, 48, 38, 62, 65, 39, 53, 78, 48, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1600, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [83, 8, 75, 20, 28, 15, 15, 52, 56, 8, 23, 25, 62, 81, 7], | |
| "ct": [2, 37, 33, 15, 3, 35, 26, 82, 42, 21, 28, 83, 14, 14, 61], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1601, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [75, 10, 5, 54, 48, 67, 66, 64, 9, 83, 0, 2, 42, 33, 4], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1602, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [19, 68, 6, 14, 45, 62, 2, 2, 61, 69, 7, 15, 42, 48, 64], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1603, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [18, 61, 22, 30, 60, 66, 0, 69, 11, 84, 63, 71, 66, 54, 33], | |
| "ct": [46, 54, 71, 1, 82, 70, 16, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1604, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", | |
| "tweak": "9a4d59b9efd8816a", | |
| "msg": [63, 39, 2, 51, 29, 10, 23, 57, 61, 61, 79, 63, 4, 71, 37], | |
| "ct": [46, 54, 71, 1, 82, 70, 15, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1605, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "aeac75539f7d1616", | |
| "msg": [57, 62, 62, 63, 33, 7, 9, 70, 13, 40, 70, 78, 66, 81, 19], | |
| "ct": [14, 58, 45, 54, 49, 45, 32, 84, 16, 75, 46, 32, 70, 46, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1606, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "aeac75539f7d1616", | |
| "msg": [77, 26, 82, 57, 64, 10, 1, 21, 32, 84, 33, 7, 45, 23, 69], | |
| "ct": [1, 10, 32, 37, 45, 22, 12, 33, 80, 64, 84, 29, 6, 9, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1607, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "aeac75539f7d1616", | |
| "msg": [40, 41, 32, 34, 44, 61, 20, 34, 48, 76, 34, 29, 48, 46, 39], | |
| "ct": [3, 32, 62, 41, 4, 31, 76, 45, 70, 39, 12, 4, 13, 65, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1608, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "aeac75539f7d1616", | |
| "msg": [70, 45, 28, 4, 10, 80, 4, 78, 36, 5, 15, 18, 55, 24, 35], | |
| "ct": [43, 60, 4, 3, 43, 7, 79, 5, 12, 19, 36, 48, 84, 0, 78], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1609, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "8faf90ee3bfaf2da", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 80, 27, 81, 19, 82, 32, 18, 60], | |
| "ct": [45, 24, 71, 33, 57, 81, 59, 18, 16, 70, 13, 51, 40, 0, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1610, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "8faf90ee3bfaf2da", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 80, 27, 81, 19, 82, 32, 18, 60], | |
| "ct": [26, 72, 42, 58, 2, 24, 55, 9, 53, 2, 56, 17, 68, 33, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1611, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "8faf90ee3bfaf2da", | |
| "msg": [46, 54, 71, 1, 82, 70, 16, 80, 27, 81, 19, 82, 32, 18, 60], | |
| "ct": [18, 0, 77, 62, 62, 18, 36, 18, 23, 21, 2, 8, 81, 68, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1612, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "8faf90ee3bfaf2da", | |
| "msg": [84, 84, 84, 84, 84, 84, 83, 80, 27, 81, 19, 82, 32, 18, 60], | |
| "ct": [5, 76, 76, 65, 60, 51, 51, 46, 0, 7, 15, 2, 50, 84, 55], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1613, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "8faf90ee3bfaf2da", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 80, 27, 81, 19, 82, 32, 18, 60], | |
| "ct": [21, 80, 45, 74, 80, 13, 55, 45, 64, 29, 63, 80, 68, 71, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1614, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "99fd7266c73a9ad9", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 47, 28, 22, 66, 52, 49, 66, 56], | |
| "ct": [6, 63, 51, 16, 56, 36, 78, 42, 12, 82, 39, 53, 50, 66, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1615, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "99fd7266c73a9ad9", | |
| "msg": [0, 0, 0, 0, 0, 0, 1, 47, 28, 22, 66, 52, 49, 66, 56], | |
| "ct": [55, 66, 33, 8, 29, 55, 40, 5, 31, 55, 39, 48, 63, 8, 16], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1616, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "99fd7266c73a9ad9", | |
| "msg": [46, 54, 71, 1, 82, 70, 16, 47, 28, 22, 66, 52, 49, 66, 56], | |
| "ct": [61, 48, 34, 76, 30, 65, 55, 16, 63, 78, 11, 3, 51, 81, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1617, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "99fd7266c73a9ad9", | |
| "msg": [54, 21, 40, 3, 0, 48, 84, 47, 28, 22, 66, 52, 49, 66, 56], | |
| "ct": [48, 32, 59, 71, 73, 5, 12, 60, 76, 31, 15, 25, 19, 77, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1618, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "99fd7266c73a9ad9", | |
| "msg": [54, 21, 40, 3, 0, 49, 0, 47, 28, 22, 66, 52, 49, 66, 56], | |
| "ct": [15, 59, 68, 54, 59, 79, 7, 73, 84, 6, 59, 34, 78, 57, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1619, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", | |
| "tweak": "99fd7266c73a9ad9", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 47, 28, 22, 66, 52, 49, 66, 56], | |
| "ct": [18, 70, 18, 59, 44, 67, 71, 81, 72, 17, 41, 38, 2, 63, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1620, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", | |
| "tweak": "351b957ffa7ac601", | |
| "msg": [-1, 74, 61, 79, 44, 28, 81, 31, 4, 64, 29, 70, 70, 82, 46], | |
| "ct": [41, 20, 68, 54, 30, 5, 7, 82, 76, 13, 41, 7, 28, 57, 80], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1621, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", | |
| "tweak": "351b957ffa7ac601", | |
| "msg": [27, 74, 61, 79, 44, -1, 81, 31, 4, 64, 29, 70, 70, 82, 46], | |
| "ct": [4, 48, 27, 83, 63, 68, 41, 26, 80, 74, 37, 73, 59, 73, 76], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1622, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", | |
| "tweak": "351b957ffa7ac601", | |
| "msg": [27, 74, 61, 79, 44, 28, 81, 31, 4, 64, 29, 70, 70, 82, -1], | |
| "ct": [59, 2, 78, 50, 68, 25, 23, 18, 74, 21, 17, 43, 19, 41, 21], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1623, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0c91ec67b9ed6e825dda8e17539d76a4d83c519cdcf45731798a4c87399fd4ca", | |
| "tweak": "17965dfea7a8f851", | |
| "msg": [85, 24, 72, 12, 8, 38, 15, 72, 2, 84, 68, 59, 40, 39, 66], | |
| "ct": [48, 30, 18, 24, 59, 11, 43, 62, 9, 83, 40, 46, 50, 6, 43], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1624, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0c91ec67b9ed6e825dda8e17539d76a4d83c519cdcf45731798a4c87399fd4ca", | |
| "tweak": "17965dfea7a8f851", | |
| "msg": [33, 24, 72, 12, 8, 85, 15, 72, 2, 84, 68, 59, 40, 39, 66], | |
| "ct": [54, 20, 25, 83, 54, 73, 25, 75, 26, 13, 12, 6, 65, 41, 40], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1625, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0c91ec67b9ed6e825dda8e17539d76a4d83c519cdcf45731798a4c87399fd4ca", | |
| "tweak": "17965dfea7a8f851", | |
| "msg": [33, 24, 72, 12, 8, 38, 15, 72, 2, 84, 68, 59, 40, 39, 85], | |
| "ct": [72, 63, 45, 15, 35, 49, 25, 9, 74, 31, 45, 44, 46, 79, 2], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 16, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1626, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "505aa98819809ef63b9a368a1e8bc2e922da45b03ce02d9a7966b15006dba2d5", | |
| "tweak": "5b54b73e6af6a275", | |
| "msg": [10, 83, 58, 62, 11, 69, 81, 77, 34, 70, 40, 79, 24, 39, 49, 22], | |
| "ct": [1, 74, 56, 55, 62, 43, 53, 51, 53, 0, 73, 84, 80, 70, 49, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1627, | |
| "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": [48, 51, 30, 65, 24, 27, 66, 82, 19, 10, 68, 47, 5, 75, 42, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1628, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [9, 38, 61, 2, 77, 80, 28, 75, 14, 42, 14, 77, 39, 73, 53, 37], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1629, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 8, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "ct": [28, 6, 60, 75, 13, 81, 25, 15, 7, 84, 35, 74, 7, 42, 76, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1630, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 7, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "ct": [0, 8, 25, 6, 54, 6, 66, 7, 66, 35, 52, 80, 19, 43, 9, 9], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1631, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [60, 60, 10, 56, 30, 66, 80, 84, 20, 13, 39, 15, 45, 64, 82, 62], | |
| "ct": [27, 50, 20, 52, 52, 22, 68, 78, 77, 51, 14, 57, 46, 84, 63, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1632, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [63, 20, 65, 42, 69, 83, 39, 65, 43, 38, 48, 24, 46, 51, 45, 31], | |
| "ct": [38, 44, 57, 67, 9, 17, 36, 15, 28, 43, 22, 20, 80, 70, 38, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1633, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [21, 56, 51, 53, 12, 61, 77, 44, 18, 39, 66, 0, 68, 63, 83, 13], | |
| "ct": [57, 33, 2, 12, 69, 13, 34, 42, 45, 52, 67, 66, 63, 81, 8, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1634, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [61, 20, 20, 73, 15, 35, 65, 25, 18, 42, 57, 32, 62, 40, 74, 27], | |
| "ct": [2, 6, 9, 67, 3, 40, 34, 75, 23, 9, 13, 49, 41, 33, 3, 70], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1635, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [40, 76, 69, 66, 22, 47, 28, 24, 59, 20, 76, 52, 10, 49, 58, 62], | |
| "ct": [45, 37, 60, 30, 21, 35, 39, 47, 2, 80, 57, 66, 22, 69, 24, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1636, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [74, 63, 15, 65, 72, 31, 74, 19, 39, 48, 14, 62, 1, 83, 63, 61], | |
| "ct": [36, 47, 20, 74, 28, 4, 53, 43, 81, 24, 84, 46, 56, 74, 47, 5], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1637, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [27, 16, 30, 63, 3, 29, 39, 76, 27, 39, 13, 58, 7, 53, 62, 80], | |
| "ct": [82, 21, 54, 0, 34, 76, 43, 32, 82, 77, 69, 68, 40, 0, 38, 52], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1638, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [45, 22, 69, 12, 19, 44, 78, 63, 4, 29, 12, 23, 82, 62, 65, 65], | |
| "ct": [66, 21, 9, 29, 69, 69, 34, 35, 28, 34, 50, 47, 52, 25, 81, 40], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1639, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [74, 63, 54, 34, 43, 65, 17, 5, 74, 20, 43, 14, 24, 3, 72, 81], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1640, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [15, 60, 44, 34, 16, 59, 28, 13, 46, 29, 50, 14, 69, 58, 79, 66], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1641, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [74, 17, 34, 12, 51, 72, 39, 78, 5, 77, 16, 33, 3, 33, 39, 1], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 8, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1642, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", | |
| "tweak": "283b7fe6bd1b14cc", | |
| "msg": [65, 25, 57, 72, 29, 66, 28, 71, 65, 26, 37, 11, 50, 63, 6, 57], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 7, 70, 20, 48, 80, 82, 61, 59, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1643, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "201f43693abbe622", | |
| "msg": [24, 56, 47, 1, 62, 7, 54, 69, 40, 75, 63, 61, 51, 21, 23, 64], | |
| "ct": [55, 76, 30, 65, 30, 9, 11, 44, 56, 69, 83, 54, 34, 61, 23, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1644, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "201f43693abbe622", | |
| "msg": [25, 61, 39, 63, 1, 5, 26, 32, 63, 9, 43, 12, 7, 68, 27, 4], | |
| "ct": [67, 20, 57, 4, 17, 17, 66, 65, 45, 3, 36, 81, 45, 16, 22, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1645, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "201f43693abbe622", | |
| "msg": [13, 65, 18, 79, 8, 72, 62, 57, 40, 10, 39, 76, 74, 7, 0, 64], | |
| "ct": [63, 18, 43, 2, 4, 69, 23, 25, 83, 72, 17, 82, 28, 14, 36, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1646, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "201f43693abbe622", | |
| "msg": [50, 51, 17, 45, 51, 9, 18, 28, 25, 69, 84, 67, 45, 34, 49, 77], | |
| "ct": [56, 55, 31, 7, 12, 46, 21, 78, 33, 16, 0, 15, 30, 39, 70, 46], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1647, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "8ee1308903593de3", | |
| "msg": [67, 39, 52, 50, 6, 22, 31, 28, 80, 47, 39, 12, 26, 3, 36, 17], | |
| "ct": [50, 53, 13, 79, 28, 29, 34, 83, 81, 42, 1, 64, 29, 5, 81, 50], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1648, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "8ee1308903593de3", | |
| "msg": [15, 35, 63, 52, 36, 70, 18, 2, 3, 63, 67, 75, 13, 6, 25, 77], | |
| "ct": [2, 50, 30, 12, 7, 44, 49, 35, 29, 21, 51, 13, 64, 82, 58, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1649, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "8ee1308903593de3", | |
| "msg": [69, 27, 49, 48, 48, 15, 20, 36, 80, 10, 36, 31, 67, 9, 47, 47], | |
| "ct": [72, 74, 73, 51, 56, 38, 0, 28, 62, 64, 41, 39, 67, 2, 10, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1650, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "8ee1308903593de3", | |
| "msg": [18, 10, 73, 4, 74, 3, 23, 36, 66, 81, 42, 26, 76, 0, 18, 39], | |
| "ct": [40, 37, 1, 41, 1, 63, 5, 43, 31, 34, 33, 22, 54, 58, 50, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1651, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "8ee1308903593de3", | |
| "msg": [43, 39, 77, 70, 40, 10, 66, 73, 41, 4, 79, 4, 37, 78, 79, 24], | |
| "ct": [61, 53, 48, 39, 46, 34, 51, 20, 73, 5, 19, 39, 62, 30, 31, 49], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1652, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "bd43604bebc7db0a", | |
| "msg": [24, 53, 72, 76, 4, 42, 57, 2, 12, 10, 53, 19, 42, 7, 75, 55], | |
| "ct": [6, 56, 43, 81, 9, 9, 66, 35, 4, 61, 77, 42, 14, 47, 31, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1653, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "bd43604bebc7db0a", | |
| "msg": [73, 5, 16, 76, 61, 36, 73, 57, 33, 7, 25, 60, 64, 24, 56, 17], | |
| "ct": [84, 12, 83, 21, 69, 41, 74, 28, 52, 18, 14, 48, 12, 31, 4, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1654, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "bd43604bebc7db0a", | |
| "msg": [84, 56, 74, 38, 26, 22, 52, 47, 6, 80, 28, 13, 15, 16, 13, 66], | |
| "ct": [35, 0, 19, 40, 49, 7, 44, 21, 24, 11, 47, 17, 49, 72, 63, 47], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1655, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "bd43604bebc7db0a", | |
| "msg": [32, 70, 10, 29, 48, 84, 5, 3, 54, 17, 67, 27, 18, 11, 53, 13], | |
| "ct": [48, 18, 25, 29, 51, 44, 30, 0, 44, 64, 55, 35, 48, 9, 60, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1656, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "bd43604bebc7db0a", | |
| "msg": [61, 4, 23, 81, 29, 54, 68, 55, 55, 84, 0, 31, 20, 1, 24, 25], | |
| "ct": [49, 8, 40, 4, 75, 63, 39, 22, 0, 37, 64, 12, 17, 33, 42, 73], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1657, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "bd43604bebc7db0a", | |
| "msg": [72, 28, 55, 46, 3, 39, 19, 60, 49, 75, 48, 12, 18, 66, 62, 60], | |
| "ct": [45, 84, 4, 15, 27, 2, 16, 11, 67, 11, 17, 76, 7, 17, 15, 27], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1658, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "bf5a97045edb340d", | |
| "msg": [48, 19, 50, 28, 23, 23, 32, 41, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "ct": [20, 33, 63, 82, 81, 49, 67, 37, 31, 50, 20, 57, 76, 73, 71, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1659, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "bf5a97045edb340d", | |
| "msg": [76, 71, 5, 72, 58, 36, 5, 70, 0, 0, 0, 0, 0, 0, 0, 1], | |
| "ct": [81, 55, 63, 31, 13, 2, 22, 58, 79, 25, 59, 39, 57, 69, 50, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1660, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "bf5a97045edb340d", | |
| "msg": [47, 35, 3, 1, 81, 3, 19, 84, 70, 20, 48, 80, 82, 61, 59, 8], | |
| "ct": [9, 56, 45, 15, 76, 4, 82, 74, 37, 80, 14, 9, 8, 77, 69, 26], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1661, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", | |
| "tweak": "bf5a97045edb340d", | |
| "msg": [29, 36, 34, 59, 62, 56, 52, 58, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [39, 6, 6, 50, 50, 22, 20, 17, 33, 15, 7, 11, 37, 53, 44, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1662, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", | |
| "tweak": "a48cfeaa6646b0c5", | |
| "msg": [-1, 50, 24, 15, 68, 56, 24, 15, 31, 53, 39, 77, 68, 59, 74, 55], | |
| "ct": [23, 80, 51, 54, 45, 36, 53, 62, 15, 54, 57, 5, 82, 52, 20, 20], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1663, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", | |
| "tweak": "a48cfeaa6646b0c5", | |
| "msg": [61, 50, 24, 15, 68, -1, 24, 15, 31, 53, 39, 77, 68, 59, 74, 55], | |
| "ct": [17, 80, 25, 6, 54, 46, 69, 52, 42, 60, 81, 59, 75, 58, 53, 41], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1664, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", | |
| "tweak": "a48cfeaa6646b0c5", | |
| "msg": [61, 50, 24, 15, 68, 56, 24, 15, 31, 53, 39, 77, 68, 59, 74, -1], | |
| "ct": [75, 66, 67, 19, 32, 40, 21, 72, 42, 13, 83, 2, 84, 81, 30, 49], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1665, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fbc4fe06b0aacde67468666a60f5b9d118f53e87213e6c0fdbd6c4b5b4f5d962", | |
| "tweak": "f76436e414eb20ee", | |
| "msg": [85, 71, 78, 26, 31, 49, 59, 48, 8, 50, 82, 79, 49, 57, 5, 7], | |
| "ct": [50, 79, 77, 58, 54, 18, 32, 17, 81, 63, 36, 51, 1, 26, 67, 78], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1666, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fbc4fe06b0aacde67468666a60f5b9d118f53e87213e6c0fdbd6c4b5b4f5d962", | |
| "tweak": "f76436e414eb20ee", | |
| "msg": [0, 71, 78, 26, 31, 85, 59, 48, 8, 50, 82, 79, 49, 57, 5, 7], | |
| "ct": [9, 3, 66, 73, 11, 55, 55, 17, 74, 58, 83, 7, 12, 57, 12, 48], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1667, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fbc4fe06b0aacde67468666a60f5b9d118f53e87213e6c0fdbd6c4b5b4f5d962", | |
| "tweak": "f76436e414eb20ee", | |
| "msg": [0, 71, 78, 26, 31, 49, 59, 48, 8, 50, 82, 79, 49, 57, 5, 85], | |
| "ct": [14, 74, 74, 12, 21, 9, 58, 25, 55, 78, 68, 13, 20, 45, 71, 5], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 17, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1668, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "abd43681541e9a9233091509ee06c648b45a34c0ddc73f39d804bcaf7bf31a0e", | |
| "tweak": "011400c2b81f3e50", | |
| "msg": [29, 67, 61, 56, 39, 6, 77, 21, 53, 70, 42, 30, 2, 78, 59, 4, 5], | |
| "ct": [78, 44, 33, 81, 40, 31, 8, 32, 31, 12, 74, 25, 42, 44, 48, 74, 12], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1669, | |
| "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": [18, 57, 17, 5, 33, 60, 57, 7, 16, 78, 41, 12, 80, 74, 21, 44, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1670, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [43, 84, 76, 21, 78, 78, 27, 42, 41, 46, 11, 38, 39, 58, 6, 76, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1671, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 8, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "ct": [16, 11, 71, 12, 63, 73, 31, 50, 49, 47, 32, 37, 24, 40, 8, 20, 6], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1672, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 7, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "ct": [3, 56, 28, 74, 65, 68, 31, 46, 5, 64, 22, 30, 37, 41, 71, 51, 34], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1673, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [7, 51, 8, 54, 29, 75, 46, 11, 45, 62, 18, 38, 24, 62, 37, 80, 0], | |
| "ct": [70, 55, 43, 61, 14, 9, 78, 43, 75, 24, 23, 58, 33, 31, 1, 76, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1674, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [57, 47, 74, 10, 28, 40, 81, 62, 36, 76, 66, 69, 21, 19, 48, 57, 55], | |
| "ct": [63, 12, 14, 71, 69, 24, 52, 81, 9, 83, 34, 79, 17, 54, 28, 9, 36], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1675, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [49, 18, 20, 76, 54, 33, 21, 73, 8, 6, 76, 52, 46, 41, 9, 38, 76], | |
| "ct": [19, 1, 1, 13, 35, 74, 65, 62, 13, 45, 45, 19, 14, 0, 9, 75, 72], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1676, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [48, 31, 24, 23, 60, 21, 67, 84, 63, 29, 36, 79, 16, 72, 42, 31, 56], | |
| "ct": [17, 55, 58, 9, 26, 28, 34, 40, 74, 34, 6, 38, 18, 18, 7, 69, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1677, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [24, 65, 58, 37, 32, 4, 19, 82, 78, 15, 9, 10, 47, 59, 49, 61, 9], | |
| "ct": [7, 14, 13, 59, 84, 62, 12, 72, 77, 46, 53, 75, 0, 80, 51, 71, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1678, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [7, 64, 40, 64, 31, 25, 26, 83, 26, 30, 45, 4, 83, 3, 83, 5, 51], | |
| "ct": [20, 66, 71, 73, 25, 14, 33, 74, 45, 79, 12, 40, 0, 49, 59, 72, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1679, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [31, 50, 67, 63, 8, 35, 58, 67, 84, 65, 46, 31, 42, 0, 0, 30, 49], | |
| "ct": [70, 82, 82, 47, 2, 36, 5, 45, 27, 55, 22, 71, 33, 51, 22, 64, 29], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1680, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [1, 76, 1, 84, 43, 39, 31, 0, 83, 59, 14, 21, 2, 13, 25, 65, 58], | |
| "ct": [48, 12, 24, 33, 11, 28, 70, 40, 78, 21, 68, 70, 21, 62, 25, 81, 39], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1681, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [3, 17, 60, 8, 28, 34, 61, 76, 65, 79, 11, 8, 71, 11, 76, 42, 64], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1682, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [41, 64, 27, 56, 15, 55, 24, 16, 78, 8, 2, 2, 25, 31, 53, 37, 13], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1683, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [21, 54, 13, 32, 20, 78, 66, 59, 67, 40, 43, 39, 40, 72, 73, 41, 46], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 8, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1684, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", | |
| "tweak": "5921a49a5ca9233a", | |
| "msg": [71, 72, 64, 22, 22, 41, 23, 41, 58, 60, 32, 44, 54, 75, 36, 68, 17], | |
| "ct": [70, 20, 48, 80, 82, 61, 59, 7, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1685, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "3bc96c6b385839", | |
| "msg": [55, 53, 15, 43, 55, 62, 36, 5, 41, 69, 31, 16, 2, 73, 63, 64, 62], | |
| "ct": [54, 77, 66, 48, 40, 60, 26, 74, 67, 67, 60, 44, 39, 70, 55, 83, 38], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1686, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "3bc96c6b385839", | |
| "msg": [79, 25, 37, 69, 32, 55, 49, 28, 19, 79, 12, 13, 50, 64, 72, 4, 69], | |
| "ct": [62, 45, 72, 46, 23, 66, 23, 25, 19, 58, 77, 16, 43, 17, 21, 57, 53], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1687, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "3bc96c6b385839", | |
| "msg": [12, 21, 82, 28, 80, 14, 13, 8, 40, 26, 27, 73, 45, 22, 19, 20, 67], | |
| "ct": [43, 47, 46, 81, 22, 37, 80, 45, 25, 21, 16, 31, 0, 25, 10, 53, 33], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1688, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "3bc96c6b385839", | |
| "msg": [10, 34, 39, 49, 10, 17, 16, 42, 47, 54, 58, 25, 2, 44, 74, 20, 30], | |
| "ct": [45, 73, 56, 55, 28, 22, 78, 16, 76, 32, 70, 77, 3, 54, 31, 66, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1689, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "f710f9bfed9b4a", | |
| "msg": [75, 44, 71, 77, 75, 65, 47, 34, 79, 32, 25, 66, 2, 65, 80, 62, 38], | |
| "ct": [58, 29, 17, 6, 78, 45, 56, 82, 29, 4, 47, 76, 59, 28, 24, 40, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1690, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "f710f9bfed9b4a", | |
| "msg": [4, 73, 53, 74, 78, 69, 60, 34, 76, 50, 47, 9, 37, 26, 19, 5, 43], | |
| "ct": [46, 33, 75, 20, 33, 44, 59, 36, 26, 22, 68, 36, 11, 0, 69, 26, 82], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1691, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "f710f9bfed9b4a", | |
| "msg": [5, 59, 57, 42, 22, 28, 41, 31, 49, 39, 68, 25, 44, 23, 24, 8, 6], | |
| "ct": [58, 47, 16, 12, 79, 22, 75, 52, 72, 29, 2, 42, 50, 49, 54, 43, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1692, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "f710f9bfed9b4a", | |
| "msg": [4, 48, 37, 79, 13, 28, 56, 83, 44, 68, 16, 2, 11, 17, 42, 41, 14], | |
| "ct": [45, 37, 69, 28, 62, 65, 5, 45, 75, 49, 42, 29, 70, 34, 26, 7, 8], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1693, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "f710f9bfed9b4a", | |
| "msg": [57, 63, 72, 4, 25, 82, 6, 16, 38, 72, 63, 57, 68, 48, 48, 36, 19], | |
| "ct": [32, 53, 21, 12, 23, 63, 45, 26, 65, 49, 41, 82, 52, 29, 39, 9, 14], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1694, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "38ff2c5ba74760", | |
| "msg": [68, 7, 79, 60, 27, 1, 4, 69, 17, 77, 14, 13, 69, 58, 75, 81, 69], | |
| "ct": [36, 19, 28, 25, 66, 9, 23, 78, 30, 35, 80, 79, 66, 73, 22, 49, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1695, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "38ff2c5ba74760", | |
| "msg": [2, 47, 17, 28, 51, 15, 31, 2, 81, 57, 76, 45, 64, 64, 4, 66, 78], | |
| "ct": [30, 3, 55, 11, 0, 40, 2, 42, 77, 53, 1, 32, 51, 2, 80, 31, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1696, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "38ff2c5ba74760", | |
| "msg": [73, 22, 43, 60, 83, 13, 74, 38, 29, 13, 74, 39, 68, 83, 14, 25, 1], | |
| "ct": [63, 8, 82, 33, 21, 84, 15, 6, 51, 20, 30, 3, 39, 34, 66, 44, 45], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1697, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "38ff2c5ba74760", | |
| "msg": [63, 43, 7, 24, 53, 27, 59, 82, 55, 73, 4, 69, 1, 44, 83, 40, 14], | |
| "ct": [32, 69, 10, 47, 20, 75, 57, 76, 71, 46, 57, 30, 60, 77, 31, 57, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1698, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "38ff2c5ba74760", | |
| "msg": [84, 81, 54, 23, 56, 38, 2, 77, 83, 68, 32, 79, 84, 56, 32, 24, 20], | |
| "ct": [7, 49, 1, 8, 1, 65, 60, 58, 28, 58, 72, 42, 8, 62, 78, 7, 31], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1699, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "38ff2c5ba74760", | |
| "msg": [28, 80, 11, 75, 19, 2, 6, 61, 81, 37, 33, 39, 46, 17, 34, 75, 72], | |
| "ct": [71, 9, 69, 68, 42, 41, 59, 80, 74, 11, 23, 30, 63, 10, 32, 71, 24], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1700, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "543bfe9cb14e2e", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 60, 77, 38, 21, 3, 17, 43, 4, 69], | |
| "ct": [46, 12, 39, 71, 49, 82, 38, 59, 6, 79, 10, 31, 21, 69, 6, 8, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1701, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "543bfe9cb14e2e", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 1, 60, 77, 38, 21, 3, 17, 43, 4, 69], | |
| "ct": [69, 20, 29, 74, 8, 48, 70, 15, 27, 18, 45, 27, 26, 23, 43, 70, 44], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1702, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "543bfe9cb14e2e", | |
| "msg": [70, 20, 48, 80, 82, 61, 59, 8, 60, 77, 38, 21, 3, 17, 43, 4, 69], | |
| "ct": [71, 13, 8, 1, 31, 33, 72, 80, 84, 49, 51, 48, 61, 2, 44, 19, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1703, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", | |
| "tweak": "543bfe9cb14e2e", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 60, 77, 38, 21, 3, 17, 43, 4, 69], | |
| "ct": [8, 44, 74, 51, 60, 84, 49, 66, 24, 79, 79, 58, 41, 12, 36, 57, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1704, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", | |
| "tweak": "6460d80894ab337d", | |
| "msg": [-1, 52, 2, 77, 81, 74, 65, 50, 4, 61, 31, 8, 42, 14, 22, 42, 68], | |
| "ct": [82, 28, 34, 55, 6, 75, 57, 73, 73, 49, 14, 84, 43, 34, 7, 76, 69], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1705, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", | |
| "tweak": "6460d80894ab337d", | |
| "msg": [45, 52, 2, 77, 81, -1, 65, 50, 4, 61, 31, 8, 42, 14, 22, 42, 68], | |
| "ct": [34, 16, 5, 19, 38, 83, 38, 30, 74, 1, 43, 61, 76, 22, 77, 77, 52], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1706, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", | |
| "tweak": "6460d80894ab337d", | |
| "msg": [45, 52, 2, 77, 81, 74, 65, 50, 4, 61, 31, 8, 42, 14, 22, 42, -1], | |
| "ct": [63, 16, 14, 21, 6, 71, 44, 43, 66, 76, 59, 65, 31, 65, 0, 29, 75], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1707, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "32705b011da4c54eb5e78b93b343314970d888ecdf5ed060a3e42a379917352c", | |
| "tweak": "9d82ca7f457b1685", | |
| "msg": [85, 7, 34, 15, 67, 76, 84, 22, 65, 51, 4, 64, 59, 73, 55, 18, 54], | |
| "ct": [5, 13, 9, 7, 69, 48, 27, 43, 16, 20, 50, 14, 49, 77, 45, 20, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1708, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "32705b011da4c54eb5e78b93b343314970d888ecdf5ed060a3e42a379917352c", | |
| "tweak": "9d82ca7f457b1685", | |
| "msg": [73, 7, 34, 15, 67, 85, 84, 22, 65, 51, 4, 64, 59, 73, 55, 18, 54], | |
| "ct": [69, 43, 4, 23, 34, 36, 35, 24, 23, 29, 62, 66, 64, 80, 69, 47, 19], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1709, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "32705b011da4c54eb5e78b93b343314970d888ecdf5ed060a3e42a379917352c", | |
| "tweak": "9d82ca7f457b1685", | |
| "msg": [73, 7, 34, 15, 67, 76, 84, 22, 65, 51, 4, 64, 59, 73, 55, 18, 85], | |
| "ct": [1, 22, 64, 21, 1, 1, 21, 84, 84, 73, 19, 74, 64, 40, 78, 10, 51], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 18, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1710, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "be748dab0203d19a98eb126a8ed6fcbd99aeea49f1cff7512529f201bf0eff67", | |
| "tweak": "4977c3ee944e48cb", | |
| "msg": [18, 55, 51, 26, 23, 33, 1, 64, 9, 8, 2, 58, 58, 26, 68, 37, 52, 12], | |
| "ct": [45, 50, 7, 41, 5, 36, 61, 55, 75, 75, 79, 19, 16, 77, 68, 59, 66, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1711, | |
| "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": [39, 67, 44, 71, 45, 43, 54, 43, 76, 36, 44, 6, 24, 0, 79, 45, 23, 48], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1712, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [50, 47, 61, 49, 12, 58, 16, 69, 63, 83, 49, 35, 46, 16, 45, 39, 23, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1713, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 2, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "ct": [5, 77, 13, 42, 40, 53, 81, 61, 4, 64, 44, 82, 6, 81, 69, 41, 9, 51], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1714, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 1, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "ct": [17, 1, 11, 82, 44, 46, 75, 34, 11, 12, 4, 47, 79, 64, 27, 41, 84, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1715, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [22, 41, 19, 47, 50, 37, 52, 50, 33, 26, 74, 45, 32, 72, 58, 4, 12, 18], | |
| "ct": [37, 39, 24, 0, 18, 38, 57, 0, 84, 0, 81, 54, 29, 78, 18, 29, 10, 23], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1716, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [58, 56, 2, 48, 76, 10, 8, 23, 83, 82, 61, 7, 50, 55, 22, 77, 6, 1], | |
| "ct": [72, 54, 14, 0, 68, 49, 47, 3, 38, 14, 6, 67, 16, 49, 62, 52, 82, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1717, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [76, 77, 48, 15, 60, 27, 10, 60, 18, 4, 62, 35, 28, 8, 78, 47, 69, 74], | |
| "ct": [60, 23, 36, 55, 61, 38, 12, 19, 26, 8, 65, 59, 33, 36, 77, 76, 19, 11], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1718, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [23, 63, 4, 29, 35, 63, 1, 75, 10, 60, 50, 18, 75, 75, 55, 71, 18, 34], | |
| "ct": [32, 2, 43, 19, 16, 59, 29, 48, 71, 28, 33, 54, 43, 51, 38, 82, 40, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1719, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [52, 49, 18, 18, 39, 12, 2, 72, 61, 31, 70, 21, 26, 71, 80, 31, 50, 24], | |
| "ct": [67, 8, 39, 35, 18, 72, 45, 16, 5, 33, 71, 83, 14, 4, 64, 23, 60, 20], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1720, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [61, 3, 7, 54, 40, 35, 45, 42, 10, 16, 14, 61, 63, 37, 47, 63, 64, 4], | |
| "ct": [70, 77, 69, 75, 27, 66, 34, 42, 14, 17, 10, 53, 2, 84, 9, 4, 74, 69], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1721, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [77, 41, 60, 71, 41, 16, 13, 53, 10, 30, 20, 3, 41, 77, 76, 72, 34, 45], | |
| "ct": [76, 49, 49, 40, 62, 0, 35, 28, 31, 68, 11, 71, 67, 64, 79, 69, 26, 7], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1722, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [82, 25, 22, 67, 22, 22, 53, 25, 26, 27, 24, 71, 7, 52, 75, 17, 15, 6], | |
| "ct": [19, 17, 59, 70, 12, 16, 11, 41, 63, 35, 84, 61, 49, 18, 84, 67, 17, 64], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1723, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [47, 84, 76, 62, 34, 39, 62, 32, 75, 53, 50, 43, 37, 84, 75, 67, 3, 76], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1724, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [59, 62, 9, 71, 68, 50, 35, 44, 68, 68, 23, 28, 59, 74, 21, 83, 39, 45], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1725, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [8, 38, 82, 22, 81, 57, 32, 25, 12, 36, 5, 53, 57, 21, 7, 70, 27, 35], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 2, 52, 75, 41, 72, 82, 24, 38, 42, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1726, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", | |
| "tweak": "b2fbca44db9eaec7", | |
| "msg": [35, 35, 27, 26, 46, 28, 8, 47, 27, 0, 36, 34, 42, 38, 48, 70, 81, 53], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 1, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1727, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "0a101469ce8bdd", | |
| "msg": [1, 43, 6, 40, 32, 26, 34, 69, 63, 72, 12, 74, 70, 79, 9, 0, 56, 58], | |
| "ct": [38, 50, 32, 54, 81, 24, 40, 43, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1728, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "0a101469ce8bdd", | |
| "msg": [13, 17, 46, 61, 38, 20, 32, 71, 45, 48, 31, 41, 70, 47, 17, 15, 46, 7], | |
| "ct": [38, 50, 32, 54, 81, 24, 40, 43, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1729, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "0a101469ce8bdd", | |
| "msg": [49, 46, 81, 2, 81, 50, 76, 69, 44, 68, 17, 78, 21, 73, 17, 34, 64, 80], | |
| "ct": [38, 50, 32, 54, 81, 24, 40, 43, 84, 52, 75, 41, 72, 82, 24, 38, 42, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1730, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", | |
| "tweak": "0a101469ce8bdd", | |
| "msg": [50, 22, 1, 18, 38, 7, 15, 11, 19, 23, 34, 43, 60, 56, 59, 41, 76, 63], | |
| "ct": [38, 50, 32, 54, 81, 24, 40, 43, 84, 84, 84, 84, 84, 84, 84, 84, 84, 83], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1731, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", | |
| "tweak": "ff61916e9620be47", | |
| "msg": [-1, 71, 48, 76, 32, 28, 42, 51, 56, 2, 48, 46, 37, 34, 14, 28, 18, 15], | |
| "ct": [80, 29, 41, 74, 79, 34, 25, 48, 32, 12, 69, 83, 36, 63, 29, 72, 4, 55], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1732, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", | |
| "tweak": "ff61916e9620be47", | |
| "msg": [76, 71, 48, 76, 32, 28, -1, 51, 56, 2, 48, 46, 37, 34, 14, 28, 18, 15], | |
| "ct": [2, 52, 13, 83, 18, 19, 28, 30, 8, 39, 72, 16, 3, 73, 58, 79, 42, 13], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1733, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", | |
| "tweak": "ff61916e9620be47", | |
| "msg": [76, 71, 48, 76, 32, 28, 42, 51, 56, 2, 48, 46, 37, 34, 14, 28, 18, -1], | |
| "ct": [44, 31, 6, 72, 53, 78, 74, 80, 65, 1, 17, 28, 16, 62, 56, 1, 33, 4], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1734, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "741973caf64915a2095e8b6ba7a7f8be9186dab061ae364b631f3f2bdae0cdba", | |
| "tweak": "5f0105947df07c9f", | |
| "msg": [85, 4, 60, 23, 44, 4, 66, 37, 81, 13, 66, 45, 71, 65, 14, 73, 66, 12], | |
| "ct": [83, 19, 33, 21, 5, 28, 3, 36, 50, 27, 33, 43, 2, 24, 31, 39, 76, 20], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1735, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "741973caf64915a2095e8b6ba7a7f8be9186dab061ae364b631f3f2bdae0cdba", | |
| "tweak": "5f0105947df07c9f", | |
| "msg": [64, 4, 60, 23, 44, 4, 85, 37, 81, 13, 66, 45, 71, 65, 14, 73, 66, 12], | |
| "ct": [17, 22, 64, 84, 66, 21, 38, 80, 24, 45, 56, 29, 57, 32, 60, 78, 4, 61], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1736, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "741973caf64915a2095e8b6ba7a7f8be9186dab061ae364b631f3f2bdae0cdba", | |
| "tweak": "5f0105947df07c9f", | |
| "msg": [64, 4, 60, 23, 44, 4, 66, 37, 81, 13, 66, 45, 71, 65, 14, 73, 66, 85], | |
| "ct": [64, 70, 76, 68, 20, 79, 32, 26, 83, 50, 9, 0, 79, 70, 82, 26, 31, 35], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 19, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1737, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "1ba9f170be79c755e07202291871538a2c1b47600b59ec264c04d27f61cd3c28", | |
| "tweak": "c8655169a0f80a05", | |
| "msg": [34, 46, 54, 8, 15, 39, 0, 20, 59, 48, 10, 12, 67, 41, 35, 66, 68, 18, 43], | |
| "ct": [49, 29, 55, 13, 12, 23, 30, 16, 12, 41, 75, 10, 79, 67, 20, 30, 18, 53, 68], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1738, | |
| "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": [29, 6, 42, 51, 1, 23, 33, 82, 12, 4, 1, 80, 58, 71, 76, 42, 79, 74, 42], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1739, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "ct": [71, 48, 56, 71, 14, 47, 83, 0, 51, 17, 0, 32, 66, 34, 70, 68, 60, 34, 59], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1740, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 2, 79, 54, 58, 2, 74, 77, 69, 82, 24, 1], | |
| "ct": [77, 57, 73, 53, 45, 19, 24, 42, 21, 49, 66, 77, 79, 61, 25, 49, 13, 11, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1741, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 1, 79, 54, 58, 2, 74, 77, 69, 82, 24, 0], | |
| "ct": [58, 36, 4, 6, 2, 37, 72, 80, 27, 72, 32, 40, 80, 79, 21, 50, 26, 71, 17], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1742, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [3, 81, 39, 77, 58, 64, 38, 23, 42, 78, 68, 68, 69, 13, 58, 50, 20, 81, 13], | |
| "ct": [78, 83, 2, 56, 25, 25, 15, 63, 64, 71, 35, 60, 19, 5, 29, 36, 53, 37, 57], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1743, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [56, 57, 23, 41, 48, 67, 41, 6, 74, 34, 67, 26, 30, 12, 28, 14, 70, 13, 27], | |
| "ct": [13, 26, 83, 61, 17, 67, 70, 29, 3, 39, 44, 51, 66, 1, 69, 1, 27, 2, 75], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1744, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [5, 48, 68, 26, 58, 47, 64, 72, 27, 15, 29, 54, 42, 28, 11, 14, 66, 53, 23], | |
| "ct": [42, 11, 54, 5, 29, 45, 54, 75, 69, 60, 62, 33, 50, 79, 35, 50, 68, 1, 66], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1745, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [7, 42, 1, 31, 67, 57, 74, 17, 46, 37, 10, 4, 34, 47, 46, 22, 50, 21, 81], | |
| "ct": [38, 18, 1, 73, 42, 49, 26, 50, 13, 18, 63, 60, 59, 51, 10, 71, 61, 54, 32], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1746, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [8, 63, 59, 64, 83, 71, 59, 28, 45, 56, 23, 59, 26, 2, 66, 78, 47, 49, 45], | |
| "ct": [52, 54, 36, 81, 33, 16, 79, 73, 76, 27, 42, 21, 36, 61, 24, 74, 38, 28, 13], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1747, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [73, 8, 56, 41, 39, 42, 69, 35, 6, 3, 35, 42, 81, 5, 39, 0, 53, 0, 33], | |
| "ct": [36, 16, 38, 69, 36, 27, 59, 42, 61, 9, 84, 7, 33, 49, 61, 30, 15, 74, 67], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1748, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [4, 84, 35, 79, 29, 33, 56, 73, 33, 74, 55, 74, 33, 73, 16, 69, 37, 45, 35], | |
| "ct": [78, 36, 80, 81, 6, 70, 67, 52, 75, 75, 63, 5, 79, 3, 38, 70, 57, 34, 74], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1749, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [67, 51, 52, 3, 40, 47, 21, 25, 26, 61, 41, 78, 84, 38, 83, 10, 44, 72, 22], | |
| "ct": [67, 1, 14, 12, 46, 22, 1, 36, 23, 54, 80, 76, 19, 24, 44, 40, 76, 17, 25], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1750, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [36, 33, 12, 64, 63, 4, 81, 17, 11, 35, 47, 78, 19, 41, 13, 76, 21, 48, 76], | |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1751, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [57, 60, 49, 62, 12, 57, 79, 53, 17, 70, 24, 18, 19, 55, 45, 42, 48, 12, 40], | |
| "ct": [84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1752, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [77, 8, 47, 67, 9, 3, 75, 31, 62, 6, 64, 28, 2, 48, 51, 37, 34, 66, 4], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 2, 79, 54, 58, 2, 74, 77, 69, 82, 24, 1], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1753, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", | |
| "tweak": "8aba2989a0fe4e14", | |
| "msg": [82, 59, 18, 4, 67, 64, 21, 45, 12, 42, 19, 69, 58, 60, 11, 18, 53, 57, 29], | |
| "ct": [52, 75, 41, 72, 82, 24, 38, 42, 1, 79, 54, 58, 2, 74, 77, 69, 82, 24, 0], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1754, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "67ecefb0537545bed9984dcbbe01f4582fe05f39eef3", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 74, 34, 46, 41, 80, 77, 11, 18, 8, 32], | |
| "ct": [42, 26, 79, 68, 15, 9, 68, 21, 20, 21, 23, 82, 42, 30, 50, 28, 23, 9, 43], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1755, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "67ecefb0537545bed9984dcbbe01f4582fe05f39eef3", | |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 74, 34, 46, 41, 80, 77, 11, 18, 8, 32], | |
| "ct": [42, 29, 0, 56, 50, 20, 33, 38, 81, 28, 25, 73, 73, 76, 66, 2, 60, 57, 76], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1756, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "67ecefb0537545bed9984dcbbe01f4582fe05f39eef3", | |
| "msg": [52, 75, 41, 72, 82, 24, 38, 42, 2, 74, 34, 46, 41, 80, 77, 11, 18, 8, 32], | |
| "ct": [38, 42, 63, 26, 75, 27, 80, 6, 40, 52, 26, 41, 75, 71, 68, 57, 30, 56, 2], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1757, | |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", | |
| "tweak": "67ecefb0537545bed9984dcbbe01f4582fe05f39eef3", | |
| "msg": [84, 84, 84, 84, 84, 84, 84, 84, 84, 74, 34, 46, 41, 80, 77, 11, 18, 8, 32], | |
| "ct": [44, 24, 15, 16, 22, 28, 22, 32, 50, 33, 14, 25, 84, 9, 20, 14, 68, 50, 65], | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1758, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", | |
| "tweak": "9561fc88a8ee3dda", | |
| "msg": [-1, 77, 3, 32, 17, 76, 27, 9, 23, 78, 60, 11, 13, 47, 35, 66, 72, 22, 18], | |
| "ct": [25, 52, 70, 63, 53, 50, 75, 32, 25, 14, 11, 64, 12, 84, 24, 68, 17, 33, 33], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1759, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", | |
| "tweak": "9561fc88a8ee3dda", | |
| "msg": [30, 77, 3, 32, 17, 76, -1, 9, 23, 78, 60, 11, 13, 47, 35, 66, 72, 22, 18], | |
| "ct": [6, 19, 20, 60, 75, 57, 82, 38, 73, 78, 63, 83, 39, 40, 67, 46, 46, 33, 44], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1760, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", | |
| "tweak": "9561fc88a8ee3dda", | |
| "msg": [30, 77, 3, 32, 17, 76, 27, 9, 23, 78, 60, 11, 13, 47, 35, 66, 72, 22, -1], | |
| "ct": [17, 63, 19, 2, 34, 41, 67, 19, 48, 13, 36, 82, 38, 38, 43, 44, 55, 81, 19], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1761, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6116d1f688dcd9116690f7ca60a10beb9077800aa22209f904f246dc284d2418", | |
| "tweak": "91ec6cf356973837", | |
| "msg": [85, 27, 30, 26, 24, 0, 78, 35, 11, 56, 43, 7, 65, 48, 16, 8, 9, 42, 30], | |
| "ct": [61, 44, 69, 35, 55, 33, 18, 64, 66, 33, 45, 34, 26, 81, 0, 14, 8, 67, 83], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1762, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6116d1f688dcd9116690f7ca60a10beb9077800aa22209f904f246dc284d2418", | |
| "tweak": "91ec6cf356973837", | |
| "msg": [38, 27, 30, 26, 24, 0, 85, 35, 11, 56, 43, 7, 65, 48, 16, 8, 9, 42, 30], | |
| "ct": [40, 27, 52, 6, 56, 58, 81, 2, 18, 53, 1, 79, 6, 11, 51, 66, 76, 17, 21], | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1763, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6116d1f688dcd9116690f7ca60a10beb9077800aa22209f904f246dc284d2418", | |
| "tweak": "91ec6cf356973837", | |
| "msg": [38, 27, 30, 26, 24, 0, 78, 35, 11, 56, 43, 7, 65, 48, 16, 8, 9, 42, 85], | |
| "ct": [58, 62, 1, 0, 8, 67, 75, 73, 55, 53, 38, 42, 48, 25, 82, 45, 1, 15, 60], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 20, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1764, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "ccdf8f792a48fd841d49e060315b0c3d", | |
| "tweak": "508c6ff22207dc5b", | |
| "msg": [65, 50, 2, 3, 69, 76, 45, 41, 42, 49, 52, 45, 64, 43, 6, 60, 72, 30, 23, 43], | |
| "ct": [47, 41, 23, 36, 5, 39, 17, 7, 42, 31, 31, 61, 41, 8, 20, 25, 76, 65, 84, 72], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 21, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1765, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c0e4c4a9b86c17e4efe9a12733e7aff4", | |
| "tweak": "f71b48c8172125d4", | |
| "msg": [0, 44, 47, 15, 41, 55, 34, 79, 64, 55, 5, 80, 34, 34, 61, 4, 3, 41, 22, 76, 22], | |
| "ct": [31, 84, 58, 26, 39, 80, 51, 54, 47, 38, 80, 72, 30, 47, 32, 20, 10, 4, 81, 45, 1], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 22, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1766, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "9ed2a54df9219a3d61b5f1758b73bda6", | |
| "tweak": "5ecd852b587b8148", | |
| "msg": [12, 57, 50, 74, 48, 55, 72, 72, 20, 46, 47, 68, 79, 25, 32, 52, 59, 19, 40, 6, 69, 78], | |
| "ct": [19, 74, 34, 53, 1, 54, 5, 59, 0, 54, 36, 82, 73, 83, 33, 52, 67, 0, 70, 83, 69, 12], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 23, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1767, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "b9259b7f8c36246e73802b650cec0f3a", | |
| "tweak": "338104fb3b076bc4", | |
| "msg": [63, 11, 75, 36, 21, 65, 76, 48, 57, 38, 64, 82, 36, 79, 59, 6, 18, 40, 5, 83, 53, 30, 47], | |
| "ct": [22, 35, 65, 14, 20, 49, 25, 55, 47, 57, 65, 75, 49, 62, 53, 54, 81, 39, 29, 28, 80, 9, 42], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 24, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1768, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "904e573e4691681dc2db245bb369404a", | |
| "tweak": "dc83f04ef1a5fc92", | |
| "msg": [21, 23, 57, 51, 48, 74, 33, 21, 46, 74, 78, 6, 69, 43, 21, 34, 68, 44, 10, 29, 15, 15, 84, 41], | |
| "ct": [60, 23, 8, 13, 29, 84, 27, 78, 70, 64, 64, 5, 43, 70, 4, 42, 49, 28, 61, 74, 12, 39, 5, 42], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 25, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1769, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "4605865b047c33cafb0c30500253573f", | |
| "tweak": "a8b27f391744d48a", | |
| "msg": [54, 3, 38, 40, 2, 36, 41, 35, 26, 50, 47, 42, 53, 30, 58, 72, 17, 42, 53, 55, 20, 27, 34, 73, 15], | |
| "ct": [17, 13, 33, 11, 7, 15, 70, 24, 34, 18, 49, 52, 66, 59, 31, 35, 72, 54, 50, 55, 51, 71, 65, 65, 34], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 26, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1770, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "0fb1979af3a9860c485e2ef06c6010c3", | |
| "tweak": "60de513786f3f0a6", | |
| "msg": [28, 48, 30, 24, 31, 84, 49, 32, 52, 52, 4, 82, 65, 39, 70, 17, 12, 5, 74, 6, 32, 26, 17, 25, 35, 45], | |
| "ct": [13, 47, 24, 75, 57, 77, 13, 73, 4, 59, 13, 73, 76, 35, 80, 23, 10, 77, 42, 16, 5, 80, 12, 37, 71, 83], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 27, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1771, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "5d9ce920d89d03dcb83a0bf8ba68c9a1", | |
| "tweak": "9b6124a5067acaf1", | |
| "msg": [64, 53, 46, 15, 10, 2, 34, 24, 44, 28, 3, 33, 38, 18, 49, 37, 8, 15, 22, 23, 0, 61, 12, 66, 12, 26, 21], | |
| "ct": [22, 23, 22, 6, 53, 32, 83, 50, 42, 34, 4, 23, 14, 23, 13, 5, 83, 6, 5, 28, 20, 14, 15, 35, 0, 33, 76], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 28, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1772, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "1480e7206367c3365ec5a9b11f61261e", | |
| "tweak": "895ad94343672108", | |
| "msg": [14, 35, 51, 52, 6, 44, 29, 6, 46, 59, 60, 37, 78, 22, 69, 46, 4, 14, 64, 74, 77, 55, 28, 17, 45, 82, 70, 30], | |
| "ct": [60, 16, 35, 4, 45, 8, 45, 35, 2, 84, 43, 70, 62, 55, 16, 33, 60, 50, 19, 27, 40, 6, 39, 49, 29, 20, 78, 23], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 29, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1773, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "a8ed8a1627e4ea301c4d007a30a7fd71", | |
| "tweak": "dbbf38e615dc2fee", | |
| "msg": [8, 63, 47, 84, 31, 52, 53, 36, 45, 13, 6, 53, 53, 56, 75, 51, 19, 64, 0, 39, 23, 70, 79, 19, 32, 3, 10, 49, 46], | |
| "ct": [20, 33, 34, 0, 44, 62, 16, 84, 60, 84, 25, 29, 26, 59, 36, 38, 61, 20, 6, 39, 64, 12, 61, 50, 49, 73, 76, 77, 17], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 30, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1774, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "abbd25e59680efd575c00d24e9fdcad8", | |
| "tweak": "070cffc4a9b88ee7", | |
| "msg": [79, 21, 20, 35, 54, 60, 6, 55, 19, 35, 8, 78, 52, 9, 19, 83, 72, 63, 82, 39, 78, 50, 51, 56, 83, 54, 54, 13, 48, 60], | |
| "ct": [56, 82, 46, 3, 55, 28, 47, 60, 15, 12, 34, 20, 20, 69, 18, 69, 4, 6, 24, 80, 79, 45, 46, 68, 41, 23, 62, 82, 27, 39], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 31, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1775, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "cb4b74bac0ecce5c21f47f39c22ae70c", | |
| "tweak": "dd1e66e61ea45250", | |
| "msg": [47, 19, 66, 60, 16, 38, 1, 46, 32, 11, 48, 24, 41, 30, 4, 82, 26, 49, 71, 37, 83, 42, 66, 14, 46, 4, 19, 44, 37, 8, 42], | |
| "ct": [84, 75, 53, 61, 15, 13, 52, 17, 14, 36, 72, 9, 9, 56, 18, 14, 76, 9, 30, 76, 14, 25, 82, 82, 7, 68, 9, 53, 20, 61, 17], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 32, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1776, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "1ee98a204d8de6bc2fb2416fa2efe03f", | |
| "tweak": "302f76d9825d6eb5", | |
| "msg": [33, 23, 68, 33, 75, 39, 84, 72, 57, 69, 60, 0, 42, 22, 52, 82, 80, 55, 81, 21, 31, 44, 68, 53, 61, 45, 75, 75, 7, 36, 11, 68], | |
| "ct": [36, 38, 48, 84, 15, 51, 36, 20, 19, 67, 2, 63, 67, 38, 69, 37, 61, 45, 51, 43, 29, 5, 14, 71, 52, 4, 50, 72, 62, 37, 20, 76], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 33, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1777, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "df76fc71b7d899068b43f16bc5858dbd", | |
| "tweak": "8e55911ef156dfe2", | |
| "msg": [15, 65, 49, 66, 9, 42, 28, 33, 9, 24, 8, 44, 47, 11, 61, 60, 71, 76, 56, 12, 35, 1, 75, 27, 59, 30, 49, 48, 60, 84, 75, 30, 36], | |
| "ct": [17, 7, 6, 35, 81, 62, 48, 38, 49, 59, 73, 25, 84, 35, 65, 22, 16, 81, 10, 15, 29, 42, 28, 13, 45, 31, 23, 45, 27, 59, 5, 66, 61], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 38, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1778, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "1882ed1962852c6fc7c2218ba48d3c58", | |
| "tweak": "25e032b39da50d1e", | |
| "msg": [80, 12, 2, 24, 56, 44, 46, 73, 47, 84, 51, 10, 36, 1, 32, 38, 70, 36, 62, 43, 25, 3, 62, 1, 61, 28, 12, 15, 72, 71, 0, 33, 63, 23, 43, 62, 1, 40], | |
| "ct": [82, 55, 46, 84, 7, 0, 69, 79, 84, 64, 31, 71, 47, 80, 40, 31, 83, 43, 69, 47, 64, 30, 61, 68, 72, 53, 71, 6, 44, 23, 8, 8, 56, 70, 32, 62, 35, 4], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 39, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1779, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "bc6cef918ac6324a4b8d61e094ff570e", | |
| "tweak": "c17cf59fe1e5421c", | |
| "msg": [49, 58, 24, 70, 83, 39, 16, 58, 5, 48, 56, 62, 64, 19, 13, 59, 33, 62, 32, 76, 35, 63, 74, 34, 37, 70, 54, 4, 59, 31, 66, 70, 64, 57, 49, 12, 28, 46, 2], | |
| "ct": [41, 56, 38, 73, 44, 1, 76, 38, 60, 12, 65, 23, 36, 5, 32, 1, 37, 49, 4, 19, 61, 35, 10, 34, 16, 75, 74, 61, 11, 8, 51, 50, 5, 59, 66, 35, 57, 26, 52], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 40, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1780, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "ebac6d5741e58a3af7fd72a5db46b863", | |
| "tweak": "fb13dc638ef728e5", | |
| "msg": [57, 81, 59, 78, 71, 84, 45, 65, 16, 57, 48, 71, 70, 20, 67, 48, 8, 73, 27, 12, 9, 82, 55, 17, 40, 68, 53, 33, 46, 59, 73, 1, 83, 23, 49, 46, 61, 24, 70, 25], | |
| "ct": [74, 62, 7, 69, 75, 74, 22, 18, 77, 26, 79, 0, 14, 62, 48, 18, 59, 38, 80, 56, 76, 47, 42, 82, 28, 8, 2, 0, 70, 39, 10, 42, 43, 16, 22, 76, 24, 6, 40, 13], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 48, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1781, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "b122a8953185d78aef9ca69a5b8309fb", | |
| "tweak": "0acd7c7f71f36caf", | |
| "msg": [43, 41, 31, 60, 21, 83, 77, 41, 63, 63, 0, 9, 62, 16, 2, 34, 79, 56, 14, 64, 44, 35, 35, 14, 53, 32, 15, 18, 12, 75, 24, 42, 83, 11, 34, 8, 33, 45, 9, 2, 32, 20, 14, 33, 56, 45, 27, 12], | |
| "ct": [55, 31, 40, 75, 41, 84, 49, 12, 62, 23, 20, 0, 53, 38, 26, 24, 84, 56, 41, 37, 66, 49, 50, 33, 13, 55, 65, 21, 6, 43, 42, 14, 43, 2, 20, 1, 65, 52, 48, 5, 84, 24, 40, 21, 18, 29, 8, 32], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 49, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1782, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "6751213d1d6566b27655e74db9e1f864", | |
| "tweak": "06fa9494a1f7d501", | |
| "msg": [67, 60, 17, 28, 26, 38, 45, 40, 80, 72, 5, 43, 22, 80, 52, 73, 12, 9, 18, 19, 65, 79, 46, 38, 52, 81, 69, 71, 76, 29, 75, 40, 62, 29, 26, 17, 80, 36, 42, 63, 8, 84, 52, 52, 17, 5, 18, 8, 9], | |
| "ct": [64, 31, 75, 6, 29, 67, 17, 15, 37, 77, 8, 25, 62, 16, 37, 8, 29, 34, 28, 20, 8, 52, 67, 3, 27, 15, 55, 79, 34, 62, 4, 45, 78, 54, 49, 67, 53, 39, 35, 2, 59, 60, 17, 79, 3, 30, 63, 22, 33], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 58, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1783, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "997ec1bbf9557633a5c9a99d37185e8a", | |
| "tweak": "c11c04f7f10a4848", | |
| "msg": [38, 5, 64, 54, 38, 83, 68, 4, 72, 19, 21, 4, 52, 70, 10, 76, 81, 62, 62, 80, 16, 25, 14, 60, 37, 32, 56, 56, 44, 59, 71, 82, 64, 54, 5, 45, 49, 10, 80, 51, 10, 3, 60, 5, 2, 63, 68, 21, 47, 5, 44, 31, 11, 61, 10, 22, 72, 62], | |
| "ct": [0, 16, 31, 47, 75, 43, 19, 24, 10, 45, 63, 49, 5, 10, 61, 11, 77, 3, 49, 52, 38, 78, 19, 2, 48, 10, 76, 40, 63, 25, 65, 62, 41, 27, 52, 54, 64, 26, 45, 62, 59, 69, 30, 54, 34, 12, 72, 62, 9, 30, 44, 64, 5, 61, 64, 58, 58, 45], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 59, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1784, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "1655f3273931a90c8d16b03ce5290b1c", | |
| "tweak": "ebf8df2d2411a948", | |
| "msg": [44, 17, 27, 58, 76, 70, 80, 5, 42, 24, 50, 59, 47, 59, 1, 33, 71, 38, 57, 38, 30, 34, 46, 29, 29, 27, 61, 70, 62, 10, 49, 51, 71, 83, 24, 11, 44, 22, 53, 14, 58, 71, 52, 43, 16, 77, 53, 76, 51, 21, 39, 44, 83, 49, 5, 72, 35, 53, 12], | |
| "ct": [37, 17, 0, 2, 54, 24, 42, 70, 11, 77, 72, 70, 45, 81, 80, 61, 58, 33, 33, 0, 43, 55, 8, 19, 57, 81, 17, 7, 58, 41, 48, 24, 11, 32, 41, 0, 69, 80, 49, 70, 59, 18, 62, 17, 69, 47, 35, 28, 44, 19, 53, 47, 69, 57, 61, 40, 23, 24, 24], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 64, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1785, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "908bc4120a20f0043e43376761b2735e", | |
| "tweak": "841888c5b9be1c84", | |
| "msg": [61, 80, 41, 27, 36, 55, 9, 66, 26, 30, 8, 59, 8, 38, 22, 80, 47, 8, 30, 27, 26, 26, 4, 60, 61, 11, 12, 33, 4, 20, 53, 21, 29, 63, 72, 9, 63, 29, 15, 37, 82, 28, 12, 42, 35, 71, 73, 45, 75, 24, 3, 41, 41, 33, 63, 8, 44, 53, 13, 63, 47, 22, 4, 33], | |
| "ct": [36, 10, 15, 58, 46, 21, 62, 79, 36, 9, 33, 77, 68, 26, 64, 44, 42, 59, 9, 20, 22, 11, 42, 26, 65, 82, 40, 45, 81, 7, 15, 33, 68, 18, 15, 7, 7, 78, 32, 72, 28, 73, 31, 68, 81, 76, 48, 0, 15, 31, 1, 39, 43, 46, 25, 39, 49, 71, 76, 46, 44, 73, 11, 74], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 68, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1786, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "ca677ccfa3c198e7be51d82298ee78f1", | |
| "tweak": "a80a4cb0ff29b919", | |
| "msg": [51, 45, 42, 10, 38, 69, 44, 28, 67, 80, 77, 64, 63, 28, 49, 61, 72, 5, 4, 44, 43, 49, 72, 52, 74, 72, 20, 51, 33, 0, 75, 46, 13, 15, 68, 13, 9, 46, 56, 68, 21, 75, 13, 18, 68, 30, 82, 6, 50, 66, 73, 32, 73, 40, 8, 35, 40, 80, 13, 16, 68, 50, 19, 13, 43, 61, 54, 22], | |
| "ct": [10, 48, 6, 62, 39, 82, 64, 65, 2, 40, 4, 66, 55, 6, 0, 51, 52, 6, 78, 32, 68, 42, 4, 30, 76, 60, 34, 0, 81, 69, 7, 51, 54, 72, 65, 5, 62, 26, 38, 68, 47, 70, 38, 59, 41, 69, 30, 27, 68, 29, 20, 31, 83, 16, 64, 18, 52, 4, 27, 63, 15, 36, 2, 17, 25, 62, 4, 71], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 69, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1787, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "099edd6a1055819ad5acf1ceab36a227", | |
| "tweak": "7c8f9cf12edb4b1a", | |
| "msg": [53, 12, 1, 8, 72, 33, 57, 5, 4, 1, 6, 55, 81, 8, 77, 73, 70, 8, 69, 12, 44, 47, 73, 76, 5, 71, 22, 55, 52, 40, 81, 3, 41, 9, 10, 14, 30, 62, 64, 21, 46, 76, 75, 52, 41, 5, 76, 59, 64, 21, 67, 13, 28, 47, 15, 71, 16, 12, 30, 53, 53, 20, 6, 82, 59, 47, 64, 30, 38], | |
| "ct": [0, 12, 27, 26, 71, 16, 8, 38, 45, 54, 12, 66, 34, 50, 48, 36, 39, 19, 28, 4, 20, 22, 59, 66, 6, 20, 50, 13, 84, 11, 26, 12, 3, 33, 27, 19, 2, 23, 44, 17, 71, 48, 16, 31, 79, 47, 68, 45, 16, 38, 72, 44, 67, 25, 76, 84, 9, 31, 82, 8, 42, 44, 62, 77, 15, 45, 38, 13, 35], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 78, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1788, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c7566b8d510ca5525d88195d396a71e3", | |
| "tweak": "7abb76d50351235f", | |
| "msg": [55, 80, 16, 6, 55, 32, 40, 57, 17, 45, 35, 32, 7, 2, 39, 36, 1, 5, 28, 6, 81, 40, 40, 33, 22, 8, 43, 83, 33, 5, 56, 48, 4, 82, 4, 21, 21, 0, 14, 76, 25, 6, 28, 58, 12, 10, 70, 32, 14, 52, 21, 30, 56, 58, 69, 35, 61, 23, 49, 36, 58, 30, 41, 2, 20, 5, 8, 4, 22, 83, 57, 18, 31, 57, 42, 14, 49, 65], | |
| "ct": [61, 52, 51, 47, 51, 84, 75, 68, 48, 51, 67, 78, 79, 28, 26, 34, 57, 26, 14, 2, 21, 58, 45, 33, 57, 53, 83, 35, 45, 31, 52, 76, 43, 44, 68, 63, 47, 15, 66, 18, 65, 38, 12, 46, 49, 73, 33, 43, 57, 55, 71, 39, 36, 33, 20, 83, 12, 51, 53, 39, 52, 36, 33, 63, 48, 61, 79, 60, 81, 78, 59, 27, 48, 24, 45, 27, 1, 36], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 80, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1789, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "f763833eb5dcad3df492092080b404b6", | |
| "tweak": "46dc6b38a24f7002", | |
| "msg": [63, 45, 0, 41, 71, 0, 11, 55, 83, 64, 70, 16, 61, 51, 67, 38, 14, 16, 40, 45, 67, 28, 13, 69, 28, 1, 8, 14, 57, 80, 43, 40, 77, 59, 53, 7, 48, 57, 74, 78, 13, 43, 14, 34, 18, 50, 21, 37, 39, 50, 79, 11, 69, 15, 36, 68, 16, 27, 73, 44, 25, 32, 34, 70, 21, 37, 47, 14, 3, 28, 19, 83, 18, 9, 46, 66, 65, 36, 46, 24], | |
| "ct": [67, 52, 48, 71, 3, 9, 26, 6, 36, 8, 28, 63, 75, 23, 37, 31, 35, 31, 23, 29, 54, 40, 21, 10, 29, 37, 25, 13, 80, 58, 74, 67, 56, 74, 32, 80, 68, 44, 16, 11, 25, 25, 62, 66, 0, 40, 56, 48, 6, 79, 28, 83, 84, 30, 44, 1, 22, 14, 3, 16, 2, 63, 83, 63, 42, 43, 2, 60, 62, 73, 57, 26, 7, 25, 39, 73, 58, 8, 44, 9], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 128, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1790, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "6e2c702c4dd6ac18054df9905a2a6d63", | |
| "tweak": "245070546cc82a65", | |
| "msg": [64, 75, 78, 1, 27, 41, 2, 70, 1, 59, 37, 34, 42, 84, 64, 45, 60, 21, 76, 0, 52, 35, 51, 48, 73, 12, 11, 61, 71, 32, 47, 31, 4, 21, 84, 50, 40, 25, 26, 9, 30, 83, 6, 20, 73, 1, 64, 44, 82, 11, 50, 54, 39, 33, 63, 71, 46, 20, 74, 36, 15, 72, 22, 37, 24, 61, 27, 21, 1, 38, 49, 40, 42, 60, 80, 3, 66, 32, 79, 44, 73, 14, 27, 79, 14, 15, 34, 82, 82, 17, 34, 39, 52, 83, 42, 51, 35, 48, 57, 77, 40, 21, 15, 50, 66, 61, 81, 50, 19, 9, 46, 72, 67, 15, 9, 19, 81, 37, 71, 56, 53, 12, 42, 29, 7, 69, 4, 42], | |
| "ct": [48, 64, 44, 26, 82, 17, 71, 28, 67, 33, 26, 68, 75, 77, 67, 52, 42, 54, 80, 5, 77, 2, 59, 19, 72, 55, 4, 5, 31, 73, 46, 57, 80, 47, 35, 7, 22, 7, 0, 34, 53, 36, 14, 53, 23, 69, 82, 19, 13, 61, 29, 25, 9, 83, 39, 53, 71, 73, 8, 66, 28, 68, 32, 16, 42, 23, 44, 65, 72, 21, 69, 26, 5, 56, 9, 40, 18, 83, 32, 57, 23, 62, 77, 57, 55, 4, 52, 12, 5, 83, 35, 77, 47, 26, 11, 50, 24, 79, 0, 7, 32, 51, 61, 17, 18, 5, 76, 6, 51, 64, 71, 78, 13, 40, 12, 32, 62, 78, 16, 8, 53, 53, 39, 67, 67, 4, 20, 62], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 128, | |
| "msgSize": 260, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1791, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "39fd85d1a418270e382f927fa7d69afe", | |
| "tweak": "3a0bb251adfea53c", | |
| "msg": [63, 35, 29, 1, 64, 47, 5, 42, 22, 22, 68, 48, 52, 80, 24, 7, 68, 78, 55, 75, 32, 26, 45, 7, 1, 36, 2, 76, 64, 57, 35, 19, 0, 73, 15, 68, 65, 83, 83, 32, 61, 35, 40, 59, 18, 57, 18, 62, 14, 24, 53, 23, 48, 26, 53, 79, 41, 33, 58, 48, 7, 73, 64, 25, 65, 69, 31, 65, 67, 82, 6, 16, 6, 7, 79, 60, 46, 19, 15, 70, 40, 7, 69, 19, 52, 41, 20, 47, 38, 58, 47, 68, 9, 69, 13, 12, 42, 6, 57, 32, 80, 38, 35, 69, 56, 26, 79, 53, 69, 1, 16, 26, 35, 65, 14, 68, 3, 26, 27, 56, 83, 20, 58, 43, 4, 7, 73, 68, 53, 24, 50, 31, 2, 41, 43, 71, 70, 55, 47, 28, 54, 40, 58, 24, 35, 14, 19, 60, 47, 62, 73, 65, 38, 24, 74, 23, 9, 82, 83, 43, 53, 62, 69, 7, 59, 44, 5, 2, 14, 84, 5, 34, 2, 32, 58, 8, 48, 8, 6, 70, 40, 8, 35, 60, 55, 31, 78, 24, 37, 61, 82, 71, 62, 77, 84, 27, 56, 59, 80, 21, 17, 15, 23, 8, 73, 16, 58, 1, 25, 84, 75, 12, 51, 80, 33, 28, 60, 73, 1, 21, 54, 48, 71, 76, 50, 14, 39, 54, 76, 55, 47, 73, 2, 75, 59, 13, 21, 22, 74, 11, 75, 20, 50, 81, 47, 59, 78, 14, 68, 10, 80, 46, 39, 57, 71, 75, 81, 46, 23, 36], | |
| "ct": [29, 62, 82, 84, 54, 43, 78, 29, 48, 50, 82, 2, 69, 68, 56, 4, 54, 60, 11, 32, 52, 58, 52, 82, 7, 59, 10, 64, 2, 64, 15, 63, 45, 53, 75, 18, 29, 3, 4, 24, 20, 78, 9, 42, 7, 30, 52, 59, 72, 73, 52, 18, 77, 1, 4, 67, 4, 34, 23, 28, 50, 22, 46, 63, 61, 15, 52, 44, 36, 24, 51, 74, 5, 40, 0, 1, 17, 79, 12, 49, 55, 57, 52, 6, 63, 11, 7, 2, 60, 48, 61, 8, 77, 48, 49, 60, 38, 2, 26, 72, 58, 4, 71, 11, 70, 68, 52, 66, 84, 46, 53, 46, 64, 37, 84, 62, 80, 81, 58, 48, 25, 12, 16, 67, 16, 73, 76, 53, 48, 33, 75, 36, 29, 32, 81, 3, 43, 21, 44, 43, 12, 47, 30, 60, 83, 52, 50, 54, 1, 28, 11, 40, 8, 72, 33, 73, 48, 65, 44, 65, 39, 75, 15, 74, 1, 47, 68, 31, 22, 13, 72, 67, 32, 56, 55, 13, 73, 41, 73, 7, 58, 75, 63, 60, 49, 62, 33, 16, 2, 61, 55, 26, 26, 9, 12, 27, 33, 40, 7, 45, 83, 29, 1, 50, 35, 73, 28, 0, 60, 8, 66, 75, 22, 75, 14, 33, 9, 48, 1, 63, 43, 54, 41, 74, 72, 2, 63, 77, 55, 29, 4, 25, 59, 1, 26, 66, 64, 51, 63, 28, 26, 10, 59, 44, 40, 40, 65, 26, 78, 50, 61, 45, 79, 59, 7, 0, 27, 4, 72, 6], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 20, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1792, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "141107e15df419395d338f34ef63f1e80d20b2dad04e5b54", | |
| "tweak": "b069e365f5a623ff", | |
| "msg": [14, 32, 68, 26, 57, 20, 20, 63, 20, 75, 47, 76, 44, 83, 61, 73, 1, 55, 81, 23], | |
| "ct": [80, 69, 59, 20, 27, 75, 38, 71, 41, 37, 24, 57, 71, 55, 70, 19, 83, 37, 50, 25], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 21, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1793, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c3bb552dddc77917376b930dc911345e533a17542ddbf421", | |
| "tweak": "2780a38c74385db3", | |
| "msg": [12, 58, 44, 59, 38, 49, 11, 47, 58, 31, 20, 7, 28, 30, 55, 18, 54, 7, 0, 54, 18], | |
| "ct": [2, 23, 59, 72, 36, 20, 75, 63, 23, 81, 9, 44, 33, 24, 25, 32, 46, 18, 53, 35, 26], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 22, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1794, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "00bdb5e8b811c9617b0c07c9ed50b6d067ac817cbe06e44a", | |
| "tweak": "d92d8fd1572665ab", | |
| "msg": [13, 39, 25, 46, 8, 69, 56, 59, 5, 84, 79, 44, 81, 40, 75, 53, 82, 71, 30, 65, 84, 65], | |
| "ct": [10, 42, 0, 14, 26, 17, 47, 12, 71, 48, 15, 15, 65, 73, 41, 29, 24, 8, 11, 43, 10, 57], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 23, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1795, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c7697b0dbeb87d7f395505c37c7aa8851539af55cf9ff48d", | |
| "tweak": "81c250277f86145e", | |
| "msg": [55, 55, 15, 77, 71, 2, 69, 26, 30, 43, 81, 47, 54, 26, 58, 24, 1, 82, 1, 3, 8, 30, 81], | |
| "ct": [1, 29, 39, 62, 48, 1, 83, 47, 6, 68, 17, 3, 62, 43, 74, 16, 67, 45, 77, 9, 9, 14, 73], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 24, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1796, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "ac7947235faeb09f47808bcdb7c28894767149cfe71948d9", | |
| "tweak": "f7e5b4f29221b2aa", | |
| "msg": [9, 10, 74, 73, 54, 3, 44, 8, 35, 31, 52, 74, 79, 72, 82, 29, 5, 19, 38, 84, 10, 72, 24, 52], | |
| "ct": [72, 1, 21, 67, 40, 66, 40, 79, 19, 59, 1, 84, 17, 28, 50, 75, 20, 22, 24, 59, 60, 34, 69, 33], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 25, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1797, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "d3cc660039922e4edf19ee000bf0190aa4a974e2af2df506", | |
| "tweak": "c1eb1cd08201924c", | |
| "msg": [41, 27, 60, 42, 51, 10, 12, 41, 11, 42, 46, 18, 70, 63, 27, 32, 57, 27, 12, 37, 75, 16, 77, 4, 17], | |
| "ct": [69, 77, 13, 43, 69, 74, 45, 65, 2, 59, 30, 38, 59, 41, 45, 31, 22, 69, 38, 60, 2, 10, 11, 0, 5], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 26, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1798, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "a08b283fbb882bc35ad665f439ba1ba3cb45faa7ef953e75", | |
| "tweak": "a8bad0d760a36482", | |
| "msg": [18, 29, 39, 79, 64, 23, 1, 54, 27, 78, 29, 37, 51, 5, 75, 47, 74, 19, 66, 13, 48, 35, 76, 77, 41, 9], | |
| "ct": [80, 11, 8, 65, 60, 62, 20, 44, 40, 77, 34, 80, 70, 33, 43, 35, 46, 79, 58, 51, 14, 70, 47, 81, 24, 27], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 27, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1799, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "bc8a31cd3bf14b148eb6519268b2bd472de9cce165061efd", | |
| "tweak": "f62b70082bb992d2", | |
| "msg": [8, 77, 58, 19, 26, 75, 7, 39, 69, 41, 30, 75, 32, 66, 78, 47, 25, 53, 44, 45, 8, 22, 61, 60, 57, 56, 61], | |
| "ct": [78, 15, 19, 31, 21, 2, 30, 35, 79, 35, 11, 0, 38, 58, 7, 66, 66, 31, 10, 13, 43, 41, 14, 69, 7, 30, 77], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 28, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1800, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "0c6561b42c5cde205f8ba1b4fe71ac110ff2807958a069d4", | |
| "tweak": "1b2ce7022ea31126", | |
| "msg": [55, 28, 43, 34, 78, 79, 55, 20, 59, 12, 7, 52, 7, 17, 79, 29, 51, 72, 74, 41, 50, 23, 9, 19, 68, 10, 11, 25], | |
| "ct": [17, 81, 77, 34, 37, 14, 16, 70, 70, 44, 77, 18, 72, 35, 70, 10, 20, 69, 32, 48, 35, 28, 79, 28, 48, 24, 46, 28], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 29, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1801, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "4e08042735575708e4a9a0df5ae920c4fd181e38e731eb2e", | |
| "tweak": "36502a1e0aeca248", | |
| "msg": [68, 80, 70, 20, 62, 20, 68, 76, 27, 8, 71, 14, 75, 8, 82, 44, 77, 67, 8, 73, 45, 81, 66, 75, 31, 26, 44, 19, 8], | |
| "ct": [26, 45, 43, 22, 44, 33, 23, 43, 50, 68, 38, 83, 43, 80, 12, 44, 74, 14, 16, 51, 74, 50, 83, 10, 21, 21, 0, 23, 59], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 30, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1802, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "5fd8e11413d7659bc1b0be8e8febf6d6342060aa9a91d63d", | |
| "tweak": "f249815599506c40", | |
| "msg": [6, 52, 20, 10, 36, 25, 41, 14, 5, 43, 33, 64, 41, 78, 79, 75, 42, 23, 18, 10, 19, 71, 59, 23, 84, 1, 26, 59, 62, 62], | |
| "ct": [42, 43, 60, 46, 33, 59, 40, 34, 70, 43, 79, 13, 40, 2, 11, 7, 11, 50, 70, 41, 67, 66, 5, 61, 39, 70, 28, 43, 83, 66], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 31, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1803, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "77b5e0675cc0ecffd9a187798870ce49ce4a9b6807e14b2b", | |
| "tweak": "dc5996a3061cff92", | |
| "msg": [78, 79, 46, 42, 58, 10, 40, 80, 10, 7, 65, 26, 23, 2, 17, 84, 50, 65, 46, 59, 84, 29, 55, 19, 9, 25, 71, 75, 72, 53, 11], | |
| "ct": [56, 36, 75, 65, 39, 74, 66, 36, 29, 44, 12, 79, 30, 64, 18, 56, 3, 58, 0, 83, 31, 13, 0, 83, 54, 44, 41, 4, 15, 1, 64], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 32, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1804, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "51bc85303caaaad311ecfdbad7b6d390f51de4de32beeb24", | |
| "tweak": "5ba80100c8ec15b3", | |
| "msg": [17, 23, 81, 80, 38, 71, 73, 38, 81, 24, 35, 42, 64, 46, 3, 77, 24, 29, 65, 53, 23, 44, 35, 34, 5, 67, 3, 35, 59, 65, 64, 82], | |
| "ct": [71, 42, 17, 27, 15, 50, 74, 81, 74, 82, 10, 17, 48, 29, 46, 27, 54, 18, 35, 58, 42, 74, 11, 5, 55, 81, 47, 44, 49, 73, 22, 10], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 33, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1805, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c873cf24452bb6d1ac26d53a77387c345eb0d8567f49d5ea", | |
| "tweak": "b46136fc98b7e9f8", | |
| "msg": [38, 52, 76, 53, 22, 84, 9, 6, 8, 43, 83, 42, 5, 42, 80, 13, 15, 18, 59, 50, 75, 20, 26, 2, 44, 76, 21, 13, 21, 74, 20, 40, 0], | |
| "ct": [15, 64, 41, 34, 31, 27, 83, 63, 2, 83, 25, 43, 74, 68, 79, 64, 63, 36, 61, 77, 0, 73, 59, 54, 83, 10, 14, 49, 52, 74, 82, 67, 2], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 38, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1806, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "53604548a0e8efc31ac3036e9cd142b0d201fff86faa3a4a", | |
| "tweak": "d8aca824d25129ed", | |
| "msg": [65, 30, 42, 19, 74, 45, 42, 41, 51, 10, 37, 41, 10, 63, 33, 13, 67, 57, 47, 30, 15, 28, 57, 74, 27, 1, 82, 72, 49, 55, 80, 33, 21, 5, 56, 79, 9, 13], | |
| "ct": [2, 74, 34, 28, 1, 10, 33, 60, 64, 40, 78, 2, 58, 49, 40, 15, 80, 29, 48, 17, 82, 43, 62, 83, 43, 48, 14, 74, 84, 8, 53, 73, 61, 53, 55, 34, 4, 50], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 39, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1807, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "f41a007fe8c306f6bf580b158a5b4c87c6f460e843f8d372", | |
| "tweak": "722e8d6d7b738fef", | |
| "msg": [12, 21, 36, 15, 14, 37, 22, 18, 36, 39, 61, 12, 19, 80, 71, 48, 14, 3, 52, 22, 24, 82, 1, 38, 21, 43, 57, 68, 6, 80, 55, 66, 44, 36, 34, 53, 26, 77, 73], | |
| "ct": [45, 23, 40, 35, 84, 47, 2, 30, 15, 39, 82, 29, 29, 5, 45, 29, 31, 48, 73, 10, 67, 9, 21, 36, 12, 32, 84, 30, 40, 10, 70, 44, 18, 18, 74, 36, 2, 7, 27], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 40, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1808, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "874c932451575931e99c482805c40441d978af9c68bd82af", | |
| "tweak": "f4a660ef48089bb0", | |
| "msg": [26, 20, 81, 0, 75, 77, 24, 84, 42, 82, 10, 34, 5, 32, 0, 28, 30, 18, 24, 83, 36, 84, 6, 61, 0, 58, 37, 23, 44, 70, 57, 63, 4, 40, 43, 69, 49, 33, 59, 15], | |
| "ct": [33, 50, 65, 14, 56, 69, 59, 23, 42, 60, 40, 24, 6, 65, 50, 81, 1, 45, 61, 77, 31, 77, 51, 62, 17, 10, 16, 46, 46, 69, 19, 17, 46, 4, 33, 19, 63, 34, 5, 35], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 48, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1809, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "f0a4bbd84f16dad36be4373b711070c4124c18bcdfab8c2a", | |
| "tweak": "6142f782175ce964", | |
| "msg": [49, 14, 38, 24, 47, 56, 0, 74, 77, 29, 71, 50, 5, 65, 29, 55, 74, 35, 20, 24, 25, 47, 3, 48, 35, 73, 7, 39, 57, 78, 76, 4, 44, 52, 28, 41, 37, 53, 43, 16, 65, 79, 70, 75, 0, 55, 5, 27], | |
| "ct": [56, 52, 23, 24, 82, 23, 45, 49, 81, 23, 58, 62, 66, 49, 83, 10, 12, 62, 6, 50, 11, 44, 77, 17, 11, 35, 50, 66, 83, 62, 33, 18, 14, 8, 72, 26, 10, 29, 10, 31, 54, 17, 4, 21, 60, 79, 43, 59], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 49, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1810, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "65ef34b1d89420481ba84d3bfc848142fd8b8605643463ad", | |
| "tweak": "9b2b3168b04da219", | |
| "msg": [5, 35, 23, 68, 75, 10, 82, 49, 52, 75, 52, 7, 28, 3, 66, 79, 52, 69, 35, 80, 74, 14, 70, 64, 39, 4, 63, 42, 66, 45, 0, 70, 35, 59, 82, 67, 42, 59, 18, 31, 13, 78, 18, 24, 57, 6, 24, 1, 66], | |
| "ct": [34, 28, 78, 25, 64, 50, 84, 46, 31, 78, 55, 31, 76, 54, 70, 55, 4, 40, 46, 59, 76, 71, 56, 48, 18, 59, 27, 79, 56, 61, 32, 15, 18, 58, 19, 34, 56, 47, 7, 20, 15, 37, 6, 84, 70, 67, 55, 22, 42], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 58, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1811, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "fb6b34a0e0dca9cbbdb7b57f51434e84e498282fb5b3c0c2", | |
| "tweak": "c2bc4a6e78431c4e", | |
| "msg": [36, 35, 15, 47, 65, 11, 76, 30, 67, 63, 10, 81, 13, 75, 4, 64, 56, 43, 57, 43, 39, 83, 53, 23, 67, 59, 5, 43, 10, 54, 22, 41, 83, 37, 30, 53, 78, 21, 78, 51, 27, 60, 9, 61, 49, 2, 43, 37, 33, 15, 73, 23, 66, 45, 36, 66, 26, 1], | |
| "ct": [5, 24, 53, 34, 33, 44, 50, 5, 76, 2, 41, 48, 43, 16, 78, 19, 61, 83, 49, 38, 26, 84, 8, 49, 64, 21, 69, 63, 66, 55, 81, 51, 67, 36, 24, 49, 43, 52, 65, 41, 67, 56, 9, 24, 82, 44, 29, 23, 64, 64, 74, 73, 65, 62, 80, 20, 35, 7], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 59, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1812, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "63e08f95842e48c314492cb1fe62db93c7aeadc87a16d98b", | |
| "tweak": "01de076e751ae220", | |
| "msg": [34, 67, 4, 10, 66, 54, 18, 53, 79, 67, 44, 50, 35, 77, 79, 61, 77, 33, 39, 84, 21, 18, 47, 81, 5, 11, 69, 78, 32, 51, 71, 81, 28, 46, 75, 84, 63, 30, 25, 55, 28, 28, 61, 83, 78, 48, 58, 13, 5, 47, 1, 61, 50, 17, 40, 3, 48, 59, 42], | |
| "ct": [65, 22, 13, 19, 11, 43, 2, 38, 54, 51, 66, 12, 3, 35, 32, 84, 10, 43, 24, 2, 10, 10, 39, 1, 84, 3, 69, 3, 0, 64, 81, 75, 7, 9, 65, 1, 42, 25, 13, 34, 74, 35, 82, 69, 34, 61, 29, 15, 52, 57, 7, 79, 23, 34, 43, 45, 24, 61, 66], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 64, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1813, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "e4c130f163d45035558190d51f439765679a202370a0ce7f", | |
| "tweak": "d99a093ac4bd3488", | |
| "msg": [14, 37, 54, 39, 8, 20, 71, 83, 31, 55, 26, 21, 75, 52, 14, 69, 54, 34, 64, 22, 30, 73, 19, 2, 38, 40, 12, 37, 36, 29, 17, 38, 82, 75, 9, 78, 54, 59, 65, 15, 23, 47, 6, 74, 73, 57, 48, 38, 38, 78, 50, 81, 36, 19, 4, 33, 11, 1, 68, 73, 40, 0, 43, 0], | |
| "ct": [20, 12, 82, 44, 70, 67, 35, 71, 81, 13, 11, 58, 27, 73, 40, 41, 10, 71, 36, 81, 1, 69, 8, 76, 53, 68, 51, 69, 12, 40, 9, 0, 33, 11, 0, 15, 63, 19, 76, 84, 55, 4, 79, 26, 15, 5, 17, 50, 1, 34, 71, 27, 15, 22, 62, 7, 7, 38, 21, 76, 67, 58, 60, 32], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 68, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1814, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "1b98c79886bbc3110a5c046e7ad344c9ba3099bf14324fb8", | |
| "tweak": "da83a906c085c408", | |
| "msg": [11, 20, 25, 36, 9, 62, 75, 81, 17, 11, 46, 34, 65, 18, 59, 57, 52, 74, 41, 17, 3, 55, 13, 24, 43, 35, 52, 48, 44, 40, 8, 70, 53, 36, 3, 71, 41, 75, 44, 39, 33, 55, 56, 50, 34, 45, 56, 83, 46, 37, 38, 29, 42, 2, 42, 23, 75, 65, 67, 10, 25, 22, 77, 72, 44, 54, 84, 48], | |
| "ct": [77, 60, 32, 83, 41, 10, 1, 78, 57, 51, 10, 10, 34, 79, 9, 75, 38, 18, 24, 35, 24, 29, 81, 75, 58, 67, 20, 47, 50, 13, 4, 84, 12, 23, 42, 22, 82, 22, 81, 22, 33, 72, 10, 82, 44, 74, 37, 10, 31, 80, 19, 42, 13, 63, 45, 40, 32, 49, 84, 36, 66, 65, 64, 19, 59, 83, 50, 49], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 69, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1815, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "ae9ef2d2c4423f0d94e1177ad6a87b631895261a331c7a3b", | |
| "tweak": "84cdd7f9d16186e4", | |
| "msg": [31, 61, 15, 3, 67, 48, 28, 60, 19, 31, 32, 21, 57, 69, 48, 49, 42, 37, 10, 16, 70, 6, 36, 0, 35, 30, 1, 11, 33, 8, 31, 12, 32, 51, 84, 66, 37, 14, 81, 21, 65, 24, 59, 0, 25, 26, 36, 52, 34, 62, 14, 64, 65, 1, 80, 54, 60, 46, 56, 29, 65, 3, 37, 3, 75, 5, 41, 13, 72], | |
| "ct": [16, 2, 54, 71, 54, 70, 73, 21, 36, 10, 40, 48, 21, 14, 69, 84, 41, 80, 78, 28, 59, 68, 84, 29, 37, 66, 12, 35, 53, 9, 24, 57, 24, 7, 50, 23, 8, 15, 46, 37, 83, 45, 81, 27, 82, 38, 73, 46, 52, 81, 44, 42, 62, 60, 25, 57, 23, 20, 62, 23, 63, 21, 9, 37, 51, 55, 25, 77, 80], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 78, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1816, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "f4ba58959b818668ddd196c2b2efa097b10eba916de3edcf", | |
| "tweak": "847e9e6712fcb751", | |
| "msg": [61, 63, 55, 11, 0, 78, 17, 17, 29, 23, 14, 8, 62, 21, 50, 14, 18, 82, 12, 50, 39, 6, 80, 39, 77, 76, 9, 71, 5, 3, 39, 18, 40, 61, 19, 56, 5, 16, 52, 69, 75, 58, 34, 12, 25, 43, 46, 40, 75, 72, 14, 63, 25, 33, 34, 11, 73, 25, 17, 72, 3, 50, 18, 36, 5, 1, 73, 43, 63, 3, 46, 31, 35, 23, 0, 50, 13, 6], | |
| "ct": [82, 59, 42, 76, 73, 54, 80, 48, 80, 47, 44, 67, 67, 49, 47, 68, 11, 75, 44, 74, 36, 8, 51, 55, 83, 47, 16, 35, 83, 37, 22, 79, 5, 52, 66, 60, 74, 9, 74, 52, 15, 72, 72, 66, 22, 10, 66, 71, 18, 41, 73, 19, 23, 4, 55, 67, 1, 20, 58, 51, 66, 6, 82, 1, 50, 8, 52, 13, 45, 13, 75, 5, 14, 14, 22, 14, 44, 59], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 80, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1817, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c3290a053478ca018533e702e2d0bf805933488260457c79", | |
| "tweak": "c814a8fb2641f8ef", | |
| "msg": [35, 82, 60, 37, 41, 79, 65, 1, 72, 18, 65, 16, 80, 21, 2, 29, 75, 47, 79, 61, 62, 46, 52, 28, 22, 75, 60, 46, 51, 55, 30, 15, 75, 59, 83, 79, 79, 38, 54, 5, 29, 61, 43, 31, 61, 62, 14, 32, 33, 3, 41, 1, 6, 59, 19, 6, 28, 22, 80, 3, 82, 39, 16, 39, 9, 9, 49, 38, 8, 72, 17, 63, 18, 1, 33, 6, 20, 41, 44, 41], | |
| "ct": [42, 26, 74, 32, 55, 28, 84, 61, 10, 36, 45, 51, 58, 44, 24, 32, 62, 8, 76, 70, 39, 82, 11, 51, 11, 9, 19, 20, 29, 45, 61, 38, 6, 73, 3, 68, 66, 42, 3, 7, 11, 35, 66, 69, 28, 14, 51, 1, 72, 0, 24, 81, 46, 20, 0, 14, 25, 60, 30, 30, 71, 79, 75, 48, 75, 51, 59, 20, 61, 53, 14, 6, 3, 80, 23, 18, 44, 70, 3, 57], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 128, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1818, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "f38798eb8567d4a7f70c50782361b5a6261d07e43c8b54ca", | |
| "tweak": "36c24b7c62ee3538", | |
| "msg": [2, 30, 59, 37, 84, 61, 81, 57, 54, 30, 82, 9, 14, 27, 2, 17, 39, 16, 51, 78, 22, 11, 59, 29, 2, 71, 4, 33, 26, 28, 73, 80, 53, 84, 5, 24, 42, 19, 82, 82, 68, 1, 65, 17, 75, 83, 84, 67, 24, 60, 26, 40, 50, 38, 59, 37, 79, 9, 22, 67, 46, 25, 33, 75, 16, 13, 23, 29, 77, 75, 64, 13, 25, 28, 78, 23, 15, 58, 46, 29, 2, 4, 49, 79, 10, 7, 28, 45, 23, 37, 83, 15, 36, 75, 69, 40, 11, 63, 79, 78, 4, 37, 54, 59, 58, 6, 52, 28, 9, 20, 32, 74, 55, 77, 78, 15, 78, 35, 24, 48, 49, 71, 47, 16, 45, 61, 58, 49], | |
| "ct": [15, 31, 48, 61, 18, 2, 26, 28, 56, 14, 26, 52, 38, 59, 74, 0, 33, 20, 74, 70, 22, 49, 57, 22, 53, 13, 53, 32, 33, 21, 30, 21, 61, 61, 28, 13, 67, 82, 5, 51, 39, 63, 84, 34, 75, 70, 55, 28, 45, 12, 22, 20, 20, 16, 16, 31, 0, 56, 54, 62, 7, 14, 64, 3, 49, 11, 22, 24, 64, 75, 59, 34, 47, 68, 58, 38, 75, 59, 21, 13, 36, 59, 1, 21, 44, 80, 10, 47, 76, 17, 61, 77, 43, 50, 39, 84, 80, 75, 17, 47, 80, 84, 82, 19, 62, 82, 31, 68, 30, 58, 13, 12, 54, 21, 9, 28, 11, 2, 52, 9, 79, 73, 84, 46, 72, 41, 84, 59], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 192, | |
| "msgSize": 260, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1819, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "ddf845415ef282ad312951d506329229d34582b869cec20f", | |
| "tweak": "fa3a2a07855bde0b", | |
| "msg": [25, 66, 76, 7, 66, 30, 1, 46, 17, 56, 5, 66, 38, 71, 5, 80, 28, 61, 21, 25, 31, 82, 12, 80, 80, 70, 60, 78, 71, 54, 8, 20, 28, 59, 45, 6, 38, 62, 9, 25, 17, 66, 13, 50, 47, 41, 5, 0, 39, 40, 14, 66, 27, 79, 7, 83, 48, 51, 71, 57, 22, 34, 70, 50, 57, 60, 52, 76, 20, 50, 56, 74, 54, 47, 1, 31, 44, 44, 49, 48, 75, 14, 55, 23, 81, 22, 0, 43, 74, 41, 4, 52, 75, 1, 11, 51, 74, 52, 47, 74, 37, 30, 27, 11, 50, 40, 19, 21, 6, 41, 22, 65, 28, 29, 74, 45, 37, 58, 8, 29, 34, 80, 81, 5, 6, 15, 5, 63, 63, 5, 38, 48, 45, 64, 13, 10, 61, 53, 77, 66, 0, 27, 29, 70, 66, 44, 37, 30, 47, 32, 44, 54, 78, 13, 5, 27, 69, 43, 79, 72, 39, 5, 17, 34, 82, 38, 47, 25, 37, 53, 47, 46, 68, 32, 1, 53, 45, 8, 26, 24, 43, 13, 73, 55, 17, 1, 0, 63, 68, 35, 62, 57, 22, 52, 13, 56, 16, 44, 52, 11, 58, 31, 78, 4, 42, 40, 47, 38, 44, 36, 19, 32, 15, 44, 1, 71, 79, 58, 68, 73, 11, 20, 10, 59, 59, 17, 63, 80, 48, 30, 44, 65, 1, 33, 77, 29, 23, 11, 42, 21, 9, 52, 82, 59, 41, 17, 22, 1, 20, 78, 6, 31, 1, 31, 79, 80, 71, 74, 51, 58], | |
| "ct": [5, 54, 18, 42, 16, 45, 14, 41, 42, 74, 53, 66, 55, 45, 17, 64, 18, 7, 66, 56, 38, 24, 77, 4, 4, 37, 37, 38, 67, 34, 77, 79, 41, 76, 65, 12, 72, 19, 4, 39, 26, 79, 71, 83, 68, 35, 81, 5, 16, 2, 30, 70, 73, 64, 11, 73, 47, 26, 61, 35, 3, 15, 66, 38, 83, 17, 23, 8, 73, 60, 65, 28, 9, 57, 63, 6, 36, 56, 46, 5, 65, 12, 30, 80, 63, 39, 81, 44, 29, 16, 18, 5, 61, 64, 25, 11, 1, 45, 81, 56, 66, 27, 76, 62, 38, 28, 64, 69, 39, 23, 45, 10, 22, 14, 4, 71, 60, 71, 39, 6, 24, 43, 12, 69, 27, 63, 25, 64, 64, 27, 33, 16, 68, 30, 42, 24, 80, 58, 37, 27, 60, 11, 54, 27, 50, 7, 49, 83, 1, 5, 29, 13, 70, 25, 34, 47, 65, 70, 22, 43, 63, 12, 34, 51, 30, 8, 30, 18, 6, 23, 63, 37, 37, 23, 33, 13, 61, 31, 15, 71, 22, 1, 54, 42, 68, 44, 75, 55, 11, 72, 29, 81, 24, 17, 75, 59, 9, 24, 44, 32, 16, 73, 39, 51, 53, 83, 19, 71, 3, 3, 39, 56, 63, 70, 38, 12, 57, 20, 26, 11, 5, 36, 21, 77, 72, 61, 41, 9, 26, 24, 0, 29, 60, 8, 39, 5, 54, 24, 25, 31, 52, 47, 33, 16, 40, 41, 4, 35, 14, 24, 19, 51, 3, 47, 81, 14, 13, 73, 5, 12], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 20, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1820, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "4c4c444584b22485ca88c6afcdbb7beb70c7271f1dece986e93f8c26dceedde2", | |
| "tweak": "be2f2b3534bdde03", | |
| "msg": [78, 77, 69, 43, 23, 80, 29, 51, 66, 84, 79, 83, 45, 55, 13, 75, 14, 0, 10, 31], | |
| "ct": [17, 43, 82, 69, 1, 76, 69, 28, 6, 17, 56, 70, 22, 68, 0, 48, 10, 17, 74, 12], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 21, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1821, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "dda27ee12a33f1e1d641185aa62d77f8788cb29adf7c1d869e5476e04cf8d6a2", | |
| "tweak": "a07df02be247e7f9", | |
| "msg": [79, 74, 11, 70, 36, 53, 68, 55, 22, 8, 69, 52, 32, 53, 7, 83, 49, 84, 10, 29, 0], | |
| "ct": [66, 71, 66, 50, 21, 44, 82, 70, 35, 38, 14, 83, 23, 26, 65, 16, 5, 32, 36, 28, 83], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 22, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1822, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "e4d7316dc8f207a390bb0975ae78c2a506361b7a3c762dc970dff471d015a634", | |
| "tweak": "457e89bd400af1ab", | |
| "msg": [54, 80, 73, 26, 2, 69, 16, 74, 81, 37, 55, 16, 72, 79, 1, 22, 6, 36, 11, 54, 72, 1], | |
| "ct": [18, 84, 30, 42, 49, 72, 12, 6, 12, 23, 49, 10, 46, 1, 84, 20, 55, 11, 49, 73, 43, 77], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 23, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1823, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "0d3ce9853bb4fc12233e5c394be7fa40a52f13ce1a348b3ebf7656fb5dd4357b", | |
| "tweak": "bf83b0337f56f7bf", | |
| "msg": [43, 27, 44, 30, 12, 74, 50, 59, 28, 52, 58, 62, 80, 79, 34, 62, 34, 59, 68, 40, 48, 67, 9], | |
| "ct": [56, 61, 39, 24, 35, 64, 5, 65, 13, 52, 69, 68, 8, 84, 56, 54, 71, 27, 79, 51, 43, 29, 17], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 24, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1824, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "6dd6f146d834e25b75f7cde4071293e1cb4ed6be6f3e93a1338f21699c844fef", | |
| "tweak": "a043702fce39a1ce", | |
| "msg": [52, 14, 22, 74, 30, 48, 44, 60, 8, 74, 47, 79, 72, 44, 22, 24, 26, 6, 40, 44, 19, 69, 63, 51], | |
| "ct": [80, 57, 25, 67, 58, 16, 15, 3, 84, 78, 25, 23, 15, 43, 42, 67, 62, 40, 79, 83, 26, 21, 76, 5], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 25, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1825, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "e0325d51f62ed182ca91eb839e255cae9917f657cb90ac5c9f891c4ecbfb44ba", | |
| "tweak": "6a15097e7edd42a0", | |
| "msg": [37, 3, 53, 80, 23, 49, 47, 31, 36, 0, 35, 0, 35, 64, 56, 47, 77, 30, 49, 45, 53, 35, 77, 23, 42], | |
| "ct": [54, 41, 22, 61, 11, 10, 29, 9, 63, 29, 25, 66, 71, 82, 77, 54, 51, 80, 54, 62, 68, 44, 37, 44, 3], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 26, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1826, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "219dd3d491cb992c6c8c4d4292b5ee76784b4b383fc415b654f09d600248858b", | |
| "tweak": "6434003b257c6b31", | |
| "msg": [21, 62, 34, 67, 35, 40, 6, 8, 27, 74, 20, 68, 15, 75, 51, 3, 33, 15, 75, 29, 81, 82, 71, 81, 45, 13], | |
| "ct": [80, 5, 7, 31, 14, 28, 61, 19, 57, 67, 7, 83, 58, 8, 53, 46, 20, 0, 58, 33, 11, 71, 5, 20, 16, 21], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 27, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1827, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "89dcb7b56207898e6bbf9275e00e68d7f08eee8ef17be1a0359b5f15a4c7f476", | |
| "tweak": "2146a4ee0ca89f28", | |
| "msg": [61, 80, 26, 80, 71, 18, 2, 72, 19, 49, 27, 60, 28, 63, 17, 3, 78, 20, 81, 66, 64, 60, 39, 7, 50, 54, 57], | |
| "ct": [62, 15, 34, 58, 34, 40, 14, 65, 29, 44, 64, 66, 82, 81, 12, 43, 36, 6, 45, 69, 26, 40, 46, 4, 7, 28, 28], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 28, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1828, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "56b5a4449c4eab69ba4deb8094c02b97de3992b606485185334642bf8626dcee", | |
| "tweak": "46ab2623206bced3", | |
| "msg": [18, 26, 29, 29, 6, 8, 62, 38, 84, 74, 37, 55, 42, 84, 29, 84, 7, 57, 78, 30, 38, 75, 29, 6, 42, 76, 59, 30], | |
| "ct": [63, 31, 51, 4, 53, 22, 73, 14, 70, 72, 66, 10, 54, 27, 43, 84, 25, 54, 8, 1, 78, 6, 75, 4, 0, 0, 32, 2], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 29, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1829, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "289b50c9fef3028eebb6d8121536042e818bcf1ce7829d123daf3704c95a803d", | |
| "tweak": "6fc54bb5ade03038", | |
| "msg": [22, 21, 34, 29, 69, 82, 24, 75, 5, 55, 77, 42, 63, 60, 28, 83, 15, 50, 53, 80, 51, 6, 32, 3, 56, 74, 62, 78, 10], | |
| "ct": [2, 5, 78, 78, 35, 71, 51, 64, 65, 3, 83, 26, 62, 78, 25, 58, 51, 8, 34, 0, 73, 7, 75, 27, 64, 34, 40, 16, 72], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 30, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1830, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "73fb9509d5105cc23dc27665da2603ae368bb7472ee6faba1f50369cd283944e", | |
| "tweak": "5cbf2c8926102868", | |
| "msg": [20, 84, 10, 78, 69, 0, 82, 64, 30, 84, 74, 40, 52, 34, 9, 5, 79, 27, 72, 0, 82, 24, 51, 62, 35, 18, 66, 25, 69, 45], | |
| "ct": [30, 73, 18, 8, 79, 58, 15, 34, 84, 32, 21, 60, 47, 66, 19, 81, 27, 74, 78, 28, 65, 18, 11, 35, 41, 16, 57, 53, 58, 33], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 31, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1831, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "c469e6908749a713e6ef407c557cea98515c3e931222e22d13b85ea1f6071231", | |
| "tweak": "47b8d0890cbc7d4d", | |
| "msg": [83, 44, 32, 77, 0, 80, 81, 65, 67, 19, 71, 50, 39, 37, 23, 50, 43, 64, 59, 66, 6, 15, 10, 4, 53, 83, 17, 1, 40, 56, 65], | |
| "ct": [72, 56, 11, 47, 46, 69, 7, 31, 64, 69, 49, 8, 77, 38, 42, 20, 83, 42, 8, 71, 36, 12, 7, 60, 15, 6, 4, 21, 23, 1, 49], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 32, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1832, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "233e4fdee70bcc20235b6977ddfc05b0df66f5635d827c66e5a63cdb16a24938", | |
| "tweak": "1b6819798da15c7a", | |
| "msg": [42, 24, 6, 69, 30, 73, 47, 77, 75, 27, 21, 0, 62, 76, 17, 4, 22, 47, 30, 47, 34, 69, 71, 6, 12, 50, 48, 7, 6, 82, 25, 22], | |
| "ct": [42, 28, 26, 43, 42, 78, 11, 33, 35, 77, 9, 77, 49, 65, 8, 59, 21, 74, 84, 29, 58, 15, 6, 54, 82, 73, 11, 20, 63, 9, 79, 39], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 33, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1833, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "ff5595a976430f9c424459d7206cfa55562f5f2328f12e31232499fb1e7c49b4", | |
| "tweak": "2d1ad468fddd0754", | |
| "msg": [30, 17, 67, 29, 15, 15, 82, 75, 32, 15, 73, 19, 31, 18, 34, 54, 6, 32, 79, 66, 64, 20, 34, 48, 37, 42, 39, 80, 2, 61, 27, 51, 20], | |
| "ct": [66, 83, 0, 69, 71, 59, 10, 77, 43, 81, 23, 36, 77, 29, 70, 29, 68, 75, 18, 40, 57, 4, 12, 82, 53, 35, 11, 67, 37, 72, 8, 33, 26], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 38, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1834, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "0e7e9058a2bad0b221380073334245863a3806b40db72f97123830b3cf2049f0", | |
| "tweak": "bd44d8a87bbe2d54", | |
| "msg": [70, 54, 32, 84, 34, 41, 23, 35, 6, 82, 21, 39, 38, 24, 74, 77, 5, 44, 75, 28, 21, 73, 4, 28, 38, 1, 13, 18, 65, 10, 35, 38, 45, 74, 51, 47, 22, 48], | |
| "ct": [58, 26, 68, 56, 33, 73, 54, 27, 42, 2, 23, 6, 47, 11, 34, 56, 13, 66, 54, 39, 23, 54, 35, 73, 64, 8, 45, 69, 18, 31, 82, 47, 19, 2, 12, 50, 19, 25], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 39, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1835, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "11e30ec3090687f70bb498193541ded7d7accc0b6a8e5106fdf2ca38d34a6ffa", | |
| "tweak": "c1aec33763cc79cf", | |
| "msg": [61, 8, 28, 46, 26, 23, 19, 13, 47, 40, 16, 75, 63, 49, 76, 5, 18, 54, 37, 64, 3, 54, 38, 6, 0, 83, 20, 46, 70, 82, 51, 7, 73, 44, 23, 40, 37, 17, 75], | |
| "ct": [31, 6, 61, 59, 49, 56, 36, 24, 12, 73, 27, 38, 37, 59, 76, 75, 20, 24, 59, 75, 35, 36, 31, 41, 13, 73, 62, 27, 57, 54, 62, 61, 72, 47, 67, 58, 30, 47, 82], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 40, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1836, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "44d6353fd4623666bb7617a2235ebe645e1685dc11e084d7408c75042d94c06c", | |
| "tweak": "e0b69ccb91ebb7a3", | |
| "msg": [4, 81, 67, 1, 31, 36, 41, 25, 49, 63, 44, 47, 2, 4, 21, 80, 15, 47, 21, 36, 34, 61, 41, 74, 17, 21, 84, 3, 71, 72, 21, 11, 43, 16, 4, 20, 40, 4, 37, 22], | |
| "ct": [20, 37, 59, 52, 4, 25, 28, 61, 48, 18, 62, 66, 45, 79, 28, 27, 31, 48, 66, 43, 38, 33, 67, 72, 11, 70, 8, 38, 14, 61, 11, 15, 82, 16, 47, 84, 43, 79, 28, 51], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 48, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1837, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "9a5e26267dd78bbdea69154e593bea02777e9638b8d5b074f2ea690ab8992a4c", | |
| "tweak": "6dc4c5a01eba799d", | |
| "msg": [83, 69, 31, 47, 21, 66, 24, 62, 84, 55, 51, 11, 11, 44, 13, 16, 83, 14, 38, 47, 57, 9, 32, 27, 41, 11, 14, 43, 76, 82, 4, 59, 54, 7, 30, 16, 27, 19, 71, 3, 84, 52, 21, 70, 58, 13, 22, 65], | |
| "ct": [17, 46, 26, 62, 32, 16, 71, 49, 61, 18, 35, 45, 62, 7, 9, 27, 14, 72, 64, 64, 71, 10, 63, 80, 53, 13, 68, 30, 77, 16, 26, 36, 63, 25, 39, 3, 12, 35, 62, 27, 83, 36, 51, 81, 29, 20, 45, 37], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 49, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1838, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "6a63c0ec794a508540f5c63d051a5896850a05a6369b402740a4d48c9a3efddb", | |
| "tweak": "44f02092cfa81cc3", | |
| "msg": [22, 11, 60, 42, 12, 72, 18, 46, 8, 7, 31, 47, 45, 34, 34, 15, 21, 8, 70, 59, 22, 31, 67, 26, 66, 62, 9, 15, 83, 17, 48, 10, 54, 47, 15, 32, 51, 62, 32, 81, 24, 68, 28, 14, 80, 44, 17, 77, 40], | |
| "ct": [37, 52, 61, 51, 49, 49, 52, 52, 59, 57, 13, 5, 4, 6, 29, 33, 33, 53, 84, 64, 41, 24, 72, 14, 22, 79, 18, 13, 59, 81, 73, 39, 8, 49, 61, 24, 3, 31, 52, 75, 50, 72, 71, 73, 39, 37, 35, 71, 5], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 58, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1839, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "9470d5bd345466cc72bb04eeb3659dc0ce05c6b6ae4fed60138293d600b1b560", | |
| "tweak": "9065dfbafcd302a1", | |
| "msg": [42, 69, 32, 50, 73, 61, 27, 81, 29, 1, 61, 13, 27, 6, 57, 68, 11, 67, 25, 59, 25, 20, 28, 58, 25, 73, 55, 67, 24, 34, 59, 1, 53, 78, 53, 41, 12, 46, 51, 1, 76, 26, 67, 21, 47, 60, 14, 50, 63, 30, 52, 46, 15, 18, 79, 60, 41, 33], | |
| "ct": [2, 43, 40, 3, 84, 9, 1, 33, 64, 36, 38, 42, 39, 55, 23, 60, 39, 76, 11, 37, 7, 3, 21, 9, 20, 47, 14, 63, 36, 60, 74, 18, 62, 35, 68, 82, 60, 68, 16, 66, 5, 73, 80, 49, 6, 60, 28, 83, 70, 49, 51, 10, 7, 35, 78, 2, 56, 80], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 59, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1840, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "1c69b6fe4ceee234ba4118111d64f7ec730ea42e6795e66cb99792c22b0a5fd4", | |
| "tweak": "34932658fa797462", | |
| "msg": [77, 41, 14, 83, 49, 68, 38, 2, 31, 54, 79, 30, 50, 41, 83, 75, 58, 10, 19, 15, 33, 33, 31, 26, 25, 56, 19, 29, 15, 3, 75, 26, 24, 5, 73, 6, 51, 33, 0, 77, 38, 35, 79, 2, 35, 39, 4, 0, 45, 9, 78, 29, 66, 79, 17, 71, 36, 42, 75], | |
| "ct": [30, 16, 71, 16, 35, 12, 23, 44, 1, 11, 79, 68, 4, 61, 14, 56, 52, 32, 54, 63, 67, 40, 56, 33, 57, 33, 34, 84, 80, 73, 6, 2, 11, 72, 50, 46, 80, 47, 30, 7, 29, 50, 57, 0, 43, 18, 63, 14, 13, 18, 41, 9, 65, 50, 64, 54, 35, 6, 78], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 64, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1841, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "2f18635c07eefa940f9f24050f44a9ef0a635c87a70897eaceeeeef15fefe1f8", | |
| "tweak": "4ccb9dd3441d2cfb", | |
| "msg": [46, 44, 19, 77, 3, 44, 43, 71, 3, 23, 71, 54, 81, 8, 16, 3, 4, 65, 30, 39, 79, 3, 66, 51, 65, 39, 76, 81, 28, 69, 31, 0, 56, 50, 19, 1, 16, 5, 5, 36, 11, 35, 63, 39, 79, 9, 62, 48, 18, 47, 13, 36, 84, 84, 51, 14, 63, 73, 15, 69, 13, 44, 22, 50], | |
| "ct": [13, 84, 37, 34, 61, 31, 19, 83, 35, 18, 72, 75, 61, 65, 67, 49, 55, 39, 61, 3, 46, 16, 56, 76, 24, 16, 60, 19, 12, 73, 66, 29, 84, 58, 58, 73, 61, 34, 32, 10, 60, 54, 81, 9, 80, 18, 70, 28, 27, 14, 83, 45, 0, 66, 84, 46, 1, 45, 63, 69, 30, 8, 43, 18], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 68, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1842, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "696beed5ea99032382d21ed1585d2022eb191f5f7bcb970fe9c8775a8360a4e5", | |
| "tweak": "66e49596e549e1e2", | |
| "msg": [39, 15, 62, 24, 65, 44, 43, 65, 1, 12, 81, 49, 82, 21, 60, 4, 31, 11, 59, 36, 26, 81, 18, 37, 80, 81, 56, 49, 77, 42, 2, 51, 50, 47, 33, 51, 60, 71, 51, 6, 17, 1, 9, 32, 42, 75, 13, 14, 29, 24, 74, 26, 65, 48, 84, 25, 64, 62, 25, 60, 84, 5, 65, 17, 51, 20, 50, 76], | |
| "ct": [38, 51, 7, 26, 25, 68, 16, 9, 24, 12, 71, 74, 9, 48, 7, 39, 42, 43, 30, 37, 21, 15, 33, 57, 40, 13, 0, 40, 14, 13, 64, 58, 63, 16, 39, 5, 39, 53, 38, 52, 62, 12, 51, 63, 70, 14, 1, 60, 78, 76, 64, 84, 29, 36, 75, 63, 53, 11, 15, 14, 8, 84, 3, 78, 27, 18, 10, 59], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 69, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1843, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "95c633bee16462726a6856e32fe75cb59d0a3571ca21cbb3038055c7348c8e91", | |
| "tweak": "e55ce677906b2726", | |
| "msg": [47, 70, 19, 33, 77, 77, 80, 14, 34, 65, 60, 69, 30, 67, 35, 10, 0, 31, 52, 76, 3, 40, 45, 69, 49, 24, 72, 2, 5, 77, 76, 39, 76, 71, 75, 14, 30, 61, 5, 34, 83, 70, 57, 29, 25, 84, 6, 10, 3, 37, 23, 57, 39, 60, 82, 36, 71, 67, 66, 50, 73, 60, 29, 59, 40, 22, 43, 1, 37], | |
| "ct": [1, 29, 6, 44, 6, 25, 83, 46, 55, 39, 65, 82, 0, 37, 2, 29, 39, 54, 32, 75, 40, 40, 28, 81, 64, 55, 5, 14, 15, 83, 58, 77, 10, 70, 0, 1, 23, 42, 14, 81, 7, 63, 47, 6, 8, 17, 75, 15, 60, 38, 62, 56, 42, 14, 33, 1, 25, 81, 46, 71, 70, 18, 23, 5, 55, 79, 60, 60, 41], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 78, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1844, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "a4f82e06f7bf65c929cfef10d4fde0226a552f95d2cd5ab14973440250ddaf2f", | |
| "tweak": "829dbff60b3eb6a3", | |
| "msg": [73, 60, 21, 38, 70, 63, 78, 70, 2, 54, 34, 52, 50, 83, 24, 51, 76, 49, 63, 33, 8, 82, 31, 58, 50, 57, 2, 44, 30, 76, 0, 58, 42, 22, 29, 75, 16, 45, 59, 61, 79, 81, 55, 23, 66, 14, 81, 18, 80, 33, 53, 45, 5, 66, 9, 75, 23, 25, 28, 17, 66, 66, 18, 83, 19, 77, 53, 28, 17, 38, 7, 34, 77, 30, 25, 47, 32, 81], | |
| "ct": [50, 13, 38, 82, 18, 15, 19, 24, 59, 63, 18, 2, 50, 4, 69, 44, 47, 8, 40, 2, 62, 24, 83, 79, 9, 15, 48, 83, 57, 30, 25, 49, 72, 57, 2, 20, 73, 49, 29, 13, 80, 8, 66, 21, 54, 81, 0, 4, 46, 48, 50, 27, 11, 60, 4, 3, 66, 11, 43, 1, 73, 68, 60, 8, 75, 80, 71, 67, 82, 26, 10, 66, 15, 83, 34, 20, 69, 52], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 80, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1845, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "4c21f21cf45f61eea701cdae4a3e06a74cd18fd63eec698b49b3a21f4e1c3bf9", | |
| "tweak": "0ec0a2520507286d", | |
| "msg": [12, 60, 79, 34, 13, 63, 69, 80, 6, 10, 1, 73, 29, 62, 0, 27, 27, 8, 16, 33, 31, 49, 66, 45, 51, 66, 32, 80, 40, 30, 82, 15, 29, 70, 63, 45, 47, 5, 28, 79, 58, 49, 39, 1, 12, 38, 49, 13, 17, 30, 48, 77, 0, 15, 61, 60, 49, 8, 4, 37, 20, 70, 19, 0, 20, 7, 67, 32, 49, 5, 60, 38, 63, 13, 21, 77, 37, 4, 80, 62], | |
| "ct": [5, 25, 30, 84, 4, 16, 62, 26, 49, 32, 18, 15, 36, 29, 47, 59, 50, 27, 48, 56, 1, 8, 49, 63, 82, 5, 53, 20, 13, 45, 30, 2, 20, 79, 57, 25, 19, 55, 51, 31, 57, 60, 25, 49, 59, 33, 29, 52, 45, 59, 75, 60, 54, 54, 32, 27, 32, 24, 72, 81, 74, 51, 46, 4, 25, 1, 50, 13, 24, 72, 6, 66, 21, 14, 25, 70, 79, 70, 4, 83], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 128, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1846, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "0a04c284ea0028d71c986b4e547c0e03cc8969ac81ec89dacf67df23bf72d461", | |
| "tweak": "fdb7b6eda7cdb93c", | |
| "msg": [76, 15, 4, 54, 37, 7, 65, 31, 36, 15, 6, 16, 34, 41, 34, 32, 24, 62, 7, 68, 16, 77, 71, 0, 1, 74, 18, 42, 24, 8, 55, 78, 33, 27, 27, 16, 13, 13, 53, 62, 5, 48, 23, 67, 70, 77, 6, 31, 78, 1, 42, 70, 46, 82, 5, 69, 22, 28, 30, 22, 77, 38, 33, 83, 53, 9, 46, 84, 66, 49, 2, 13, 3, 61, 69, 56, 3, 41, 44, 80, 58, 11, 18, 83, 14, 81, 33, 68, 69, 22, 45, 61, 3, 22, 54, 19, 51, 26, 34, 46, 21, 62, 1, 63, 58, 38, 25, 33, 71, 60, 72, 3, 80, 4, 25, 64, 67, 26, 30, 61, 46, 7, 31, 32, 9, 35, 47, 5], | |
| "ct": [53, 9, 39, 56, 52, 12, 35, 77, 25, 72, 63, 3, 6, 21, 17, 80, 25, 84, 82, 82, 67, 66, 56, 17, 39, 76, 11, 54, 58, 16, 8, 79, 58, 60, 34, 41, 53, 78, 7, 8, 30, 45, 5, 13, 17, 6, 23, 8, 37, 29, 43, 47, 71, 27, 46, 38, 50, 44, 61, 34, 54, 63, 23, 20, 67, 37, 5, 12, 71, 10, 66, 40, 35, 72, 65, 59, 64, 33, 51, 78, 34, 81, 25, 83, 58, 14, 61, 17, 40, 60, 5, 47, 47, 61, 17, 2, 73, 38, 75, 5, 52, 46, 30, 63, 71, 10, 3, 44, 42, 80, 33, 21, 16, 22, 34, 20, 84, 27, 22, 31, 18, 55, 81, 4, 19, 80, 72, 66], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 256, | |
| "msgSize": 260, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1847, | |
| "comment": "large message size", | |
| "flags": [ | |
| "LargeMessageSize" | |
| ], | |
| "key": "e3009a081a300a5d2c99b076d69e8479ab2e040342b7558d4fb8c6cf978e809f", | |
| "tweak": "ae2aa7fbd0c4542d", | |
| "msg": [15, 37, 48, 2, 9, 73, 83, 66, 27, 16, 37, 81, 18, 66, 48, 32, 32, 30, 24, 39, 64, 83, 6, 13, 19, 19, 14, 7, 42, 67, 68, 43, 48, 63, 59, 45, 4, 76, 62, 17, 30, 0, 64, 36, 63, 72, 55, 53, 23, 36, 48, 71, 1, 45, 25, 69, 23, 79, 70, 27, 12, 30, 35, 69, 67, 21, 62, 53, 28, 60, 60, 55, 38, 23, 55, 77, 80, 7, 52, 36, 13, 73, 15, 70, 64, 18, 6, 44, 24, 53, 40, 18, 11, 78, 70, 20, 5, 1, 61, 42, 16, 36, 11, 61, 43, 57, 79, 38, 61, 38, 31, 75, 68, 76, 11, 53, 65, 16, 49, 68, 23, 83, 50, 0, 38, 49, 11, 62, 54, 1, 68, 19, 60, 59, 25, 40, 34, 10, 65, 5, 37, 6, 54, 33, 69, 62, 29, 4, 80, 5, 15, 45, 51, 60, 21, 74, 48, 34, 26, 83, 61, 20, 58, 65, 5, 40, 20, 9, 18, 80, 62, 50, 1, 57, 39, 25, 35, 67, 26, 52, 61, 8, 8, 52, 74, 58, 44, 63, 6, 60, 74, 41, 42, 2, 6, 65, 45, 47, 70, 42, 47, 57, 72, 63, 40, 35, 50, 33, 2, 84, 10, 13, 27, 59, 51, 61, 25, 59, 13, 69, 80, 68, 46, 17, 60, 19, 62, 64, 1, 19, 71, 31, 83, 81, 26, 7, 70, 14, 34, 59, 61, 53, 58, 10, 0, 25, 14, 60, 76, 32, 36, 33, 81, 9, 3, 34, 48, 73, 41, 23], | |
| "ct": [52, 82, 14, 75, 51, 16, 4, 49, 46, 8, 77, 52, 39, 47, 61, 16, 30, 10, 12, 31, 48, 27, 32, 2, 75, 79, 27, 36, 50, 17, 24, 48, 20, 54, 5, 48, 21, 12, 5, 42, 39, 57, 72, 1, 1, 51, 39, 37, 37, 83, 62, 11, 6, 8, 81, 30, 5, 61, 25, 29, 80, 61, 63, 5, 7, 75, 37, 72, 30, 30, 31, 18, 59, 3, 38, 55, 48, 79, 12, 65, 63, 4, 41, 76, 69, 48, 10, 4, 68, 23, 62, 68, 54, 71, 75, 40, 5, 50, 66, 44, 11, 56, 48, 28, 34, 5, 10, 78, 41, 61, 84, 82, 47, 72, 73, 16, 30, 60, 66, 31, 73, 57, 41, 44, 34, 42, 84, 70, 26, 52, 25, 33, 31, 30, 15, 26, 77, 74, 15, 15, 29, 82, 40, 8, 44, 63, 71, 60, 80, 53, 69, 6, 15, 19, 1, 18, 78, 16, 0, 38, 33, 84, 59, 67, 49, 5, 58, 4, 22, 54, 74, 45, 72, 52, 21, 77, 73, 81, 74, 29, 73, 50, 23, 14, 62, 73, 56, 2, 39, 37, 12, 81, 65, 80, 35, 72, 26, 63, 28, 54, 61, 71, 20, 46, 17, 9, 30, 3, 78, 33, 47, 58, 76, 68, 39, 42, 65, 36, 4, 81, 65, 8, 26, 37, 56, 36, 43, 36, 66, 32, 52, 41, 39, 1, 64, 29, 75, 70, 42, 10, 15, 58, 43, 20, 79, 63, 76, 18, 61, 41, 76, 81, 10, 71, 56, 19, 13, 71, 26, 0], | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 0, | |
| "msgSize": 4, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1848, | |
| "comment": "invalid key size", | |
| "flags": [ | |
| "InvalidKeySize" | |
| ], | |
| "key": "", | |
| "tweak": "a5016eb62efc7e72", | |
| "msg": [8, 18, 76, 24], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 8, | |
| "msgSize": 4, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1849, | |
| "comment": "invalid key size", | |
| "flags": [ | |
| "InvalidKeySize" | |
| ], | |
| "key": "2e", | |
| "tweak": "f33d831e66c0db16", | |
| "msg": [47, 1, 28, 17], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 64, | |
| "msgSize": 4, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1850, | |
| "comment": "invalid key size", | |
| "flags": [ | |
| "InvalidKeySize" | |
| ], | |
| "key": "1f22cd7ded80f7a8", | |
| "tweak": "f40e82cd7c24eee2", | |
| "msg": [22, 36, 57, 14], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 160, | |
| "msgSize": 4, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1851, | |
| "comment": "invalid key size", | |
| "flags": [ | |
| "InvalidKeySize" | |
| ], | |
| "key": "9b708898ae15bbf6758a68366f724bc1b299e6ba", | |
| "tweak": "a769d9747fa24abf", | |
| "msg": [9, 1, 2, 13], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "keySize": 320, | |
| "msgSize": 4, | |
| "radix": 85, | |
| "type": "FpeListTest", | |
| "tests": [ | |
| { | |
| "tcId": 1852, | |
| "comment": "invalid key size", | |
| "flags": [ | |
| "InvalidKeySize" | |
| ], | |
| "key": "9a1b29efd5efb6504153004d40c73dba3157f7aa627104918b6d1abf5723830f4d106d3178a59209", | |
| "tweak": "c91e67905cb51765", | |
| "msg": [66, 9, 71, 53], | |
| "ct": [], | |
| "result": "invalid" | |
| } | |
| ] | |
| } | |
| ] | |
| } |