| { |
| "algorithm": "AES-FF1", |
| "generatorVersion": "0.9rc5", |
| "numberOfTests": 2421, |
| "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": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1, |
| "comment": "Invalid message size", |
| "flags": [ |
| "InvalidMessageSize" |
| ], |
| "key": "fb9fc869af3e4828da6efa18b5fa71a0", |
| "tweak": "379f81cab6ed2517", |
| "msg": [], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 1, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2, |
| "comment": "Invalid message size", |
| "flags": [ |
| "InvalidMessageSize" |
| ], |
| "key": "7325733095d90aff456a1e00fa977365", |
| "tweak": "a5f8950069a56f6c", |
| "msg": [11], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 0, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 3, |
| "comment": "Invalid message size", |
| "flags": [ |
| "InvalidMessageSize" |
| ], |
| "key": "af2463f51df63a015178e30edcf25dacbeb2abbc5144d0a6", |
| "tweak": "5d9c3dfb797c952a", |
| "msg": [], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 1, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 4, |
| "comment": "Invalid message size", |
| "flags": [ |
| "InvalidMessageSize" |
| ], |
| "key": "e9e279f5fad3e7fd7922e838cf07da528ddcc5387f6145bf", |
| "tweak": "a25989a2e4360bae", |
| "msg": [24], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 0, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 5, |
| "comment": "Invalid message size", |
| "flags": [ |
| "InvalidMessageSize" |
| ], |
| "key": "f25e816c4d42629a428e48f2d48a31f79d6b1e8ef47e5ed3e7e5bbdf37f1806d", |
| "tweak": "42dbc8913a275520", |
| "msg": [], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 1, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 6, |
| "comment": "Invalid message size", |
| "flags": [ |
| "InvalidMessageSize" |
| ], |
| "key": "b8c800bed3286920bd1d9ad89a78808e9f815ec638663a725f256cc7078fdaf0", |
| "tweak": "90120912eba3c19c", |
| "msg": [3], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 2, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 7, |
| "comment": "small message size", |
| "flags": [ |
| "SmallMessageSize" |
| ], |
| "key": "ad65778960d778c614e2673dee073acb", |
| "tweak": "4505f45a8fa30b90", |
| "msg": [4, 41], |
| "ct": [25, 7], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 3, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 8, |
| "comment": "small message size", |
| "flags": [ |
| "SmallMessageSize" |
| ], |
| "key": "aa6f23f573da39b110f4e155c418ba1f", |
| "tweak": "8402018f66fd2cb9", |
| "msg": [27, 11, 26], |
| "ct": [2, 42, 42], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 2, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 9, |
| "comment": "small message size", |
| "flags": [ |
| "SmallMessageSize" |
| ], |
| "key": "911c9e0a87977587050ebb48f4f9e199fde8472781ecaf7a", |
| "tweak": "cf98ea96ef005bc6", |
| "msg": [18, 19], |
| "ct": [24, 41], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 3, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 10, |
| "comment": "small message size", |
| "flags": [ |
| "SmallMessageSize" |
| ], |
| "key": "3c453964f4e42587db3a6de5de00673ede7e17672a4deb84", |
| "tweak": "fe6290783f11946c", |
| "msg": [1, 8, 36], |
| "ct": [19, 32, 3], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 2, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 11, |
| "comment": "small message size", |
| "flags": [ |
| "SmallMessageSize" |
| ], |
| "key": "d05ae6e3819e2dcdd218be7c62465e8f1474f1fec8e79a1a3f7b88040d0f4160", |
| "tweak": "823988f1ffb8ce23", |
| "msg": [34, 43], |
| "ct": [2, 14], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 3, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 12, |
| "comment": "small message size", |
| "flags": [ |
| "SmallMessageSize" |
| ], |
| "key": "1399758fa1ebf7cfda5f601c643443adaea4f4f8c19fc8772c5d5e3cc0cc6955", |
| "tweak": "8c5a263a91b7cb4f", |
| "msg": [28, 38, 14], |
| "ct": [32, 1, 7], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 4, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 13, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "5dd5899794ff9b5007b4481aaa97f882", |
| "tweak": "742f7f8b2ab0dc48", |
| "msg": [36, 12, 36, 8], |
| "ct": [36, 12, 27, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 14, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [0, 0, 0, 0], |
| "ct": [18, 34, 8, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 15, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [44, 44, 44, 44], |
| "ct": [31, 19, 1, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 16, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [22, 34, 22, 34], |
| "ct": [16, 30, 0, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 17, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [22, 33, 22, 33], |
| "ct": [41, 20, 42, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 18, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [30, 9, 41, 31], |
| "ct": [1, 43, 44, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 19, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [38, 17, 41, 20], |
| "ct": [33, 18, 11, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 20, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [29, 23, 24, 5], |
| "ct": [15, 37, 25, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 21, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [11, 41, 23, 21], |
| "ct": [17, 11, 40, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 22, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [43, 28, 15, 20], |
| "ct": [37, 35, 10, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 23, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [7, 42, 0, 39], |
| "ct": [29, 13, 44, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 24, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [38, 29, 40, 28], |
| "ct": [42, 18, 4, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 25, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [38, 3, 4, 44], |
| "ct": [37, 17, 26, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 26, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [25, 41, 42, 24], |
| "ct": [0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 27, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [0, 21, 12, 32], |
| "ct": [44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 28, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [19, 6, 30, 9], |
| "ct": [22, 34, 22, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 29, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "16e4e676552c2fef6f1942adef4c440a", |
| "tweak": "aba4ba6db9422dc4", |
| "msg": [43, 15, 15, 25], |
| "ct": [22, 33, 22, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 30, |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "a17b87af37ed0be303dcd1ec33", |
| "msg": [31, 30, 3, 36], |
| "ct": [43, 19, 10, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 31, |
| "comment": "y = 0 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "a17b87af37ed0be303dcd1ec33", |
| "msg": [20, 0, 18, 24], |
| "ct": [22, 39, 13, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 32, |
| "comment": "y = 0 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "a17b87af37ed0be303dcd1ec33", |
| "msg": [43, 26, 4, 33], |
| "ct": [13, 36, 35, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 33, |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "a17b87af37ed0be303dcd1ec33", |
| "msg": [25, 31, 8, 18], |
| "ct": [7, 39, 40, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 34, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "1338d76e6bcde24f0097b7aef6", |
| "msg": [0, 0, 13, 16], |
| "ct": [28, 25, 15, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 35, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "1338d76e6bcde24f0097b7aef6", |
| "msg": [0, 1, 13, 16], |
| "ct": [26, 39, 18, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 36, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "1338d76e6bcde24f0097b7aef6", |
| "msg": [22, 34, 13, 16], |
| "ct": [17, 2, 21, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 37, |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "1338d76e6bcde24f0097b7aef6", |
| "msg": [44, 43, 13, 16], |
| "ct": [18, 18, 41, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 38, |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "1338d76e6bcde24f0097b7aef6", |
| "msg": [44, 44, 13, 16], |
| "ct": [30, 4, 28, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 39, |
| "comment": "y is maximal and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d9d8131cc22453f83870002456", |
| "msg": [7, 22, 40, 25], |
| "ct": [21, 0, 30, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 40, |
| "comment": "y is maximal and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d9d8131cc22453f83870002456", |
| "msg": [23, 23, 14, 10], |
| "ct": [5, 41, 12, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 41, |
| "comment": "y is maximal and (y + a) % radix**2 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d9d8131cc22453f83870002456", |
| "msg": [21, 28, 11, 37], |
| "ct": [38, 23, 43, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 42, |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d9d8131cc22453f83870002456", |
| "msg": [16, 25, 40, 39], |
| "ct": [38, 35, 30, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 43, |
| "comment": "y is maximal and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d9d8131cc22453f83870002456", |
| "msg": [7, 12, 0, 7], |
| "ct": [1, 11, 10, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 44, |
| "comment": "y is maximal and a is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d9d8131cc22453f83870002456", |
| "msg": [33, 32, 3, 18], |
| "ct": [23, 1, 16, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 45, |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d7b0999f3bc5f70bf9affc5914", |
| "msg": [28, 21, 37, 14], |
| "ct": [35, 0, 4, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 46, |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d7b0999f3bc5f70bf9affc5914", |
| "msg": [43, 17, 10, 23], |
| "ct": [35, 1, 40, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 47, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d7b0999f3bc5f70bf9affc5914", |
| "msg": [11, 15, 17, 14], |
| "ct": [44, 44, 16, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 48, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d7b0999f3bc5f70bf9affc5914", |
| "msg": [24, 38, 24, 13], |
| "ct": [0, 0, 23, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 49, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d7b0999f3bc5f70bf9affc5914", |
| "msg": [9, 28, 37, 22], |
| "ct": [12, 34, 42, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 50, |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a88f0018e583ed7310f3f5336e592a25", |
| "tweak": "d7b0999f3bc5f70bf9affc5914", |
| "msg": [32, 37, 8, 34], |
| "ct": [34, 44, 42, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 51, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8a74f1cae832ef8d58c26b49157c187b", |
| "tweak": "d7b8bdae53aba381", |
| "msg": [-1, 18, 0, 20], |
| "ct": [28, 40, 7, 27], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 52, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8a74f1cae832ef8d58c26b49157c187b", |
| "tweak": "d7b8bdae53aba381", |
| "msg": [35, -1, 0, 20], |
| "ct": [32, 38, 16, 6], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 53, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "37783da748ba978ce6034150c1d44490", |
| "tweak": "ea145c10f0c9e872", |
| "msg": [45, 20, 29, 38], |
| "ct": [1, 18, 42, 4], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 54, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "37783da748ba978ce6034150c1d44490", |
| "tweak": "ea145c10f0c9e872", |
| "msg": [10, 45, 29, 38], |
| "ct": [14, 10, 17, 43], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 55, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "37783da748ba978ce6034150c1d44490", |
| "tweak": "ea145c10f0c9e872", |
| "msg": [10, 20, 29, 45], |
| "ct": [16, 41, 8, 28], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 56, |
| "comment": "can't convert negative int to unsigned", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8a74f1cae832ef8d58c26b49157c187b", |
| "tweak": "d7b8bdae53aba381", |
| "msg": [35, 18, 0, -1], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 5, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 57, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "0319599d6c7ca301230ec2b06c681097", |
| "tweak": "125fd8f86c787e2d", |
| "msg": [16, 8, 12, 33, 13], |
| "ct": [30, 38, 28, 7, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 58, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [0, 0, 0, 0, 0], |
| "ct": [28, 19, 30, 23, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 59, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [44, 44, 44, 44, 44], |
| "ct": [24, 34, 14, 43, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 60, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [22, 34, 32, 16, 16], |
| "ct": [32, 35, 38, 29, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 61, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [22, 33, 32, 16, 15], |
| "ct": [34, 6, 26, 1, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 62, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [26, 30, 14, 14, 10], |
| "ct": [28, 15, 4, 4, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 63, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [28, 0, 20, 18, 6], |
| "ct": [28, 44, 25, 16, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 64, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [20, 31, 1, 18, 11], |
| "ct": [30, 16, 9, 24, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 65, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [34, 11, 35, 12, 6], |
| "ct": [11, 23, 25, 4, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 66, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [31, 30, 29, 4, 10], |
| "ct": [34, 24, 20, 17, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 67, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [20, 24, 5, 11, 33], |
| "ct": [19, 17, 33, 14, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 68, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [15, 21, 33, 23, 21], |
| "ct": [7, 7, 16, 29, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 69, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [25, 23, 18, 29, 5], |
| "ct": [8, 29, 36, 28, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 70, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [22, 33, 31, 8, 16], |
| "ct": [0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 71, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [27, 38, 36, 2, 0], |
| "ct": [44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 72, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [24, 14, 0, 7, 4], |
| "ct": [22, 34, 32, 16, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 73, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ed3d0c6668748336d74abc8a161dea33", |
| "tweak": "61a3e1c030481108", |
| "msg": [37, 8, 24, 8, 24], |
| "ct": [22, 33, 32, 16, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 74, |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2dcc7a48fa759e58062f64099e2654fb", |
| "tweak": "673faecddddebc65824d6aab", |
| "msg": [9, 22, 1, 13, 35], |
| "ct": [0, 0, 16, 36, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 75, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2dcc7a48fa759e58062f64099e2654fb", |
| "tweak": "673faecddddebc65824d6aab", |
| "msg": [22, 42, 35, 26, 27], |
| "ct": [0, 1, 0, 34, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 76, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2dcc7a48fa759e58062f64099e2654fb", |
| "tweak": "673faecddddebc65824d6aab", |
| "msg": [16, 34, 30, 25, 41], |
| "ct": [22, 34, 37, 27, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 77, |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2dcc7a48fa759e58062f64099e2654fb", |
| "tweak": "673faecddddebc65824d6aab", |
| "msg": [26, 40, 38, 38, 28], |
| "ct": [44, 44, 11, 31, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 78, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2dcc7a48fa759e58062f64099e2654fb", |
| "tweak": "f2ff16bc37d6b9b1d8534b3f", |
| "msg": [39, 2, 13, 42, 43], |
| "ct": [20, 8, 22, 28, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 79, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2dcc7a48fa759e58062f64099e2654fb", |
| "tweak": "f2ff16bc37d6b9b1d8534b3f", |
| "msg": [25, 35, 18, 24, 10], |
| "ct": [21, 0, 6, 18, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 80, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2dcc7a48fa759e58062f64099e2654fb", |
| "tweak": "f2ff16bc37d6b9b1d8534b3f", |
| "msg": [44, 39, 14, 40, 7], |
| "ct": [44, 39, 16, 17, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 81, |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2dcc7a48fa759e58062f64099e2654fb", |
| "tweak": "f2ff16bc37d6b9b1d8534b3f", |
| "msg": [32, 19, 39, 44, 11], |
| "ct": [19, 22, 29, 13, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 82, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", |
| "tweak": "ea7fef1b2f555ad8", |
| "msg": [-1, 36, 2, 14, 4], |
| "ct": [38, 44, 0, 14, 26], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 83, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", |
| "tweak": "ea7fef1b2f555ad8", |
| "msg": [13, -1, 2, 14, 4], |
| "ct": [26, 12, 10, 38, 5], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 84, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", |
| "tweak": "ea7fef1b2f555ad8", |
| "msg": [13, 36, 2, 14, -1], |
| "ct": [14, 28, 43, 24, 13], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 85, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8bb4e700b440d3824b3f5f7949ceb200", |
| "tweak": "07c7775391fed52c", |
| "msg": [45, 37, 22, 0, 39], |
| "ct": [13, 20, 23, 25, 20], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 86, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8bb4e700b440d3824b3f5f7949ceb200", |
| "tweak": "07c7775391fed52c", |
| "msg": [29, 45, 22, 0, 39], |
| "ct": [13, 1, 29, 20, 26], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 87, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8bb4e700b440d3824b3f5f7949ceb200", |
| "tweak": "07c7775391fed52c", |
| "msg": [29, 37, 22, 0, 45], |
| "ct": [32, 31, 18, 18, 24], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 6, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 88, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "474bbf2aff5c252419c49a07d50e2bdf", |
| "tweak": "d64296c362368a3d", |
| "msg": [8, 20, 2, 1, 24, 16], |
| "ct": [10, 30, 13, 35, 25, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 89, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [0, 0, 0, 0, 0, 0], |
| "ct": [3, 31, 35, 21, 3, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 90, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [44, 44, 44, 44, 44, 44], |
| "ct": [38, 35, 22, 10, 11, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 91, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [32, 16, 16, 32, 16, 16], |
| "ct": [32, 5, 24, 28, 17, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 92, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [32, 16, 15, 32, 16, 15], |
| "ct": [32, 1, 5, 13, 38, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 93, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [36, 10, 29, 23, 16, 12], |
| "ct": [6, 28, 5, 3, 36, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 94, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [19, 41, 9, 8, 11, 11], |
| "ct": [2, 10, 20, 30, 29, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 95, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [20, 36, 31, 3, 0, 18], |
| "ct": [27, 27, 32, 15, 43, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 96, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [18, 12, 21, 6, 28, 8], |
| "ct": [28, 27, 24, 1, 35, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 97, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [16, 18, 21, 40, 9, 12], |
| "ct": [27, 35, 24, 2, 43, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 98, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [7, 14, 36, 13, 39, 33], |
| "ct": [39, 17, 19, 27, 1, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 99, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [5, 23, 25, 31, 17, 38], |
| "ct": [30, 12, 6, 29, 33, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 100, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [37, 39, 41, 26, 17, 14], |
| "ct": [23, 24, 32, 6, 23, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 101, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [12, 26, 35, 24, 14, 24], |
| "ct": [0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 102, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [16, 5, 9, 20, 10, 18], |
| "ct": [44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 103, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [14, 42, 32, 38, 37, 21], |
| "ct": [32, 16, 16, 32, 16, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 104, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "26dbd1998c3a046ac3ff11937079c034", |
| "tweak": "5e551c3daad7e5fa", |
| "msg": [27, 29, 18, 7, 29, 14], |
| "ct": [32, 16, 15, 32, 16, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 105, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", |
| "tweak": "975f6d7701e004f7", |
| "msg": [-1, 33, 44, 27, 18, 17], |
| "ct": [22, 41, 33, 3, 25, 14], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 106, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", |
| "tweak": "975f6d7701e004f7", |
| "msg": [33, 33, -1, 27, 18, 17], |
| "ct": [14, 32, 20, 16, 6, 9], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 107, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", |
| "tweak": "975f6d7701e004f7", |
| "msg": [33, 33, 44, 27, 18, -1], |
| "ct": [0, 6, 0, 39, 18, 36], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 108, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6275bc366842c0905a0c5ddc8f5cc675", |
| "tweak": "3054d0095106f89d", |
| "msg": [45, 16, 37, 14, 34, 20], |
| "ct": [5, 22, 18, 17, 29, 14], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 109, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6275bc366842c0905a0c5ddc8f5cc675", |
| "tweak": "3054d0095106f89d", |
| "msg": [23, 16, 45, 14, 34, 20], |
| "ct": [43, 11, 23, 14, 28, 25], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 110, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6275bc366842c0905a0c5ddc8f5cc675", |
| "tweak": "3054d0095106f89d", |
| "msg": [23, 16, 37, 14, 34, 45], |
| "ct": [40, 31, 31, 29, 34, 38], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 7, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 111, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "20b2c30d44c72c32a4564541332f45c3", |
| "tweak": "3de9de4b8736f463", |
| "msg": [18, 42, 41, 40, 44, 28, 30], |
| "ct": [41, 28, 11, 34, 20, 13, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 112, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [0, 0, 0, 0, 0, 0, 0], |
| "ct": [17, 26, 4, 24, 4, 22, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 113, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [44, 44, 44, 44, 44, 44, 44], |
| "ct": [41, 5, 32, 30, 24, 4, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 114, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [32, 16, 16, 23, 0, 28, 17], |
| "ct": [40, 7, 33, 13, 35, 21, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 115, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [32, 16, 15, 23, 0, 28, 16], |
| "ct": [3, 39, 24, 44, 3, 19, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 116, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [13, 42, 3, 36, 6, 44, 19], |
| "ct": [9, 9, 5, 26, 21, 9, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 117, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [34, 12, 4, 12, 29, 19, 39], |
| "ct": [12, 37, 1, 23, 8, 11, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 118, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [27, 6, 24, 32, 10, 0, 2], |
| "ct": [2, 9, 15, 42, 38, 6, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 119, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [20, 36, 38, 5, 6, 6, 0], |
| "ct": [17, 31, 19, 18, 1, 42, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 120, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [33, 31, 22, 38, 9, 34, 21], |
| "ct": [37, 33, 10, 22, 8, 35, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 121, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [20, 20, 30, 11, 26, 4, 41], |
| "ct": [40, 2, 32, 27, 4, 22, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 122, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [44, 34, 7, 0, 7, 42, 12], |
| "ct": [27, 19, 14, 37, 36, 26, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 123, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [24, 41, 6, 37, 23, 2, 17], |
| "ct": [8, 1, 21, 38, 4, 3, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 124, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [26, 38, 27, 29, 17, 39, 31], |
| "ct": [0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 125, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [27, 5, 20, 38, 22, 11, 7], |
| "ct": [44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 126, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [37, 44, 41, 27, 23, 27, 27], |
| "ct": [32, 16, 16, 23, 0, 28, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 127, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "53b43d40c44c62982d5123e5716d25db", |
| "tweak": "c34af5583d26dacc", |
| "msg": [29, 1, 36, 39, 44, 43, 41], |
| "ct": [32, 16, 15, 23, 0, 28, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 128, |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "201e2b705bb3de26c1e0ddb0", |
| "msg": [9, 3, 26, 5, 22, 14, 29], |
| "ct": [22, 12, 16, 34, 7, 43, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 129, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "201e2b705bb3de26c1e0ddb0", |
| "msg": [22, 5, 43, 12, 27, 35, 39], |
| "ct": [1, 19, 36, 31, 6, 43, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 130, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "201e2b705bb3de26c1e0ddb0", |
| "msg": [18, 29, 13, 25, 33, 15, 6], |
| "ct": [42, 35, 22, 27, 2, 37, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 131, |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "201e2b705bb3de26c1e0ddb0", |
| "msg": [5, 7, 34, 40, 43, 34, 4], |
| "ct": [23, 25, 41, 35, 17, 19, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 132, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "3afc535963b49697df2c85b7", |
| "msg": [0, 0, 0, 42, 22, 39, 22], |
| "ct": [43, 15, 24, 30, 34, 38, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 133, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "3afc535963b49697df2c85b7", |
| "msg": [0, 0, 1, 42, 22, 39, 22], |
| "ct": [31, 35, 20, 1, 38, 3, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 134, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "3afc535963b49697df2c85b7", |
| "msg": [32, 16, 16, 42, 22, 39, 22], |
| "ct": [36, 38, 27, 31, 12, 43, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 135, |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "3afc535963b49697df2c85b7", |
| "msg": [44, 44, 43, 42, 22, 39, 22], |
| "ct": [29, 7, 41, 18, 9, 25, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 136, |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "3afc535963b49697df2c85b7", |
| "msg": [44, 44, 44, 42, 22, 39, 22], |
| "ct": [28, 27, 42, 25, 26, 1, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 137, |
| "comment": "y is maximal and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cbea0f91324145712ca58ec", |
| "msg": [0, 18, 12, 39, 43, 43, 37], |
| "ct": [22, 2, 43, 5, 23, 19, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 138, |
| "comment": "y is maximal and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cbea0f91324145712ca58ec", |
| "msg": [44, 25, 27, 30, 13, 37, 4], |
| "ct": [0, 12, 19, 4, 43, 30, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 139, |
| "comment": "y is maximal and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cbea0f91324145712ca58ec", |
| "msg": [27, 32, 20, 31, 43, 33, 1], |
| "ct": [13, 27, 10, 26, 19, 10, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 140, |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cbea0f91324145712ca58ec", |
| "msg": [44, 4, 29, 17, 9, 17, 0], |
| "ct": [1, 12, 10, 43, 14, 22, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 141, |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cbea0f91324145712ca58ec", |
| "msg": [42, 7, 9, 28, 22, 37, 23], |
| "ct": [21, 30, 29, 3, 33, 8, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 142, |
| "comment": "y is maximal and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cbea0f91324145712ca58ec", |
| "msg": [8, 22, 16, 2, 4, 9, 36], |
| "ct": [4, 14, 33, 34, 36, 30, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 143, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cee4557253e9b46ed70c33e", |
| "msg": [5, 21, 16, 30, 34, 13, 16], |
| "ct": [34, 28, 13, 6, 40, 12, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 144, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cee4557253e9b46ed70c33e", |
| "msg": [34, 33, 8, 20, 3, 31, 18], |
| "ct": [34, 26, 43, 6, 36, 33, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 145, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cee4557253e9b46ed70c33e", |
| "msg": [36, 11, 7, 44, 44, 10, 8], |
| "ct": [10, 4, 42, 22, 39, 39, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 146, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cee4557253e9b46ed70c33e", |
| "msg": [42, 39, 24, 18, 3, 13, 19], |
| "ct": [42, 39, 18, 35, 12, 5, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 147, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cee4557253e9b46ed70c33e", |
| "msg": [7, 16, 35, 22, 41, 7, 31], |
| "ct": [3, 43, 14, 11, 38, 18, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 148, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "0cee4557253e9b46ed70c33e", |
| "msg": [10, 7, 2, 15, 33, 4, 36], |
| "ct": [21, 13, 44, 25, 41, 36, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 149, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "9d90bf5ed95fc288ccc1ecba", |
| "msg": [30, 18, 28, 18, 24, 16, 39], |
| "ct": [16, 43, 17, 18, 37, 9, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 150, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "9d90bf5ed95fc288ccc1ecba", |
| "msg": [28, 9, 4, 35, 42, 34, 33], |
| "ct": [16, 44, 16, 9, 16, 33, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 151, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "9d90bf5ed95fc288ccc1ecba", |
| "msg": [34, 7, 0, 29, 3, 9, 16], |
| "ct": [19, 17, 25, 7, 15, 6, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 152, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad837c09903b33e60eecfa1d04308e32", |
| "tweak": "9d90bf5ed95fc288ccc1ecba", |
| "msg": [12, 1, 14, 36, 14, 38, 3], |
| "ct": [32, 19, 39, 28, 42, 13, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 153, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ea35a8f24783be82abd93cc74e4944cb", |
| "tweak": "a704f808982bb10f", |
| "msg": [-1, 34, 38, 38, 44, 44, 27], |
| "ct": [43, 7, 22, 6, 43, 42, 28], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 154, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ea35a8f24783be82abd93cc74e4944cb", |
| "tweak": "a704f808982bb10f", |
| "msg": [7, 34, -1, 38, 44, 44, 27], |
| "ct": [13, 44, 40, 7, 34, 28, 34], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 155, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ea35a8f24783be82abd93cc74e4944cb", |
| "tweak": "a704f808982bb10f", |
| "msg": [7, 34, 38, 38, 44, 44, -1], |
| "ct": [29, 38, 40, 39, 38, 16, 33], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 156, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d498a7c0dcc766807071948b25828205", |
| "tweak": "84718a563f9fee63", |
| "msg": [45, 22, 2, 35, 42, 41, 2], |
| "ct": [10, 2, 36, 4, 15, 18, 42], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 157, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d498a7c0dcc766807071948b25828205", |
| "tweak": "84718a563f9fee63", |
| "msg": [18, 22, 45, 35, 42, 41, 2], |
| "ct": [40, 30, 22, 3, 43, 18, 26], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 158, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d498a7c0dcc766807071948b25828205", |
| "tweak": "84718a563f9fee63", |
| "msg": [18, 22, 2, 35, 42, 41, 45], |
| "ct": [27, 7, 8, 23, 7, 10, 16], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 8, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 159, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "60d83b209822c0d9b7033dca86444fa1", |
| "tweak": "23ef05b155a108c4", |
| "msg": [13, 10, 11, 25, 39, 4, 19, 20], |
| "ct": [7, 18, 6, 26, 7, 21, 28, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 160, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [8, 25, 13, 40, 27, 2, 20, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 161, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [37, 12, 0, 20, 42, 25, 24, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 162, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [23, 0, 28, 17, 23, 0, 28, 17], |
| "ct": [10, 30, 23, 24, 12, 8, 23, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 163, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [23, 0, 28, 16, 23, 0, 28, 16], |
| "ct": [26, 30, 14, 20, 38, 30, 32, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 164, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [25, 2, 29, 16, 24, 28, 16, 3], |
| "ct": [19, 29, 8, 16, 13, 37, 0, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 165, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [33, 20, 9, 0, 8, 15, 7, 30], |
| "ct": [9, 14, 6, 17, 12, 40, 22, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 166, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [2, 13, 4, 8, 29, 34, 31, 22], |
| "ct": [0, 42, 28, 40, 3, 1, 8, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 167, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [22, 37, 2, 24, 12, 24, 17, 27], |
| "ct": [17, 40, 36, 20, 2, 29, 41, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 168, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [39, 6, 1, 24, 44, 43, 10, 44], |
| "ct": [35, 32, 31, 27, 34, 13, 9, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 169, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [10, 23, 44, 1, 19, 38, 37, 17], |
| "ct": [13, 11, 26, 10, 9, 40, 32, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 170, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [22, 40, 10, 13, 13, 12, 1, 3], |
| "ct": [40, 0, 12, 7, 8, 5, 21, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 171, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [42, 17, 22, 8, 17, 26, 3, 8], |
| "ct": [26, 19, 19, 25, 34, 32, 16, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 172, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [35, 13, 16, 21, 24, 23, 44, 2], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 173, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [10, 9, 3, 29, 9, 34, 1, 14], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 174, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [40, 30, 20, 29, 21, 43, 14, 16], |
| "ct": [23, 0, 28, 17, 23, 0, 28, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 175, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", |
| "tweak": "2024d5e34b3ba6a0", |
| "msg": [10, 24, 8, 38, 21, 35, 12, 21], |
| "ct": [23, 0, 28, 16, 23, 0, 28, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 176, |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "4c61c7f5f3817543f7304979", |
| "msg": [25, 19, 35, 6, 44, 41, 28, 38], |
| "ct": [14, 35, 39, 32, 29, 39, 30, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 177, |
| "comment": "y = 0 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "4c61c7f5f3817543f7304979", |
| "msg": [25, 6, 14, 21, 10, 28, 28, 15], |
| "ct": [37, 42, 8, 25, 8, 3, 15, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 178, |
| "comment": "y = 0 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "4c61c7f5f3817543f7304979", |
| "msg": [14, 44, 3, 17, 8, 10, 7, 37], |
| "ct": [7, 40, 22, 40, 17, 17, 4, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 179, |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "4c61c7f5f3817543f7304979", |
| "msg": [19, 24, 42, 31, 20, 5, 16, 29], |
| "ct": [26, 41, 36, 32, 24, 13, 14, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 180, |
| "comment": "y = 1 and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "4f82faa928d66b7321540c66", |
| "msg": [9, 17, 25, 42, 41, 8, 16, 12], |
| "ct": [11, 30, 21, 9, 17, 38, 37, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 181, |
| "comment": "y = 1 and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "4f82faa928d66b7321540c66", |
| "msg": [15, 14, 27, 23, 26, 3, 12, 44], |
| "ct": [12, 31, 21, 25, 21, 30, 16, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 182, |
| "comment": "y = 1 and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "4f82faa928d66b7321540c66", |
| "msg": [11, 22, 1, 40, 19, 34, 17, 10], |
| "ct": [12, 42, 0, 19, 40, 33, 13, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 183, |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "4f82faa928d66b7321540c66", |
| "msg": [37, 26, 5, 32, 7, 1, 38, 2], |
| "ct": [22, 6, 36, 32, 23, 1, 5, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 184, |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "4f82faa928d66b7321540c66", |
| "msg": [0, 35, 1, 3, 3, 4, 7, 27], |
| "ct": [6, 29, 43, 24, 39, 0, 26, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 185, |
| "comment": "y is maximal and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "22f147beadb154631d014430", |
| "msg": [43, 27, 30, 4, 36, 17, 8, 5], |
| "ct": [43, 31, 10, 2, 27, 21, 9, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 186, |
| "comment": "y is maximal and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "22f147beadb154631d014430", |
| "msg": [15, 22, 11, 17, 36, 36, 17, 5], |
| "ct": [36, 11, 24, 13, 19, 4, 18, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 187, |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "22f147beadb154631d014430", |
| "msg": [33, 0, 17, 3, 40, 29, 28, 19], |
| "ct": [20, 6, 0, 30, 4, 7, 41, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 188, |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "22f147beadb154631d014430", |
| "msg": [12, 7, 38, 7, 4, 38, 23, 31], |
| "ct": [29, 15, 0, 2, 33, 17, 37, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 189, |
| "comment": "y is maximal and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "22f147beadb154631d014430", |
| "msg": [0, 35, 10, 30, 25, 28, 32, 8], |
| "ct": [32, 7, 13, 11, 29, 24, 29, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 190, |
| "comment": "y is maximal and a is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "22f147beadb154631d014430", |
| "msg": [2, 30, 42, 8, 42, 8, 26, 12], |
| "ct": [30, 44, 33, 33, 44, 24, 34, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 191, |
| "comment": "y is edge case for modular reduction and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "dbf38b92f7a68ed9f0aa4ad4", |
| "msg": [23, 19, 5, 30, 16, 39, 43, 21], |
| "ct": [28, 32, 18, 24, 31, 32, 21, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 192, |
| "comment": "y is edge case for modular reduction and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "dbf38b92f7a68ed9f0aa4ad4", |
| "msg": [27, 34, 41, 9, 39, 10, 40, 30], |
| "ct": [12, 10, 20, 1, 18, 23, 1, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 193, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "dbf38b92f7a68ed9f0aa4ad4", |
| "msg": [1, 39, 27, 10, 30, 27, 32, 32], |
| "ct": [35, 29, 25, 17, 7, 31, 21, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 194, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "dbf38b92f7a68ed9f0aa4ad4", |
| "msg": [7, 10, 20, 3, 12, 42, 26, 7], |
| "ct": [12, 6, 44, 8, 41, 32, 34, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 195, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "dbf38b92f7a68ed9f0aa4ad4", |
| "msg": [12, 29, 3, 26, 35, 26, 19, 24], |
| "ct": [36, 25, 31, 17, 5, 5, 43, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 196, |
| "comment": "y is edge case for modular reduction and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "dbf38b92f7a68ed9f0aa4ad4", |
| "msg": [35, 9, 0, 16, 24, 6, 6, 32], |
| "ct": [39, 23, 41, 30, 37, 27, 38, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 197, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "c3802fca29af6255276aaafa", |
| "msg": [0, 21, 3, 20, 12, 34, 35, 29], |
| "ct": [17, 34, 38, 3, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 198, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "c3802fca29af6255276aaafa", |
| "msg": [6, 6, 32, 2, 4, 8, 27, 6], |
| "ct": [17, 34, 38, 3, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 199, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "c3802fca29af6255276aaafa", |
| "msg": [30, 27, 19, 13, 43, 13, 1, 37], |
| "ct": [17, 34, 38, 3, 23, 0, 28, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 200, |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "475b7573760904fa57ad2cb88ea52f32", |
| "tweak": "c3802fca29af6255276aaafa", |
| "msg": [34, 43, 44, 6, 24, 37, 36, 38], |
| "ct": [17, 34, 38, 3, 44, 44, 44, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 201, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ebc261665fab01ae2bfe156e54de3006", |
| "tweak": "5080dd547abdeddd", |
| "msg": [-1, 26, 35, 28, 31, 8, 10, 21], |
| "ct": [2, 30, 23, 4, 14, 42, 18, 28], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 202, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ebc261665fab01ae2bfe156e54de3006", |
| "tweak": "5080dd547abdeddd", |
| "msg": [28, 26, -1, 28, 31, 8, 10, 21], |
| "ct": [18, 38, 38, 26, 8, 35, 41, 3], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 203, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ebc261665fab01ae2bfe156e54de3006", |
| "tweak": "5080dd547abdeddd", |
| "msg": [28, 26, 35, 28, 31, 8, 10, -1], |
| "ct": [35, 5, 2, 1, 8, 34, 9, 6], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 204, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e7f456fff761fdefe1580847ebe4be53", |
| "tweak": "2cf06a70980a599d", |
| "msg": [45, 12, 24, 39, 8, 2, 28, 14], |
| "ct": [19, 2, 2, 14, 21, 30, 0, 34], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 205, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e7f456fff761fdefe1580847ebe4be53", |
| "tweak": "2cf06a70980a599d", |
| "msg": [18, 12, 45, 39, 8, 2, 28, 14], |
| "ct": [42, 9, 36, 33, 25, 8, 7, 19], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 206, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e7f456fff761fdefe1580847ebe4be53", |
| "tweak": "2cf06a70980a599d", |
| "msg": [18, 12, 24, 39, 8, 2, 28, 45], |
| "ct": [43, 38, 5, 15, 18, 25, 23, 43], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 9, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 207, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "2215b9528000f5f306fcdfe2969c6785", |
| "tweak": "0539d85c7b076285", |
| "msg": [21, 9, 9, 39, 7, 20, 37, 23, 25], |
| "ct": [2, 27, 17, 29, 2, 8, 35, 35, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 208, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [32, 14, 10, 12, 12, 32, 28, 44, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 209, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [24, 13, 31, 32, 35, 17, 42, 42, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 210, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [23, 0, 28, 17, 32, 32, 40, 16, 8], |
| "ct": [37, 1, 25, 21, 24, 37, 43, 42, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 211, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [23, 0, 28, 16, 32, 32, 40, 16, 7], |
| "ct": [25, 3, 18, 16, 11, 25, 17, 7, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 212, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [34, 33, 20, 27, 35, 14, 32, 26, 32], |
| "ct": [17, 41, 27, 17, 3, 37, 12, 31, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 213, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [29, 24, 42, 24, 17, 42, 37, 40, 27], |
| "ct": [9, 40, 7, 43, 43, 15, 21, 39, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 214, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [16, 27, 38, 40, 34, 25, 41, 9, 12], |
| "ct": [8, 13, 38, 37, 2, 17, 22, 20, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 215, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [3, 12, 34, 3, 41, 3, 4, 18, 7], |
| "ct": [27, 5, 36, 28, 9, 24, 43, 25, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 216, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [3, 39, 32, 19, 20, 14, 20, 24, 25], |
| "ct": [42, 32, 22, 22, 20, 8, 7, 19, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 217, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [41, 16, 19, 16, 22, 4, 3, 6, 29], |
| "ct": [15, 0, 36, 28, 28, 43, 44, 19, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 218, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [8, 42, 42, 7, 32, 13, 5, 15, 0], |
| "ct": [11, 42, 31, 42, 33, 9, 13, 23, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 219, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [20, 38, 33, 26, 1, 19, 5, 17, 11], |
| "ct": [41, 32, 15, 44, 44, 40, 43, 13, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 220, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [42, 6, 6, 2, 8, 25, 7, 44, 17], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 221, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [37, 30, 11, 13, 24, 8, 11, 12, 37], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 222, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [17, 40, 7, 9, 0, 32, 14, 24, 22], |
| "ct": [23, 0, 28, 17, 32, 32, 40, 16, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 223, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", |
| "tweak": "3f0bf1e88240178e", |
| "msg": [14, 42, 15, 30, 33, 42, 6, 20, 15], |
| "ct": [23, 0, 28, 16, 32, 32, 40, 16, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 224, |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "60d54f3cbf683c9d75476a", |
| "msg": [0, 0, 0, 0, 5, 9, 12, 2, 44], |
| "ct": [41, 18, 11, 8, 6, 10, 8, 42, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 225, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "60d54f3cbf683c9d75476a", |
| "msg": [0, 0, 0, 1, 5, 9, 12, 2, 44], |
| "ct": [32, 36, 41, 24, 12, 7, 6, 7, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 226, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "60d54f3cbf683c9d75476a", |
| "msg": [23, 0, 28, 17, 5, 9, 12, 2, 44], |
| "ct": [22, 5, 17, 34, 17, 34, 22, 12, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 227, |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "60d54f3cbf683c9d75476a", |
| "msg": [44, 44, 44, 44, 5, 9, 12, 2, 44], |
| "ct": [19, 21, 28, 44, 18, 35, 5, 39, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 228, |
| "comment": "y = 1 and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "9212892b8118aa5b8338a6", |
| "msg": [32, 0, 19, 17, 28, 12, 12, 11, 14], |
| "ct": [0, 0, 0, 1, 21, 30, 17, 34, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 229, |
| "comment": "y = 1 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "9212892b8118aa5b8338a6", |
| "msg": [7, 25, 10, 13, 41, 5, 21, 14, 33], |
| "ct": [0, 0, 0, 2, 11, 32, 17, 27, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 230, |
| "comment": "y = 1 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "9212892b8118aa5b8338a6", |
| "msg": [22, 4, 36, 25, 4, 44, 31, 2, 2], |
| "ct": [23, 0, 28, 18, 1, 9, 36, 38, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 231, |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "9212892b8118aa5b8338a6", |
| "msg": [41, 40, 17, 9, 20, 20, 8, 0, 6], |
| "ct": [44, 44, 44, 44, 22, 20, 14, 44, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 232, |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "9212892b8118aa5b8338a6", |
| "msg": [42, 9, 44, 28, 12, 40, 36, 43, 3], |
| "ct": [0, 0, 0, 0, 20, 21, 23, 15, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 233, |
| "comment": "y is maximal and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "cfe58c3c4d06428f07fa9b", |
| "msg": [36, 14, 17, 10, 37, 39, 25, 8, 31], |
| "ct": [28, 26, 28, 22, 24, 36, 9, 42, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 234, |
| "comment": "y is maximal and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "cfe58c3c4d06428f07fa9b", |
| "msg": [32, 21, 31, 9, 3, 0, 29, 0, 5], |
| "ct": [35, 43, 24, 33, 17, 18, 24, 37, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 235, |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "cfe58c3c4d06428f07fa9b", |
| "msg": [39, 29, 17, 22, 13, 38, 26, 9, 5], |
| "ct": [39, 10, 4, 43, 35, 43, 7, 29, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 236, |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "cfe58c3c4d06428f07fa9b", |
| "msg": [32, 37, 38, 29, 1, 38, 16, 14, 25], |
| "ct": [36, 37, 3, 28, 12, 16, 34, 41, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 237, |
| "comment": "y is maximal and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "cfe58c3c4d06428f07fa9b", |
| "msg": [38, 14, 5, 23, 10, 16, 41, 28, 32], |
| "ct": [6, 41, 12, 23, 1, 19, 33, 11, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 238, |
| "comment": "y is maximal and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "cfe58c3c4d06428f07fa9b", |
| "msg": [13, 6, 41, 19, 10, 32, 37, 44, 9], |
| "ct": [15, 27, 31, 36, 41, 35, 31, 9, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 239, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "a162b80b237d7391014135", |
| "msg": [4, 26, 6, 8, 21, 33, 42, 23, 1], |
| "ct": [30, 24, 1, 36, 20, 8, 18, 29, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 240, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "a162b80b237d7391014135", |
| "msg": [25, 3, 27, 28, 40, 42, 15, 30, 1], |
| "ct": [42, 2, 4, 27, 28, 21, 31, 38, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 241, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "a162b80b237d7391014135", |
| "msg": [31, 7, 26, 12, 13, 24, 39, 0, 33], |
| "ct": [22, 23, 11, 35, 21, 31, 32, 10, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 242, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "a162b80b237d7391014135", |
| "msg": [12, 39, 9, 43, 14, 35, 24, 9, 7], |
| "ct": [26, 31, 2, 33, 13, 11, 11, 5, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 243, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "a162b80b237d7391014135", |
| "msg": [18, 44, 27, 18, 23, 17, 5, 4, 41], |
| "ct": [41, 2, 34, 8, 8, 37, 26, 15, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 244, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "a162b80b237d7391014135", |
| "msg": [7, 18, 8, 23, 37, 31, 29, 25, 6], |
| "ct": [17, 19, 12, 2, 41, 18, 16, 29, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 245, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "ec6daec0e7b603b6c46b5d", |
| "msg": [10, 32, 18, 43, 25, 37, 32, 24, 13], |
| "ct": [24, 31, 32, 39, 16, 43, 30, 19, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 246, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "ec6daec0e7b603b6c46b5d", |
| "msg": [11, 10, 31, 34, 3, 44, 41, 13, 24], |
| "ct": [19, 16, 23, 14, 26, 33, 3, 17, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 247, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "ec6daec0e7b603b6c46b5d", |
| "msg": [11, 10, 4, 5, 19, 37, 7, 34, 24], |
| "ct": [23, 25, 36, 0, 41, 18, 36, 42, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 248, |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", |
| "tweak": "ec6daec0e7b603b6c46b5d", |
| "msg": [31, 42, 36, 33, 24, 7, 33, 32, 13], |
| "ct": [21, 43, 23, 41, 22, 34, 17, 36, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 249, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", |
| "tweak": "47d48ea4716ab8df", |
| "msg": [-1, 12, 38, 38, 28, 41, 2, 29, 21], |
| "ct": [35, 12, 20, 36, 40, 13, 34, 44, 16], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 250, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", |
| "tweak": "47d48ea4716ab8df", |
| "msg": [43, 12, 38, -1, 28, 41, 2, 29, 21], |
| "ct": [4, 31, 5, 8, 25, 20, 33, 21, 37], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 251, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", |
| "tweak": "47d48ea4716ab8df", |
| "msg": [43, 12, 38, 38, 28, 41, 2, 29, -1], |
| "ct": [30, 43, 23, 11, 15, 8, 4, 41, 22], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 252, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "37c35a878fddc1aa5d5ed500f199b152", |
| "tweak": "93840fe0f6d9608f", |
| "msg": [45, 42, 35, 2, 18, 34, 32, 15, 5], |
| "ct": [18, 27, 19, 31, 20, 2, 32, 39, 30], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 253, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "37c35a878fddc1aa5d5ed500f199b152", |
| "tweak": "93840fe0f6d9608f", |
| "msg": [32, 42, 35, 45, 18, 34, 32, 15, 5], |
| "ct": [4, 40, 21, 9, 20, 12, 9, 39, 23], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 254, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "37c35a878fddc1aa5d5ed500f199b152", |
| "tweak": "93840fe0f6d9608f", |
| "msg": [32, 42, 35, 2, 18, 34, 32, 15, 45], |
| "ct": [28, 24, 15, 21, 34, 8, 3, 33, 1], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 10, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 255, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "5474525ca99fb5da2babdbd45c727d16", |
| "tweak": "f2cb4d9ba04b81f8", |
| "msg": [15, 29, 33, 17, 24, 11, 22, 21, 41, 25], |
| "ct": [0, 17, 37, 11, 6, 29, 15, 41, 38, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 256, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [22, 21, 12, 14, 43, 37, 24, 27, 44, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 257, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [38, 35, 10, 17, 38, 14, 27, 43, 20, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 258, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [32, 32, 40, 16, 8, 32, 32, 40, 16, 8], |
| "ct": [24, 18, 6, 13, 23, 11, 23, 22, 34, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 259, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [32, 32, 40, 16, 7, 32, 32, 40, 16, 7], |
| "ct": [29, 6, 13, 18, 1, 41, 36, 20, 44, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 260, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [7, 13, 16, 31, 21, 18, 40, 16, 15, 40], |
| "ct": [21, 9, 18, 38, 11, 32, 42, 13, 38, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 261, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [2, 42, 23, 17, 9, 43, 19, 42, 40, 34], |
| "ct": [28, 14, 6, 20, 26, 37, 34, 0, 16, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 262, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [22, 33, 28, 14, 36, 10, 10, 41, 20, 27], |
| "ct": [13, 12, 40, 28, 36, 41, 12, 18, 28, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 263, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [40, 37, 36, 29, 0, 37, 20, 7, 17, 9], |
| "ct": [5, 29, 0, 40, 30, 2, 42, 3, 16, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 264, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [5, 35, 43, 20, 20, 24, 43, 10, 41, 31], |
| "ct": [1, 41, 39, 31, 27, 19, 29, 22, 6, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 265, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [26, 29, 6, 7, 7, 0, 4, 26, 7, 27], |
| "ct": [25, 32, 26, 11, 14, 28, 37, 14, 41, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 266, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [0, 25, 16, 20, 38, 7, 43, 29, 36, 3], |
| "ct": [8, 40, 24, 18, 12, 42, 40, 44, 23, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 267, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [13, 13, 8, 20, 39, 8, 21, 40, 35, 26], |
| "ct": [44, 33, 29, 37, 26, 35, 19, 1, 8, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 268, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [8, 1, 13, 31, 18, 5, 19, 43, 29, 31], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 269, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [28, 4, 27, 10, 24, 12, 37, 34, 31, 22], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 270, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [11, 2, 13, 15, 0, 40, 2, 36, 34, 5], |
| "ct": [32, 32, 40, 16, 8, 32, 32, 40, 16, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 271, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", |
| "tweak": "0d5a58b58855ef5a", |
| "msg": [11, 40, 32, 35, 18, 29, 10, 31, 20, 28], |
| "ct": [32, 32, 40, 16, 7, 32, 32, 40, 16, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 272, |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "ea25b6b10c2ec23b34e30e", |
| "msg": [6, 34, 17, 20, 23, 44, 33, 14, 39, 26], |
| "ct": [41, 30, 16, 5, 23, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 273, |
| "comment": "y = 0 and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "ea25b6b10c2ec23b34e30e", |
| "msg": [38, 36, 4, 15, 0, 33, 40, 7, 38, 27], |
| "ct": [41, 30, 16, 5, 23, 0, 0, 0, 0, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 274, |
| "comment": "y = 0 and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "ea25b6b10c2ec23b34e30e", |
| "msg": [37, 39, 37, 2, 3, 32, 1, 44, 37, 14], |
| "ct": [41, 30, 16, 5, 23, 32, 32, 40, 16, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 275, |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "ea25b6b10c2ec23b34e30e", |
| "msg": [15, 32, 19, 22, 24, 19, 10, 9, 36, 29], |
| "ct": [41, 30, 16, 5, 23, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 276, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "6c684bd0c4a60e66343c7a", |
| "msg": [37, 9, 7, 8, 36, 25, 18, 42, 34, 43], |
| "ct": [34, 44, 7, 44, 9, 16, 19, 20, 33, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 277, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "6c684bd0c4a60e66343c7a", |
| "msg": [38, 20, 23, 19, 44, 1, 16, 36, 17, 21], |
| "ct": [29, 15, 14, 37, 0, 31, 32, 0, 29, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 278, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "6c684bd0c4a60e66343c7a", |
| "msg": [27, 23, 0, 27, 8, 3, 13, 19, 43, 41], |
| "ct": [3, 9, 29, 10, 43, 1, 23, 5, 24, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 279, |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "6c684bd0c4a60e66343c7a", |
| "msg": [20, 27, 13, 27, 26, 43, 40, 21, 15, 44], |
| "ct": [27, 17, 11, 24, 5, 6, 17, 11, 24, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 280, |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "6c684bd0c4a60e66343c7a", |
| "msg": [30, 13, 9, 13, 28, 21, 42, 17, 32, 30], |
| "ct": [3, 34, 26, 28, 24, 18, 22, 32, 20, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 281, |
| "comment": "y is maximal and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "4d4b6612e0f264bbe74331", |
| "msg": [42, 42, 9, 23, 22, 17, 32, 16, 23, 5], |
| "ct": [38, 1, 44, 7, 39, 1, 8, 32, 32, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 282, |
| "comment": "y is maximal and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "4d4b6612e0f264bbe74331", |
| "msg": [14, 7, 15, 43, 18, 42, 6, 2, 1, 38], |
| "ct": [23, 37, 10, 44, 16, 10, 42, 6, 22, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 283, |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "4d4b6612e0f264bbe74331", |
| "msg": [38, 16, 12, 15, 37, 25, 33, 36, 41, 42], |
| "ct": [24, 24, 9, 31, 13, 3, 20, 3, 35, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 284, |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "4d4b6612e0f264bbe74331", |
| "msg": [39, 20, 21, 22, 25, 20, 42, 9, 41, 26], |
| "ct": [20, 26, 18, 25, 26, 23, 42, 38, 41, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 285, |
| "comment": "y is maximal and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "4d4b6612e0f264bbe74331", |
| "msg": [34, 16, 25, 7, 14, 28, 39, 17, 40, 40], |
| "ct": [20, 33, 31, 2, 30, 28, 40, 11, 18, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 286, |
| "comment": "y is maximal and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "4d4b6612e0f264bbe74331", |
| "msg": [19, 33, 0, 17, 17, 4, 28, 1, 16, 17], |
| "ct": [40, 11, 26, 23, 2, 17, 43, 6, 20, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 287, |
| "comment": "y is edge case for modular reduction and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "268475a50e9c8fbc6c1adc", |
| "msg": [28, 33, 20, 22, 6, 34, 2, 38, 19, 9], |
| "ct": [8, 17, 42, 10, 33, 21, 31, 15, 41, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 288, |
| "comment": "y is edge case for modular reduction and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "268475a50e9c8fbc6c1adc", |
| "msg": [32, 37, 1, 21, 13, 40, 18, 0, 13, 38], |
| "ct": [3, 37, 26, 29, 18, 38, 2, 33, 36, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 289, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "268475a50e9c8fbc6c1adc", |
| "msg": [6, 9, 30, 33, 4, 25, 1, 28, 13, 36], |
| "ct": [14, 19, 15, 16, 16, 9, 28, 1, 10, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 290, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "268475a50e9c8fbc6c1adc", |
| "msg": [42, 11, 24, 24, 36, 30, 6, 3, 36, 22], |
| "ct": [21, 8, 44, 24, 24, 11, 29, 15, 41, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 291, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "268475a50e9c8fbc6c1adc", |
| "msg": [6, 31, 33, 2, 6, 30, 25, 31, 35, 31], |
| "ct": [36, 43, 43, 9, 20, 15, 24, 13, 25, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 292, |
| "comment": "y is edge case for modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "268475a50e9c8fbc6c1adc", |
| "msg": [9, 43, 0, 32, 43, 41, 3, 13, 7, 2], |
| "ct": [35, 38, 32, 6, 8, 31, 29, 29, 42, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 293, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "c0dc2e1bd4c6ca8f3a2fc5", |
| "msg": [36, 4, 31, 0, 11, 16, 21, 16, 5, 37], |
| "ct": [26, 14, 9, 15, 4, 15, 30, 38, 33, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 294, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "c0dc2e1bd4c6ca8f3a2fc5", |
| "msg": [31, 4, 5, 13, 7, 18, 41, 39, 21, 34], |
| "ct": [21, 23, 19, 0, 43, 22, 9, 42, 21, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 295, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "c0dc2e1bd4c6ca8f3a2fc5", |
| "msg": [5, 16, 6, 37, 31, 20, 2, 13, 41, 25], |
| "ct": [2, 34, 17, 1, 11, 17, 11, 19, 34, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 296, |
| "comment": "y is maximal after modular reduction and a is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b64450714b0a262376044de6e260f0a", |
| "tweak": "c0dc2e1bd4c6ca8f3a2fc5", |
| "msg": [32, 16, 22, 34, 1, 7, 34, 32, 4, 13], |
| "ct": [18, 17, 37, 11, 3, 26, 15, 25, 23, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 297, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c2153daac19904cf16ea81dbc73a58dc", |
| "tweak": "38b7196a238d3892", |
| "msg": [-1, 27, 28, 5, 17, 9, 14, 16, 10, 5], |
| "ct": [2, 27, 21, 4, 8, 32, 13, 44, 44, 35], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 298, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c2153daac19904cf16ea81dbc73a58dc", |
| "tweak": "38b7196a238d3892", |
| "msg": [20, 27, 28, -1, 17, 9, 14, 16, 10, 5], |
| "ct": [25, 31, 27, 24, 22, 9, 14, 37, 6, 21], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 299, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c2153daac19904cf16ea81dbc73a58dc", |
| "tweak": "38b7196a238d3892", |
| "msg": [20, 27, 28, 5, 17, 9, 14, 16, 10, -1], |
| "ct": [14, 10, 31, 29, 24, 29, 27, 36, 1, 4], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 300, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7c52c8dc41b1e0238e139df0b6e22296", |
| "tweak": "296aa8b2d2610836", |
| "msg": [45, 30, 18, 37, 23, 27, 12, 4, 1, 25], |
| "ct": [21, 17, 23, 4, 21, 4, 38, 3, 24, 0], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 301, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7c52c8dc41b1e0238e139df0b6e22296", |
| "tweak": "296aa8b2d2610836", |
| "msg": [1, 30, 18, 45, 23, 27, 12, 4, 1, 25], |
| "ct": [15, 44, 30, 10, 20, 19, 43, 18, 25, 38], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 302, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7c52c8dc41b1e0238e139df0b6e22296", |
| "tweak": "296aa8b2d2610836", |
| "msg": [1, 30, 18, 37, 23, 27, 12, 4, 1, 45], |
| "ct": [39, 28, 41, 35, 37, 29, 35, 12, 34, 42], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 11, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 303, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "63396f38c44f0c2d97468c4804b5d022", |
| "tweak": "73068af95fd924fc", |
| "msg": [8, 13, 29, 36, 41, 40, 19, 40, 40, 38, 31], |
| "ct": [6, 6, 30, 44, 2, 18, 42, 41, 26, 20, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 304, |
| "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": [17, 4, 16, 1, 44, 44, 27, 0, 29, 20, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 305, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [9, 30, 3, 26, 17, 35, 9, 41, 16, 36, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 306, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [32, 32, 40, 16, 8, 23, 12, 17, 31, 22, 31], |
| "ct": [3, 1, 18, 25, 32, 17, 33, 41, 21, 13, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 307, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [32, 32, 40, 16, 7, 23, 12, 17, 31, 22, 30], |
| "ct": [20, 10, 36, 33, 37, 21, 2, 14, 40, 17, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 308, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [9, 7, 37, 26, 41, 21, 29, 17, 19, 40, 41], |
| "ct": [13, 24, 40, 28, 15, 27, 35, 27, 3, 12, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 309, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [36, 41, 32, 5, 7, 26, 23, 30, 36, 32, 44], |
| "ct": [24, 18, 18, 14, 10, 14, 31, 23, 30, 30, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 310, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [8, 27, 4, 24, 28, 25, 9, 15, 33, 44, 6], |
| "ct": [37, 40, 13, 19, 31, 33, 28, 34, 15, 1, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 311, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [30, 23, 27, 21, 44, 17, 41, 36, 22, 32, 26], |
| "ct": [7, 5, 15, 1, 15, 36, 35, 2, 11, 6, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 312, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [2, 42, 19, 25, 40, 20, 21, 24, 28, 9, 42], |
| "ct": [33, 17, 22, 19, 40, 21, 19, 17, 25, 40, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 313, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [7, 28, 28, 14, 17, 1, 14, 30, 24, 27, 37], |
| "ct": [14, 9, 6, 32, 4, 23, 20, 24, 21, 17, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 314, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [12, 1, 36, 6, 25, 12, 12, 16, 4, 22, 5], |
| "ct": [12, 13, 36, 36, 44, 27, 27, 14, 3, 20, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 315, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [6, 17, 36, 7, 2, 21, 39, 7, 15, 22, 31], |
| "ct": [40, 41, 40, 0, 24, 34, 19, 10, 26, 36, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 316, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [3, 25, 8, 19, 6, 25, 19, 2, 18, 20, 4], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 317, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [21, 39, 21, 3, 23, 0, 39, 20, 22, 44, 42], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 318, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [25, 7, 34, 19, 34, 44, 22, 21, 14, 20, 3], |
| "ct": [32, 32, 40, 16, 8, 23, 12, 17, 31, 22, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 319, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", |
| "tweak": "e1310d099e8e72c6", |
| "msg": [17, 25, 11, 21, 29, 4, 33, 3, 44, 12, 1], |
| "ct": [32, 32, 40, 16, 7, 23, 12, 17, 31, 22, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 320, |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", |
| "tweak": "43a55de5e200efee416f", |
| "msg": [33, 36, 8, 44, 18, 32, 29, 31, 16, 34, 15], |
| "ct": [18, 5, 40, 44, 31, 0, 26, 20, 7, 38, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 321, |
| "comment": "y = 0 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", |
| "tweak": "43a55de5e200efee416f", |
| "msg": [32, 27, 33, 14, 11, 20, 8, 33, 29, 40, 41], |
| "ct": [0, 41, 43, 5, 15, 7, 13, 26, 19, 18, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 322, |
| "comment": "y = 0 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", |
| "tweak": "43a55de5e200efee416f", |
| "msg": [11, 35, 40, 25, 21, 43, 30, 2, 26, 14, 35], |
| "ct": [3, 22, 43, 1, 32, 43, 21, 39, 0, 2, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 323, |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", |
| "tweak": "43a55de5e200efee416f", |
| "msg": [20, 4, 42, 10, 10, 16, 30, 28, 15, 0, 22], |
| "ct": [41, 14, 7, 0, 28, 22, 22, 39, 9, 20, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 324, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", |
| "tweak": "763e12a0646079e3125d", |
| "msg": [42, 25, 18, 28, 22, 31, 7, 11, 25, 10, 35], |
| "ct": [10, 22, 23, 4, 20, 6, 44, 18, 32, 29, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 325, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", |
| "tweak": "763e12a0646079e3125d", |
| "msg": [43, 29, 43, 42, 12, 30, 14, 16, 41, 9, 11], |
| "ct": [9, 16, 22, 38, 24, 33, 19, 9, 25, 8, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 326, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", |
| "tweak": "763e12a0646079e3125d", |
| "msg": [41, 31, 34, 6, 21, 26, 38, 35, 42, 3, 41], |
| "ct": [17, 27, 6, 19, 29, 9, 22, 18, 34, 24, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 327, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", |
| "tweak": "763e12a0646079e3125d", |
| "msg": [12, 43, 29, 2, 16, 17, 29, 32, 7, 24, 33], |
| "ct": [9, 23, 6, 9, 44, 36, 31, 20, 19, 34, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 328, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0b55b77a1d06778b795b541037eabb26", |
| "tweak": "3e26f18ba99add01", |
| "msg": [-1, 15, 14, 4, 16, 19, 18, 41, 12, 0, 24], |
| "ct": [18, 23, 26, 25, 35, 17, 33, 17, 16, 0, 2], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 329, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0b55b77a1d06778b795b541037eabb26", |
| "tweak": "3e26f18ba99add01", |
| "msg": [37, 15, 14, -1, 16, 19, 18, 41, 12, 0, 24], |
| "ct": [41, 33, 26, 43, 9, 6, 23, 38, 6, 10, 40], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 330, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0b55b77a1d06778b795b541037eabb26", |
| "tweak": "3e26f18ba99add01", |
| "msg": [37, 15, 14, 4, 16, 19, 18, 41, 12, 0, -1], |
| "ct": [42, 24, 24, 35, 13, 14, 36, 34, 8, 39, 2], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 331, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d1fe34b4eb69575d1dde27c4820a69dd", |
| "tweak": "59ece0a0933c3e92", |
| "msg": [45, 25, 38, 39, 27, 41, 6, 4, 28, 15, 18], |
| "ct": [33, 6, 18, 15, 17, 3, 37, 37, 23, 21, 18], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 332, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d1fe34b4eb69575d1dde27c4820a69dd", |
| "tweak": "59ece0a0933c3e92", |
| "msg": [32, 25, 38, 45, 27, 41, 6, 4, 28, 15, 18], |
| "ct": [25, 12, 34, 22, 41, 21, 7, 43, 12, 7, 37], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 333, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d1fe34b4eb69575d1dde27c4820a69dd", |
| "tweak": "59ece0a0933c3e92", |
| "msg": [32, 25, 38, 39, 27, 41, 6, 4, 28, 15, 45], |
| "ct": [3, 11, 29, 15, 38, 42, 41, 2, 36, 20, 29], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 12, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 334, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "ddc31fc7751a2bf5c8d2d815035622e8", |
| "tweak": "0e10628c19795c4e", |
| "msg": [38, 18, 26, 21, 2, 18, 16, 28, 2, 43, 4, 15], |
| "ct": [41, 24, 21, 5, 40, 42, 7, 43, 43, 37, 31, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 335, |
| "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": [12, 1, 27, 16, 29, 17, 36, 5, 2, 40, 3, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 336, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [16, 9, 36, 28, 25, 4, 17, 9, 38, 31, 11, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 337, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [23, 12, 17, 31, 22, 31, 23, 12, 17, 31, 22, 31], |
| "ct": [30, 15, 19, 44, 39, 40, 37, 18, 7, 19, 10, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 338, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [23, 12, 17, 31, 22, 30, 23, 12, 17, 31, 22, 30], |
| "ct": [42, 25, 3, 1, 29, 8, 8, 15, 32, 37, 29, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 339, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [18, 41, 8, 29, 41, 5, 11, 26, 27, 5, 29, 20], |
| "ct": [1, 20, 9, 25, 7, 43, 27, 34, 8, 43, 42, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 340, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [7, 24, 25, 7, 39, 21, 19, 11, 19, 16, 15, 40], |
| "ct": [35, 24, 6, 16, 32, 3, 3, 14, 20, 2, 24, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 341, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [2, 40, 12, 39, 33, 12, 32, 5, 36, 2, 16, 23], |
| "ct": [7, 11, 4, 13, 31, 8, 10, 29, 23, 5, 30, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 342, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [18, 35, 41, 5, 44, 43, 35, 22, 15, 41, 40, 10], |
| "ct": [40, 2, 44, 2, 26, 37, 37, 16, 19, 33, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 343, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [39, 16, 5, 26, 33, 28, 14, 28, 13, 13, 43, 12], |
| "ct": [39, 1, 1, 12, 44, 23, 6, 26, 13, 15, 6, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 344, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [2, 10, 44, 32, 27, 0, 21, 29, 15, 3, 22, 34], |
| "ct": [33, 42, 0, 14, 39, 16, 38, 30, 4, 37, 42, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 345, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [34, 0, 38, 25, 0, 29, 23, 32, 26, 7, 18, 12], |
| "ct": [8, 12, 8, 20, 1, 24, 0, 13, 17, 11, 30, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 346, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [31, 7, 20, 10, 20, 20, 44, 15, 30, 9, 26, 18], |
| "ct": [27, 32, 20, 43, 35, 26, 35, 16, 17, 15, 42, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 347, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [29, 25, 23, 42, 8, 4, 0, 40, 8, 33, 15, 19], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 348, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [4, 16, 29, 13, 13, 1, 27, 39, 1, 23, 20, 35], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 349, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [23, 1, 34, 9, 24, 23, 19, 44, 13, 38, 28, 14], |
| "ct": [23, 12, 17, 31, 22, 31, 23, 12, 17, 31, 22, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 350, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", |
| "tweak": "bb3a5b86df3e19bc", |
| "msg": [37, 21, 1, 0, 40, 42, 43, 20, 15, 4, 22, 29], |
| "ct": [23, 12, 17, 31, 22, 30, 23, 12, 17, 31, 22, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 351, |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a3e590e923e5c47a216ec271e9da8180", |
| "tweak": "b01f2e2540b75310ed1a", |
| "msg": [7, 33, 23, 35, 42, 29, 18, 34, 38, 2, 15, 41], |
| "ct": [36, 43, 4, 2, 32, 41, 22, 40, 37, 4, 30, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 352, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a3e590e923e5c47a216ec271e9da8180", |
| "tweak": "b01f2e2540b75310ed1a", |
| "msg": [26, 28, 32, 41, 13, 21, 7, 19, 18, 17, 10, 39], |
| "ct": [0, 29, 13, 41, 9, 24, 19, 9, 42, 28, 5, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 353, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a3e590e923e5c47a216ec271e9da8180", |
| "tweak": "b01f2e2540b75310ed1a", |
| "msg": [35, 27, 35, 30, 24, 15, 20, 38, 8, 41, 42, 15], |
| "ct": [21, 25, 8, 39, 8, 22, 24, 29, 28, 10, 28, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 354, |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "a3e590e923e5c47a216ec271e9da8180", |
| "tweak": "b01f2e2540b75310ed1a", |
| "msg": [19, 17, 16, 41, 37, 9, 0, 33, 36, 11, 23, 15], |
| "ct": [25, 22, 31, 6, 18, 19, 6, 15, 22, 22, 1, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 355, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dbac185fba36fe7028184de1a577dbaa", |
| "tweak": "6ba28735b4acc0ff", |
| "msg": [-1, 14, 7, 18, 22, 10, 43, 7, 7, 21, 43, 1], |
| "ct": [8, 41, 15, 22, 33, 40, 12, 44, 35, 13, 7, 38], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 356, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dbac185fba36fe7028184de1a577dbaa", |
| "tweak": "6ba28735b4acc0ff", |
| "msg": [11, 14, 7, 18, -1, 10, 43, 7, 7, 21, 43, 1], |
| "ct": [15, 20, 4, 0, 36, 44, 38, 41, 38, 13, 3, 30], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 357, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dbac185fba36fe7028184de1a577dbaa", |
| "tweak": "6ba28735b4acc0ff", |
| "msg": [11, 14, 7, 18, 22, 10, 43, 7, 7, 21, 43, -1], |
| "ct": [29, 40, 33, 41, 18, 35, 24, 37, 12, 30, 14, 23], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 358, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f2dfe189b78220db3bb5c3573f76c0b7", |
| "tweak": "6831e4a9327d2df9", |
| "msg": [45, 6, 15, 18, 12, 17, 18, 32, 37, 18, 6, 19], |
| "ct": [26, 28, 40, 7, 18, 8, 16, 15, 32, 9, 29, 1], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 359, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f2dfe189b78220db3bb5c3573f76c0b7", |
| "tweak": "6831e4a9327d2df9", |
| "msg": [26, 6, 15, 18, 45, 17, 18, 32, 37, 18, 6, 19], |
| "ct": [31, 19, 1, 34, 4, 2, 0, 21, 11, 9, 38, 29], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 360, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f2dfe189b78220db3bb5c3573f76c0b7", |
| "tweak": "6831e4a9327d2df9", |
| "msg": [26, 6, 15, 18, 12, 17, 18, 32, 37, 18, 6, 45], |
| "ct": [7, 7, 38, 41, 32, 41, 17, 17, 43, 11, 34, 32], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 13, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 361, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "d5e6c882f005525ce577f704ef6b525d", |
| "tweak": "7ce1a7a4e6508c83", |
| "msg": [13, 44, 43, 28, 28, 32, 34, 13, 19, 9, 23, 37, 23], |
| "ct": [27, 13, 16, 12, 15, 20, 29, 4, 32, 40, 13, 11, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 362, |
| "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": [1, 40, 19, 25, 0, 35, 17, 15, 7, 4, 0, 26, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 363, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [7, 5, 39, 6, 20, 19, 4, 43, 20, 20, 43, 43, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 364, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [23, 12, 17, 31, 22, 31, 33, 4, 28, 7, 36, 12, 4], |
| "ct": [34, 39, 20, 40, 29, 2, 32, 12, 22, 5, 42, 12, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 365, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [23, 12, 17, 31, 22, 30, 33, 4, 28, 7, 36, 12, 3], |
| "ct": [35, 17, 35, 29, 41, 24, 22, 2, 16, 7, 20, 40, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 366, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [41, 19, 41, 3, 8, 30, 7, 43, 2, 37, 43, 21, 7], |
| "ct": [19, 1, 6, 34, 37, 28, 39, 16, 1, 4, 4, 31, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 367, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [43, 34, 5, 1, 11, 41, 16, 7, 22, 13, 10, 14, 30], |
| "ct": [36, 14, 13, 23, 44, 20, 8, 37, 14, 37, 5, 9, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 368, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [18, 28, 30, 34, 44, 31, 34, 19, 2, 35, 17, 7, 2], |
| "ct": [7, 25, 30, 5, 17, 32, 0, 31, 34, 21, 42, 29, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 369, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [24, 6, 18, 15, 42, 8, 17, 40, 43, 41, 37, 35, 29], |
| "ct": [28, 40, 31, 26, 5, 36, 6, 26, 1, 32, 25, 24, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 370, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [17, 7, 30, 10, 37, 21, 21, 24, 31, 15, 30, 28, 42], |
| "ct": [5, 24, 43, 38, 18, 21, 35, 30, 27, 30, 21, 16, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 371, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [9, 19, 42, 20, 40, 30, 36, 44, 22, 9, 31, 21, 31], |
| "ct": [39, 39, 36, 5, 35, 39, 13, 17, 11, 21, 4, 3, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 372, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [16, 4, 18, 5, 8, 33, 37, 28, 6, 4, 1, 27, 28], |
| "ct": [25, 13, 4, 34, 16, 37, 30, 44, 18, 40, 35, 34, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 373, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [44, 20, 8, 33, 4, 3, 38, 23, 18, 41, 5, 0, 36], |
| "ct": [42, 16, 4, 29, 30, 32, 33, 24, 23, 0, 23, 37, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 374, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [42, 1, 40, 43, 6, 1, 35, 8, 0, 42, 12, 30, 3], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 375, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [9, 19, 0, 40, 41, 5, 1, 22, 8, 5, 43, 32, 19], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 376, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [30, 41, 38, 24, 15, 33, 17, 4, 20, 33, 39, 20, 19], |
| "ct": [23, 12, 17, 31, 22, 31, 33, 4, 28, 7, 36, 12, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 377, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", |
| "tweak": "a211ccbb8d59238e", |
| "msg": [15, 22, 40, 44, 40, 38, 38, 11, 13, 36, 0, 26, 6], |
| "ct": [23, 12, 17, 31, 22, 30, 33, 4, 28, 7, 36, 12, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 378, |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "9a1726d1a00c9691131b", |
| "msg": [0, 0, 0, 0, 0, 0, 41, 11, 6, 9, 15, 42, 20], |
| "ct": [2, 40, 16, 8, 7, 4, 17, 34, 2, 3, 1, 9, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 379, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "9a1726d1a00c9691131b", |
| "msg": [0, 0, 0, 0, 0, 1, 41, 11, 6, 9, 15, 42, 20], |
| "ct": [30, 11, 40, 23, 39, 41, 6, 6, 36, 1, 19, 11, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 380, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "9a1726d1a00c9691131b", |
| "msg": [23, 12, 17, 31, 22, 31, 41, 11, 6, 9, 15, 42, 20], |
| "ct": [25, 18, 20, 24, 40, 10, 28, 36, 26, 16, 19, 12, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 381, |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "9a1726d1a00c9691131b", |
| "msg": [44, 44, 44, 44, 44, 44, 41, 11, 6, 9, 15, 42, 20], |
| "ct": [8, 36, 18, 23, 7, 30, 37, 29, 32, 22, 25, 43, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 382, |
| "comment": "y = 1 and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "702a2ab3229e572c05dc", |
| "msg": [13, 34, 40, 2, 8, 22, 40, 36, 17, 38, 27, 26, 16], |
| "ct": [27, 38, 22, 37, 32, 44, 6, 28, 2, 27, 40, 7, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 383, |
| "comment": "y = 1 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "702a2ab3229e572c05dc", |
| "msg": [0, 4, 11, 10, 31, 14, 13, 1, 31, 28, 36, 14, 42], |
| "ct": [12, 44, 31, 43, 33, 33, 25, 16, 32, 20, 15, 29, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 384, |
| "comment": "y = 1 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "702a2ab3229e572c05dc", |
| "msg": [32, 10, 11, 7, 14, 30, 17, 19, 21, 19, 1, 37, 11], |
| "ct": [30, 17, 31, 40, 44, 16, 33, 20, 9, 7, 41, 10, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 385, |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "702a2ab3229e572c05dc", |
| "msg": [3, 17, 36, 30, 33, 25, 37, 13, 32, 9, 41, 27, 35], |
| "ct": [10, 17, 29, 4, 32, 29, 13, 0, 13, 35, 31, 40, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 386, |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "702a2ab3229e572c05dc", |
| "msg": [42, 25, 24, 42, 14, 41, 12, 28, 26, 22, 25, 0, 27], |
| "ct": [40, 22, 38, 1, 8, 30, 27, 11, 17, 33, 32, 9, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 387, |
| "comment": "y is maximal and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "19d71108fc68a16e314d", |
| "msg": [41, 34, 37, 41, 42, 28, 41, 44, 39, 16, 11, 15, 44], |
| "ct": [12, 38, 27, 20, 41, 30, 33, 25, 6, 9, 7, 32, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 388, |
| "comment": "y is maximal and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "19d71108fc68a16e314d", |
| "msg": [39, 7, 12, 35, 3, 13, 9, 20, 7, 20, 8, 43, 38], |
| "ct": [7, 27, 20, 34, 34, 19, 42, 8, 44, 1, 36, 16, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 389, |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "19d71108fc68a16e314d", |
| "msg": [28, 21, 23, 31, 14, 19, 36, 8, 38, 30, 24, 30, 0], |
| "ct": [1, 19, 37, 27, 15, 7, 32, 9, 41, 3, 33, 22, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 390, |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "19d71108fc68a16e314d", |
| "msg": [4, 26, 36, 6, 0, 11, 8, 9, 19, 35, 4, 30, 5], |
| "ct": [17, 40, 24, 7, 37, 43, 34, 17, 21, 26, 11, 23, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 391, |
| "comment": "y is maximal and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "19d71108fc68a16e314d", |
| "msg": [10, 21, 38, 33, 19, 27, 34, 2, 0, 33, 42, 31, 16], |
| "ct": [41, 33, 34, 21, 30, 34, 19, 11, 15, 44, 44, 32, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 392, |
| "comment": "y is maximal and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "19d71108fc68a16e314d", |
| "msg": [26, 31, 20, 44, 21, 13, 5, 43, 37, 43, 41, 22, 30], |
| "ct": [28, 19, 26, 36, 11, 30, 4, 15, 29, 20, 14, 7, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 393, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "8e71da1b16a5e39020cd", |
| "msg": [24, 20, 24, 22, 20, 34, 17, 21, 29, 4, 43, 8, 8], |
| "ct": [37, 3, 14, 42, 26, 14, 38, 25, 22, 0, 39, 14, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 394, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "8e71da1b16a5e39020cd", |
| "msg": [16, 34, 39, 12, 31, 38, 42, 10, 32, 37, 12, 2, 44], |
| "ct": [14, 25, 23, 17, 6, 5, 18, 36, 44, 4, 42, 19, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 395, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "8e71da1b16a5e39020cd", |
| "msg": [15, 12, 41, 30, 22, 16, 12, 39, 2, 36, 10, 7, 42], |
| "ct": [41, 24, 9, 37, 21, 16, 29, 33, 3, 30, 34, 14, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 396, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", |
| "tweak": "8e71da1b16a5e39020cd", |
| "msg": [40, 34, 33, 18, 23, 27, 10, 34, 9, 3, 44, 36, 37], |
| "ct": [26, 26, 14, 21, 6, 30, 25, 31, 13, 6, 36, 44, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 397, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", |
| "tweak": "522499e28e9e7712", |
| "msg": [-1, 15, 3, 35, 23, 12, 28, 14, 13, 16, 36, 10, 31], |
| "ct": [37, 25, 7, 37, 4, 35, 21, 42, 34, 17, 20, 5, 44], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 398, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", |
| "tweak": "522499e28e9e7712", |
| "msg": [30, 15, 3, 35, -1, 12, 28, 14, 13, 16, 36, 10, 31], |
| "ct": [22, 16, 35, 34, 19, 21, 19, 37, 32, 4, 29, 22, 34], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 399, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", |
| "tweak": "522499e28e9e7712", |
| "msg": [30, 15, 3, 35, 23, 12, 28, 14, 13, 16, 36, 10, -1], |
| "ct": [30, 28, 26, 12, 37, 11, 40, 8, 21, 2, 1, 15, 15], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 400, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e37831f92c42223c1763494e71d23064", |
| "tweak": "d65aaf3ddfc3426d", |
| "msg": [45, 19, 0, 32, 11, 19, 19, 4, 3, 2, 7, 19, 6], |
| "ct": [30, 15, 32, 26, 21, 35, 44, 42, 32, 38, 44, 26, 19], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 401, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e37831f92c42223c1763494e71d23064", |
| "tweak": "d65aaf3ddfc3426d", |
| "msg": [8, 19, 0, 32, 45, 19, 19, 4, 3, 2, 7, 19, 6], |
| "ct": [33, 26, 16, 33, 2, 31, 30, 13, 36, 33, 31, 0, 20], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 402, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e37831f92c42223c1763494e71d23064", |
| "tweak": "d65aaf3ddfc3426d", |
| "msg": [8, 19, 0, 32, 11, 19, 19, 4, 3, 2, 7, 19, 45], |
| "ct": [39, 14, 3, 23, 28, 33, 40, 40, 32, 15, 28, 27, 7], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 14, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 403, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "7a1122636a4417351c97156308d4f6aa", |
| "tweak": "a9508e64d1ab8e34", |
| "msg": [29, 10, 4, 16, 27, 31, 26, 29, 4, 30, 19, 34, 10, 44], |
| "ct": [7, 33, 32, 2, 1, 18, 42, 19, 20, 20, 20, 26, 37, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 404, |
| "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": [36, 6, 17, 0, 32, 27, 30, 31, 23, 0, 6, 17, 13, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 405, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [42, 36, 34, 16, 40, 27, 27, 33, 20, 11, 19, 16, 7, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 406, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [33, 4, 28, 7, 36, 12, 4, 33, 4, 28, 7, 36, 12, 4], |
| "ct": [1, 16, 0, 30, 23, 35, 16, 32, 12, 15, 31, 8, 37, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 407, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [33, 4, 28, 7, 36, 12, 3, 33, 4, 28, 7, 36, 12, 3], |
| "ct": [44, 24, 36, 21, 23, 39, 43, 23, 26, 8, 22, 23, 12, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 408, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [31, 13, 39, 12, 17, 9, 44, 8, 37, 16, 16, 34, 31, 39], |
| "ct": [31, 16, 31, 26, 16, 27, 5, 33, 23, 34, 17, 38, 11, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 409, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [26, 17, 26, 24, 22, 7, 13, 18, 3, 26, 23, 0, 44, 42], |
| "ct": [32, 15, 14, 18, 31, 16, 8, 19, 31, 16, 12, 26, 33, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 410, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [10, 26, 4, 43, 30, 12, 34, 10, 22, 24, 8, 37, 0, 13], |
| "ct": [17, 12, 26, 23, 41, 43, 14, 29, 7, 3, 22, 30, 22, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 411, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [1, 18, 43, 8, 35, 37, 27, 40, 4, 5, 27, 11, 40, 44], |
| "ct": [21, 24, 25, 5, 13, 6, 8, 26, 19, 42, 18, 4, 18, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 412, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [27, 25, 11, 5, 31, 1, 4, 15, 25, 2, 0, 16, 9, 21], |
| "ct": [28, 31, 1, 0, 42, 10, 4, 10, 10, 29, 34, 34, 0, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 413, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [3, 42, 29, 38, 14, 31, 35, 26, 1, 39, 35, 16, 26, 25], |
| "ct": [36, 6, 44, 32, 27, 2, 21, 20, 30, 31, 23, 27, 20, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 414, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [28, 34, 19, 23, 41, 40, 36, 24, 14, 23, 3, 28, 41, 25], |
| "ct": [34, 6, 37, 10, 40, 44, 19, 38, 5, 11, 3, 28, 6, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 415, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [36, 31, 27, 11, 27, 33, 3, 19, 42, 24, 40, 6, 13, 7], |
| "ct": [2, 4, 21, 36, 21, 38, 6, 7, 5, 34, 16, 4, 19, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 416, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [29, 43, 6, 7, 11, 7, 24, 9, 40, 35, 7, 27, 7, 31], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 417, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [4, 44, 31, 0, 17, 31, 44, 6, 12, 9, 1, 18, 16, 7], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 418, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [40, 25, 15, 32, 24, 11, 7, 20, 15, 25, 33, 43, 12, 27], |
| "ct": [33, 4, 28, 7, 36, 12, 4, 33, 4, 28, 7, 36, 12, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 419, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", |
| "tweak": "c37a26d7ade80ea1", |
| "msg": [43, 19, 41, 28, 9, 34, 31, 40, 20, 8, 0, 32, 18, 2], |
| "ct": [33, 4, 28, 7, 36, 12, 3, 33, 4, 28, 7, 36, 12, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 420, |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "872ed4c2e49cbceef15b", |
| "msg": [0, 7, 28, 25, 4, 14, 13, 39, 25, 7, 17, 34, 6, 18], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 29, 19, 14, 40, 20, 31, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 421, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "872ed4c2e49cbceef15b", |
| "msg": [28, 0, 1, 16, 9, 34, 44, 20, 15, 14, 26, 3, 19, 43], |
| "ct": [0, 0, 0, 0, 0, 0, 1, 20, 43, 22, 2, 4, 43, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 422, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "872ed4c2e49cbceef15b", |
| "msg": [4, 33, 15, 15, 29, 31, 31, 0, 18, 43, 37, 7, 30, 27], |
| "ct": [33, 4, 28, 7, 36, 12, 4, 23, 14, 31, 23, 33, 1, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 423, |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "872ed4c2e49cbceef15b", |
| "msg": [34, 10, 34, 35, 5, 17, 21, 33, 34, 18, 20, 17, 27, 0], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 28, 39, 0, 31, 30, 5, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 424, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "1a2250edef66c9202c4d", |
| "msg": [26, 6, 14, 42, 13, 31, 31, 19, 14, 11, 16, 35, 0, 43], |
| "ct": [10, 11, 29, 28, 1, 4, 17, 17, 20, 4, 40, 16, 44, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 425, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "1a2250edef66c9202c4d", |
| "msg": [14, 27, 25, 41, 29, 37, 16, 14, 41, 14, 40, 21, 43, 15], |
| "ct": [37, 11, 6, 4, 19, 44, 5, 35, 32, 39, 7, 26, 15, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 426, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "1a2250edef66c9202c4d", |
| "msg": [10, 30, 36, 15, 9, 19, 4, 41, 36, 9, 10, 0, 40, 35], |
| "ct": [5, 24, 25, 20, 25, 23, 27, 22, 11, 12, 36, 21, 29, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 427, |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "1a2250edef66c9202c4d", |
| "msg": [28, 0, 21, 10, 25, 13, 13, 27, 16, 29, 16, 7, 43, 41], |
| "ct": [26, 6, 31, 26, 2, 25, 23, 8, 44, 31, 23, 41, 20, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 428, |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "1a2250edef66c9202c4d", |
| "msg": [20, 34, 21, 14, 6, 10, 7, 26, 30, 2, 22, 38, 35, 36], |
| "ct": [24, 24, 9, 42, 25, 28, 39, 29, 7, 9, 29, 43, 29, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 429, |
| "comment": "y is maximal and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "79c995768318ef3b61b6", |
| "msg": [13, 0, 6, 2, 31, 11, 43, 26, 14, 41, 39, 28, 9, 13], |
| "ct": [36, 25, 13, 24, 21, 42, 29, 12, 30, 3, 11, 19, 5, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 430, |
| "comment": "y is maximal and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "79c995768318ef3b61b6", |
| "msg": [41, 41, 40, 27, 43, 18, 4, 7, 44, 24, 19, 3, 29, 12], |
| "ct": [15, 37, 8, 4, 11, 16, 24, 39, 7, 40, 9, 12, 32, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 431, |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "79c995768318ef3b61b6", |
| "msg": [18, 1, 12, 26, 25, 16, 22, 18, 10, 43, 20, 10, 16, 44], |
| "ct": [3, 22, 23, 22, 2, 17, 2, 38, 28, 39, 13, 35, 2, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 432, |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "79c995768318ef3b61b6", |
| "msg": [14, 7, 30, 29, 20, 35, 2, 37, 11, 40, 40, 32, 28, 25], |
| "ct": [31, 25, 31, 28, 30, 40, 3, 10, 16, 37, 31, 39, 12, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 433, |
| "comment": "y is maximal and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "79c995768318ef3b61b6", |
| "msg": [0, 2, 23, 15, 4, 6, 30, 24, 30, 3, 30, 38, 18, 38], |
| "ct": [3, 21, 27, 22, 24, 22, 0, 36, 32, 27, 1, 22, 22, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 434, |
| "comment": "y is maximal and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "79c995768318ef3b61b6", |
| "msg": [12, 4, 22, 0, 25, 36, 44, 24, 22, 35, 10, 26, 43, 4], |
| "ct": [14, 3, 8, 7, 22, 12, 23, 21, 18, 28, 6, 28, 31, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 435, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "6134c7faf500f04dd8c2", |
| "msg": [33, 17, 22, 28, 36, 43, 20, 0, 13, 21, 38, 0, 44, 40], |
| "ct": [28, 23, 8, 15, 11, 27, 39, 34, 12, 43, 39, 2, 40, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 436, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "6134c7faf500f04dd8c2", |
| "msg": [8, 42, 33, 30, 10, 44, 33, 7, 9, 19, 23, 22, 18, 36], |
| "ct": [24, 32, 4, 8, 9, 17, 34, 25, 0, 31, 26, 26, 7, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 437, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "6134c7faf500f04dd8c2", |
| "msg": [25, 7, 29, 5, 0, 0, 19, 5, 29, 28, 18, 19, 36, 16], |
| "ct": [6, 14, 1, 41, 25, 34, 17, 15, 40, 25, 43, 6, 31, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 438, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", |
| "tweak": "6134c7faf500f04dd8c2", |
| "msg": [32, 7, 4, 25, 0, 11, 11, 24, 35, 26, 8, 33, 27, 41], |
| "ct": [2, 22, 37, 24, 27, 24, 28, 11, 43, 10, 28, 33, 25, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 439, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", |
| "tweak": "0e5628b6bce472c6", |
| "msg": [-1, 41, 29, 20, 19, 20, 30, 1, 31, 15, 29, 4, 9, 39], |
| "ct": [21, 2, 15, 13, 18, 10, 22, 19, 27, 15, 41, 19, 7, 27], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 440, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", |
| "tweak": "0e5628b6bce472c6", |
| "msg": [11, 41, 29, 20, -1, 20, 30, 1, 31, 15, 29, 4, 9, 39], |
| "ct": [39, 9, 44, 22, 8, 44, 33, 11, 21, 22, 26, 3, 13, 10], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 441, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", |
| "tweak": "0e5628b6bce472c6", |
| "msg": [11, 41, 29, 20, 19, 20, 30, 1, 31, 15, 29, 4, 9, -1], |
| "ct": [23, 18, 4, 29, 6, 21, 11, 18, 15, 30, 20, 38, 7, 22], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 442, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a443e7dbf5f32c71f2a669daf1c5f324", |
| "tweak": "1406f1f4cec3bb21", |
| "msg": [45, 41, 19, 4, 41, 33, 33, 9, 9, 37, 14, 25, 9, 27], |
| "ct": [39, 37, 37, 6, 4, 30, 22, 15, 7, 34, 34, 16, 41, 25], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 443, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a443e7dbf5f32c71f2a669daf1c5f324", |
| "tweak": "1406f1f4cec3bb21", |
| "msg": [36, 41, 19, 4, 45, 33, 33, 9, 9, 37, 14, 25, 9, 27], |
| "ct": [13, 33, 37, 29, 40, 28, 5, 0, 27, 42, 35, 12, 36, 29], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 444, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a443e7dbf5f32c71f2a669daf1c5f324", |
| "tweak": "1406f1f4cec3bb21", |
| "msg": [36, 41, 19, 4, 41, 33, 33, 9, 9, 37, 14, 25, 9, 45], |
| "ct": [39, 9, 35, 13, 27, 28, 4, 32, 17, 37, 33, 15, 38, 18], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 15, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 445, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "7b0c5d430ef9383b04b2691ce3402a9a", |
| "tweak": "ec71532112064259", |
| "msg": [28, 27, 29, 17, 3, 31, 17, 24, 29, 37, 31, 32, 24, 6, 27], |
| "ct": [5, 44, 36, 42, 28, 43, 25, 16, 20, 36, 11, 19, 43, 24, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 446, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [12, 14, 33, 44, 24, 43, 25, 31, 19, 6, 36, 36, 19, 23, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 447, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [42, 42, 9, 1, 34, 33, 36, 0, 40, 34, 15, 3, 3, 38, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 448, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [33, 4, 28, 7, 36, 12, 4, 23, 24, 13, 1, 24, 35, 26, 38], |
| "ct": [41, 29, 7, 27, 12, 1, 13, 32, 18, 3, 25, 38, 19, 21, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 449, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [33, 4, 28, 7, 36, 12, 3, 23, 24, 13, 1, 24, 35, 26, 37], |
| "ct": [30, 4, 4, 44, 1, 31, 10, 1, 42, 29, 10, 14, 38, 21, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 450, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [22, 13, 5, 6, 14, 33, 44, 36, 36, 39, 6, 14, 23, 37, 15], |
| "ct": [24, 41, 40, 36, 35, 6, 10, 9, 14, 12, 32, 15, 35, 24, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 451, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [12, 23, 10, 5, 24, 35, 41, 33, 6, 18, 11, 20, 27, 9, 16], |
| "ct": [1, 27, 39, 3, 27, 43, 14, 17, 22, 1, 35, 5, 18, 23, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 452, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [43, 35, 41, 37, 44, 2, 2, 19, 5, 23, 8, 12, 3, 34, 12], |
| "ct": [32, 44, 4, 29, 19, 13, 0, 15, 17, 6, 44, 27, 37, 2, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 453, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [30, 3, 40, 33, 30, 6, 20, 22, 13, 3, 5, 2, 6, 43, 10], |
| "ct": [42, 15, 42, 39, 12, 40, 9, 1, 8, 13, 41, 28, 24, 37, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 454, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [37, 22, 20, 4, 41, 18, 25, 7, 24, 16, 30, 36, 44, 33, 27], |
| "ct": [2, 18, 42, 43, 0, 16, 26, 18, 30, 13, 3, 30, 22, 5, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 455, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [26, 4, 34, 35, 7, 39, 39, 26, 42, 42, 28, 6, 43, 9, 32], |
| "ct": [16, 24, 33, 37, 7, 41, 13, 19, 15, 25, 32, 35, 25, 34, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 456, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [16, 16, 4, 34, 43, 17, 44, 42, 33, 15, 42, 22, 5, 12, 36], |
| "ct": [37, 19, 31, 40, 17, 3, 20, 6, 22, 43, 8, 27, 24, 44, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 457, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [7, 21, 29, 35, 5, 3, 22, 37, 3, 3, 40, 10, 13, 29, 10], |
| "ct": [37, 9, 13, 16, 44, 38, 30, 4, 10, 37, 31, 6, 12, 23, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 458, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [5, 12, 2, 12, 23, 7, 37, 26, 3, 5, 18, 14, 15, 23, 14], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 459, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [8, 31, 9, 12, 17, 28, 44, 17, 36, 26, 17, 34, 24, 24, 37], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 460, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [39, 29, 14, 3, 31, 6, 23, 16, 3, 17, 25, 9, 17, 0, 11], |
| "ct": [33, 4, 28, 7, 36, 12, 4, 23, 24, 13, 1, 24, 35, 26, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 461, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", |
| "tweak": "71e1ede1a7e70a42", |
| "msg": [26, 12, 26, 42, 1, 18, 26, 17, 4, 44, 0, 30, 16, 32, 29], |
| "ct": [33, 4, 28, 7, 36, 12, 3, 23, 24, 13, 1, 24, 35, 26, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 462, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "0fa4c68977dc465a49", |
| "msg": [9, 36, 16, 33, 17, 39, 32, 9, 40, 4, 26, 12, 2, 17, 27], |
| "ct": [22, 44, 28, 40, 19, 13, 3, 36, 36, 8, 24, 31, 22, 6, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 463, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "0fa4c68977dc465a49", |
| "msg": [1, 3, 24, 24, 27, 26, 42, 42, 34, 39, 28, 22, 8, 8, 33], |
| "ct": [12, 30, 27, 3, 3, 37, 9, 6, 42, 14, 41, 18, 40, 14, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 464, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "0fa4c68977dc465a49", |
| "msg": [14, 12, 26, 29, 41, 2, 4, 1, 24, 6, 28, 44, 26, 24, 38], |
| "ct": [14, 20, 29, 4, 20, 4, 21, 39, 29, 12, 40, 40, 14, 21, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 465, |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "0fa4c68977dc465a49", |
| "msg": [13, 26, 21, 29, 25, 44, 7, 28, 34, 2, 29, 0, 44, 43, 16], |
| "ct": [2, 12, 9, 25, 19, 30, 30, 39, 9, 44, 37, 12, 10, 17, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 466, |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "0fa4c68977dc465a49", |
| "msg": [16, 26, 3, 26, 14, 21, 12, 24, 31, 3, 44, 17, 41, 1, 9], |
| "ct": [30, 15, 4, 6, 15, 11, 39, 41, 40, 43, 12, 4, 5, 23, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 467, |
| "comment": "y is maximal and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "70eaeaa03f5848a406", |
| "msg": [44, 38, 19, 11, 38, 42, 14, 3, 27, 39, 42, 26, 1, 0, 14], |
| "ct": [9, 13, 24, 16, 19, 29, 19, 28, 41, 32, 44, 5, 8, 26, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 468, |
| "comment": "y is maximal and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "70eaeaa03f5848a406", |
| "msg": [30, 32, 43, 39, 35, 27, 16, 26, 24, 18, 42, 17, 4, 28, 37], |
| "ct": [10, 5, 34, 6, 5, 42, 3, 38, 2, 40, 11, 15, 37, 28, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 469, |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "70eaeaa03f5848a406", |
| "msg": [4, 15, 26, 12, 24, 2, 31, 0, 37, 42, 37, 33, 7, 14, 18], |
| "ct": [26, 19, 17, 36, 6, 8, 31, 28, 2, 35, 26, 29, 44, 4, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 470, |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "70eaeaa03f5848a406", |
| "msg": [23, 7, 28, 22, 36, 11, 6, 42, 1, 25, 21, 16, 15, 2, 0], |
| "ct": [21, 36, 11, 33, 38, 8, 3, 21, 18, 12, 40, 40, 25, 41, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 471, |
| "comment": "y is maximal and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "70eaeaa03f5848a406", |
| "msg": [20, 44, 30, 40, 38, 43, 28, 11, 39, 38, 19, 14, 26, 19, 44], |
| "ct": [29, 22, 2, 19, 4, 35, 17, 7, 17, 10, 8, 23, 15, 28, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 472, |
| "comment": "y is maximal and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "70eaeaa03f5848a406", |
| "msg": [20, 5, 0, 20, 6, 1, 5, 37, 44, 15, 40, 16, 39, 5, 23], |
| "ct": [40, 20, 22, 7, 19, 27, 3, 29, 11, 29, 21, 29, 16, 25, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 473, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "8e07d5762277f3fed7", |
| "msg": [1, 8, 0, 29, 39, 23, 12, 3, 8, 6, 23, 23, 36, 14, 14], |
| "ct": [9, 16, 16, 1, 11, 5, 7, 35, 29, 26, 42, 29, 17, 44, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 474, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "8e07d5762277f3fed7", |
| "msg": [35, 1, 22, 20, 8, 16, 32, 16, 3, 25, 28, 35, 21, 26, 15], |
| "ct": [31, 2, 1, 18, 14, 44, 3, 2, 16, 9, 24, 28, 32, 29, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 475, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "8e07d5762277f3fed7", |
| "msg": [1, 6, 14, 41, 9, 8, 11, 30, 14, 22, 44, 12, 44, 8, 18], |
| "ct": [18, 20, 34, 9, 25, 43, 42, 19, 2, 26, 41, 11, 37, 28, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 476, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", |
| "tweak": "8e07d5762277f3fed7", |
| "msg": [7, 16, 14, 17, 12, 25, 19, 15, 10, 24, 41, 4, 44, 13, 42], |
| "ct": [21, 23, 31, 16, 25, 36, 11, 14, 14, 31, 4, 35, 29, 16, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 477, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "18f316e92e027b0d4d068bb94f8dd864", |
| "tweak": "17d37026864474b3", |
| "msg": [-1, 11, 10, 44, 22, 18, 12, 20, 17, 15, 25, 37, 13, 27, 7], |
| "ct": [32, 22, 0, 35, 40, 8, 17, 44, 18, 42, 21, 10, 14, 27, 3], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 478, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "18f316e92e027b0d4d068bb94f8dd864", |
| "tweak": "17d37026864474b3", |
| "msg": [0, 11, 10, 44, 22, -1, 12, 20, 17, 15, 25, 37, 13, 27, 7], |
| "ct": [12, 1, 5, 30, 35, 9, 7, 19, 23, 31, 38, 22, 6, 19, 19], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 479, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "18f316e92e027b0d4d068bb94f8dd864", |
| "tweak": "17d37026864474b3", |
| "msg": [0, 11, 10, 44, 22, 18, 12, 20, 17, 15, 25, 37, 13, 27, -1], |
| "ct": [21, 12, 33, 30, 35, 29, 43, 33, 5, 34, 19, 36, 15, 6, 6], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 480, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9d2677076a9dd2d9591887739b3d9a51", |
| "tweak": "b4453b7ab98bcff1", |
| "msg": [45, 6, 0, 33, 34, 32, 33, 15, 11, 10, 13, 9, 0, 37, 22], |
| "ct": [32, 14, 6, 25, 1, 19, 35, 20, 41, 34, 18, 6, 17, 35, 23], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 481, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9d2677076a9dd2d9591887739b3d9a51", |
| "tweak": "b4453b7ab98bcff1", |
| "msg": [34, 6, 0, 33, 34, 45, 33, 15, 11, 10, 13, 9, 0, 37, 22], |
| "ct": [5, 11, 22, 37, 44, 11, 30, 22, 44, 5, 19, 15, 25, 8, 7], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 482, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9d2677076a9dd2d9591887739b3d9a51", |
| "tweak": "b4453b7ab98bcff1", |
| "msg": [34, 6, 0, 33, 34, 32, 33, 15, 11, 10, 13, 9, 0, 37, 45], |
| "ct": [41, 6, 18, 42, 43, 6, 26, 20, 1, 19, 44, 3, 0, 28, 2], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 16, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 483, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "48f0d03e41cc55c4b58f737b5acdea32", |
| "tweak": "30944debca89ca90", |
| "msg": [18, 5, 28, 14, 15, 34, 23, 5, 17, 6, 30, 42, 10, 24, 4, 4], |
| "ct": [22, 8, 9, 35, 21, 42, 5, 27, 8, 39, 31, 10, 12, 17, 28, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 484, |
| "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": [26, 39, 26, 43, 36, 16, 0, 12, 7, 30, 6, 39, 33, 35, 36, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 485, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [25, 4, 15, 38, 37, 38, 15, 33, 25, 26, 10, 0, 16, 17, 26, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 486, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 38, 23, 24, 13, 1, 24, 35, 26, 38], |
| "ct": [24, 40, 31, 40, 0, 30, 0, 34, 0, 3, 11, 24, 40, 5, 23, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 487, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 37, 23, 24, 13, 1, 24, 35, 26, 37], |
| "ct": [30, 24, 40, 22, 10, 33, 25, 10, 40, 19, 34, 41, 32, 1, 41, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 488, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [33, 25, 36, 26, 8, 34, 17, 21, 38, 3, 37, 0, 30, 42, 43, 16], |
| "ct": [31, 5, 3, 29, 18, 29, 28, 15, 16, 20, 25, 33, 3, 3, 13, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 489, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [25, 16, 38, 12, 23, 9, 8, 29, 13, 40, 35, 9, 26, 31, 10, 7], |
| "ct": [7, 40, 4, 40, 12, 24, 23, 25, 17, 29, 14, 1, 40, 17, 31, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 490, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [33, 38, 25, 31, 7, 22, 14, 36, 37, 21, 20, 42, 13, 39, 26, 4], |
| "ct": [4, 0, 13, 27, 16, 43, 39, 42, 28, 14, 37, 4, 10, 31, 7, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 491, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [21, 21, 27, 3, 32, 22, 21, 30, 17, 33, 19, 7, 9, 6, 28, 11], |
| "ct": [16, 14, 28, 37, 24, 41, 2, 40, 11, 23, 0, 1, 18, 37, 35, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 492, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [21, 20, 33, 27, 39, 24, 9, 44, 33, 5, 42, 11, 20, 32, 4, 25], |
| "ct": [4, 32, 27, 8, 42, 16, 20, 40, 10, 21, 34, 6, 3, 32, 36, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 493, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [10, 36, 12, 14, 19, 20, 28, 38, 14, 2, 5, 21, 37, 32, 17, 13], |
| "ct": [20, 3, 13, 42, 10, 12, 18, 26, 3, 39, 32, 12, 18, 23, 16, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 494, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [19, 24, 35, 13, 30, 4, 34, 6, 36, 0, 41, 11, 24, 34, 18, 25], |
| "ct": [8, 26, 30, 28, 44, 0, 40, 6, 28, 38, 25, 10, 32, 14, 13, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 495, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [42, 35, 15, 23, 31, 1, 5, 33, 5, 0, 28, 9, 9, 27, 27, 1], |
| "ct": [20, 16, 26, 40, 3, 9, 35, 8, 41, 12, 8, 27, 20, 31, 9, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 496, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [40, 34, 20, 35, 12, 33, 8, 3, 32, 3, 11, 18, 12, 15, 26, 33], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 497, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [40, 33, 14, 36, 26, 14, 3, 29, 10, 10, 10, 12, 37, 27, 25, 42], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 498, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [4, 18, 23, 32, 16, 36, 28, 11, 9, 11, 25, 4, 32, 34, 9, 27], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 38, 23, 24, 13, 1, 24, 35, 26, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 499, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "58a68a9bf81642540bcff165563af592", |
| "tweak": "a4a9513e222fab29", |
| "msg": [13, 7, 2, 25, 39, 3, 41, 0, 44, 37, 20, 1, 17, 11, 7, 22], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 37, 23, 24, 13, 1, 24, 35, 26, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 500, |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "61d141834f206c0129", |
| "msg": [1, 13, 44, 32, 30, 3, 6, 4, 7, 39, 12, 29, 22, 4, 7, 6], |
| "ct": [43, 26, 0, 36, 22, 9, 6, 0, 37, 42, 14, 13, 3, 8, 8, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 501, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "61d141834f206c0129", |
| "msg": [31, 25, 10, 20, 38, 34, 38, 20, 39, 29, 26, 28, 38, 38, 40, 24], |
| "ct": [7, 39, 11, 15, 34, 31, 43, 1, 40, 9, 36, 29, 28, 40, 43, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 502, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "61d141834f206c0129", |
| "msg": [27, 31, 19, 42, 6, 28, 13, 9, 43, 5, 15, 8, 28, 36, 37, 13], |
| "ct": [9, 16, 34, 20, 32, 26, 41, 0, 13, 34, 30, 10, 31, 26, 15, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 503, |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "61d141834f206c0129", |
| "msg": [1, 12, 40, 42, 6, 39, 10, 34, 12, 37, 32, 19, 13, 40, 15, 4], |
| "ct": [21, 32, 4, 42, 21, 33, 26, 33, 41, 27, 31, 31, 7, 5, 35, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 504, |
| "comment": "y = 1 and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "e8ee376ca7dd4e5055", |
| "msg": [36, 39, 10, 15, 44, 39, 18, 37, 22, 17, 38, 43, 36, 23, 20, 21], |
| "ct": [30, 35, 13, 41, 8, 34, 31, 14, 14, 4, 35, 5, 39, 17, 11, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 505, |
| "comment": "y = 1 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "e8ee376ca7dd4e5055", |
| "msg": [39, 6, 40, 33, 41, 39, 0, 19, 36, 4, 25, 1, 8, 26, 25, 23], |
| "ct": [37, 4, 8, 16, 4, 2, 3, 33, 40, 25, 5, 20, 14, 3, 34, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 506, |
| "comment": "y = 1 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "e8ee376ca7dd4e5055", |
| "msg": [43, 38, 16, 9, 42, 37, 29, 7, 13, 22, 31, 22, 35, 30, 22, 1], |
| "ct": [29, 30, 19, 26, 20, 35, 7, 18, 19, 44, 5, 20, 7, 27, 9, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 507, |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "e8ee376ca7dd4e5055", |
| "msg": [27, 0, 32, 11, 30, 28, 43, 29, 32, 7, 29, 4, 29, 19, 31, 22], |
| "ct": [9, 27, 34, 13, 9, 33, 7, 31, 35, 31, 26, 18, 12, 18, 14, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 508, |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "e8ee376ca7dd4e5055", |
| "msg": [5, 23, 22, 29, 22, 0, 32, 26, 36, 25, 26, 40, 38, 25, 17, 18], |
| "ct": [19, 18, 40, 23, 34, 20, 20, 23, 6, 9, 40, 0, 41, 14, 26, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 509, |
| "comment": "y is maximal and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "f006d7e58ad5b2fc42", |
| "msg": [31, 22, 7, 20, 7, 25, 14, 19, 6, 43, 24, 32, 14, 38, 43, 11], |
| "ct": [8, 15, 21, 20, 33, 25, 35, 18, 12, 34, 21, 39, 6, 18, 41, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 510, |
| "comment": "y is maximal and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "f006d7e58ad5b2fc42", |
| "msg": [22, 14, 16, 25, 7, 34, 5, 11, 18, 35, 35, 7, 35, 13, 34, 38], |
| "ct": [10, 15, 15, 27, 7, 42, 36, 25, 42, 19, 44, 21, 16, 21, 14, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 511, |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "f006d7e58ad5b2fc42", |
| "msg": [35, 0, 26, 36, 17, 4, 17, 6, 27, 18, 19, 36, 20, 7, 0, 4], |
| "ct": [10, 27, 8, 36, 18, 17, 8, 2, 40, 16, 42, 34, 30, 19, 43, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 512, |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "f006d7e58ad5b2fc42", |
| "msg": [29, 12, 11, 17, 19, 43, 27, 0, 9, 1, 12, 8, 15, 15, 8, 29], |
| "ct": [35, 31, 13, 2, 32, 13, 25, 9, 11, 13, 11, 44, 24, 1, 2, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 513, |
| "comment": "y is maximal and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "f006d7e58ad5b2fc42", |
| "msg": [24, 33, 18, 5, 2, 42, 36, 8, 17, 17, 27, 19, 34, 14, 1, 37], |
| "ct": [8, 30, 39, 6, 31, 37, 37, 26, 33, 38, 27, 30, 25, 23, 42, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 514, |
| "comment": "y is maximal and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "f006d7e58ad5b2fc42", |
| "msg": [25, 11, 12, 31, 34, 4, 32, 13, 31, 1, 21, 37, 0, 17, 22, 11], |
| "ct": [6, 19, 32, 15, 42, 33, 42, 15, 31, 8, 26, 37, 42, 32, 8, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 515, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "d5832d7c5d32d0998d", |
| "msg": [41, 36, 12, 28, 37, 4, 16, 8, 8, 13, 8, 28, 1, 17, 44, 39], |
| "ct": [37, 16, 25, 43, 44, 23, 10, 14, 40, 8, 23, 10, 27, 28, 18, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 516, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "d5832d7c5d32d0998d", |
| "msg": [9, 8, 41, 3, 28, 42, 44, 2, 37, 1, 3, 42, 24, 25, 34, 29], |
| "ct": [26, 6, 1, 26, 8, 15, 10, 37, 34, 23, 22, 5, 21, 42, 18, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 517, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "d5832d7c5d32d0998d", |
| "msg": [17, 34, 2, 6, 26, 15, 32, 25, 17, 28, 37, 37, 35, 29, 35, 36], |
| "ct": [3, 39, 44, 36, 14, 23, 2, 19, 10, 25, 42, 39, 32, 11, 31, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 518, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ce2295b38289779ad19a532cd6be845b", |
| "tweak": "d5832d7c5d32d0998d", |
| "msg": [33, 11, 31, 14, 43, 6, 39, 4, 23, 38, 18, 6, 3, 28, 6, 39], |
| "ct": [35, 7, 43, 9, 29, 19, 32, 8, 14, 3, 38, 35, 43, 29, 8, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 519, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", |
| "tweak": "a841e8a1819dfb69", |
| "msg": [-1, 43, 6, 42, 15, 11, 1, 37, 22, 26, 22, 35, 20, 25, 6, 38], |
| "ct": [7, 26, 2, 13, 33, 14, 6, 18, 21, 39, 10, 33, 26, 26, 25, 39], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 520, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", |
| "tweak": "a841e8a1819dfb69", |
| "msg": [2, 43, 6, 42, 15, -1, 1, 37, 22, 26, 22, 35, 20, 25, 6, 38], |
| "ct": [9, 16, 3, 35, 8, 18, 10, 7, 33, 17, 26, 11, 6, 38, 37, 29], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 521, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", |
| "tweak": "a841e8a1819dfb69", |
| "msg": [2, 43, 6, 42, 15, 11, 1, 37, 22, 26, 22, 35, 20, 25, 6, -1], |
| "ct": [44, 1, 3, 4, 36, 17, 13, 10, 25, 34, 29, 17, 2, 2, 18, 23], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 522, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4ac35c0a88b95eb28bed982a826d6027", |
| "tweak": "98915153bbd117f7", |
| "msg": [45, 15, 21, 38, 16, 30, 11, 24, 1, 29, 41, 41, 25, 8, 19, 39], |
| "ct": [12, 20, 34, 16, 4, 34, 10, 18, 40, 7, 24, 8, 16, 34, 12, 37], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 523, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4ac35c0a88b95eb28bed982a826d6027", |
| "tweak": "98915153bbd117f7", |
| "msg": [29, 15, 21, 38, 16, 45, 11, 24, 1, 29, 41, 41, 25, 8, 19, 39], |
| "ct": [10, 36, 8, 44, 32, 37, 11, 16, 39, 20, 42, 18, 42, 23, 40, 5], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 524, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4ac35c0a88b95eb28bed982a826d6027", |
| "tweak": "98915153bbd117f7", |
| "msg": [29, 15, 21, 38, 16, 30, 11, 24, 1, 29, 41, 41, 25, 8, 19, 45], |
| "ct": [42, 25, 13, 41, 11, 35, 39, 38, 18, 20, 19, 13, 22, 34, 27, 4], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 17, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 525, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "22351a53774415942eb879b483eda9a2", |
| "tweak": "b4a5dce9958d53fc", |
| "msg": [1, 36, 31, 15, 31, 37, 41, 25, 7, 33, 34, 8, 44, 10, 21, 25, 32], |
| "ct": [18, 38, 14, 4, 29, 32, 11, 12, 28, 30, 6, 42, 28, 43, 3, 24, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 526, |
| "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": [22, 6, 37, 42, 22, 30, 23, 33, 29, 6, 0, 7, 11, 21, 29, 32, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 527, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [5, 23, 39, 1, 24, 23, 29, 26, 42, 14, 5, 31, 5, 5, 16, 12, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 528, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 38, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "ct": [26, 34, 19, 15, 38, 20, 3, 16, 21, 37, 16, 24, 31, 32, 29, 21, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 529, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 37, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "ct": [10, 29, 34, 33, 35, 18, 18, 42, 6, 26, 31, 34, 11, 43, 12, 22, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 530, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [9, 11, 36, 5, 20, 18, 2, 17, 5, 24, 8, 3, 26, 14, 17, 16, 16], |
| "ct": [19, 34, 15, 0, 11, 11, 43, 42, 11, 38, 13, 39, 23, 12, 44, 33, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 531, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [4, 40, 34, 33, 39, 26, 28, 41, 12, 29, 9, 12, 22, 18, 39, 29, 6], |
| "ct": [28, 39, 39, 38, 26, 41, 35, 7, 6, 34, 40, 2, 8, 0, 4, 39, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 532, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [3, 24, 3, 29, 16, 39, 25, 33, 36, 27, 29, 33, 9, 5, 16, 20, 5], |
| "ct": [12, 26, 29, 24, 1, 26, 27, 39, 29, 35, 29, 38, 4, 23, 5, 17, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 533, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [39, 25, 23, 1, 3, 38, 17, 9, 41, 21, 8, 33, 16, 39, 40, 0, 18], |
| "ct": [44, 15, 3, 39, 31, 28, 43, 40, 18, 38, 20, 16, 34, 38, 44, 42, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 534, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [25, 26, 31, 44, 2, 6, 18, 36, 27, 39, 14, 23, 23, 39, 22, 35, 23], |
| "ct": [34, 13, 31, 5, 9, 34, 42, 12, 19, 34, 38, 44, 17, 34, 8, 11, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 535, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [43, 43, 26, 15, 3, 32, 21, 44, 15, 4, 36, 2, 6, 20, 18, 30, 0], |
| "ct": [18, 2, 8, 40, 44, 19, 40, 14, 42, 42, 36, 37, 2, 18, 16, 27, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 536, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [39, 36, 9, 39, 9, 42, 31, 18, 38, 35, 9, 27, 24, 37, 34, 31, 24], |
| "ct": [37, 8, 13, 27, 29, 3, 39, 42, 34, 36, 43, 37, 8, 39, 2, 32, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 537, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [22, 36, 35, 38, 21, 18, 36, 19, 37, 29, 30, 30, 12, 3, 20, 11, 23], |
| "ct": [32, 24, 6, 16, 25, 19, 33, 9, 40, 41, 26, 21, 29, 34, 2, 4, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 538, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [19, 21, 2, 24, 17, 8, 25, 5, 2, 40, 25, 22, 41, 19, 16, 7, 43], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 539, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [7, 28, 9, 12, 7, 39, 12, 35, 12, 9, 26, 26, 38, 23, 8, 16, 41], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 540, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [26, 16, 20, 34, 44, 40, 29, 17, 27, 33, 37, 35, 26, 33, 38, 30, 19], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 38, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 541, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "586c34235df3fd6ed8995a643fd52d41", |
| "tweak": "c41f1671a352a8fb", |
| "msg": [21, 30, 35, 2, 11, 22, 34, 34, 19, 12, 18, 19, 39, 4, 35, 42, 25], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 37, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 542, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", |
| "tweak": "b2d4d05adc482bb5", |
| "msg": [1, 2, 30, 2, 33, 20, 27, 20, 24, 31, 26, 1, 2, 19, 7, 44, 20], |
| "ct": [13, 4, 29, 5, 7, 12, 24, 43, 30, 38, 40, 26, 33, 29, 38, 18, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 543, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", |
| "tweak": "b2d4d05adc482bb5", |
| "msg": [36, 6, 2, 39, 0, 41, 23, 0, 24, 22, 14, 0, 25, 4, 18, 11, 26], |
| "ct": [11, 23, 43, 23, 12, 17, 13, 11, 30, 4, 36, 11, 32, 38, 26, 5, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 544, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", |
| "tweak": "b2d4d05adc482bb5", |
| "msg": [14, 40, 10, 18, 7, 13, 29, 30, 5, 44, 5, 15, 42, 34, 20, 16, 17], |
| "ct": [14, 27, 1, 41, 17, 2, 12, 6, 4, 30, 38, 14, 18, 0, 22, 2, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 545, |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", |
| "tweak": "b2d4d05adc482bb5", |
| "msg": [10, 6, 15, 4, 27, 33, 42, 0, 21, 6, 31, 2, 26, 29, 21, 32, 30], |
| "ct": [5, 21, 1, 15, 31, 29, 4, 43, 10, 11, 6, 16, 7, 19, 3, 8, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 546, |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", |
| "tweak": "b2d4d05adc482bb5", |
| "msg": [13, 3, 33, 22, 13, 8, 24, 17, 17, 42, 35, 23, 3, 26, 20, 9, 33], |
| "ct": [25, 17, 7, 5, 4, 25, 3, 43, 3, 1, 40, 22, 1, 24, 33, 32, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 547, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", |
| "tweak": "1a36d2cb8088c664", |
| "msg": [-1, 40, 5, 41, 11, 37, 22, 37, 10, 36, 38, 6, 8, 26, 38, 10, 21], |
| "ct": [10, 43, 18, 25, 6, 33, 14, 13, 35, 32, 38, 30, 23, 8, 24, 42, 26], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 548, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", |
| "tweak": "1a36d2cb8088c664", |
| "msg": [37, 40, 5, 41, 11, -1, 22, 37, 10, 36, 38, 6, 8, 26, 38, 10, 21], |
| "ct": [7, 28, 21, 28, 38, 19, 35, 0, 26, 33, 5, 26, 20, 25, 10, 33, 5], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 549, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", |
| "tweak": "1a36d2cb8088c664", |
| "msg": [37, 40, 5, 41, 11, 37, 22, 37, 10, 36, 38, 6, 8, 26, 38, 10, -1], |
| "ct": [42, 4, 37, 2, 1, 1, 23, 22, 43, 4, 40, 6, 31, 43, 31, 38, 6], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 550, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "adc12c7c7029b534fe1a0e52f1ebbac1", |
| "tweak": "4ad5e6209c68e566", |
| "msg": [45, 27, 14, 13, 15, 35, 20, 10, 30, 9, 35, 29, 4, 13, 22, 4, 38], |
| "ct": [23, 13, 12, 42, 5, 26, 14, 20, 8, 37, 17, 34, 29, 19, 32, 24, 5], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 551, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "adc12c7c7029b534fe1a0e52f1ebbac1", |
| "tweak": "4ad5e6209c68e566", |
| "msg": [15, 27, 14, 13, 15, 45, 20, 10, 30, 9, 35, 29, 4, 13, 22, 4, 38], |
| "ct": [13, 0, 43, 7, 34, 12, 11, 0, 27, 36, 5, 29, 26, 39, 30, 36, 3], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 552, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "adc12c7c7029b534fe1a0e52f1ebbac1", |
| "tweak": "4ad5e6209c68e566", |
| "msg": [15, 27, 14, 13, 15, 35, 20, 10, 30, 9, 35, 29, 4, 13, 22, 4, 45], |
| "ct": [28, 39, 1, 27, 27, 8, 34, 44, 30, 31, 24, 26, 9, 8, 27, 1, 2], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 18, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 553, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "40dcd7ccae73e5e9bba5523fbab77a3c", |
| "tweak": "60ddd7c8df1437cf", |
| "msg": [28, 21, 7, 22, 29, 17, 18, 18, 29, 41, 16, 31, 23, 40, 4, 24, 22, 29], |
| "ct": [17, 32, 7, 1, 30, 11, 1, 7, 33, 44, 30, 31, 43, 33, 39, 3, 4, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 554, |
| "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": [35, 41, 31, 8, 26, 0, 35, 9, 30, 43, 25, 13, 5, 20, 30, 12, 18, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 555, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [18, 4, 11, 30, 31, 6, 33, 1, 5, 11, 15, 12, 28, 15, 7, 12, 26, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 556, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 2, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "ct": [16, 3, 16, 12, 30, 22, 36, 14, 20, 12, 16, 38, 30, 34, 10, 42, 41, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 557, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 1, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "ct": [37, 38, 39, 10, 4, 13, 15, 17, 26, 27, 0, 5, 28, 27, 19, 26, 7, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 558, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [26, 22, 18, 16, 20, 22, 32, 4, 14, 20, 31, 15, 32, 6, 16, 5, 20, 27], |
| "ct": [13, 0, 1, 44, 12, 9, 15, 23, 42, 41, 24, 26, 26, 33, 31, 29, 4, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 559, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [44, 23, 12, 26, 23, 41, 33, 36, 11, 9, 2, 10, 20, 12, 11, 26, 31, 32], |
| "ct": [26, 31, 10, 21, 37, 6, 39, 16, 7, 30, 3, 25, 26, 8, 13, 42, 16, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 560, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [38, 7, 39, 28, 36, 40, 25, 9, 12, 9, 43, 25, 38, 31, 19, 25, 32, 21], |
| "ct": [0, 10, 14, 44, 14, 29, 12, 28, 12, 36, 32, 12, 9, 24, 24, 8, 43, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 561, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [4, 19, 1, 41, 34, 0, 1, 14, 24, 9, 1, 1, 16, 7, 7, 22, 40, 27], |
| "ct": [27, 27, 1, 22, 38, 25, 28, 14, 6, 41, 34, 17, 8, 18, 35, 26, 39, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 562, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [19, 8, 8, 13, 12, 4, 7, 35, 2, 12, 1, 20, 44, 36, 12, 29, 20, 6], |
| "ct": [1, 23, 43, 20, 22, 7, 27, 29, 37, 11, 6, 34, 4, 37, 24, 2, 10, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 563, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [22, 6, 42, 27, 40, 7, 30, 33, 27, 23, 8, 32, 35, 24, 21, 2, 5, 24], |
| "ct": [30, 3, 36, 35, 24, 33, 14, 22, 11, 22, 15, 24, 41, 20, 32, 32, 14, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 564, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [26, 21, 38, 42, 13, 32, 13, 10, 35, 32, 19, 5, 35, 32, 13, 25, 35, 14], |
| "ct": [14, 33, 23, 21, 14, 8, 23, 7, 2, 25, 4, 29, 32, 22, 44, 1, 34, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 565, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [41, 16, 34, 13, 38, 41, 29, 25, 19, 37, 12, 12, 34, 24, 11, 8, 25, 35], |
| "ct": [26, 39, 29, 39, 16, 6, 42, 30, 36, 26, 24, 18, 6, 35, 27, 43, 44, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 566, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [34, 35, 6, 21, 42, 42, 17, 22, 24, 25, 19, 37, 24, 19, 38, 28, 34, 41], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 567, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [31, 18, 2, 13, 18, 17, 37, 28, 16, 24, 27, 42, 0, 17, 10, 24, 23, 23], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 568, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [18, 28, 28, 33, 15, 12, 26, 10, 16, 13, 41, 38, 43, 25, 23, 24, 21, 0], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 2, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 569, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", |
| "tweak": "308cfb8c6402c842", |
| "msg": [39, 5, 0, 35, 13, 0, 8, 0, 28, 29, 24, 31, 2, 14, 10, 2, 10, 22], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 1, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 570, |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "4b39174b084a7cc4", |
| "msg": [0, 30, 7, 0, 7, 34, 16, 8, 11, 31, 32, 17, 37, 32, 21, 38, 14, 29], |
| "ct": [4, 14, 9, 13, 1, 32, 43, 8, 19, 28, 36, 23, 16, 36, 21, 19, 40, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 571, |
| "comment": "y = 0 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "4b39174b084a7cc4", |
| "msg": [43, 12, 0, 14, 2, 24, 2, 44, 6, 18, 12, 32, 40, 23, 11, 31, 40, 14], |
| "ct": [3, 9, 37, 43, 30, 33, 28, 13, 1, 9, 12, 25, 9, 5, 16, 13, 42, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 572, |
| "comment": "y = 0 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "4b39174b084a7cc4", |
| "msg": [24, 23, 8, 17, 37, 5, 2, 27, 6, 20, 28, 10, 1, 10, 19, 44, 33, 2], |
| "ct": [32, 2, 40, 11, 5, 36, 35, 31, 42, 31, 13, 35, 33, 21, 0, 3, 43, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 573, |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "4b39174b084a7cc4", |
| "msg": [19, 8, 30, 23, 42, 9, 26, 10, 30, 6, 42, 2, 36, 26, 28, 30, 32, 15], |
| "ct": [36, 34, 14, 22, 22, 12, 10, 38, 25, 32, 11, 22, 11, 28, 22, 0, 20, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 574, |
| "comment": "y = 1 and a = 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "7f71f7719113f59e", |
| "msg": [22, 0, 22, 17, 36, 34, 25, 42, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [1, 14, 44, 18, 44, 3, 8, 8, 42, 23, 28, 10, 17, 12, 2, 9, 33, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 575, |
| "comment": "y = 1 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "7f71f7719113f59e", |
| "msg": [34, 18, 37, 7, 31, 3, 26, 19, 33, 0, 0, 0, 0, 0, 0, 0, 0, 1], |
| "ct": [14, 4, 37, 2, 36, 30, 27, 40, 17, 43, 33, 39, 32, 38, 3, 13, 16, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 576, |
| "comment": "y = 1 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "7f71f7719113f59e", |
| "msg": [21, 33, 23, 5, 39, 7, 3, 42, 16, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "ct": [19, 20, 17, 7, 11, 37, 13, 22, 16, 3, 34, 11, 15, 33, 33, 0, 14, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 577, |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "7f71f7719113f59e", |
| "msg": [24, 32, 24, 42, 21, 41, 0, 40, 30, 44, 44, 44, 44, 44, 44, 44, 44, 43], |
| "ct": [20, 40, 7, 4, 40, 16, 42, 39, 20, 29, 24, 23, 21, 41, 28, 31, 5, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 578, |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "7f71f7719113f59e", |
| "msg": [14, 38, 32, 27, 39, 20, 25, 2, 32, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [33, 4, 13, 40, 24, 41, 38, 19, 12, 10, 36, 14, 43, 38, 21, 6, 1, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 579, |
| "comment": "y is maximal and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "4202b9454c349be0", |
| "msg": [26, 23, 42, 16, 5, 44, 37, 8, 4, 30, 5, 15, 12, 20, 23, 37, 6, 14], |
| "ct": [40, 20, 43, 8, 31, 29, 36, 34, 35, 32, 42, 43, 8, 41, 3, 6, 24, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 580, |
| "comment": "y is maximal and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "4202b9454c349be0", |
| "msg": [11, 17, 16, 36, 30, 31, 16, 25, 36, 24, 44, 26, 32, 32, 0, 43, 14, 11], |
| "ct": [18, 23, 16, 43, 4, 12, 31, 12, 26, 18, 15, 14, 22, 36, 0, 29, 28, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 581, |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "4202b9454c349be0", |
| "msg": [28, 2, 15, 40, 19, 18, 32, 35, 5, 32, 29, 36, 23, 17, 16, 27, 11, 43], |
| "ct": [25, 16, 10, 31, 22, 4, 13, 12, 17, 38, 8, 36, 34, 29, 17, 23, 35, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 582, |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "4202b9454c349be0", |
| "msg": [14, 15, 26, 8, 43, 42, 30, 12, 13, 29, 44, 24, 32, 6, 4, 11, 38, 12], |
| "ct": [42, 20, 35, 0, 32, 14, 42, 7, 31, 22, 24, 1, 38, 15, 0, 1, 35, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 583, |
| "comment": "y is maximal and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "4202b9454c349be0", |
| "msg": [41, 17, 6, 7, 35, 32, 30, 4, 7, 33, 12, 35, 11, 11, 38, 32, 8, 44], |
| "ct": [19, 15, 6, 13, 31, 17, 37, 17, 9, 43, 11, 24, 1, 35, 19, 32, 35, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 584, |
| "comment": "y is maximal and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "4202b9454c349be0", |
| "msg": [41, 38, 21, 41, 20, 2, 36, 15, 44, 20, 34, 31, 7, 39, 39, 16, 24, 43], |
| "ct": [36, 24, 31, 7, 44, 21, 6, 12, 32, 36, 24, 25, 40, 44, 11, 16, 34, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 585, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "5296e0f4f6070c44", |
| "msg": [36, 10, 24, 36, 26, 24, 22, 18, 22, 43, 18, 23, 36, 5, 27, 36, 38, 6], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 23, 10, 44, 15, 1, 36, 5, 3, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 586, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "5296e0f4f6070c44", |
| "msg": [3, 22, 32, 26, 29, 27, 40, 12, 13, 37, 38, 9, 1, 21, 1, 42, 42, 14], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 43, 32, 3, 26, 21, 41, 25, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 587, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "5296e0f4f6070c44", |
| "msg": [26, 0, 35, 24, 2, 21, 31, 16, 11, 31, 6, 3, 44, 4, 17, 2, 9, 42], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 1, 1, 15, 18, 37, 15, 36, 42, 36, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 588, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", |
| "tweak": "5296e0f4f6070c44", |
| "msg": [7, 1, 27, 8, 20, 5, 36, 31, 9, 37, 36, 25, 10, 4, 40, 35, 3, 19], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 43, 40, 8, 19, 31, 20, 1, 18, 32, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 589, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", |
| "tweak": "5e37cf940f79d378", |
| "msg": [-1, 27, 2, 43, 16, 1, 10, 11, 28, 22, 33, 0, 28, 35, 35, 27, 44, 26], |
| "ct": [15, 16, 1, 18, 6, 23, 8, 15, 21, 41, 9, 21, 38, 30, 9, 28, 43, 42], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 590, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", |
| "tweak": "5e37cf940f79d378", |
| "msg": [30, 27, 2, 43, 16, 1, -1, 11, 28, 22, 33, 0, 28, 35, 35, 27, 44, 26], |
| "ct": [34, 24, 0, 19, 0, 21, 5, 1, 2, 41, 37, 29, 34, 18, 2, 35, 24, 40], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 591, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", |
| "tweak": "5e37cf940f79d378", |
| "msg": [30, 27, 2, 43, 16, 1, 10, 11, 28, 22, 33, 0, 28, 35, 35, 27, 44, -1], |
| "ct": [15, 30, 25, 13, 12, 43, 0, 4, 26, 37, 21, 8, 15, 4, 26, 16, 13, 40], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 592, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "511ae5a0d88e7bea92f350e586408d9b", |
| "tweak": "736e578a7f3a7d3b", |
| "msg": [45, 0, 35, 14, 12, 28, 23, 27, 43, 0, 26, 12, 2, 17, 10, 31, 32, 2], |
| "ct": [33, 18, 1, 9, 22, 35, 17, 40, 32, 8, 23, 11, 8, 11, 34, 28, 13, 5], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 593, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "511ae5a0d88e7bea92f350e586408d9b", |
| "tweak": "736e578a7f3a7d3b", |
| "msg": [33, 0, 35, 14, 12, 28, 45, 27, 43, 0, 26, 12, 2, 17, 10, 31, 32, 2], |
| "ct": [39, 34, 31, 6, 16, 3, 20, 25, 33, 33, 36, 17, 31, 34, 14, 6, 0, 10], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 594, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "511ae5a0d88e7bea92f350e586408d9b", |
| "tweak": "736e578a7f3a7d3b", |
| "msg": [33, 0, 35, 14, 12, 28, 23, 27, 43, 0, 26, 12, 2, 17, 10, 31, 32, 45], |
| "ct": [11, 38, 13, 27, 15, 5, 43, 7, 6, 7, 11, 17, 9, 2, 14, 22, 16, 15], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 19, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 595, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "3591cc97af4a5d1492305f87269ee691", |
| "tweak": "13786144a50ef10a", |
| "msg": [25, 9, 14, 31, 24, 41, 18, 36, 29, 13, 30, 36, 32, 31, 33, 16, 2, 10, 0], |
| "ct": [16, 43, 33, 24, 31, 27, 21, 2, 31, 22, 43, 17, 44, 2, 17, 36, 37, 26, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 596, |
| "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": [19, 26, 21, 24, 14, 9, 35, 43, 11, 23, 11, 34, 40, 14, 12, 13, 14, 29, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 597, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [0, 26, 42, 29, 8, 18, 26, 37, 20, 3, 19, 6, 16, 31, 32, 1, 1, 37, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 598, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 2, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "ct": [7, 15, 13, 40, 33, 30, 24, 5, 21, 33, 21, 33, 2, 25, 6, 40, 35, 17, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 599, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 1, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "ct": [18, 23, 27, 20, 5, 18, 12, 13, 37, 0, 29, 4, 31, 24, 16, 10, 39, 35, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 600, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [9, 30, 31, 29, 4, 43, 32, 25, 18, 15, 17, 3, 17, 1, 16, 29, 39, 14, 0], |
| "ct": [21, 8, 11, 13, 2, 39, 25, 36, 33, 44, 3, 8, 25, 25, 44, 35, 37, 17, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 601, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [17, 4, 0, 36, 28, 7, 44, 28, 43, 23, 13, 0, 40, 35, 42, 18, 13, 16, 32], |
| "ct": [37, 4, 16, 44, 3, 35, 15, 32, 32, 34, 19, 1, 37, 27, 35, 37, 2, 28, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 602, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [0, 30, 4, 5, 31, 18, 15, 44, 19, 43, 24, 4, 22, 21, 39, 16, 15, 20, 36], |
| "ct": [3, 12, 33, 20, 1, 22, 38, 13, 18, 40, 39, 33, 18, 36, 38, 31, 39, 13, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 603, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [18, 30, 12, 17, 5, 37, 20, 20, 32, 44, 22, 27, 10, 8, 21, 3, 20, 10, 19], |
| "ct": [20, 14, 40, 26, 26, 37, 9, 40, 14, 12, 29, 33, 38, 3, 16, 11, 2, 20, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 604, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [20, 27, 41, 18, 40, 16, 1, 0, 8, 10, 4, 38, 19, 0, 17, 17, 16, 0, 19], |
| "ct": [27, 21, 27, 25, 41, 29, 11, 23, 16, 37, 40, 35, 6, 26, 30, 8, 30, 2, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 605, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [43, 32, 1, 39, 16, 34, 41, 30, 10, 37, 19, 18, 32, 27, 11, 34, 0, 31, 24], |
| "ct": [25, 34, 35, 12, 25, 26, 22, 41, 37, 43, 23, 28, 21, 35, 15, 9, 9, 42, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 606, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [14, 7, 43, 9, 23, 3, 35, 20, 40, 7, 38, 5, 34, 29, 43, 29, 3, 14, 35], |
| "ct": [37, 5, 35, 33, 2, 5, 14, 35, 15, 10, 29, 36, 12, 43, 20, 36, 42, 34, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 607, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [32, 18, 5, 31, 23, 22, 18, 25, 15, 15, 14, 37, 30, 11, 10, 44, 39, 20, 23], |
| "ct": [26, 27, 9, 22, 6, 37, 3, 31, 14, 36, 1, 31, 35, 42, 40, 32, 14, 42, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 608, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [28, 32, 37, 10, 11, 8, 5, 28, 29, 43, 19, 8, 35, 32, 28, 27, 26, 29, 28], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 609, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [13, 38, 33, 25, 7, 17, 38, 13, 35, 15, 22, 23, 40, 14, 10, 8, 21, 40, 20], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 610, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [14, 32, 38, 6, 11, 1, 25, 24, 11, 43, 4, 3, 37, 40, 19, 32, 22, 17, 9], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 2, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 611, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", |
| "tweak": "3d906a02e77bcc5c", |
| "msg": [21, 24, 26, 15, 13, 22, 38, 41, 21, 30, 16, 13, 20, 8, 6, 28, 16, 22, 25], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 1, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 612, |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "e6172636cafffd1b", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 9, 8, 20, 25, 27, 37, 2, 27, 39], |
| "ct": [7, 31, 9, 44, 6, 34, 43, 35, 4, 25, 6, 5, 1, 38, 20, 28, 25, 44, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 613, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "e6172636cafffd1b", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 36, 9, 8, 20, 25, 27, 37, 2, 27, 39], |
| "ct": [5, 24, 40, 39, 36, 40, 8, 25, 34, 38, 1, 2, 37, 10, 24, 20, 23, 24, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 614, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "e6172636cafffd1b", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 2, 36, 9, 8, 20, 25, 27, 37, 2, 27, 39], |
| "ct": [14, 15, 7, 42, 11, 22, 26, 3, 25, 21, 26, 43, 7, 20, 9, 37, 37, 5, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 615, |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "e6172636cafffd1b", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 36, 9, 8, 20, 25, 27, 37, 2, 27, 39], |
| "ct": [23, 16, 17, 0, 24, 5, 31, 27, 23, 22, 19, 38, 22, 22, 30, 22, 36, 27, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 616, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "90be37fb3a945f52", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 16, 24, 30, 4, 4, 12, 8, 1, 36], |
| "ct": [40, 3, 43, 21, 6, 2, 36, 32, 29, 30, 34, 6, 20, 26, 5, 25, 37, 42, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 617, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "90be37fb3a945f52", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 16, 16, 24, 30, 4, 4, 12, 8, 1, 36], |
| "ct": [39, 31, 38, 18, 19, 7, 16, 4, 15, 11, 2, 8, 3, 0, 31, 33, 40, 27, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 618, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "90be37fb3a945f52", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 2, 16, 16, 24, 30, 4, 4, 12, 8, 1, 36], |
| "ct": [1, 14, 38, 35, 29, 38, 30, 42, 12, 7, 13, 31, 4, 43, 6, 7, 31, 37, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 619, |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "90be37fb3a945f52", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 43, 16, 16, 24, 30, 4, 4, 12, 8, 1, 36], |
| "ct": [14, 3, 12, 30, 6, 0, 42, 30, 29, 11, 3, 2, 11, 30, 9, 20, 25, 36, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 620, |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "90be37fb3a945f52", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 16, 16, 24, 30, 4, 4, 12, 8, 1, 36], |
| "ct": [39, 28, 39, 44, 2, 14, 41, 25, 0, 44, 44, 14, 34, 40, 4, 36, 17, 1, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 621, |
| "comment": "y is maximal and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "201238a2323dc218", |
| "msg": [3, 8, 30, 19, 15, 12, 28, 8, 5, 24, 16, 18, 34, 10, 29, 15, 19, 36, 18], |
| "ct": [20, 28, 16, 23, 17, 7, 14, 35, 7, 42, 28, 23, 5, 41, 37, 0, 26, 26, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 622, |
| "comment": "y is maximal and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "201238a2323dc218", |
| "msg": [6, 22, 12, 12, 0, 32, 18, 44, 23, 40, 0, 25, 31, 3, 2, 20, 12, 23, 8], |
| "ct": [43, 42, 12, 25, 20, 4, 10, 22, 36, 34, 13, 33, 44, 34, 42, 7, 40, 24, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 623, |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "201238a2323dc218", |
| "msg": [10, 8, 42, 39, 39, 28, 43, 0, 12, 28, 1, 34, 21, 37, 36, 19, 16, 34, 18], |
| "ct": [44, 17, 38, 15, 11, 14, 34, 28, 30, 20, 10, 6, 2, 31, 4, 12, 38, 5, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 624, |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "201238a2323dc218", |
| "msg": [26, 37, 17, 4, 15, 36, 13, 10, 33, 23, 27, 15, 12, 30, 35, 27, 40, 20, 15], |
| "ct": [41, 19, 27, 24, 3, 20, 23, 4, 33, 40, 6, 35, 7, 14, 20, 19, 41, 17, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 625, |
| "comment": "y is maximal and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "201238a2323dc218", |
| "msg": [39, 4, 42, 2, 30, 41, 29, 39, 20, 39, 43, 28, 24, 0, 0, 19, 1, 5, 35], |
| "ct": [43, 13, 32, 20, 21, 20, 32, 38, 42, 32, 40, 39, 11, 33, 44, 31, 12, 19, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 626, |
| "comment": "y is maximal and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "201238a2323dc218", |
| "msg": [35, 38, 5, 12, 10, 13, 17, 24, 11, 12, 20, 10, 27, 40, 6, 26, 3, 32, 14], |
| "ct": [33, 40, 4, 9, 0, 21, 44, 31, 6, 14, 42, 21, 31, 34, 42, 15, 34, 18, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 627, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "980735b4b2c9e4c2", |
| "msg": [7, 6, 8, 10, 17, 39, 15, 0, 42, 32, 43, 15, 42, 32, 21, 24, 19, 32, 8], |
| "ct": [25, 14, 20, 21, 2, 34, 29, 1, 8, 40, 44, 32, 31, 14, 14, 34, 26, 41, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 628, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "980735b4b2c9e4c2", |
| "msg": [5, 41, 17, 22, 43, 20, 29, 0, 31, 18, 42, 25, 12, 13, 14, 10, 6, 34, 5], |
| "ct": [33, 11, 22, 9, 5, 19, 4, 14, 40, 28, 37, 4, 22, 39, 6, 33, 17, 14, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 629, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "980735b4b2c9e4c2", |
| "msg": [16, 37, 5, 8, 10, 10, 26, 34, 19, 24, 36, 15, 23, 37, 23, 23, 2, 5, 38], |
| "ct": [31, 30, 8, 1, 37, 22, 24, 11, 18, 32, 12, 26, 0, 43, 11, 32, 33, 35, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 630, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "522debdfba3b6828bb97848da895884a", |
| "tweak": "980735b4b2c9e4c2", |
| "msg": [35, 9, 17, 32, 19, 38, 7, 15, 9, 28, 39, 31, 26, 0, 0, 25, 8, 36, 34], |
| "ct": [7, 8, 23, 39, 42, 39, 23, 37, 21, 13, 18, 30, 25, 13, 0, 36, 36, 10, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 631, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1cf89329cac719e6c7544a9303e78801", |
| "tweak": "169faf154b10cac4", |
| "msg": [-1, 16, 7, 15, 11, 4, 26, 7, 9, 6, 37, 15, 10, 21, 9, 27, 16, 40, 32], |
| "ct": [34, 4, 12, 44, 22, 30, 25, 11, 34, 18, 36, 22, 11, 19, 5, 36, 31, 3, 23], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 632, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1cf89329cac719e6c7544a9303e78801", |
| "tweak": "169faf154b10cac4", |
| "msg": [38, 16, 7, 15, 11, 4, -1, 7, 9, 6, 37, 15, 10, 21, 9, 27, 16, 40, 32], |
| "ct": [38, 4, 13, 36, 23, 22, 4, 3, 3, 42, 12, 18, 20, 7, 5, 29, 37, 5, 2], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 633, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1cf89329cac719e6c7544a9303e78801", |
| "tweak": "169faf154b10cac4", |
| "msg": [38, 16, 7, 15, 11, 4, 26, 7, 9, 6, 37, 15, 10, 21, 9, 27, 16, 40, -1], |
| "ct": [28, 30, 12, 16, 15, 0, 44, 5, 20, 40, 23, 9, 5, 0, 38, 6, 29, 44, 12], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 634, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c93c6acd30de07623899bc847e179373", |
| "tweak": "29b7928ecb4ee5b2", |
| "msg": [45, 23, 39, 28, 11, 32, 9, 31, 12, 39, 9, 23, 14, 33, 4, 14, 3, 27, 12], |
| "ct": [41, 14, 40, 12, 22, 17, 11, 32, 11, 10, 19, 21, 38, 26, 29, 2, 38, 32, 14], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 635, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c93c6acd30de07623899bc847e179373", |
| "tweak": "29b7928ecb4ee5b2", |
| "msg": [40, 23, 39, 28, 11, 32, 45, 31, 12, 39, 9, 23, 14, 33, 4, 14, 3, 27, 12], |
| "ct": [9, 1, 15, 0, 24, 14, 32, 13, 24, 26, 15, 43, 11, 25, 7, 28, 7, 15, 10], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 636, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c93c6acd30de07623899bc847e179373", |
| "tweak": "29b7928ecb4ee5b2", |
| "msg": [40, 23, 39, 28, 11, 32, 9, 31, 12, 39, 9, 23, 14, 33, 4, 14, 3, 27, 45], |
| "ct": [40, 11, 32, 6, 8, 15, 39, 39, 12, 37, 30, 0, 30, 27, 39, 27, 39, 3, 14], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 20, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 637, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "ccdf8f792a48fd841d49e060315b0c3d", |
| "tweak": "508c6ff22207dc5b", |
| "msg": [15, 10, 22, 23, 9, 6, 25, 6, 7, 4, 2, 25, 44, 33, 21, 20, 2, 5, 33, 23], |
| "ct": [30, 36, 13, 36, 12, 1, 21, 13, 43, 25, 16, 3, 44, 16, 1, 17, 43, 13, 8, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 638, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [15, 24, 18, 10, 13, 39, 33, 41, 19, 14, 29, 13, 13, 25, 12, 38, 19, 21, 40, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 639, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [15, 39, 31, 0, 27, 12, 13, 1, 33, 19, 33, 29, 10, 0, 1, 22, 34, 18, 38, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 640, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "ct": [28, 21, 3, 22, 29, 41, 31, 8, 5, 33, 12, 41, 44, 43, 31, 14, 22, 6, 18, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 641, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "ct": [20, 22, 5, 40, 21, 31, 6, 28, 8, 20, 7, 23, 11, 18, 31, 7, 23, 14, 36, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 642, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [7, 13, 38, 0, 44, 9, 6, 20, 9, 37, 8, 24, 37, 28, 3, 8, 26, 7, 29, 1], |
| "ct": [4, 0, 29, 19, 36, 34, 6, 13, 31, 17, 37, 37, 8, 31, 12, 0, 34, 11, 26, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 643, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [30, 10, 44, 14, 0, 5, 0, 5, 37, 14, 20, 42, 38, 2, 29, 38, 40, 40, 6, 28], |
| "ct": [33, 32, 35, 6, 16, 5, 34, 19, 19, 2, 44, 40, 34, 39, 10, 29, 12, 14, 24, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 644, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [31, 4, 24, 27, 37, 28, 4, 7, 44, 18, 41, 17, 9, 39, 39, 17, 24, 24, 6, 19], |
| "ct": [35, 11, 32, 38, 20, 23, 43, 4, 24, 27, 2, 17, 11, 28, 18, 18, 25, 0, 38, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 645, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [2, 19, 34, 6, 44, 8, 26, 11, 32, 40, 42, 9, 11, 21, 31, 42, 12, 35, 41, 42], |
| "ct": [39, 27, 31, 44, 19, 2, 3, 9, 18, 27, 29, 41, 34, 21, 16, 32, 18, 21, 8, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 646, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [18, 13, 28, 41, 8, 19, 39, 6, 29, 38, 42, 8, 18, 38, 31, 13, 41, 37, 6, 12], |
| "ct": [10, 2, 34, 28, 8, 36, 41, 28, 32, 31, 7, 32, 12, 29, 35, 34, 21, 30, 34, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 647, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [10, 25, 34, 20, 20, 14, 11, 29, 10, 13, 31, 36, 12, 25, 26, 39, 8, 40, 6, 41], |
| "ct": [13, 6, 7, 27, 24, 29, 17, 27, 21, 22, 40, 39, 43, 16, 2, 43, 5, 14, 44, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 648, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [12, 14, 39, 26, 44, 27, 20, 9, 2, 26, 7, 43, 27, 14, 41, 37, 31, 34, 32, 40], |
| "ct": [33, 16, 3, 21, 26, 9, 5, 16, 31, 26, 29, 12, 19, 39, 13, 6, 41, 13, 34, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 649, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [1, 8, 29, 29, 24, 15, 37, 20, 44, 32, 25, 39, 9, 11, 12, 34, 20, 30, 15, 11], |
| "ct": [21, 29, 15, 40, 3, 16, 27, 31, 38, 42, 2, 3, 2, 33, 2, 2, 2, 12, 3, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 650, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [3, 10, 38, 26, 12, 18, 8, 41, 7, 41, 9, 6, 0, 39, 32, 14, 29, 2, 39, 13], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 651, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [5, 16, 43, 39, 23, 19, 20, 16, 24, 21, 26, 11, 21, 0, 20, 39, 29, 40, 30, 44], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 652, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [27, 1, 14, 30, 35, 5, 4, 30, 7, 41, 36, 33, 21, 27, 25, 14, 37, 12, 27, 2], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 653, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", |
| "tweak": "f6fa77d46df38c3b", |
| "msg": [27, 25, 8, 0, 20, 19, 24, 12, 1, 23, 24, 39, 9, 44, 34, 7, 10, 16, 37, 44], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 654, |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "6a02f1603c8aca6f", |
| "msg": [12, 1, 5, 41, 38, 3, 25, 7, 9, 14, 19, 11, 7, 11, 37, 44, 28, 19, 35, 23], |
| "ct": [24, 30, 31, 30, 6, 20, 36, 11, 11, 38, 26, 22, 12, 16, 6, 23, 24, 19, 6, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 655, |
| "comment": "y = 0 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "6a02f1603c8aca6f", |
| "msg": [13, 5, 31, 9, 26, 39, 10, 21, 1, 23, 25, 36, 7, 18, 44, 30, 13, 4, 21, 30], |
| "ct": [10, 26, 34, 41, 22, 20, 10, 13, 19, 37, 6, 3, 17, 40, 35, 25, 2, 19, 6, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 656, |
| "comment": "y = 0 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "6a02f1603c8aca6f", |
| "msg": [22, 29, 18, 7, 18, 43, 33, 14, 7, 16, 18, 13, 31, 33, 9, 37, 43, 27, 1, 37], |
| "ct": [41, 19, 17, 4, 43, 23, 16, 0, 34, 44, 35, 1, 40, 31, 38, 4, 12, 29, 35, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 657, |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "6a02f1603c8aca6f", |
| "msg": [3, 22, 0, 21, 38, 21, 0, 42, 12, 23, 24, 19, 27, 30, 9, 18, 17, 23, 10, 34], |
| "ct": [23, 11, 22, 34, 7, 31, 27, 18, 2, 10, 31, 33, 11, 3, 0, 32, 35, 27, 18, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 658, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "f61da227f909139f", |
| "msg": [27, 39, 3, 39, 20, 32, 11, 35, 20, 29, 36, 30, 25, 29, 40, 1, 8, 17, 15, 19], |
| "ct": [8, 21, 9, 24, 40, 44, 17, 38, 35, 15, 7, 12, 42, 37, 9, 15, 25, 8, 37, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 659, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "f61da227f909139f", |
| "msg": [30, 36, 20, 9, 31, 31, 30, 10, 2, 2, 5, 25, 7, 35, 1, 35, 27, 30, 19, 27], |
| "ct": [35, 35, 3, 34, 26, 20, 10, 11, 34, 21, 23, 35, 23, 26, 27, 11, 26, 16, 41, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 660, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "f61da227f909139f", |
| "msg": [24, 43, 39, 28, 26, 14, 15, 34, 0, 28, 20, 4, 16, 1, 40, 5, 4, 20, 1, 17], |
| "ct": [2, 43, 2, 31, 37, 10, 22, 31, 26, 40, 28, 19, 34, 32, 40, 37, 11, 9, 14, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 661, |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "f61da227f909139f", |
| "msg": [38, 26, 39, 17, 28, 31, 41, 39, 29, 2, 7, 25, 14, 20, 40, 14, 3, 27, 10, 17], |
| "ct": [9, 19, 16, 32, 2, 23, 30, 40, 24, 29, 21, 15, 4, 22, 43, 22, 32, 30, 8, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 662, |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "f61da227f909139f", |
| "msg": [17, 24, 18, 2, 13, 32, 14, 18, 17, 28, 3, 28, 21, 28, 31, 1, 22, 39, 0, 35], |
| "ct": [1, 14, 24, 30, 19, 30, 26, 11, 11, 4, 13, 15, 32, 15, 11, 0, 9, 28, 8, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 663, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "3f950929d9c4a7ff", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 38, 35, 24, 40, 38, 0, 15, 5, 1], |
| "ct": [35, 31, 6, 5, 7, 17, 8, 29, 32, 2, 0, 1, 40, 38, 23, 29, 8, 7, 18, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 664, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "3f950929d9c4a7ff", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 11, 38, 35, 24, 40, 38, 0, 15, 5, 1], |
| "ct": [15, 15, 44, 44, 9, 0, 28, 7, 41, 37, 33, 20, 6, 8, 39, 13, 13, 41, 18, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 665, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "3f950929d9c4a7ff", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 11, 38, 35, 24, 40, 38, 0, 15, 5, 1], |
| "ct": [9, 26, 11, 28, 22, 10, 0, 7, 29, 20, 19, 5, 39, 33, 31, 4, 31, 44, 0, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 666, |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "3f950929d9c4a7ff", |
| "msg": [40, 13, 20, 0, 5, 18, 11, 0, 36, 44, 11, 38, 35, 24, 40, 38, 0, 15, 5, 1], |
| "ct": [32, 34, 9, 33, 41, 24, 14, 33, 29, 39, 16, 0, 38, 6, 23, 16, 13, 33, 5, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 667, |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "3f950929d9c4a7ff", |
| "msg": [40, 13, 20, 0, 5, 18, 11, 0, 37, 0, 11, 38, 35, 24, 40, 38, 0, 15, 5, 1], |
| "ct": [31, 18, 7, 1, 31, 42, 44, 7, 29, 13, 33, 4, 40, 43, 39, 32, 11, 4, 35, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 668, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "3f950929d9c4a7ff", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 11, 38, 35, 24, 40, 38, 0, 15, 5, 1], |
| "ct": [38, 26, 17, 15, 28, 36, 13, 44, 7, 34, 40, 16, 18, 4, 34, 23, 22, 35, 29, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 669, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "e3c19245b5314af4", |
| "msg": [22, 11, 11, 2, 13, 36, 4, 15, 40, 2, 3, 5, 35, 18, 7, 38, 4, 42, 18, 10], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 24, 14, 37, 9, 20, 30, 7, 38, 17, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 670, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "e3c19245b5314af4", |
| "msg": [30, 15, 19, 39, 26, 2, 21, 17, 17, 17, 33, 11, 7, 29, 0, 14, 44, 4, 12, 23], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 35, 2, 4, 21, 6, 25, 27, 4, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 671, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "e3c19245b5314af4", |
| "msg": [5, 23, 17, 29, 6, 6, 37, 5, 4, 35, 39, 28, 37, 30, 26, 28, 38, 31, 26, 2], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 16, 2, 10, 20, 19, 41, 41, 1, 13, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 672, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", |
| "tweak": "e3c19245b5314af4", |
| "msg": [23, 6, 17, 28, 33, 12, 38, 8, 30, 22, 35, 41, 16, 18, 13, 42, 13, 24, 18, 39], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 43, 9, 1, 20, 37, 20, 18, 24, 29, 43, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 673, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", |
| "tweak": "76f494b34dbcd3bc", |
| "msg": [-1, 16, 16, 30, 16, 24, 32, 1, 32, 31, 29, 2, 17, 34, 31, 20, 19, 43, 44, 22], |
| "ct": [34, 42, 29, 18, 1, 10, 3, 2, 41, 30, 41, 32, 3, 8, 20, 24, 24, 28, 40, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 674, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", |
| "tweak": "76f494b34dbcd3bc", |
| "msg": [13, 16, 16, 30, 16, 24, -1, 1, 32, 31, 29, 2, 17, 34, 31, 20, 19, 43, 44, 22], |
| "ct": [3, 2, 28, 40, 20, 0, 2, 6, 16, 23, 27, 40, 36, 3, 36, 20, 14, 42, 4, 39], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 675, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", |
| "tweak": "76f494b34dbcd3bc", |
| "msg": [13, 16, 16, 30, 16, 24, 32, 1, 32, 31, 29, 2, 17, 34, 31, 20, 19, 43, 44, -1], |
| "ct": [6, 36, 44, 21, 43, 29, 13, 17, 28, 35, 28, 30, 8, 17, 29, 40, 15, 23, 28, 8], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 676, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c9d8c668d2aa71277fca9f0f74c6247f", |
| "tweak": "c705c93d16454fea", |
| "msg": [45, 16, 18, 2, 26, 11, 30, 0, 28, 8, 3, 35, 27, 20, 37, 24, 5, 38, 2, 39], |
| "ct": [23, 4, 12, 9, 3, 32, 33, 9, 9, 39, 17, 14, 16, 31, 41, 16, 14, 37, 35, 36], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 677, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c9d8c668d2aa71277fca9f0f74c6247f", |
| "tweak": "c705c93d16454fea", |
| "msg": [31, 16, 18, 2, 26, 11, 45, 0, 28, 8, 3, 35, 27, 20, 37, 24, 5, 38, 2, 39], |
| "ct": [39, 9, 43, 21, 29, 1, 15, 25, 22, 16, 21, 30, 2, 34, 34, 16, 24, 38, 17, 16], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 678, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c9d8c668d2aa71277fca9f0f74c6247f", |
| "tweak": "c705c93d16454fea", |
| "msg": [31, 16, 18, 2, 26, 11, 30, 0, 28, 8, 3, 35, 27, 20, 37, 24, 5, 38, 2, 45], |
| "ct": [36, 44, 6, 5, 44, 19, 12, 21, 42, 32, 10, 31, 28, 16, 20, 17, 33, 23, 29, 24], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 21, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 679, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "c0e4c4a9b86c17e4efe9a12733e7aff4", |
| "tweak": "f71b48c8172125d4", |
| "msg": [30, 44, 2, 5, 26, 5, 34, 14, 29, 25, 0, 40, 19, 34, 1, 9, 23, 31, 22, 26, 12], |
| "ct": [43, 22, 7, 40, 37, 9, 18, 13, 4, 5, 7, 26, 20, 25, 3, 14, 38, 4, 40, 12, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 680, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [28, 7, 27, 5, 23, 2, 16, 28, 0, 6, 2, 23, 24, 44, 5, 21, 14, 39, 13, 31, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 681, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [13, 41, 1, 2, 31, 17, 39, 30, 8, 10, 25, 35, 19, 21, 1, 26, 30, 8, 34, 29, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 682, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "ct": [1, 11, 2, 22, 27, 3, 9, 36, 10, 1, 4, 34, 17, 7, 8, 6, 20, 22, 15, 24, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 683, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "ct": [10, 8, 6, 17, 8, 11, 1, 24, 22, 14, 33, 44, 36, 11, 9, 22, 7, 5, 41, 7, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 684, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [41, 30, 5, 3, 19, 23, 25, 18, 11, 10, 6, 40, 19, 13, 19, 37, 16, 25, 13, 23, 8], |
| "ct": [26, 39, 43, 0, 14, 6, 20, 43, 19, 17, 44, 17, 34, 23, 14, 12, 40, 25, 32, 8, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 685, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [12, 28, 21, 25, 25, 14, 4, 6, 40, 42, 18, 19, 27, 37, 38, 27, 4, 40, 18, 16, 3], |
| "ct": [3, 34, 6, 19, 35, 28, 5, 12, 18, 7, 7, 42, 42, 5, 8, 22, 35, 44, 33, 0, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 686, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [20, 14, 7, 34, 30, 5, 14, 41, 25, 17, 43, 12, 35, 32, 29, 29, 36, 14, 11, 2, 29], |
| "ct": [19, 21, 21, 25, 39, 17, 3, 17, 15, 34, 32, 19, 29, 43, 23, 8, 6, 18, 41, 6, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 687, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [31, 11, 8, 16, 42, 13, 19, 27, 18, 10, 25, 29, 41, 41, 35, 11, 16, 36, 14, 15, 37], |
| "ct": [12, 10, 9, 13, 30, 41, 18, 32, 37, 23, 26, 11, 40, 19, 4, 22, 16, 32, 34, 10, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 688, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [29, 7, 25, 17, 5, 14, 0, 1, 30, 22, 30, 42, 28, 15, 13, 3, 37, 20, 39, 4, 13], |
| "ct": [44, 15, 32, 18, 15, 43, 36, 44, 25, 20, 2, 36, 20, 28, 1, 1, 3, 32, 12, 11, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 689, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [34, 14, 22, 28, 15, 30, 31, 15, 39, 4, 23, 8, 29, 33, 0, 36, 41, 41, 33, 42, 36], |
| "ct": [22, 8, 34, 12, 36, 22, 27, 17, 11, 18, 35, 36, 22, 41, 16, 44, 36, 17, 23, 23, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 690, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [15, 38, 30, 15, 31, 14, 2, 31, 4, 41, 0, 22, 40, 15, 31, 12, 33, 0, 37, 40, 7], |
| "ct": [19, 27, 17, 8, 5, 22, 10, 21, 2, 32, 34, 2, 28, 36, 25, 5, 41, 0, 7, 11, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 691, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [42, 32, 41, 11, 39, 28, 37, 9, 42, 25, 31, 13, 23, 25, 42, 26, 38, 37, 41, 10, 21], |
| "ct": [10, 27, 44, 35, 12, 2, 27, 10, 28, 23, 8, 20, 1, 43, 11, 37, 41, 11, 1, 2, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 692, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [38, 16, 16, 19, 13, 2, 28, 2, 3, 22, 43, 36, 31, 20, 2, 42, 39, 43, 21, 14, 18], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 693, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [35, 17, 44, 18, 35, 41, 32, 41, 18, 32, 33, 31, 2, 42, 23, 35, 4, 9, 25, 16, 38], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 694, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [44, 4, 23, 10, 5, 24, 6, 28, 21, 13, 3, 12, 1, 23, 37, 0, 2, 7, 1, 12, 38], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 695, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "25d4448872edf13aa8be04f271b3568c", |
| "tweak": "e243d35dba4fcc44", |
| "msg": [42, 17, 42, 34, 37, 8, 30, 33, 33, 9, 8, 22, 6, 22, 6, 42, 35, 42, 34, 16, 24], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 696, |
| "comment": "y = 1 and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "456df8086f52ef", |
| "msg": [24, 26, 33, 36, 16, 4, 31, 38, 3, 0, 34, 14, 30, 3, 9, 19, 12, 32, 0, 24, 6], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 42, 14, 44, 42, 29, 42, 42, 17, 7, 29, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 697, |
| "comment": "y = 1 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "456df8086f52ef", |
| "msg": [14, 15, 34, 12, 14, 5, 41, 2, 5, 0, 7, 25, 15, 44, 35, 16, 8, 15, 2, 22, 9], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 44, 15, 37, 11, 18, 32, 26, 7, 9, 9, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 698, |
| "comment": "y = 1 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "456df8086f52ef", |
| "msg": [22, 22, 39, 28, 24, 6, 35, 38, 23, 26, 10, 35, 8, 30, 16, 43, 24, 15, 9, 13, 44], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 20, 36, 35, 12, 23, 24, 27, 21, 3, 36, 33, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 699, |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "456df8086f52ef", |
| "msg": [37, 33, 27, 42, 27, 6, 22, 0, 6, 14, 30, 35, 39, 24, 19, 33, 43, 37, 8, 20, 27], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 6, 36, 42, 12, 26, 13, 14, 25, 25, 39, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 700, |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "456df8086f52ef", |
| "msg": [2, 44, 8, 4, 39, 25, 20, 35, 4, 7, 36, 18, 4, 30, 5, 29, 30, 6, 8, 34, 37], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 37, 10, 19, 16, 22, 3, 43, 2, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 701, |
| "comment": "y is maximal and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "6b56f15c5df909", |
| "msg": [41, 33, 17, 14, 33, 16, 38, 29, 13, 4, 21, 5, 36, 22, 10, 31, 29, 6, 29, 33, 38], |
| "ct": [4, 31, 24, 44, 39, 26, 33, 44, 8, 0, 31, 2, 1, 11, 18, 26, 25, 2, 10, 30, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 702, |
| "comment": "y is maximal and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "6b56f15c5df909", |
| "msg": [16, 32, 4, 43, 35, 26, 20, 41, 15, 29, 33, 41, 37, 20, 13, 3, 25, 16, 5, 33, 40], |
| "ct": [4, 31, 24, 44, 39, 26, 33, 44, 8, 1, 42, 9, 2, 28, 4, 11, 19, 25, 10, 23, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 703, |
| "comment": "y is maximal and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "6b56f15c5df909", |
| "msg": [40, 40, 3, 28, 5, 36, 7, 27, 32, 26, 34, 31, 2, 25, 5, 4, 37, 10, 23, 25, 35], |
| "ct": [28, 22, 39, 20, 4, 8, 1, 0, 40, 19, 29, 25, 21, 2, 28, 43, 3, 30, 42, 32, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 704, |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "6b56f15c5df909", |
| "msg": [32, 32, 27, 30, 20, 3, 10, 4, 14, 26, 43, 20, 10, 8, 27, 28, 43, 40, 28, 7, 4], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 26, 36, 15, 43, 14, 44, 17, 34, 35, 4, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 705, |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "6b56f15c5df909", |
| "msg": [33, 37, 3, 43, 22, 4, 20, 17, 28, 30, 4, 40, 1, 2, 39, 41, 20, 7, 21, 43, 8], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 9, 26, 22, 6, 33, 28, 29, 35, 32, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 706, |
| "comment": "y is maximal and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "6b56f15c5df909", |
| "msg": [20, 23, 35, 3, 12, 16, 17, 33, 23, 38, 3, 15, 22, 23, 28, 1, 12, 10, 25, 34, 23], |
| "ct": [4, 31, 24, 44, 39, 26, 33, 44, 7, 44, 8, 4, 43, 34, 27, 36, 19, 3, 24, 5, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 707, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "95760796b21ac8", |
| "msg": [25, 41, 27, 24, 42, 24, 2, 20, 34, 43, 32, 7, 37, 35, 34, 29, 21, 31, 41, 37, 34], |
| "ct": [34, 8, 39, 24, 30, 31, 26, 2, 42, 12, 12, 42, 16, 19, 39, 44, 23, 38, 36, 44, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 708, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "95760796b21ac8", |
| "msg": [36, 38, 20, 37, 13, 14, 27, 8, 28, 32, 4, 41, 31, 43, 15, 32, 24, 24, 1, 31, 42], |
| "ct": [43, 9, 34, 0, 18, 44, 18, 28, 11, 3, 0, 25, 25, 26, 30, 40, 39, 33, 27, 40, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 709, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "95760796b21ac8", |
| "msg": [5, 11, 41, 37, 15, 2, 44, 31, 4, 25, 9, 43, 39, 41, 40, 28, 13, 41, 10, 6, 0], |
| "ct": [25, 38, 30, 25, 13, 13, 40, 19, 13, 42, 15, 16, 14, 29, 18, 11, 42, 2, 37, 10, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 710, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "54897a7e63855142189bc30a692271dd", |
| "tweak": "95760796b21ac8", |
| "msg": [37, 44, 20, 24, 40, 3, 39, 26, 26, 17, 33, 13, 29, 11, 3, 22, 24, 17, 23, 39, 17], |
| "ct": [17, 9, 34, 17, 27, 13, 8, 10, 35, 17, 0, 25, 14, 31, 36, 31, 10, 39, 40, 3, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 711, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", |
| "tweak": "d0a005b45247f038", |
| "msg": [-1, 29, 11, 10, 17, 44, 7, 25, 15, 6, 28, 24, 1, 15, 34, 42, 12, 40, 22, 19, 18], |
| "ct": [40, 1, 36, 1, 21, 36, 26, 35, 34, 31, 15, 31, 43, 20, 5, 20, 31, 34, 15, 2, 36], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 712, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", |
| "tweak": "d0a005b45247f038", |
| "msg": [28, 29, 11, 10, 17, 44, 7, -1, 15, 6, 28, 24, 1, 15, 34, 42, 12, 40, 22, 19, 18], |
| "ct": [25, 15, 31, 13, 15, 25, 22, 12, 36, 5, 31, 8, 28, 6, 11, 24, 25, 22, 24, 37, 2], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 713, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", |
| "tweak": "d0a005b45247f038", |
| "msg": [28, 29, 11, 10, 17, 44, 7, 25, 15, 6, 28, 24, 1, 15, 34, 42, 12, 40, 22, 19, -1], |
| "ct": [6, 40, 8, 10, 3, 32, 39, 28, 27, 11, 21, 2, 18, 22, 33, 26, 30, 38, 14, 42, 9], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 714, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7121fd1b9f6e04cdc921cde8e7747fda", |
| "tweak": "df3b3b0f29b2b503", |
| "msg": [45, 39, 37, 8, 8, 23, 39, 9, 8, 40, 36, 24, 40, 15, 31, 7, 13, 15, 3, 17, 15], |
| "ct": [28, 12, 24, 7, 16, 36, 40, 20, 16, 15, 32, 17, 25, 40, 44, 22, 10, 8, 4, 43, 18], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 715, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7121fd1b9f6e04cdc921cde8e7747fda", |
| "tweak": "df3b3b0f29b2b503", |
| "msg": [13, 39, 37, 8, 8, 23, 39, 45, 8, 40, 36, 24, 40, 15, 31, 7, 13, 15, 3, 17, 15], |
| "ct": [15, 14, 19, 24, 36, 14, 30, 33, 44, 23, 22, 33, 23, 1, 20, 0, 41, 9, 42, 24, 11], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 716, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7121fd1b9f6e04cdc921cde8e7747fda", |
| "tweak": "df3b3b0f29b2b503", |
| "msg": [13, 39, 37, 8, 8, 23, 39, 9, 8, 40, 36, 24, 40, 15, 31, 7, 13, 15, 3, 17, 45], |
| "ct": [37, 6, 11, 24, 14, 38, 6, 26, 0, 43, 21, 15, 25, 20, 20, 4, 16, 6, 28, 41, 33], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 22, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 717, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "9ed2a54df9219a3d61b5f1758b73bda6", |
| "tweak": "5ecd852b587b8148", |
| "msg": [32, 2, 25, 19, 13, 5, 37, 22, 0, 11, 2, 23, 14, 25, 2, 22, 14, 39, 5, 16, 14, 43], |
| "ct": [31, 17, 22, 42, 22, 42, 18, 44, 10, 25, 35, 22, 21, 20, 31, 11, 31, 17, 9, 40, 11, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 718, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [21, 9, 19, 18, 28, 1, 28, 27, 25, 24, 15, 9, 13, 31, 44, 15, 13, 15, 13, 26, 3, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 719, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [25, 44, 32, 5, 11, 23, 24, 43, 17, 19, 5, 34, 27, 15, 25, 12, 35, 31, 14, 8, 27, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 720, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "ct": [28, 21, 9, 30, 23, 14, 22, 11, 18, 17, 26, 38, 3, 18, 22, 34, 20, 30, 35, 29, 23, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 721, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "ct": [24, 13, 13, 10, 15, 15, 6, 28, 0, 29, 8, 23, 3, 17, 42, 2, 10, 13, 41, 18, 1, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 722, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [0, 34, 44, 1, 42, 7, 22, 24, 29, 2, 31, 7, 42, 16, 2, 42, 21, 22, 23, 2, 13, 23], |
| "ct": [41, 4, 33, 32, 0, 1, 21, 43, 12, 18, 14, 17, 1, 42, 0, 40, 24, 41, 21, 1, 9, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 723, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [17, 21, 24, 31, 41, 26, 10, 20, 14, 11, 38, 35, 27, 30, 1, 34, 43, 20, 29, 12, 2, 4], |
| "ct": [18, 21, 16, 23, 2, 29, 35, 6, 15, 12, 19, 3, 30, 42, 3, 9, 6, 30, 18, 13, 14, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 724, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [32, 29, 40, 36, 37, 34, 16, 42, 35, 7, 39, 34, 2, 25, 42, 26, 34, 12, 20, 34, 36, 5], |
| "ct": [3, 16, 21, 32, 2, 17, 13, 21, 27, 44, 27, 3, 3, 10, 17, 42, 28, 16, 7, 6, 5, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 725, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [37, 3, 26, 41, 19, 33, 22, 15, 41, 38, 18, 7, 25, 19, 7, 28, 12, 8, 13, 21, 28, 5], |
| "ct": [29, 4, 25, 7, 9, 31, 4, 9, 34, 9, 38, 8, 25, 21, 23, 37, 5, 14, 21, 6, 0, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 726, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [12, 37, 19, 18, 27, 42, 40, 8, 21, 35, 2, 16, 40, 19, 24, 21, 2, 2, 19, 16, 3, 10], |
| "ct": [23, 28, 24, 41, 34, 11, 40, 15, 31, 5, 13, 25, 19, 15, 25, 35, 37, 31, 23, 13, 42, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 727, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [37, 23, 42, 6, 5, 23, 31, 12, 6, 42, 35, 29, 26, 30, 44, 13, 3, 16, 22, 35, 16, 27], |
| "ct": [2, 16, 14, 7, 40, 7, 41, 7, 21, 24, 29, 31, 20, 39, 15, 9, 6, 19, 21, 4, 32, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 728, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [36, 22, 24, 22, 18, 25, 32, 28, 34, 36, 7, 27, 26, 42, 28, 25, 4, 12, 17, 32, 16, 31], |
| "ct": [23, 13, 36, 20, 23, 27, 30, 11, 22, 34, 1, 18, 24, 43, 34, 18, 13, 40, 17, 20, 36, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 729, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [4, 5, 4, 20, 16, 20, 12, 29, 37, 33, 25, 1, 40, 5, 37, 34, 3, 27, 39, 23, 40, 41], |
| "ct": [30, 44, 26, 4, 40, 28, 0, 19, 12, 25, 3, 16, 34, 21, 8, 6, 6, 40, 36, 2, 22, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 730, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [18, 24, 9, 0, 34, 19, 5, 19, 35, 13, 22, 9, 19, 30, 34, 12, 18, 0, 15, 43, 32, 44], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 731, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [36, 16, 14, 4, 7, 25, 8, 32, 19, 37, 22, 29, 6, 18, 32, 40, 20, 28, 18, 40, 19, 9], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 732, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [9, 44, 7, 11, 31, 24, 20, 15, 16, 14, 38, 31, 36, 20, 5, 21, 27, 7, 7, 30, 27, 22], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 733, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", |
| "tweak": "695c7692d9cebe71", |
| "msg": [12, 1, 38, 23, 22, 31, 41, 19, 8, 3, 43, 41, 40, 11, 23, 29, 2, 15, 17, 23, 24, 9], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 734, |
| "comment": "y = 0 and (y + a) % radix**11 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "a2bdb9c242da6c", |
| "msg": [30, 20, 29, 31, 28, 7, 19, 41, 1, 15, 41, 40, 36, 18, 33, 9, 4, 22, 20, 41, 16, 43], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 31, 11, 2, 17, 29, 19, 15, 30, 35, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 735, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "a2bdb9c242da6c", |
| "msg": [36, 3, 12, 35, 35, 11, 19, 34, 4, 19, 14, 10, 5, 27, 34, 37, 10, 9, 1, 32, 6, 19], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 15, 15, 41, 40, 19, 19, 10, 24, 1, 31, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 736, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "a2bdb9c242da6c", |
| "msg": [39, 10, 22, 1, 29, 41, 8, 30, 11, 19, 35, 42, 39, 13, 4, 7, 19, 31, 17, 41, 41, 36], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 1, 39, 42, 28, 23, 37, 44, 8, 9, 6, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 737, |
| "comment": "y = 0 and (y + a) % radix**11 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "a2bdb9c242da6c", |
| "msg": [20, 17, 27, 11, 36, 21, 27, 22, 39, 20, 25, 22, 22, 21, 3, 17, 31, 14, 25, 26, 28, 20], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 6, 10, 3, 15, 28, 37, 4, 17, 4, 31, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 738, |
| "comment": "y = 1 and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "80d0ec6bde66a4", |
| "msg": [44, 28, 16, 8, 37, 18, 36, 31, 28, 27, 44, 14, 22, 10, 32, 16, 32, 3, 26, 25, 29, 28], |
| "ct": [38, 4, 5, 12, 11, 35, 2, 18, 27, 43, 12, 32, 15, 22, 38, 30, 19, 10, 30, 1, 39, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 739, |
| "comment": "y = 1 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "80d0ec6bde66a4", |
| "msg": [22, 16, 35, 11, 7, 15, 26, 42, 31, 26, 0, 2, 1, 29, 26, 12, 25, 24, 34, 40, 21, 3], |
| "ct": [18, 39, 31, 23, 23, 40, 18, 34, 35, 25, 9, 10, 20, 19, 33, 14, 5, 17, 37, 40, 31, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 740, |
| "comment": "y = 1 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "80d0ec6bde66a4", |
| "msg": [42, 19, 15, 19, 21, 40, 33, 33, 25, 14, 13, 41, 11, 15, 33, 27, 10, 24, 33, 32, 34, 18], |
| "ct": [5, 15, 3, 9, 24, 28, 33, 1, 7, 14, 14, 5, 43, 16, 44, 32, 44, 37, 38, 25, 34, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 741, |
| "comment": "y = 1 and (y + a) % radix**11 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "80d0ec6bde66a4", |
| "msg": [24, 27, 3, 43, 32, 7, 29, 21, 15, 1, 39, 30, 31, 26, 37, 7, 18, 28, 17, 18, 25, 23], |
| "ct": [12, 16, 19, 21, 28, 31, 39, 37, 42, 44, 24, 20, 36, 21, 17, 0, 22, 24, 12, 44, 16, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 742, |
| "comment": "y = 1 and (y + a) % radix**11 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "80d0ec6bde66a4", |
| "msg": [39, 6, 4, 11, 32, 35, 39, 31, 34, 35, 24, 3, 41, 11, 11, 16, 22, 42, 24, 8, 14, 2], |
| "ct": [35, 2, 14, 20, 13, 16, 11, 7, 39, 43, 12, 39, 1, 21, 26, 2, 43, 38, 30, 37, 31, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 743, |
| "comment": "y is maximal and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "611ecdb6886b87", |
| "msg": [6, 23, 21, 33, 25, 42, 3, 8, 17, 36, 22, 18, 21, 16, 8, 6, 36, 13, 40, 34, 15, 3], |
| "ct": [12, 4, 31, 24, 44, 39, 26, 33, 44, 8, 0, 12, 12, 20, 41, 32, 37, 35, 21, 10, 1, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 744, |
| "comment": "y is maximal and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "611ecdb6886b87", |
| "msg": [24, 5, 39, 9, 24, 35, 1, 9, 2, 24, 5, 28, 39, 29, 28, 14, 34, 40, 20, 42, 40, 38], |
| "ct": [12, 4, 31, 24, 44, 39, 26, 33, 44, 8, 1, 5, 17, 14, 21, 24, 40, 39, 41, 8, 43, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 745, |
| "comment": "y is maximal and (y + a) % radix**11 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "611ecdb6886b87", |
| "msg": [19, 4, 11, 28, 25, 21, 24, 16, 18, 13, 29, 44, 18, 5, 40, 39, 27, 37, 1, 19, 13, 5], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 24, 17, 15, 17, 23, 28, 9, 31, 24, 34, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 746, |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "611ecdb6886b87", |
| "msg": [6, 17, 12, 5, 32, 19, 27, 3, 28, 31, 4, 24, 44, 40, 30, 44, 43, 16, 38, 33, 6, 13], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 2, 5, 39, 16, 32, 31, 4, 16, 16, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 747, |
| "comment": "y is maximal and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "611ecdb6886b87", |
| "msg": [40, 33, 38, 24, 29, 20, 44, 23, 13, 7, 14, 32, 8, 15, 8, 19, 7, 14, 8, 22, 22, 30], |
| "ct": [0, 43, 16, 4, 33, 22, 42, 39, 19, 13, 1, 5, 0, 29, 35, 17, 6, 44, 33, 33, 18, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 748, |
| "comment": "y is maximal and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "611ecdb6886b87", |
| "msg": [32, 1, 40, 18, 15, 3, 24, 38, 41, 12, 6, 5, 2, 20, 22, 5, 37, 19, 3, 21, 15, 35], |
| "ct": [12, 4, 31, 24, 44, 39, 26, 33, 44, 7, 44, 5, 33, 44, 41, 19, 3, 44, 35, 19, 26, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 749, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "f60621572d9811", |
| "msg": [35, 44, 37, 42, 30, 3, 34, 0, 0, 29, 6, 18, 26, 31, 43, 29, 2, 23, 25, 44, 33, 2], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 43, 24, 44, 7, 32, 17, 32, 29, 13, 24, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 750, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "f60621572d9811", |
| "msg": [35, 2, 35, 0, 10, 12, 9, 11, 34, 20, 6, 24, 35, 43, 20, 32, 26, 5, 37, 7, 12, 38], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 32, 1, 16, 36, 14, 12, 3, 44, 15, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 751, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "f60621572d9811", |
| "msg": [28, 11, 23, 13, 15, 34, 14, 28, 2, 11, 16, 30, 3, 2, 13, 4, 19, 19, 11, 37, 23, 27], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 7, 37, 19, 24, 30, 44, 25, 16, 1, 37, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 752, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "42ace51e4cacf58876336222ae9b433e", |
| "tweak": "f60621572d9811", |
| "msg": [27, 15, 17, 44, 16, 42, 6, 36, 18, 38, 24, 29, 37, 39, 37, 26, 15, 41, 12, 21, 23, 38], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 43, 39, 14, 35, 19, 3, 36, 34, 26, 12, 29, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 753, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1a09b8fb562701a282ce28747f0b0a52", |
| "tweak": "ec1b2b9ede1b38ea", |
| "msg": [-1, 32, 10, 35, 24, 3, 34, 22, 37, 36, 5, 41, 19, 7, 24, 21, 38, 10, 30, 14, 25, 12], |
| "ct": [1, 17, 28, 5, 38, 3, 9, 38, 17, 21, 2, 1, 26, 21, 38, 27, 10, 7, 9, 5, 18, 7], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 754, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1a09b8fb562701a282ce28747f0b0a52", |
| "tweak": "ec1b2b9ede1b38ea", |
| "msg": [41, 32, 10, 35, 24, 3, 34, -1, 37, 36, 5, 41, 19, 7, 24, 21, 38, 10, 30, 14, 25, 12], |
| "ct": [11, 0, 20, 28, 31, 1, 41, 0, 19, 31, 38, 0, 18, 13, 16, 22, 29, 8, 37, 11, 10, 12], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 755, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1a09b8fb562701a282ce28747f0b0a52", |
| "tweak": "ec1b2b9ede1b38ea", |
| "msg": [41, 32, 10, 35, 24, 3, 34, 22, 37, 36, 5, 41, 19, 7, 24, 21, 38, 10, 30, 14, 25, -1], |
| "ct": [17, 37, 21, 4, 21, 38, 24, 44, 39, 41, 1, 16, 29, 37, 23, 11, 40, 7, 21, 18, 14, 13], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 756, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4076db2118f1d5626625b8681adb0526", |
| "tweak": "52389ca07eb64e78", |
| "msg": [45, 3, 20, 38, 24, 33, 14, 8, 6, 44, 13, 38, 33, 30, 14, 34, 9, 17, 33, 25, 14, 9], |
| "ct": [44, 38, 0, 19, 5, 35, 18, 43, 10, 42, 23, 2, 34, 9, 8, 12, 27, 22, 19, 38, 39, 10], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 757, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4076db2118f1d5626625b8681adb0526", |
| "tweak": "52389ca07eb64e78", |
| "msg": [17, 3, 20, 38, 24, 33, 14, 45, 6, 44, 13, 38, 33, 30, 14, 34, 9, 17, 33, 25, 14, 9], |
| "ct": [29, 0, 41, 13, 11, 21, 43, 44, 40, 22, 34, 43, 26, 19, 30, 3, 13, 44, 39, 5, 41, 19], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 758, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4076db2118f1d5626625b8681adb0526", |
| "tweak": "52389ca07eb64e78", |
| "msg": [17, 3, 20, 38, 24, 33, 14, 8, 6, 44, 13, 38, 33, 30, 14, 34, 9, 17, 33, 25, 14, 45], |
| "ct": [6, 2, 4, 0, 12, 31, 1, 3, 6, 29, 2, 12, 10, 33, 31, 37, 31, 9, 37, 21, 15, 34], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 23, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 759, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "b9259b7f8c36246e73802b650cec0f3a", |
| "tweak": "338104fb3b076bc4", |
| "msg": [8, 31, 25, 6, 6, 25, 21, 38, 42, 33, 39, 2, 1, 39, 39, 36, 8, 40, 30, 8, 3, 20, 7], |
| "ct": [2, 22, 10, 1, 34, 22, 2, 42, 3, 36, 21, 32, 15, 3, 35, 7, 8, 4, 21, 0, 6, 21, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 760, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [41, 25, 18, 16, 19, 31, 42, 9, 22, 7, 4, 4, 40, 18, 38, 14, 38, 23, 21, 25, 16, 21, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 761, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [34, 44, 24, 14, 31, 24, 14, 34, 14, 25, 19, 15, 33, 39, 14, 38, 35, 37, 9, 30, 4, 31, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 762, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 32], |
| "ct": [18, 24, 37, 9, 33, 12, 18, 41, 25, 44, 10, 22, 0, 1, 34, 41, 38, 26, 18, 31, 43, 13, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 763, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 31], |
| "ct": [21, 33, 17, 10, 1, 32, 25, 39, 15, 39, 35, 19, 43, 3, 20, 7, 2, 29, 4, 3, 24, 12, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 764, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [32, 28, 6, 30, 21, 25, 2, 20, 0, 24, 22, 24, 39, 32, 15, 13, 19, 2, 20, 19, 43, 18, 35], |
| "ct": [10, 39, 33, 13, 42, 11, 26, 14, 20, 14, 40, 31, 24, 18, 39, 20, 38, 19, 35, 11, 39, 22, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 765, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [40, 40, 19, 25, 26, 30, 36, 5, 21, 43, 30, 7, 15, 16, 29, 35, 35, 15, 13, 32, 35, 2, 12], |
| "ct": [11, 30, 30, 2, 27, 11, 39, 7, 43, 1, 1, 9, 29, 34, 19, 14, 33, 13, 12, 10, 16, 12, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 766, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [26, 1, 1, 31, 5, 4, 43, 12, 2, 40, 19, 15, 44, 30, 15, 35, 17, 20, 16, 29, 9, 43, 23], |
| "ct": [30, 4, 23, 6, 28, 2, 40, 37, 26, 2, 25, 3, 38, 13, 26, 43, 35, 26, 24, 40, 3, 25, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 767, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [33, 27, 32, 37, 15, 40, 4, 12, 43, 21, 40, 44, 34, 5, 11, 24, 33, 29, 34, 24, 43, 31, 38], |
| "ct": [22, 38, 30, 41, 12, 43, 6, 24, 26, 18, 13, 18, 41, 43, 42, 2, 31, 40, 32, 4, 27, 36, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 768, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [36, 38, 1, 31, 11, 28, 23, 5, 31, 14, 3, 11, 3, 13, 39, 7, 2, 39, 9, 39, 31, 12, 32], |
| "ct": [32, 44, 16, 43, 8, 13, 34, 22, 25, 41, 0, 24, 13, 10, 22, 42, 18, 41, 12, 41, 1, 36, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 769, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [6, 29, 14, 20, 2, 15, 9, 32, 2, 26, 3, 18, 19, 31, 42, 41, 35, 17, 36, 21, 22, 9, 4], |
| "ct": [28, 4, 2, 35, 34, 13, 29, 35, 26, 20, 10, 30, 0, 43, 15, 20, 29, 0, 38, 19, 22, 15, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 770, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [2, 39, 29, 1, 30, 39, 22, 1, 32, 35, 40, 19, 5, 20, 31, 18, 18, 39, 19, 31, 42, 37, 8], |
| "ct": [29, 39, 7, 32, 4, 21, 43, 0, 36, 2, 9, 14, 21, 5, 26, 36, 13, 22, 14, 29, 0, 6, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 771, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [11, 12, 6, 26, 15, 40, 17, 11, 13, 12, 39, 7, 0, 26, 18, 7, 38, 18, 0, 25, 35, 5, 10], |
| "ct": [13, 13, 2, 31, 32, 24, 12, 18, 23, 8, 7, 40, 6, 30, 26, 26, 20, 43, 1, 36, 20, 6, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 772, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [23, 8, 2, 36, 20, 29, 27, 36, 37, 14, 13, 30, 9, 23, 6, 7, 1, 26, 10, 0, 16, 6, 37], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 773, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [26, 9, 37, 19, 40, 39, 1, 9, 34, 33, 17, 4, 25, 20, 28, 22, 5, 9, 1, 26, 27, 19, 29], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 774, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [7, 34, 28, 20, 41, 35, 13, 31, 8, 32, 41, 30, 35, 7, 14, 7, 9, 29, 43, 31, 10, 6, 34], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 775, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", |
| "tweak": "cc32b4959acf967c", |
| "msg": [8, 40, 24, 23, 27, 30, 22, 28, 30, 3, 22, 15, 42, 29, 12, 9, 0, 17, 3, 1, 13, 40, 35], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 776, |
| "comment": "y is maximal and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "3cd18517338e4e5612756ae0d21e239e9e58e23c763b", |
| "msg": [4, 17, 34, 12, 6, 6, 11, 37, 44, 17, 19, 0, 6, 41, 38, 36, 30, 43, 37, 12, 8, 11, 28], |
| "ct": [0, 2, 28, 28, 2, 37, 8, 6, 44, 39, 24, 25, 32, 7, 43, 8, 18, 39, 34, 34, 32, 14, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 777, |
| "comment": "y is maximal and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "3cd18517338e4e5612756ae0d21e239e9e58e23c763b", |
| "msg": [10, 22, 40, 32, 11, 12, 33, 3, 44, 31, 10, 35, 9, 44, 32, 40, 22, 29, 16, 11, 14, 41, 18], |
| "ct": [19, 6, 20, 26, 11, 28, 1, 23, 33, 15, 2, 44, 28, 25, 19, 21, 36, 42, 38, 26, 36, 28, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 778, |
| "comment": "y is maximal and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "3cd18517338e4e5612756ae0d21e239e9e58e23c763b", |
| "msg": [11, 38, 36, 16, 17, 27, 25, 25, 17, 28, 42, 20, 26, 30, 34, 24, 38, 37, 21, 33, 44, 22, 25], |
| "ct": [8, 35, 28, 25, 5, 38, 40, 30, 6, 21, 37, 21, 40, 4, 21, 39, 35, 34, 43, 14, 0, 41, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 779, |
| "comment": "y is maximal and (y + a) % radix**11 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "3cd18517338e4e5612756ae0d21e239e9e58e23c763b", |
| "msg": [32, 34, 25, 38, 23, 27, 18, 20, 35, 19, 37, 4, 42, 35, 22, 2, 28, 21, 30, 33, 34, 29, 21], |
| "ct": [44, 30, 29, 16, 11, 26, 25, 43, 34, 1, 11, 12, 36, 13, 36, 8, 2, 6, 8, 41, 8, 8, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 780, |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "3cd18517338e4e5612756ae0d21e239e9e58e23c763b", |
| "msg": [28, 26, 23, 23, 34, 7, 12, 23, 13, 21, 30, 32, 19, 33, 10, 8, 16, 13, 3, 20, 33, 44, 21], |
| "ct": [11, 17, 0, 41, 41, 29, 24, 3, 26, 18, 40, 7, 33, 23, 42, 36, 24, 1, 30, 36, 32, 31, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 781, |
| "comment": "y is maximal and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "3cd18517338e4e5612756ae0d21e239e9e58e23c763b", |
| "msg": [40, 33, 21, 17, 7, 44, 25, 20, 29, 3, 39, 29, 16, 17, 36, 19, 21, 0, 11, 40, 22, 42, 17], |
| "ct": [11, 31, 31, 0, 17, 20, 30, 28, 43, 30, 36, 39, 10, 7, 18, 14, 23, 43, 39, 25, 42, 14, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 782, |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "275cad9c6504b1245fc5a76ed253644b05c029199002", |
| "msg": [29, 43, 33, 1, 28, 30, 21, 20, 14, 25, 28, 40, 14, 0, 44, 35, 35, 22, 17, 41, 6, 41, 23], |
| "ct": [32, 36, 43, 42, 36, 16, 25, 32, 43, 19, 28, 0, 6, 14, 21, 32, 15, 32, 28, 30, 31, 20, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 783, |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "275cad9c6504b1245fc5a76ed253644b05c029199002", |
| "msg": [15, 21, 20, 15, 7, 15, 3, 38, 34, 7, 31, 1, 0, 31, 3, 15, 2, 30, 43, 27, 19, 8, 20], |
| "ct": [4, 39, 20, 37, 2, 28, 14, 10, 39, 12, 8, 2, 32, 5, 30, 42, 40, 6, 25, 31, 31, 24, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 784, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "275cad9c6504b1245fc5a76ed253644b05c029199002", |
| "msg": [44, 9, 18, 11, 24, 19, 6, 17, 22, 36, 1, 18, 12, 36, 14, 24, 6, 15, 26, 30, 14, 39, 12], |
| "ct": [26, 17, 21, 39, 35, 9, 33, 28, 18, 7, 14, 11, 36, 4, 38, 31, 12, 2, 2, 37, 3, 42, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 785, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "275cad9c6504b1245fc5a76ed253644b05c029199002", |
| "msg": [1, 13, 4, 30, 29, 23, 18, 30, 42, 19, 16, 36, 35, 3, 14, 4, 12, 39, 7, 39, 7, 7, 20], |
| "ct": [19, 28, 8, 2, 39, 18, 22, 38, 33, 39, 24, 0, 6, 27, 36, 34, 18, 6, 30, 36, 31, 34, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 786, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "275cad9c6504b1245fc5a76ed253644b05c029199002", |
| "msg": [11, 14, 5, 4, 34, 19, 23, 37, 33, 34, 44, 44, 33, 36, 8, 36, 11, 22, 19, 44, 15, 15, 28], |
| "ct": [35, 24, 6, 5, 18, 21, 9, 14, 42, 16, 6, 3, 23, 22, 8, 39, 29, 32, 33, 16, 2, 39, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 787, |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "275cad9c6504b1245fc5a76ed253644b05c029199002", |
| "msg": [42, 29, 18, 41, 10, 1, 6, 35, 1, 30, 19, 12, 32, 14, 38, 12, 3, 24, 28, 3, 2, 29, 18], |
| "ct": [38, 15, 44, 36, 2, 10, 29, 11, 17, 11, 25, 29, 15, 26, 12, 36, 43, 31, 2, 1, 27, 37, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 788, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "fca9e342c9c2eefc8970fdbd027c232ac39d96c8abf2", |
| "msg": [40, 5, 38, 19, 33, 28, 17, 5, 33, 25, 10, 17, 15, 24, 37, 26, 36, 8, 5, 20, 41, 3, 12], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 30, 24, 41, 14, 35, 11, 6, 6, 14, 42, 36, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 789, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "fca9e342c9c2eefc8970fdbd027c232ac39d96c8abf2", |
| "msg": [31, 42, 1, 6, 15, 0, 38, 11, 28, 37, 40, 5, 44, 32, 29, 28, 14, 16, 28, 41, 36, 1, 10], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 7, 43, 41, 26, 32, 10, 37, 30, 41, 35, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 790, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "fca9e342c9c2eefc8970fdbd027c232ac39d96c8abf2", |
| "msg": [22, 31, 26, 35, 1, 44, 29, 44, 42, 37, 0, 43, 29, 33, 29, 32, 0, 27, 26, 14, 44, 12, 37], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 11, 23, 30, 33, 36, 23, 22, 12, 2, 30, 8, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 791, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", |
| "tweak": "fca9e342c9c2eefc8970fdbd027c232ac39d96c8abf2", |
| "msg": [13, 43, 29, 26, 21, 43, 19, 10, 31, 17, 29, 6, 35, 41, 20, 10, 3, 10, 8, 24, 1, 20, 1], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 43, 10, 13, 27, 4, 43, 4, 42, 25, 35, 34, 25, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 792, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "44610a63e9615101e6bea82a9c0eda30", |
| "tweak": "b324bd04bb45a149", |
| "msg": [-1, 43, 28, 34, 9, 11, 38, 12, 25, 19, 2, 14, 32, 17, 3, 18, 15, 21, 20, 41, 17, 33, 19], |
| "ct": [29, 20, 30, 33, 15, 37, 29, 42, 41, 17, 15, 3, 14, 36, 12, 12, 29, 31, 10, 5, 15, 40, 38], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 793, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "44610a63e9615101e6bea82a9c0eda30", |
| "tweak": "b324bd04bb45a149", |
| "msg": [27, 43, 28, 34, 9, 11, 38, -1, 25, 19, 2, 14, 32, 17, 3, 18, 15, 21, 20, 41, 17, 33, 19], |
| "ct": [25, 18, 1, 6, 3, 19, 38, 24, 2, 30, 44, 33, 30, 2, 23, 35, 14, 34, 34, 7, 2, 9, 0], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 794, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "44610a63e9615101e6bea82a9c0eda30", |
| "tweak": "b324bd04bb45a149", |
| "msg": [27, 43, 28, 34, 9, 11, 38, 12, 25, 19, 2, 14, 32, 17, 3, 18, 15, 21, 20, 41, 17, 33, -1], |
| "ct": [41, 23, 18, 33, 19, 28, 7, 42, 30, 30, 3, 7, 39, 36, 15, 12, 26, 3, 2, 1, 30, 37, 27], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 795, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b5ba64d77327f757def108c6cb5a4b63", |
| "tweak": "ad40e08175c8d13b", |
| "msg": [45, 11, 32, 42, 34, 24, 44, 28, 1, 2, 3, 42, 5, 11, 29, 19, 22, 10, 22, 37, 44, 41, 4], |
| "ct": [37, 12, 40, 4, 34, 3, 37, 31, 5, 18, 29, 26, 10, 37, 44, 13, 23, 41, 26, 2, 23, 30, 10], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 796, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b5ba64d77327f757def108c6cb5a4b63", |
| "tweak": "ad40e08175c8d13b", |
| "msg": [31, 11, 32, 42, 34, 24, 44, 45, 1, 2, 3, 42, 5, 11, 29, 19, 22, 10, 22, 37, 44, 41, 4], |
| "ct": [2, 21, 43, 10, 31, 0, 20, 2, 8, 33, 22, 37, 41, 42, 20, 35, 42, 41, 16, 23, 7, 5, 24], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 797, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b5ba64d77327f757def108c6cb5a4b63", |
| "tweak": "ad40e08175c8d13b", |
| "msg": [31, 11, 32, 42, 34, 24, 44, 28, 1, 2, 3, 42, 5, 11, 29, 19, 22, 10, 22, 37, 44, 41, 45], |
| "ct": [22, 13, 43, 44, 44, 20, 35, 4, 20, 33, 32, 16, 11, 3, 41, 36, 43, 3, 36, 21, 8, 36, 21], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 4, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 798, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "f9626066827656fe088a7bf737c1cc1a3a3adc7015ffee7f", |
| "tweak": "bc6d9ff72c250366", |
| "msg": [34, 35, 0, 13], |
| "ct": [41, 1, 22, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 799, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [0, 0, 0, 0], |
| "ct": [19, 38, 21, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 800, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [44, 44, 44, 44], |
| "ct": [27, 15, 11, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 801, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [22, 34, 22, 34], |
| "ct": [38, 8, 12, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 802, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [22, 33, 22, 33], |
| "ct": [21, 13, 0, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 803, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [18, 32, 32, 24], |
| "ct": [29, 12, 18, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 804, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [36, 22, 35, 1], |
| "ct": [24, 35, 21, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 805, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [35, 33, 24, 14], |
| "ct": [22, 41, 19, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 806, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [13, 3, 16, 36], |
| "ct": [4, 13, 33, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 807, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [2, 5, 37, 10], |
| "ct": [11, 6, 44, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 808, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [20, 37, 15, 16], |
| "ct": [31, 26, 42, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 809, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [23, 31, 29, 21], |
| "ct": [1, 32, 39, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 810, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [6, 26, 32, 27], |
| "ct": [1, 4, 23, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 811, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [16, 24, 4, 16], |
| "ct": [0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 812, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [44, 6, 28, 38], |
| "ct": [44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 813, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [8, 10, 44, 25], |
| "ct": [22, 34, 22, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 814, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", |
| "tweak": "f7e902be3a607c1c", |
| "msg": [22, 42, 40, 1], |
| "ct": [22, 33, 22, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 815, |
| "comment": "y = 1 and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "f21426a4a445c711a1fba73281", |
| "msg": [1, 11, 4, 22], |
| "ct": [32, 38, 0, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 816, |
| "comment": "y = 1 and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "f21426a4a445c711a1fba73281", |
| "msg": [16, 18, 26, 16], |
| "ct": [32, 38, 0, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 817, |
| "comment": "y = 1 and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "f21426a4a445c711a1fba73281", |
| "msg": [14, 26, 4, 43], |
| "ct": [32, 38, 22, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 818, |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "f21426a4a445c711a1fba73281", |
| "msg": [30, 16, 7, 5], |
| "ct": [32, 38, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 819, |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "f21426a4a445c711a1fba73281", |
| "msg": [28, 33, 11, 22], |
| "ct": [32, 38, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 820, |
| "comment": "y is maximal and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "e9df1ff8a09a1a2307630324b4", |
| "msg": [11, 24, 19, 35], |
| "ct": [17, 33, 38, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 821, |
| "comment": "y is maximal and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "e9df1ff8a09a1a2307630324b4", |
| "msg": [32, 3, 21, 13], |
| "ct": [23, 35, 8, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 822, |
| "comment": "y is maximal and (y + a) % radix**2 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "e9df1ff8a09a1a2307630324b4", |
| "msg": [3, 3, 17, 18], |
| "ct": [25, 32, 5, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 823, |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "e9df1ff8a09a1a2307630324b4", |
| "msg": [34, 26, 15, 21], |
| "ct": [25, 44, 18, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 824, |
| "comment": "y is maximal and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "e9df1ff8a09a1a2307630324b4", |
| "msg": [8, 26, 16, 27], |
| "ct": [28, 12, 43, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 825, |
| "comment": "y is maximal and a is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "e9df1ff8a09a1a2307630324b4", |
| "msg": [38, 17, 5, 9], |
| "ct": [25, 30, 16, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 826, |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "47776d31312f61b0bbbe6abb79", |
| "msg": [22, 22, 1, 1], |
| "ct": [35, 0, 2, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 827, |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "47776d31312f61b0bbbe6abb79", |
| "msg": [35, 6, 23, 20], |
| "ct": [35, 1, 5, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 828, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "47776d31312f61b0bbbe6abb79", |
| "msg": [33, 29, 21, 24], |
| "ct": [44, 44, 30, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 829, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "47776d31312f61b0bbbe6abb79", |
| "msg": [6, 33, 3, 27], |
| "ct": [0, 0, 14, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 830, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "47776d31312f61b0bbbe6abb79", |
| "msg": [30, 27, 21, 25], |
| "ct": [12, 34, 4, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 831, |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "47776d31312f61b0bbbe6abb79", |
| "msg": [13, 25, 13, 26], |
| "ct": [34, 44, 19, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 832, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "6c772a3b2a186405bb21e521ed", |
| "msg": [12, 9, 29, 24], |
| "ct": [13, 2, 25, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 833, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "6c772a3b2a186405bb21e521ed", |
| "msg": [5, 10, 6, 25], |
| "ct": [32, 3, 5, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 834, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "6c772a3b2a186405bb21e521ed", |
| "msg": [37, 21, 25, 4], |
| "ct": [40, 0, 25, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 835, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", |
| "tweak": "6c772a3b2a186405bb21e521ed", |
| "msg": [20, 26, 7, 40], |
| "ct": [42, 28, 1, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 836, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", |
| "tweak": "2cd30b0db6e83292", |
| "msg": [-1, 1, 35, 32], |
| "ct": [4, 3, 2, 3], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 837, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", |
| "tweak": "2cd30b0db6e83292", |
| "msg": [34, -1, 35, 32], |
| "ct": [32, 30, 0, 36], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 838, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", |
| "tweak": "2cd30b0db6e83292", |
| "msg": [34, 1, 35, -1], |
| "ct": [20, 8, 43, 37], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 839, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9773849cccdfd3e4ff200e6f4b65dc917ee554f4dfb39a53", |
| "tweak": "2f99863bb4ef26f5", |
| "msg": [45, 31, 20, 29], |
| "ct": [1, 31, 11, 36], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 840, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9773849cccdfd3e4ff200e6f4b65dc917ee554f4dfb39a53", |
| "tweak": "2f99863bb4ef26f5", |
| "msg": [24, 45, 20, 29], |
| "ct": [21, 15, 25, 3], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 841, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9773849cccdfd3e4ff200e6f4b65dc917ee554f4dfb39a53", |
| "tweak": "2f99863bb4ef26f5", |
| "msg": [24, 31, 20, 45], |
| "ct": [36, 10, 14, 33], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 5, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 842, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "a6c055a8cba4718f411d1a3d9c9e2051261ce3e369b2fa13", |
| "tweak": "c5d9512a52de22b7", |
| "msg": [1, 33, 30, 16, 8], |
| "ct": [36, 35, 9, 13, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 843, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [0, 0, 0, 0, 0], |
| "ct": [42, 14, 18, 20, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 844, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [44, 44, 44, 44, 44], |
| "ct": [11, 15, 6, 12, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 845, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [22, 34, 32, 16, 16], |
| "ct": [44, 9, 38, 0, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 846, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [22, 33, 32, 16, 15], |
| "ct": [14, 27, 0, 13, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 847, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [0, 18, 30, 34, 22], |
| "ct": [29, 27, 16, 4, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 848, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [32, 10, 16, 25, 22], |
| "ct": [13, 15, 24, 2, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 849, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [10, 13, 11, 29, 30], |
| "ct": [16, 20, 40, 8, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 850, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [7, 7, 22, 44, 40], |
| "ct": [3, 12, 8, 23, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 851, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [39, 29, 20, 39, 31], |
| "ct": [25, 37, 4, 10, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 852, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [8, 12, 19, 25, 40], |
| "ct": [25, 43, 18, 25, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 853, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [26, 38, 38, 44, 35], |
| "ct": [2, 2, 24, 0, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 854, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [15, 35, 19, 4, 0], |
| "ct": [38, 42, 33, 14, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 855, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [17, 5, 32, 38, 43], |
| "ct": [0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 856, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [6, 42, 38, 19, 4], |
| "ct": [44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 857, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [44, 1, 30, 11, 43], |
| "ct": [22, 34, 32, 16, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 858, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", |
| "tweak": "bdbf3377d69e6a6e", |
| "msg": [5, 15, 8, 15, 41], |
| "ct": [22, 33, 32, 16, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 859, |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", |
| "tweak": "853d77f7aab3c32c4fc86978", |
| "msg": [24, 41, 14, 27, 33], |
| "ct": [9, 11, 6, 15, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 860, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", |
| "tweak": "853d77f7aab3c32c4fc86978", |
| "msg": [37, 44, 1, 10, 35], |
| "ct": [12, 9, 38, 27, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 861, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", |
| "tweak": "853d77f7aab3c32c4fc86978", |
| "msg": [28, 27, 11, 4, 18], |
| "ct": [42, 16, 42, 27, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 862, |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", |
| "tweak": "853d77f7aab3c32c4fc86978", |
| "msg": [15, 31, 29, 41, 41], |
| "ct": [29, 15, 22, 35, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 863, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", |
| "tweak": "2ae737de3b2aa4b0", |
| "msg": [-1, 28, 4, 15, 29], |
| "ct": [37, 2, 8, 28, 12], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 864, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", |
| "tweak": "2ae737de3b2aa4b0", |
| "msg": [31, -1, 4, 15, 29], |
| "ct": [41, 18, 6, 16, 32], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 865, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", |
| "tweak": "2ae737de3b2aa4b0", |
| "msg": [31, 28, 4, 15, -1], |
| "ct": [41, 30, 26, 39, 41], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 866, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b9278cf08138cfdca14af4b83f3e43157a41f60c360079ef", |
| "tweak": "a9ed0cd53016ac0f", |
| "msg": [45, 5, 13, 6, 36], |
| "ct": [14, 38, 12, 12, 30], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 867, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b9278cf08138cfdca14af4b83f3e43157a41f60c360079ef", |
| "tweak": "a9ed0cd53016ac0f", |
| "msg": [25, 45, 13, 6, 36], |
| "ct": [7, 11, 44, 35, 27], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 868, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b9278cf08138cfdca14af4b83f3e43157a41f60c360079ef", |
| "tweak": "a9ed0cd53016ac0f", |
| "msg": [25, 5, 13, 6, 45], |
| "ct": [43, 36, 24, 28, 2], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 6, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 869, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "4d7429ddc83d27457a152d4981aab3ddf56dd2410647ad47", |
| "tweak": "ada060734534dfa1", |
| "msg": [23, 3, 3, 26, 22, 29], |
| "ct": [25, 2, 21, 4, 24, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 870, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [0, 0, 0, 0, 0, 0], |
| "ct": [16, 19, 28, 16, 31, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 871, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [44, 44, 44, 44, 44, 44], |
| "ct": [42, 20, 27, 38, 29, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 872, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [32, 16, 16, 32, 16, 16], |
| "ct": [5, 7, 43, 21, 2, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 873, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [32, 16, 15, 32, 16, 15], |
| "ct": [10, 31, 6, 9, 42, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 874, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [29, 39, 10, 29, 14, 30], |
| "ct": [22, 21, 40, 22, 36, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 875, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [24, 13, 23, 24, 28, 27], |
| "ct": [1, 1, 4, 39, 34, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 876, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [2, 24, 6, 9, 19, 15], |
| "ct": [19, 18, 19, 42, 41, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 877, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [23, 36, 15, 2, 32, 38], |
| "ct": [44, 32, 38, 6, 16, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 878, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [1, 44, 15, 37, 30, 10], |
| "ct": [30, 44, 1, 27, 6, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 879, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [1, 33, 33, 18, 1, 25], |
| "ct": [28, 33, 14, 30, 31, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 880, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [32, 27, 0, 8, 20, 41], |
| "ct": [41, 33, 16, 20, 44, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 881, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [2, 26, 25, 39, 41, 42], |
| "ct": [12, 3, 34, 36, 2, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 882, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [13, 35, 25, 14, 17, 9], |
| "ct": [0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 883, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [27, 20, 36, 20, 40, 30], |
| "ct": [44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 884, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [40, 5, 20, 16, 34, 0], |
| "ct": [32, 16, 16, 32, 16, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 885, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": [29, 28, 21, 11, 33, 29], |
| "ct": [32, 16, 15, 32, 16, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 886, |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "a0cde5496211bca606d31a94", |
| "msg": [30, 44, 41, 0, 0, 0], |
| "ct": [1, 15, 27, 38, 34, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 887, |
| "comment": "y = 0 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "a0cde5496211bca606d31a94", |
| "msg": [0, 14, 20, 0, 0, 1], |
| "ct": [43, 39, 31, 35, 3, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 888, |
| "comment": "y = 0 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "a0cde5496211bca606d31a94", |
| "msg": [29, 34, 33, 32, 16, 16], |
| "ct": [9, 34, 27, 31, 1, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 889, |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "a0cde5496211bca606d31a94", |
| "msg": [12, 36, 9, 44, 44, 44], |
| "ct": [8, 41, 24, 2, 16, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 890, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", |
| "tweak": "c0b22a647b59d5ca", |
| "msg": [-1, 5, 35, 4, 16, 19], |
| "ct": [21, 13, 28, 44, 17, 21], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 891, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", |
| "tweak": "c0b22a647b59d5ca", |
| "msg": [1, 5, -1, 4, 16, 19], |
| "ct": [23, 28, 26, 24, 14, 36], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 892, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", |
| "tweak": "c0b22a647b59d5ca", |
| "msg": [1, 5, 35, 4, 16, -1], |
| "ct": [26, 23, 16, 29, 32, 20], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 893, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "77a69fd4e8b4d54a035f3ca4d3a9b9af6ef477e3982d8500", |
| "tweak": "83fcf70b68668834", |
| "msg": [45, 9, 41, 16, 4, 10], |
| "ct": [20, 31, 10, 9, 8, 29], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 894, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "77a69fd4e8b4d54a035f3ca4d3a9b9af6ef477e3982d8500", |
| "tweak": "83fcf70b68668834", |
| "msg": [39, 9, 45, 16, 4, 10], |
| "ct": [37, 4, 25, 22, 9, 35], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 895, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "77a69fd4e8b4d54a035f3ca4d3a9b9af6ef477e3982d8500", |
| "tweak": "83fcf70b68668834", |
| "msg": [39, 9, 41, 16, 4, 45], |
| "ct": [1, 32, 17, 3, 4, 12], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 7, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 896, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "87f7c60d04f5313cff17a4e7fad56c33b0afb439939c1ab5", |
| "tweak": "20e854d3f367ab8e", |
| "msg": [28, 17, 21, 17, 27, 30, 39], |
| "ct": [1, 34, 34, 39, 34, 0, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 897, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [0, 0, 0, 0, 0, 0, 0], |
| "ct": [34, 14, 4, 19, 29, 34, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 898, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [44, 44, 44, 44, 44, 44, 44], |
| "ct": [2, 27, 9, 16, 12, 18, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 899, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [32, 16, 16, 23, 0, 28, 17], |
| "ct": [38, 0, 11, 26, 0, 6, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 900, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [32, 16, 15, 23, 0, 28, 16], |
| "ct": [35, 4, 26, 28, 33, 33, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 901, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [24, 44, 8, 33, 5, 30, 41], |
| "ct": [37, 34, 1, 2, 25, 39, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 902, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [40, 27, 12, 41, 11, 4, 7], |
| "ct": [1, 14, 14, 32, 21, 31, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 903, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [28, 42, 18, 11, 37, 41, 43], |
| "ct": [38, 2, 27, 8, 34, 41, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 904, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [16, 31, 0, 36, 9, 32, 33], |
| "ct": [36, 33, 7, 16, 33, 35, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 905, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [30, 30, 26, 7, 24, 6, 7], |
| "ct": [5, 25, 13, 18, 42, 29, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 906, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [3, 27, 17, 33, 31, 6, 10], |
| "ct": [26, 35, 32, 41, 32, 12, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 907, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [26, 6, 7, 25, 24, 42, 24], |
| "ct": [8, 6, 38, 44, 12, 14, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 908, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [38, 36, 33, 13, 35, 14, 4], |
| "ct": [33, 26, 1, 35, 39, 39, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 909, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [28, 25, 28, 36, 27, 40, 28], |
| "ct": [0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 910, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [16, 5, 24, 3, 0, 8, 5], |
| "ct": [44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 911, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [37, 6, 30, 16, 33, 33, 30], |
| "ct": [32, 16, 16, 23, 0, 28, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 912, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": [8, 29, 39, 32, 35, 24, 11], |
| "ct": [32, 16, 15, 23, 0, 28, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 913, |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "8cc4054f3cc7767df23e034f", |
| "msg": [44, 43, 6, 25, 12, 0, 21], |
| "ct": [38, 30, 40, 39, 40, 13, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 914, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "8cc4054f3cc7767df23e034f", |
| "msg": [8, 12, 22, 34, 21, 26, 27], |
| "ct": [7, 41, 29, 14, 12, 9, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 915, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "8cc4054f3cc7767df23e034f", |
| "msg": [3, 41, 34, 29, 36, 2, 11], |
| "ct": [29, 5, 25, 3, 44, 19, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 916, |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "8cc4054f3cc7767df23e034f", |
| "msg": [11, 29, 35, 7, 0, 4, 27], |
| "ct": [10, 33, 31, 3, 40, 10, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 917, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "b92b21bc4fd8e3e17dc27824", |
| "msg": [15, 4, 11, 37, 1, 32, 19], |
| "ct": [37, 28, 0, 7, 14, 24, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 918, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "b92b21bc4fd8e3e17dc27824", |
| "msg": [42, 0, 41, 12, 28, 15, 15], |
| "ct": [34, 15, 18, 43, 20, 3, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 919, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "b92b21bc4fd8e3e17dc27824", |
| "msg": [6, 23, 13, 16, 25, 17, 20], |
| "ct": [21, 29, 43, 1, 42, 23, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 920, |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "b92b21bc4fd8e3e17dc27824", |
| "msg": [29, 21, 13, 43, 15, 10, 34], |
| "ct": [7, 8, 23, 26, 7, 14, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 921, |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "b92b21bc4fd8e3e17dc27824", |
| "msg": [4, 26, 26, 25, 32, 16, 20], |
| "ct": [31, 33, 26, 25, 44, 28, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 922, |
| "comment": "y is maximal and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "1004af3e1ecf6780a051b5a1", |
| "msg": [16, 33, 35, 20, 6, 37, 25], |
| "ct": [22, 23, 25, 42, 38, 30, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 923, |
| "comment": "y is maximal and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "1004af3e1ecf6780a051b5a1", |
| "msg": [9, 37, 11, 8, 8, 43, 18], |
| "ct": [7, 4, 27, 14, 3, 7, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 924, |
| "comment": "y is maximal and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "1004af3e1ecf6780a051b5a1", |
| "msg": [36, 13, 43, 21, 1, 8, 2], |
| "ct": [16, 33, 34, 2, 22, 20, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 925, |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "1004af3e1ecf6780a051b5a1", |
| "msg": [12, 20, 26, 3, 8, 4, 29], |
| "ct": [24, 23, 18, 29, 0, 5, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 926, |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "1004af3e1ecf6780a051b5a1", |
| "msg": [27, 34, 28, 5, 16, 37, 13], |
| "ct": [29, 2, 9, 28, 19, 17, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 927, |
| "comment": "y is maximal and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "1004af3e1ecf6780a051b5a1", |
| "msg": [27, 22, 27, 32, 26, 39, 22], |
| "ct": [16, 25, 35, 12, 5, 12, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 928, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "d2e832ab9590a5e8be6639ec", |
| "msg": [30, 5, 9, 26, 4, 12, 3], |
| "ct": [10, 15, 24, 21, 7, 13, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 929, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "d2e832ab9590a5e8be6639ec", |
| "msg": [1, 44, 33, 30, 29, 6, 11], |
| "ct": [41, 44, 40, 6, 10, 39, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 930, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "d2e832ab9590a5e8be6639ec", |
| "msg": [16, 2, 26, 21, 40, 33, 44], |
| "ct": [26, 29, 25, 11, 6, 41, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 931, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "d2e832ab9590a5e8be6639ec", |
| "msg": [10, 9, 41, 22, 35, 11, 37], |
| "ct": [11, 16, 22, 35, 2, 40, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 932, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "d2e832ab9590a5e8be6639ec", |
| "msg": [16, 15, 27, 27, 9, 27, 36], |
| "ct": [21, 35, 33, 24, 30, 24, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 933, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "d2e832ab9590a5e8be6639ec", |
| "msg": [38, 11, 13, 22, 27, 35, 19], |
| "ct": [31, 36, 22, 22, 12, 26, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 934, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "57bd66d00478e43ba24af2bd", |
| "msg": [2, 31, 33, 18, 16, 26, 36], |
| "ct": [3, 2, 16, 43, 42, 5, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 935, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "57bd66d00478e43ba24af2bd", |
| "msg": [31, 16, 41, 6, 6, 38, 17], |
| "ct": [37, 35, 43, 2, 28, 27, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 936, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "57bd66d00478e43ba24af2bd", |
| "msg": [19, 36, 39, 4, 32, 16, 34], |
| "ct": [44, 1, 16, 36, 37, 21, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 937, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "57bd66d00478e43ba24af2bd", |
| "msg": [3, 36, 23, 1, 34, 43, 1], |
| "ct": [6, 44, 37, 44, 10, 8, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 938, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", |
| "tweak": "60ffe987c829b479", |
| "msg": [-1, 0, 20, 23, 25, 22, 20], |
| "ct": [17, 32, 39, 38, 44, 3, 5], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 939, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", |
| "tweak": "60ffe987c829b479", |
| "msg": [28, 0, -1, 23, 25, 22, 20], |
| "ct": [23, 13, 5, 44, 13, 23, 26], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 940, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", |
| "tweak": "60ffe987c829b479", |
| "msg": [28, 0, 20, 23, 25, 22, -1], |
| "ct": [44, 13, 10, 13, 29, 39, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 941, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f8d104bc080796c9e1b7082f65f4f85fb754831e8f752b64", |
| "tweak": "769271d16f0eba31", |
| "msg": [45, 43, 26, 18, 6, 10, 22], |
| "ct": [3, 41, 1, 3, 24, 44, 3], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 942, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f8d104bc080796c9e1b7082f65f4f85fb754831e8f752b64", |
| "tweak": "769271d16f0eba31", |
| "msg": [24, 43, 45, 18, 6, 10, 22], |
| "ct": [36, 9, 44, 36, 29, 0, 24], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 943, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f8d104bc080796c9e1b7082f65f4f85fb754831e8f752b64", |
| "tweak": "769271d16f0eba31", |
| "msg": [24, 43, 26, 18, 6, 10, 45], |
| "ct": [10, 36, 38, 2, 12, 14, 17], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 8, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 944, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "92a79c3f030f2aba3096f2537c9d47403d9f4b2ede166d87", |
| "tweak": "3146e53b9e1162f2", |
| "msg": [1, 28, 25, 38, 39, 22, 14, 34], |
| "ct": [3, 31, 10, 26, 43, 16, 42, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 945, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [28, 8, 3, 33, 7, 28, 18, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 946, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [19, 33, 41, 25, 16, 37, 20, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 947, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [23, 0, 28, 17, 23, 0, 28, 17], |
| "ct": [42, 37, 5, 1, 17, 26, 10, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 948, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [23, 0, 28, 16, 23, 0, 28, 16], |
| "ct": [20, 15, 24, 0, 3, 43, 2, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 949, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [2, 16, 4, 24, 41, 41, 0, 39], |
| "ct": [12, 27, 20, 33, 7, 31, 22, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 950, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [28, 35, 27, 33, 22, 0, 41, 1], |
| "ct": [19, 30, 26, 39, 42, 38, 23, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 951, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [32, 20, 41, 40, 31, 2, 21, 32], |
| "ct": [5, 10, 4, 44, 4, 22, 25, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 952, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [1, 10, 39, 16, 5, 22, 13, 36], |
| "ct": [44, 12, 14, 26, 34, 30, 23, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 953, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [31, 30, 18, 11, 40, 7, 36, 26], |
| "ct": [41, 20, 12, 33, 8, 10, 31, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 954, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [41, 43, 5, 22, 29, 31, 44, 30], |
| "ct": [18, 31, 1, 5, 32, 12, 5, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 955, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [43, 22, 9, 42, 35, 7, 16, 44], |
| "ct": [41, 0, 43, 3, 14, 25, 39, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 956, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [22, 12, 18, 36, 26, 42, 0, 27], |
| "ct": [34, 1, 22, 40, 8, 35, 16, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 957, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [17, 43, 42, 31, 13, 43, 7, 12], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 958, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [41, 11, 12, 37, 19, 24, 2, 8], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 959, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [17, 32, 9, 33, 31, 28, 43, 27], |
| "ct": [23, 0, 28, 17, 23, 0, 28, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 960, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": [6, 14, 15, 8, 11, 41, 17, 32], |
| "ct": [23, 0, 28, 16, 23, 0, 28, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 961, |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "3182e4f1ca5c44dd9f8b08a0", |
| "msg": [17, 42, 14, 27, 0, 0, 0, 0], |
| "ct": [38, 42, 32, 39, 38, 19, 6, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 962, |
| "comment": "y = 0 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "3182e4f1ca5c44dd9f8b08a0", |
| "msg": [18, 28, 33, 43, 0, 0, 0, 1], |
| "ct": [20, 44, 8, 6, 26, 23, 43, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 963, |
| "comment": "y = 0 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "3182e4f1ca5c44dd9f8b08a0", |
| "msg": [38, 8, 17, 33, 23, 0, 28, 17], |
| "ct": [29, 28, 15, 26, 37, 40, 42, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 964, |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "3182e4f1ca5c44dd9f8b08a0", |
| "msg": [31, 6, 37, 33, 44, 44, 44, 44], |
| "ct": [25, 22, 22, 20, 30, 38, 42, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 965, |
| "comment": "y = 1 and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "e6e044c1b514bc6d6c16bae9", |
| "msg": [22, 15, 38, 0, 27, 44, 4, 20], |
| "ct": [24, 39, 41, 35, 25, 16, 34, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 966, |
| "comment": "y = 1 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "e6e044c1b514bc6d6c16bae9", |
| "msg": [6, 22, 20, 34, 35, 16, 35, 15], |
| "ct": [10, 14, 43, 32, 3, 9, 38, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 967, |
| "comment": "y = 1 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "e6e044c1b514bc6d6c16bae9", |
| "msg": [1, 25, 29, 20, 5, 22, 23, 0], |
| "ct": [29, 30, 3, 33, 42, 7, 43, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 968, |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "e6e044c1b514bc6d6c16bae9", |
| "msg": [44, 41, 8, 33, 29, 30, 40, 19], |
| "ct": [25, 26, 14, 14, 19, 2, 25, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 969, |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "e6e044c1b514bc6d6c16bae9", |
| "msg": [1, 7, 39, 32, 10, 15, 35, 1], |
| "ct": [34, 12, 16, 43, 18, 3, 35, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 970, |
| "comment": "y is maximal and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "d63c250a5825c2a4d8f03963", |
| "msg": [28, 41, 26, 31, 29, 29, 43, 2], |
| "ct": [24, 16, 25, 32, 35, 34, 44, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 971, |
| "comment": "y is maximal and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "d63c250a5825c2a4d8f03963", |
| "msg": [40, 25, 0, 40, 17, 24, 32, 0], |
| "ct": [27, 42, 43, 18, 42, 25, 5, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 972, |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "d63c250a5825c2a4d8f03963", |
| "msg": [21, 14, 0, 8, 5, 22, 9, 0], |
| "ct": [36, 18, 5, 40, 40, 19, 19, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 973, |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "d63c250a5825c2a4d8f03963", |
| "msg": [36, 43, 0, 33, 9, 36, 12, 2], |
| "ct": [1, 30, 12, 38, 42, 19, 32, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 974, |
| "comment": "y is maximal and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "d63c250a5825c2a4d8f03963", |
| "msg": [23, 5, 11, 0, 9, 41, 40, 42], |
| "ct": [12, 13, 11, 41, 37, 5, 9, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 975, |
| "comment": "y is maximal and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "d63c250a5825c2a4d8f03963", |
| "msg": [27, 20, 4, 33, 11, 34, 2, 9], |
| "ct": [23, 21, 20, 13, 32, 40, 1, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 976, |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "695cb937def61537061b98be", |
| "msg": [29, 38, 21, 44, 26, 35, 8, 40], |
| "ct": [19, 10, 8, 16, 18, 2, 34, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 977, |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "695cb937def61537061b98be", |
| "msg": [22, 22, 21, 13, 14, 17, 40, 21], |
| "ct": [41, 6, 2, 24, 24, 13, 26, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 978, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "695cb937def61537061b98be", |
| "msg": [39, 37, 30, 40, 22, 12, 21, 29], |
| "ct": [13, 34, 5, 42, 34, 37, 25, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 979, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "695cb937def61537061b98be", |
| "msg": [37, 14, 6, 8, 7, 34, 11, 44], |
| "ct": [42, 16, 15, 43, 14, 27, 7, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 980, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "695cb937def61537061b98be", |
| "msg": [11, 0, 1, 7, 5, 2, 20, 44], |
| "ct": [23, 24, 7, 21, 10, 4, 29, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 981, |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "695cb937def61537061b98be", |
| "msg": [0, 39, 4, 41, 3, 43, 29, 21], |
| "ct": [6, 32, 34, 29, 4, 1, 37, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 982, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "be6256d95adc3838bef85ca9", |
| "msg": [36, 10, 0, 32, 33, 20, 4, 24], |
| "ct": [32, 34, 4, 44, 6, 20, 22, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 983, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "be6256d95adc3838bef85ca9", |
| "msg": [6, 23, 0, 28, 29, 43, 41, 6], |
| "ct": [16, 24, 0, 2, 0, 26, 23, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 984, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "be6256d95adc3838bef85ca9", |
| "msg": [12, 31, 22, 44, 27, 43, 42, 10], |
| "ct": [5, 9, 35, 26, 20, 28, 11, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 985, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "be6256d95adc3838bef85ca9", |
| "msg": [25, 33, 38, 38, 21, 41, 23, 23], |
| "ct": [15, 19, 36, 38, 19, 39, 38, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 986, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", |
| "tweak": "1a7d6192c4daa46f", |
| "msg": [-1, 42, 9, 30, 35, 35, 42, 29], |
| "ct": [36, 16, 18, 27, 22, 16, 5, 12], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 987, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", |
| "tweak": "1a7d6192c4daa46f", |
| "msg": [15, 42, -1, 30, 35, 35, 42, 29], |
| "ct": [20, 19, 42, 38, 6, 12, 6, 26], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 988, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", |
| "tweak": "1a7d6192c4daa46f", |
| "msg": [15, 42, 9, 30, 35, 35, 42, -1], |
| "ct": [33, 9, 19, 25, 21, 30, 29, 9], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 989, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d11edc52eabe01145fd9a4ea7976f7f1898d004d659bc310", |
| "tweak": "107e506c2723adf9", |
| "msg": [45, 41, 9, 25, 5, 4, 0, 0], |
| "ct": [42, 17, 1, 22, 10, 32, 32, 40], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 990, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d11edc52eabe01145fd9a4ea7976f7f1898d004d659bc310", |
| "tweak": "107e506c2723adf9", |
| "msg": [28, 41, 45, 25, 5, 4, 0, 0], |
| "ct": [3, 30, 9, 27, 2, 12, 14, 9], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 991, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d11edc52eabe01145fd9a4ea7976f7f1898d004d659bc310", |
| "tweak": "107e506c2723adf9", |
| "msg": [28, 41, 9, 25, 5, 4, 0, 45], |
| "ct": [17, 12, 21, 44, 43, 16, 28, 19], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 9, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 992, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "c5fa236ae679d3c1d533758578e3a5c48752179eb298ac0e", |
| "tweak": "72ac4fc84f5bc825", |
| "msg": [26, 29, 36, 13, 27, 40, 9, 43, 43], |
| "ct": [23, 8, 37, 5, 21, 37, 23, 25, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 993, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [40, 10, 12, 36, 14, 11, 6, 7, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 994, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [38, 29, 38, 0, 3, 30, 14, 23, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 995, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [23, 0, 28, 17, 32, 32, 40, 16, 8], |
| "ct": [6, 16, 15, 41, 12, 21, 20, 18, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 996, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [23, 0, 28, 16, 32, 32, 40, 16, 7], |
| "ct": [13, 27, 8, 15, 34, 10, 44, 6, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 997, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [31, 11, 14, 26, 11, 43, 38, 5, 17], |
| "ct": [22, 20, 0, 7, 31, 41, 11, 21, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 998, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [44, 36, 40, 3, 42, 37, 26, 34, 42], |
| "ct": [29, 14, 24, 3, 7, 37, 44, 17, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 999, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [3, 31, 38, 20, 19, 10, 1, 8, 14], |
| "ct": [13, 41, 30, 27, 28, 37, 16, 42, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1000, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [29, 32, 27, 16, 26, 20, 22, 38, 23], |
| "ct": [39, 34, 1, 27, 33, 36, 26, 36, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1001, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [24, 36, 25, 19, 39, 11, 43, 17, 8], |
| "ct": [37, 27, 4, 30, 9, 11, 40, 6, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1002, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [34, 10, 20, 19, 7, 23, 32, 7, 15], |
| "ct": [36, 32, 41, 39, 20, 10, 40, 35, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1003, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [2, 33, 24, 43, 29, 39, 37, 29, 1], |
| "ct": [36, 41, 16, 24, 9, 1, 36, 16, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1004, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [16, 11, 17, 28, 32, 34, 7, 19, 17], |
| "ct": [19, 27, 17, 16, 11, 42, 34, 37, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1005, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [43, 43, 14, 38, 6, 7, 34, 9, 7], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1006, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [4, 44, 15, 31, 21, 0, 43, 32, 42], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1007, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [4, 0, 25, 32, 25, 30, 18, 41, 19], |
| "ct": [23, 0, 28, 17, 32, 32, 40, 16, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1008, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": [41, 7, 10, 10, 13, 5, 42, 27, 15], |
| "ct": [23, 0, 28, 16, 32, 32, 40, 16, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1009, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", |
| "tweak": "1f3e407c82ac82ced32a61", |
| "msg": [21, 0, 44, 15, 35, 36, 34, 2, 1], |
| "ct": [22, 41, 0, 20, 28, 28, 33, 31, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1010, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", |
| "tweak": "1f3e407c82ac82ced32a61", |
| "msg": [6, 16, 31, 33, 19, 15, 2, 7, 25], |
| "ct": [11, 33, 30, 0, 2, 33, 24, 44, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1011, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", |
| "tweak": "1f3e407c82ac82ced32a61", |
| "msg": [38, 13, 13, 43, 32, 32, 22, 10, 35], |
| "ct": [10, 19, 23, 3, 11, 44, 4, 16, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1012, |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", |
| "tweak": "1f3e407c82ac82ced32a61", |
| "msg": [35, 2, 10, 38, 24, 43, 4, 8, 6], |
| "ct": [11, 20, 7, 17, 44, 39, 17, 34, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1013, |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", |
| "tweak": "1f3e407c82ac82ced32a61", |
| "msg": [13, 3, 0, 2, 4, 29, 34, 33, 6], |
| "ct": [42, 32, 14, 4, 41, 38, 22, 9, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1014, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", |
| "tweak": "0e04e6e5dff7ff8298cd80", |
| "msg": [28, 36, 35, 1, 29, 5, 39, 32, 15], |
| "ct": [1, 37, 40, 0, 26, 15, 4, 21, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1015, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", |
| "tweak": "0e04e6e5dff7ff8298cd80", |
| "msg": [20, 32, 24, 4, 30, 37, 23, 32, 14], |
| "ct": [11, 21, 29, 24, 42, 35, 20, 28, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1016, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", |
| "tweak": "0e04e6e5dff7ff8298cd80", |
| "msg": [9, 3, 15, 5, 9, 43, 40, 10, 5], |
| "ct": [37, 9, 18, 27, 0, 15, 29, 25, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1017, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", |
| "tweak": "0e04e6e5dff7ff8298cd80", |
| "msg": [20, 35, 8, 33, 27, 8, 23, 3, 13], |
| "ct": [10, 39, 19, 30, 36, 23, 4, 24, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1018, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", |
| "tweak": "2f4481b579f8a5f8", |
| "msg": [-1, 6, 15, 0, 3, 11, 44, 17, 43], |
| "ct": [44, 22, 17, 3, 15, 42, 16, 18, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1019, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", |
| "tweak": "2f4481b579f8a5f8", |
| "msg": [3, 6, 15, -1, 3, 11, 44, 17, 43], |
| "ct": [5, 19, 12, 0, 14, 38, 1, 14, 28], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1020, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", |
| "tweak": "2f4481b579f8a5f8", |
| "msg": [3, 6, 15, 0, 3, 11, 44, 17, -1], |
| "ct": [27, 17, 30, 15, 10, 15, 44, 29, 12], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1021, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2b19ad166fd91d72ae7b22207034f373517d33f808a65f6b", |
| "tweak": "b174d0cfd933086c", |
| "msg": [45, 38, 35, 1, 15, 9, 42, 34, 44], |
| "ct": [27, 8, 3, 34, 5, 3, 42, 16, 37], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1022, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2b19ad166fd91d72ae7b22207034f373517d33f808a65f6b", |
| "tweak": "b174d0cfd933086c", |
| "msg": [16, 38, 35, 45, 15, 9, 42, 34, 44], |
| "ct": [22, 41, 10, 13, 40, 26, 23, 2, 21], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1023, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2b19ad166fd91d72ae7b22207034f373517d33f808a65f6b", |
| "tweak": "b174d0cfd933086c", |
| "msg": [16, 38, 35, 1, 15, 9, 42, 34, 45], |
| "ct": [20, 29, 20, 6, 8, 37, 8, 39, 32], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 10, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1024, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "8cf0a0e458eba1cc12ed18041ba331835519346134d0e908", |
| "tweak": "ea8c0ae555bb05ce", |
| "msg": [8, 26, 27, 37, 3, 0, 33, 38, 0, 22], |
| "ct": [1, 27, 44, 2, 31, 10, 11, 15, 8, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1025, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [30, 20, 4, 16, 35, 18, 26, 25, 15, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1026, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [8, 23, 14, 13, 8, 20, 43, 34, 22, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1027, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [32, 32, 40, 16, 8, 32, 32, 40, 16, 8], |
| "ct": [34, 26, 40, 38, 12, 37, 7, 17, 33, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1028, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [32, 32, 40, 16, 7, 32, 32, 40, 16, 7], |
| "ct": [6, 15, 4, 8, 4, 32, 28, 3, 1, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1029, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [41, 30, 5, 41, 1, 4, 12, 36, 7, 13], |
| "ct": [30, 44, 33, 14, 41, 20, 41, 13, 4, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1030, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [29, 37, 30, 11, 38, 1, 27, 0, 28, 42], |
| "ct": [44, 20, 13, 0, 13, 9, 14, 25, 39, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1031, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [14, 17, 28, 27, 40, 36, 3, 35, 0, 12], |
| "ct": [39, 34, 21, 6, 42, 14, 9, 31, 15, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1032, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [15, 24, 6, 15, 1, 31, 10, 13, 37, 0], |
| "ct": [17, 44, 19, 34, 1, 39, 14, 21, 23, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1033, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [44, 36, 9, 25, 3, 7, 18, 23, 9, 31], |
| "ct": [5, 9, 2, 7, 42, 38, 7, 30, 32, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1034, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [29, 10, 37, 39, 4, 34, 1, 23, 28, 41], |
| "ct": [41, 39, 20, 2, 4, 4, 6, 44, 31, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1035, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [40, 5, 18, 31, 43, 37, 25, 32, 20, 39], |
| "ct": [41, 0, 22, 35, 15, 42, 14, 37, 34, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1036, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [41, 15, 24, 30, 20, 18, 23, 19, 27, 18], |
| "ct": [1, 5, 10, 7, 24, 31, 41, 33, 24, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1037, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [28, 19, 10, 8, 34, 7, 26, 4, 42, 9], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1038, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [2, 9, 23, 34, 28, 38, 17, 38, 33, 7], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1039, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [21, 8, 43, 38, 1, 25, 38, 7, 36, 3], |
| "ct": [32, 32, 40, 16, 8, 32, 32, 40, 16, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1040, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": [38, 25, 5, 14, 14, 33, 37, 42, 12, 18], |
| "ct": [32, 32, 40, 16, 7, 32, 32, 40, 16, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1041, |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "ae6fb62641db187777b7aa", |
| "msg": [19, 26, 17, 29, 40, 32, 42, 24, 32, 7], |
| "ct": [33, 36, 16, 28, 39, 16, 27, 35, 31, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1042, |
| "comment": "y = 0 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "ae6fb62641db187777b7aa", |
| "msg": [4, 5, 18, 42, 15, 20, 29, 4, 28, 39], |
| "ct": [44, 18, 6, 8, 16, 7, 23, 6, 3, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1043, |
| "comment": "y = 0 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "ae6fb62641db187777b7aa", |
| "msg": [38, 25, 0, 39, 35, 4, 36, 17, 44, 32], |
| "ct": [16, 2, 42, 3, 44, 38, 42, 3, 9, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1044, |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "ae6fb62641db187777b7aa", |
| "msg": [31, 35, 27, 37, 25, 43, 32, 37, 2, 12], |
| "ct": [40, 20, 17, 6, 35, 18, 39, 5, 22, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1045, |
| "comment": "y = 1 and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "4bd33d425ad2d7c7bd6445", |
| "msg": [12, 24, 5, 16, 24, 39, 20, 39, 16, 24], |
| "ct": [30, 43, 7, 34, 26, 39, 34, 30, 28, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1046, |
| "comment": "y = 1 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "4bd33d425ad2d7c7bd6445", |
| "msg": [41, 25, 10, 24, 11, 15, 10, 40, 24, 15], |
| "ct": [30, 11, 22, 1, 29, 42, 26, 3, 1, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1047, |
| "comment": "y = 1 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "4bd33d425ad2d7c7bd6445", |
| "msg": [12, 43, 6, 13, 27, 39, 34, 40, 30, 9], |
| "ct": [7, 19, 29, 43, 4, 25, 28, 16, 20, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1048, |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "4bd33d425ad2d7c7bd6445", |
| "msg": [10, 42, 10, 2, 21, 15, 32, 26, 34, 30], |
| "ct": [1, 38, 29, 23, 2, 5, 42, 2, 34, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1049, |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "4bd33d425ad2d7c7bd6445", |
| "msg": [20, 33, 21, 36, 5, 11, 29, 32, 40, 0], |
| "ct": [18, 15, 0, 7, 8, 3, 42, 34, 42, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1050, |
| "comment": "y is maximal and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "aaf7a986299783a4744cef", |
| "msg": [22, 15, 5, 10, 8, 31, 34, 25, 39, 7], |
| "ct": [9, 27, 3, 27, 13, 9, 13, 38, 5, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1051, |
| "comment": "y is maximal and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "aaf7a986299783a4744cef", |
| "msg": [18, 27, 16, 38, 10, 42, 14, 5, 31, 11], |
| "ct": [9, 26, 8, 25, 11, 19, 20, 16, 31, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1052, |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "aaf7a986299783a4744cef", |
| "msg": [16, 23, 9, 28, 21, 21, 30, 39, 43, 40], |
| "ct": [24, 19, 42, 26, 32, 39, 12, 19, 19, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1053, |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "aaf7a986299783a4744cef", |
| "msg": [4, 23, 36, 21, 38, 41, 27, 5, 8, 29], |
| "ct": [27, 38, 0, 40, 3, 5, 0, 9, 42, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1054, |
| "comment": "y is maximal and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "aaf7a986299783a4744cef", |
| "msg": [44, 36, 21, 16, 0, 42, 28, 6, 17, 43], |
| "ct": [16, 13, 6, 14, 2, 31, 11, 6, 44, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1055, |
| "comment": "y is maximal and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "aaf7a986299783a4744cef", |
| "msg": [41, 24, 40, 2, 31, 32, 43, 15, 13, 3], |
| "ct": [29, 6, 33, 7, 30, 10, 38, 13, 17, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1056, |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "d09998aa9f592ca188e03e", |
| "msg": [0, 0, 0, 0, 0, 39, 36, 17, 38, 5], |
| "ct": [17, 15, 1, 15, 9, 35, 6, 42, 25, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1057, |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "d09998aa9f592ca188e03e", |
| "msg": [0, 0, 0, 0, 1, 39, 36, 17, 38, 5], |
| "ct": [41, 18, 37, 25, 1, 31, 23, 14, 40, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1058, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "d09998aa9f592ca188e03e", |
| "msg": [12, 2, 38, 9, 44, 39, 36, 17, 38, 5], |
| "ct": [40, 5, 5, 21, 42, 42, 43, 0, 9, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1059, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "d09998aa9f592ca188e03e", |
| "msg": [12, 2, 38, 10, 0, 39, 36, 17, 38, 5], |
| "ct": [30, 40, 19, 42, 28, 19, 36, 30, 20, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1060, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "d09998aa9f592ca188e03e", |
| "msg": [32, 32, 40, 16, 8, 39, 36, 17, 38, 5], |
| "ct": [1, 42, 29, 31, 25, 20, 35, 39, 7, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1061, |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "d09998aa9f592ca188e03e", |
| "msg": [44, 44, 44, 44, 44, 39, 36, 17, 38, 5], |
| "ct": [19, 25, 29, 4, 16, 9, 7, 15, 24, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1062, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "f14981a1d123a6923df074", |
| "msg": [21, 36, 24, 11, 2, 10, 24, 33, 35, 19], |
| "ct": [27, 16, 43, 44, 43, 10, 26, 11, 12, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1063, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "f14981a1d123a6923df074", |
| "msg": [18, 37, 7, 5, 42, 23, 31, 12, 9, 3], |
| "ct": [1, 3, 17, 35, 31, 11, 1, 9, 6, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1064, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "f14981a1d123a6923df074", |
| "msg": [23, 28, 4, 27, 20, 4, 44, 44, 30, 28], |
| "ct": [29, 35, 4, 38, 3, 7, 19, 36, 43, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1065, |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "f14981a1d123a6923df074", |
| "msg": [24, 23, 35, 33, 18, 44, 5, 16, 23, 37], |
| "ct": [8, 22, 10, 0, 16, 17, 42, 19, 16, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1066, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", |
| "tweak": "4343b0033d260a29", |
| "msg": [-1, 38, 29, 20, 20, 13, 23, 14, 23, 22], |
| "ct": [20, 12, 38, 12, 14, 9, 0, 34, 24, 11], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1067, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", |
| "tweak": "4343b0033d260a29", |
| "msg": [10, 38, 29, -1, 20, 13, 23, 14, 23, 22], |
| "ct": [17, 3, 19, 1, 22, 19, 38, 40, 42, 12], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1068, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", |
| "tweak": "4343b0033d260a29", |
| "msg": [10, 38, 29, 20, 20, 13, 23, 14, 23, -1], |
| "ct": [16, 7, 26, 43, 1, 41, 35, 9, 16, 38], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1069, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3a7986975126c37109d8386de336e78a843f35ebab447021", |
| "tweak": "40d4ea0dbde2cb11", |
| "msg": [45, 26, 16, 19, 35, 2, 0, 31, 27, 1], |
| "ct": [19, 35, 30, 44, 26, 9, 26, 0, 28, 20], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1070, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3a7986975126c37109d8386de336e78a843f35ebab447021", |
| "tweak": "40d4ea0dbde2cb11", |
| "msg": [9, 26, 16, 45, 35, 2, 0, 31, 27, 1], |
| "ct": [17, 24, 15, 24, 2, 10, 43, 21, 22, 17], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1071, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3a7986975126c37109d8386de336e78a843f35ebab447021", |
| "tweak": "40d4ea0dbde2cb11", |
| "msg": [9, 26, 16, 19, 35, 2, 0, 31, 27, 45], |
| "ct": [22, 9, 10, 33, 37, 21, 2, 32, 12, 42], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 11, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1072, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "f8a4cc9863b4aa6eb5b16e9401b0b83e25dd78a96abe6870", |
| "tweak": "8d5a3a9b130e7bad", |
| "msg": [39, 39, 7, 17, 6, 8, 11, 12, 42, 41, 35], |
| "ct": [39, 35, 23, 7, 29, 15, 32, 6, 3, 17, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1073, |
| "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": [41, 0, 27, 4, 6, 19, 36, 20, 30, 34, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1074, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [25, 43, 11, 22, 34, 3, 11, 7, 40, 40, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1075, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [32, 32, 40, 16, 8, 23, 12, 17, 31, 22, 31], |
| "ct": [6, 32, 18, 11, 7, 23, 10, 38, 14, 17, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1076, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [32, 32, 40, 16, 7, 23, 12, 17, 31, 22, 30], |
| "ct": [29, 19, 40, 21, 38, 31, 35, 6, 22, 0, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1077, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [0, 19, 11, 12, 1, 9, 28, 23, 4, 26, 2], |
| "ct": [3, 25, 0, 40, 29, 3, 43, 43, 22, 37, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1078, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [14, 44, 25, 28, 22, 4, 11, 2, 19, 29, 40], |
| "ct": [35, 33, 4, 16, 7, 13, 6, 42, 44, 41, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1079, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [12, 2, 10, 12, 10, 38, 18, 11, 34, 28, 17], |
| "ct": [39, 21, 36, 14, 39, 10, 36, 20, 33, 19, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1080, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [43, 34, 13, 20, 4, 1, 23, 16, 27, 44, 31], |
| "ct": [25, 40, 14, 9, 34, 17, 22, 5, 4, 29, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1081, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [18, 4, 12, 42, 33, 39, 15, 11, 31, 10, 43], |
| "ct": [42, 8, 7, 14, 35, 14, 13, 25, 9, 34, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1082, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [34, 10, 4, 39, 11, 38, 36, 25, 21, 34, 5], |
| "ct": [43, 20, 40, 24, 6, 4, 21, 12, 44, 1, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1083, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [43, 42, 34, 38, 2, 2, 40, 37, 24, 38, 20], |
| "ct": [25, 43, 36, 7, 26, 41, 43, 43, 25, 11, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1084, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [24, 18, 16, 14, 16, 6, 37, 31, 30, 33, 40], |
| "ct": [26, 39, 44, 2, 42, 35, 40, 14, 2, 9, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1085, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [9, 14, 40, 2, 9, 5, 15, 24, 1, 18, 15], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1086, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [9, 4, 16, 17, 14, 13, 9, 6, 8, 26, 8], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1087, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [18, 38, 31, 23, 5, 24, 19, 1, 2, 27, 16], |
| "ct": [32, 32, 40, 16, 8, 23, 12, 17, 31, 22, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1088, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": [34, 36, 31, 21, 4, 27, 10, 23, 27, 41, 18], |
| "ct": [32, 32, 40, 16, 7, 23, 12, 17, 31, 22, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1089, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", |
| "tweak": "d0d85e79b79f69f7", |
| "msg": [-1, 17, 38, 7, 0, 16, 39, 42, 12, 12, 1], |
| "ct": [18, 12, 7, 19, 33, 4, 27, 12, 33, 37, 29], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1090, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", |
| "tweak": "d0d85e79b79f69f7", |
| "msg": [0, 17, 38, -1, 0, 16, 39, 42, 12, 12, 1], |
| "ct": [12, 27, 39, 14, 19, 15, 11, 28, 18, 6, 26], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1091, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", |
| "tweak": "d0d85e79b79f69f7", |
| "msg": [0, 17, 38, 7, 0, 16, 39, 42, 12, 12, -1], |
| "ct": [42, 9, 9, 27, 4, 22, 11, 37, 40, 17, 15], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1092, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "40f7dd1a0b3419579dbb03ffbcdd53b43677c64ce006a57f", |
| "tweak": "b185095829b5e200", |
| "msg": [45, 31, 40, 40, 23, 20, 21, 8, 7, 33, 38], |
| "ct": [24, 28, 21, 4, 41, 26, 37, 31, 19, 25, 25], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1093, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "40f7dd1a0b3419579dbb03ffbcdd53b43677c64ce006a57f", |
| "tweak": "b185095829b5e200", |
| "msg": [43, 31, 40, 45, 23, 20, 21, 8, 7, 33, 38], |
| "ct": [8, 18, 23, 14, 28, 15, 30, 17, 5, 14, 16], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1094, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "40f7dd1a0b3419579dbb03ffbcdd53b43677c64ce006a57f", |
| "tweak": "b185095829b5e200", |
| "msg": [43, 31, 40, 40, 23, 20, 21, 8, 7, 33, 45], |
| "ct": [34, 40, 14, 35, 35, 18, 41, 22, 9, 23, 41], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 12, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1095, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "f095a5d39f0b499cef0130b4eb3bfae90253a1f30270efb5", |
| "tweak": "36b5ea2cee9c08d6", |
| "msg": [16, 27, 38, 20, 18, 37, 34, 1, 33, 27, 26, 31], |
| "ct": [9, 44, 42, 17, 44, 14, 14, 17, 22, 9, 29, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1096, |
| "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": [35, 38, 12, 35, 28, 29, 21, 39, 27, 16, 18, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1097, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [34, 20, 13, 30, 22, 0, 26, 12, 19, 42, 43, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1098, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [23, 12, 17, 31, 22, 31, 23, 12, 17, 31, 22, 31], |
| "ct": [1, 0, 41, 23, 23, 44, 41, 37, 2, 33, 22, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1099, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [23, 12, 17, 31, 22, 30, 23, 12, 17, 31, 22, 30], |
| "ct": [38, 2, 9, 18, 14, 18, 19, 43, 6, 24, 29, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1100, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [34, 0, 5, 6, 32, 2, 3, 2, 35, 3, 37, 35], |
| "ct": [32, 29, 1, 3, 32, 21, 28, 16, 27, 33, 33, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1101, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [42, 24, 28, 12, 25, 44, 12, 28, 30, 24, 43, 39], |
| "ct": [28, 37, 23, 37, 38, 39, 25, 4, 14, 42, 35, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1102, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [43, 19, 26, 13, 10, 21, 35, 9, 23, 37, 23, 0], |
| "ct": [17, 44, 34, 22, 12, 4, 17, 37, 17, 20, 29, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1103, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [13, 3, 35, 13, 9, 5, 8, 16, 11, 18, 36, 35], |
| "ct": [42, 26, 21, 9, 11, 11, 7, 41, 25, 38, 18, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1104, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [34, 0, 25, 25, 39, 39, 44, 10, 36, 17, 38, 3], |
| "ct": [27, 17, 6, 6, 29, 32, 28, 36, 14, 29, 27, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1105, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [40, 10, 12, 25, 19, 24, 31, 43, 40, 26, 28, 1], |
| "ct": [12, 9, 39, 30, 5, 22, 30, 18, 34, 38, 37, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1106, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [7, 24, 10, 38, 30, 30, 2, 36, 19, 24, 32, 22], |
| "ct": [42, 33, 6, 35, 28, 18, 3, 12, 36, 13, 15, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1107, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [3, 9, 5, 38, 43, 5, 32, 9, 6, 4, 3, 4], |
| "ct": [42, 30, 31, 0, 3, 2, 41, 37, 28, 3, 31, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1108, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [15, 29, 2, 7, 27, 3, 7, 26, 13, 30, 20, 33], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1109, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [6, 36, 39, 43, 4, 16, 8, 27, 35, 0, 34, 44], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1110, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [18, 33, 34, 7, 21, 10, 41, 20, 23, 20, 2, 14], |
| "ct": [23, 12, 17, 31, 22, 31, 23, 12, 17, 31, 22, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1111, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": [9, 34, 39, 18, 8, 19, 34, 26, 23, 9, 42, 6], |
| "ct": [23, 12, 17, 31, 22, 30, 23, 12, 17, 31, 22, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1112, |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "0f2439f2e52db108f664", |
| "msg": [1, 13, 9, 24, 29, 31, 27, 38, 11, 26, 22, 33], |
| "ct": [4, 12, 8, 28, 18, 18, 33, 1, 43, 19, 24, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1113, |
| "comment": "y = 0 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "0f2439f2e52db108f664", |
| "msg": [26, 8, 15, 26, 43, 40, 24, 30, 33, 18, 34, 20], |
| "ct": [4, 19, 10, 0, 13, 33, 38, 9, 27, 20, 39, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1114, |
| "comment": "y = 0 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "0f2439f2e52db108f664", |
| "msg": [43, 25, 34, 28, 4, 44, 3, 18, 44, 14, 10, 6], |
| "ct": [5, 41, 26, 4, 11, 40, 37, 4, 0, 16, 4, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1115, |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "0f2439f2e52db108f664", |
| "msg": [19, 24, 10, 23, 42, 32, 4, 9, 39, 16, 39, 14], |
| "ct": [31, 27, 22, 25, 39, 37, 38, 38, 34, 5, 39, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1116, |
| "comment": "y = 1 and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "8152191c5fa6b8d5b27d", |
| "msg": [24, 29, 19, 25, 10, 41, 18, 34, 28, 43, 3, 25], |
| "ct": [9, 20, 3, 7, 10, 24, 24, 17, 33, 34, 11, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1117, |
| "comment": "y = 1 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "8152191c5fa6b8d5b27d", |
| "msg": [34, 19, 5, 4, 12, 8, 42, 37, 16, 37, 15, 40], |
| "ct": [25, 25, 26, 21, 24, 14, 14, 6, 26, 27, 40, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1118, |
| "comment": "y = 1 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "8152191c5fa6b8d5b27d", |
| "msg": [24, 7, 26, 20, 26, 43, 10, 42, 6, 39, 28, 32], |
| "ct": [20, 2, 17, 22, 16, 10, 17, 19, 27, 27, 0, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1119, |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "8152191c5fa6b8d5b27d", |
| "msg": [13, 28, 32, 42, 8, 2, 1, 10, 21, 6, 25, 27], |
| "ct": [37, 8, 32, 40, 43, 17, 17, 41, 4, 19, 24, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1120, |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "8152191c5fa6b8d5b27d", |
| "msg": [28, 17, 25, 21, 36, 18, 41, 27, 6, 2, 4, 36], |
| "ct": [20, 8, 41, 12, 17, 15, 39, 42, 5, 32, 23, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1121, |
| "comment": "y is maximal and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "a9690853e42f94be642d", |
| "msg": [35, 7, 27, 6, 10, 31, 29, 39, 8, 19, 24, 36], |
| "ct": [14, 8, 20, 0, 22, 27, 5, 14, 13, 19, 20, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1122, |
| "comment": "y is maximal and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "a9690853e42f94be642d", |
| "msg": [27, 5, 31, 31, 41, 10, 44, 33, 8, 14, 20, 16], |
| "ct": [36, 36, 29, 29, 30, 22, 21, 42, 19, 21, 1, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1123, |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "a9690853e42f94be642d", |
| "msg": [10, 43, 34, 12, 32, 43, 12, 29, 20, 20, 34, 7], |
| "ct": [34, 4, 25, 12, 23, 3, 14, 30, 20, 22, 18, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1124, |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "a9690853e42f94be642d", |
| "msg": [2, 41, 33, 23, 17, 26, 36, 28, 28, 5, 27, 10], |
| "ct": [37, 17, 22, 8, 2, 43, 18, 21, 38, 33, 34, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1125, |
| "comment": "y is maximal and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "a9690853e42f94be642d", |
| "msg": [7, 13, 5, 9, 39, 16, 6, 37, 38, 38, 40, 30], |
| "ct": [44, 2, 21, 20, 32, 37, 5, 31, 26, 40, 26, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1126, |
| "comment": "y is maximal and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "a9690853e42f94be642d", |
| "msg": [9, 30, 43, 3, 9, 40, 1, 31, 22, 19, 24, 1], |
| "ct": [19, 42, 7, 30, 36, 38, 29, 37, 44, 36, 15, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1127, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "73c8ebd339f8374da5f0", |
| "msg": [15, 34, 31, 29, 44, 39, 19, 28, 22, 41, 18, 26], |
| "ct": [32, 28, 23, 18, 0, 9, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1128, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "73c8ebd339f8374da5f0", |
| "msg": [27, 39, 37, 42, 12, 6, 42, 0, 16, 32, 20, 31], |
| "ct": [32, 28, 23, 18, 0, 9, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1129, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "73c8ebd339f8374da5f0", |
| "msg": [22, 30, 42, 33, 5, 18, 4, 7, 9, 37, 23, 20], |
| "ct": [32, 28, 23, 18, 0, 9, 23, 12, 17, 31, 22, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1130, |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "73c8ebd339f8374da5f0", |
| "msg": [40, 17, 10, 36, 27, 44, 1, 18, 35, 28, 1, 19], |
| "ct": [32, 28, 23, 18, 0, 9, 44, 44, 44, 44, 44, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1131, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", |
| "tweak": "1f8dcd3dd4e01cbd", |
| "msg": [-1, 32, 20, 38, 32, 35, 15, 2, 29, 6, 16, 36], |
| "ct": [40, 21, 31, 15, 16, 5, 37, 44, 16, 38, 33, 1], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1132, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", |
| "tweak": "1f8dcd3dd4e01cbd", |
| "msg": [27, 32, 20, 38, -1, 35, 15, 2, 29, 6, 16, 36], |
| "ct": [44, 38, 38, 24, 4, 41, 26, 10, 6, 15, 25, 14], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1133, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", |
| "tweak": "1f8dcd3dd4e01cbd", |
| "msg": [27, 32, 20, 38, 32, 35, 15, 2, 29, 6, 16, -1], |
| "ct": [33, 28, 2, 31, 40, 36, 23, 23, 9, 19, 6, 25], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1134, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e0c0fee1d24e1b854f1d134593589383bbb6a41a4e4e0fe2", |
| "tweak": "c8c7a234cbe4bf21", |
| "msg": [45, 23, 27, 6, 4, 18, 37, 37, 25, 3, 16, 17], |
| "ct": [36, 37, 42, 13, 13, 39, 9, 39, 0, 3, 43, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1135, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e0c0fee1d24e1b854f1d134593589383bbb6a41a4e4e0fe2", |
| "tweak": "c8c7a234cbe4bf21", |
| "msg": [40, 23, 27, 6, 45, 18, 37, 37, 25, 3, 16, 17], |
| "ct": [36, 24, 6, 35, 19, 4, 3, 35, 16, 27, 27, 7], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1136, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e0c0fee1d24e1b854f1d134593589383bbb6a41a4e4e0fe2", |
| "tweak": "c8c7a234cbe4bf21", |
| "msg": [40, 23, 27, 6, 4, 18, 37, 37, 25, 3, 16, 45], |
| "ct": [15, 28, 33, 9, 6, 2, 24, 25, 37, 4, 37, 27], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 13, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1137, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "2b36e8a149dbee09bdfc43feaab6aa2d22f6b46b5a967013", |
| "tweak": "506f5152883327d6", |
| "msg": [9, 43, 44, 0, 5, 17, 4, 12, 7, 3, 18, 27, 14], |
| "ct": [21, 30, 23, 19, 34, 3, 37, 22, 17, 17, 24, 10, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1138, |
| "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": [30, 32, 19, 39, 1, 4, 23, 14, 40, 41, 41, 33, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1139, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [24, 36, 20, 24, 11, 1, 32, 21, 21, 14, 23, 29, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1140, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [23, 12, 17, 31, 22, 31, 33, 4, 28, 7, 36, 12, 4], |
| "ct": [31, 19, 33, 13, 30, 15, 10, 22, 20, 7, 9, 18, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1141, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [23, 12, 17, 31, 22, 30, 33, 4, 28, 7, 36, 12, 3], |
| "ct": [31, 2, 24, 39, 25, 25, 7, 20, 29, 16, 1, 34, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1142, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [19, 38, 8, 28, 26, 44, 0, 32, 31, 23, 37, 21, 4], |
| "ct": [13, 11, 18, 7, 21, 41, 4, 8, 33, 25, 5, 12, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1143, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [23, 20, 23, 36, 38, 27, 27, 40, 44, 33, 18, 21, 32], |
| "ct": [1, 43, 33, 35, 18, 10, 32, 20, 37, 40, 17, 36, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1144, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [21, 0, 30, 32, 43, 29, 43, 39, 40, 16, 39, 3, 4], |
| "ct": [18, 5, 19, 31, 35, 4, 36, 7, 9, 6, 4, 18, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1145, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [21, 16, 3, 39, 32, 23, 38, 3, 7, 7, 1, 18, 20], |
| "ct": [38, 15, 8, 14, 44, 44, 3, 34, 20, 14, 9, 16, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1146, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [4, 18, 40, 34, 41, 32, 29, 31, 26, 41, 22, 16, 8], |
| "ct": [3, 10, 5, 23, 11, 33, 29, 28, 41, 5, 2, 23, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1147, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [26, 17, 38, 32, 41, 27, 7, 21, 22, 9, 19, 40, 7], |
| "ct": [19, 15, 19, 7, 32, 13, 6, 7, 23, 10, 25, 9, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1148, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [12, 37, 2, 26, 8, 14, 10, 3, 37, 20, 39, 13, 6], |
| "ct": [35, 11, 21, 32, 21, 39, 35, 37, 36, 5, 4, 19, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1149, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [8, 3, 19, 19, 37, 31, 28, 7, 4, 33, 21, 40, 36], |
| "ct": [29, 20, 31, 21, 5, 26, 11, 5, 12, 36, 25, 1, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1150, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [26, 30, 32, 15, 27, 10, 32, 8, 43, 21, 25, 10, 36], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1151, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [39, 15, 42, 28, 26, 42, 6, 33, 40, 33, 27, 30, 42], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1152, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [44, 8, 41, 26, 19, 38, 24, 19, 22, 34, 10, 41, 36], |
| "ct": [23, 12, 17, 31, 22, 31, 33, 4, 28, 7, 36, 12, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1153, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": [41, 15, 7, 43, 42, 10, 0, 13, 16, 39, 7, 16, 44], |
| "ct": [23, 12, 17, 31, 22, 30, 33, 4, 28, 7, 36, 12, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1154, |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "8b79605fa18d4c2be581", |
| "msg": [36, 39, 14, 30, 27, 4, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [3, 13, 8, 12, 30, 30, 43, 19, 27, 26, 40, 24, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1155, |
| "comment": "y = 0 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "8b79605fa18d4c2be581", |
| "msg": [44, 40, 12, 5, 8, 2, 0, 0, 0, 0, 0, 0, 1], |
| "ct": [32, 7, 24, 6, 15, 24, 36, 10, 24, 40, 22, 36, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1156, |
| "comment": "y = 0 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "8b79605fa18d4c2be581", |
| "msg": [25, 25, 24, 42, 8, 6, 33, 4, 28, 7, 36, 12, 4], |
| "ct": [30, 13, 5, 28, 21, 2, 33, 2, 23, 1, 1, 35, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1157, |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "8b79605fa18d4c2be581", |
| "msg": [11, 30, 1, 40, 27, 31, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [22, 22, 11, 43, 27, 11, 28, 33, 43, 36, 34, 44, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1158, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "28205bdb5293dbd82094", |
| "msg": [0, 0, 0, 0, 0, 0, 37, 37, 12, 21, 23, 34, 41], |
| "ct": [2, 3, 34, 18, 29, 28, 11, 11, 14, 28, 11, 2, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1159, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "28205bdb5293dbd82094", |
| "msg": [0, 0, 0, 0, 0, 1, 37, 37, 12, 21, 23, 34, 41], |
| "ct": [39, 8, 2, 21, 41, 20, 16, 12, 17, 3, 28, 16, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1160, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "28205bdb5293dbd82094", |
| "msg": [23, 12, 17, 31, 22, 31, 37, 37, 12, 21, 23, 34, 41], |
| "ct": [43, 27, 15, 13, 13, 10, 9, 18, 30, 6, 11, 24, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1161, |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "28205bdb5293dbd82094", |
| "msg": [44, 44, 44, 44, 44, 43, 37, 37, 12, 21, 23, 34, 41], |
| "ct": [28, 9, 15, 34, 27, 34, 12, 25, 0, 19, 0, 35, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1162, |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "28205bdb5293dbd82094", |
| "msg": [44, 44, 44, 44, 44, 44, 37, 37, 12, 21, 23, 34, 41], |
| "ct": [41, 3, 33, 15, 9, 37, 0, 6, 7, 1, 7, 25, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1163, |
| "comment": "y is maximal and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "3232240bd9b8d6153fe2", |
| "msg": [38, 27, 25, 16, 34, 12, 5, 7, 33, 16, 32, 20, 24], |
| "ct": [39, 26, 33, 44, 8, 0, 1, 35, 38, 18, 30, 37, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1164, |
| "comment": "y is maximal and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "3232240bd9b8d6153fe2", |
| "msg": [5, 32, 1, 5, 11, 35, 26, 31, 21, 15, 4, 10, 39], |
| "ct": [39, 26, 33, 44, 8, 1, 17, 39, 36, 16, 26, 39, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1165, |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "3232240bd9b8d6153fe2", |
| "msg": [40, 29, 13, 12, 17, 21, 34, 19, 25, 32, 2, 23, 6], |
| "ct": [44, 44, 44, 44, 44, 44, 17, 40, 10, 42, 31, 6, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1166, |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "3232240bd9b8d6153fe2", |
| "msg": [12, 20, 22, 19, 10, 4, 44, 12, 6, 40, 12, 40, 19], |
| "ct": [0, 0, 0, 0, 0, 0, 38, 34, 10, 7, 26, 5, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1167, |
| "comment": "y is maximal and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "3232240bd9b8d6153fe2", |
| "msg": [3, 8, 7, 42, 15, 16, 30, 25, 27, 1, 16, 10, 31], |
| "ct": [17, 39, 6, 30, 30, 31, 6, 7, 44, 5, 7, 44, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1168, |
| "comment": "y is maximal and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "3232240bd9b8d6153fe2", |
| "msg": [14, 9, 16, 28, 27, 22, 36, 16, 22, 7, 40, 4, 2], |
| "ct": [39, 26, 33, 44, 7, 44, 18, 27, 38, 20, 37, 3, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1169, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "ff6964e3c0c8cda8bf71", |
| "msg": [9, 27, 38, 32, 27, 23, 29, 32, 8, 13, 2, 25, 7], |
| "ct": [44, 44, 44, 44, 44, 44, 39, 43, 22, 3, 13, 29, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1170, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "ff6964e3c0c8cda8bf71", |
| "msg": [28, 32, 19, 13, 18, 5, 21, 34, 44, 2, 21, 32, 0], |
| "ct": [0, 0, 0, 0, 0, 0, 8, 15, 26, 7, 11, 27, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1171, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "ff6964e3c0c8cda8bf71", |
| "msg": [18, 28, 24, 6, 23, 7, 36, 21, 7, 40, 30, 8, 19], |
| "ct": [23, 12, 17, 31, 22, 30, 41, 11, 43, 26, 38, 18, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1172, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "ff6964e3c0c8cda8bf71", |
| "msg": [24, 2, 8, 10, 11, 31, 40, 8, 25, 1, 13, 9, 34], |
| "ct": [44, 44, 44, 44, 44, 43, 3, 33, 25, 6, 31, 4, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1173, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", |
| "tweak": "bd80cf69edccc86d", |
| "msg": [-1, 24, 13, 31, 27, 12, 22, 2, 26, 6, 9, 5, 12], |
| "ct": [38, 3, 30, 7, 42, 36, 22, 36, 41, 33, 38, 17, 26], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1174, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", |
| "tweak": "bd80cf69edccc86d", |
| "msg": [38, 24, 13, 31, -1, 12, 22, 2, 26, 6, 9, 5, 12], |
| "ct": [2, 8, 31, 29, 16, 3, 40, 9, 3, 13, 14, 5, 42], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1175, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", |
| "tweak": "bd80cf69edccc86d", |
| "msg": [38, 24, 13, 31, 27, 12, 22, 2, 26, 6, 9, 5, -1], |
| "ct": [33, 4, 16, 8, 1, 1, 28, 41, 19, 8, 29, 9, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1176, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ca9701aef88e89f026a049bba4347f33083b727c7e8287bc", |
| "tweak": "f79967c363f95cff", |
| "msg": [45, 19, 31, 39, 26, 2, 3, 40, 26, 1, 18, 14, 24], |
| "ct": [5, 22, 13, 12, 13, 7, 15, 30, 7, 22, 3, 28, 14], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1177, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ca9701aef88e89f026a049bba4347f33083b727c7e8287bc", |
| "tweak": "f79967c363f95cff", |
| "msg": [34, 19, 31, 39, 45, 2, 3, 40, 26, 1, 18, 14, 24], |
| "ct": [25, 37, 5, 28, 36, 22, 13, 10, 6, 28, 24, 19, 10], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1178, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ca9701aef88e89f026a049bba4347f33083b727c7e8287bc", |
| "tweak": "f79967c363f95cff", |
| "msg": [34, 19, 31, 39, 26, 2, 3, 40, 26, 1, 18, 14, 45], |
| "ct": [44, 11, 7, 37, 41, 0, 41, 44, 17, 37, 5, 11, 38], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 14, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1179, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "4a9421ed0d8105f41f06225c61a861adc98d34d2700dfd63", |
| "tweak": "6f60cf632424685f", |
| "msg": [3, 8, 3, 38, 27, 34, 37, 20, 36, 2, 9, 40, 13, 4], |
| "ct": [40, 32, 29, 33, 5, 36, 0, 9, 1, 16, 29, 32, 26, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1180, |
| "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": [18, 35, 25, 16, 26, 15, 3, 38, 33, 43, 18, 42, 0, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1181, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [42, 5, 14, 27, 18, 29, 24, 1, 42, 19, 24, 19, 30, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1182, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [33, 4, 28, 7, 36, 12, 4, 33, 4, 28, 7, 36, 12, 4], |
| "ct": [14, 24, 40, 3, 35, 8, 33, 37, 25, 37, 1, 33, 15, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1183, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [33, 4, 28, 7, 36, 12, 3, 33, 4, 28, 7, 36, 12, 3], |
| "ct": [37, 39, 2, 13, 7, 42, 19, 1, 26, 0, 21, 0, 9, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1184, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [24, 0, 1, 11, 4, 8, 9, 41, 17, 35, 11, 8, 27, 15], |
| "ct": [22, 33, 9, 0, 3, 26, 15, 28, 17, 14, 18, 24, 7, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1185, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [10, 31, 41, 37, 4, 16, 42, 43, 26, 34, 3, 18, 6, 16], |
| "ct": [13, 34, 21, 28, 20, 6, 35, 29, 30, 23, 37, 24, 35, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1186, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [10, 5, 34, 22, 4, 15, 44, 15, 35, 3, 28, 4, 35, 20], |
| "ct": [11, 27, 0, 43, 0, 18, 29, 39, 31, 30, 23, 10, 11, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1187, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [41, 19, 39, 17, 32, 29, 42, 35, 34, 26, 7, 17, 17, 19], |
| "ct": [6, 3, 32, 5, 1, 1, 38, 13, 43, 33, 6, 9, 19, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1188, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [27, 0, 1, 29, 25, 39, 24, 27, 36, 41, 2, 36, 43, 14], |
| "ct": [38, 13, 31, 15, 21, 28, 28, 22, 40, 12, 31, 36, 17, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1189, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [6, 31, 28, 24, 3, 6, 41, 26, 40, 40, 18, 37, 25, 3], |
| "ct": [40, 38, 39, 41, 32, 9, 43, 17, 19, 19, 7, 30, 4, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1190, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [21, 31, 22, 36, 23, 5, 36, 28, 22, 5, 14, 37, 5, 13], |
| "ct": [2, 15, 40, 3, 10, 32, 9, 22, 29, 1, 40, 13, 22, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1191, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [31, 0, 36, 12, 15, 18, 29, 10, 43, 1, 4, 24, 20, 15], |
| "ct": [16, 1, 5, 40, 14, 26, 17, 43, 4, 8, 39, 16, 37, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1192, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [0, 26, 6, 33, 38, 44, 0, 16, 4, 39, 0, 35, 42, 31], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1193, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [4, 5, 16, 23, 29, 15, 30, 37, 7, 23, 4, 9, 40, 9], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1194, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [19, 16, 1, 9, 17, 15, 16, 30, 31, 31, 5, 35, 31, 32], |
| "ct": [33, 4, 28, 7, 36, 12, 4, 33, 4, 28, 7, 36, 12, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1195, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": [6, 2, 13, 9, 31, 40, 4, 19, 1, 23, 28, 19, 31, 21], |
| "ct": [33, 4, 28, 7, 36, 12, 3, 33, 4, 28, 7, 36, 12, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1196, |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "93fe0f0e0b442bdaf91a", |
| "msg": [38, 15, 24, 6, 35, 23, 19, 1, 13, 14, 26, 29, 10, 4], |
| "ct": [15, 1, 13, 44, 4, 29, 42, 16, 4, 1, 42, 28, 40, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1197, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "93fe0f0e0b442bdaf91a", |
| "msg": [9, 15, 37, 40, 40, 10, 16, 23, 34, 13, 9, 12, 22, 10], |
| "ct": [6, 38, 28, 35, 10, 43, 44, 29, 24, 32, 35, 31, 25, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1198, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "93fe0f0e0b442bdaf91a", |
| "msg": [16, 33, 25, 42, 10, 23, 23, 39, 10, 21, 9, 34, 26, 19], |
| "ct": [40, 4, 13, 3, 20, 32, 9, 11, 17, 9, 19, 27, 42, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1199, |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "93fe0f0e0b442bdaf91a", |
| "msg": [25, 30, 9, 27, 42, 38, 34, 16, 26, 32, 43, 22, 43, 28], |
| "ct": [44, 35, 20, 20, 21, 33, 25, 18, 36, 16, 22, 16, 3, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1200, |
| "comment": "y = 1 and a = 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "c08ad4ae01428b99d1f8", |
| "msg": [25, 39, 11, 2, 21, 27, 33, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [41, 8, 24, 22, 20, 34, 20, 42, 23, 14, 19, 12, 5, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1201, |
| "comment": "y = 1 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "c08ad4ae01428b99d1f8", |
| "msg": [27, 26, 9, 44, 10, 42, 36, 0, 0, 0, 0, 0, 0, 1], |
| "ct": [39, 8, 10, 8, 38, 6, 11, 13, 44, 32, 24, 26, 11, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1202, |
| "comment": "y = 1 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "c08ad4ae01428b99d1f8", |
| "msg": [44, 11, 11, 26, 28, 38, 39, 33, 4, 28, 7, 36, 12, 4], |
| "ct": [25, 3, 35, 22, 18, 32, 30, 16, 22, 6, 7, 17, 36, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1203, |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "c08ad4ae01428b99d1f8", |
| "msg": [13, 41, 18, 32, 34, 9, 29, 44, 44, 44, 44, 44, 44, 43], |
| "ct": [8, 23, 22, 4, 39, 23, 7, 30, 14, 38, 7, 43, 19, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1204, |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "c08ad4ae01428b99d1f8", |
| "msg": [11, 7, 14, 12, 15, 24, 19, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [43, 2, 4, 7, 8, 13, 28, 19, 9, 43, 36, 21, 19, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1205, |
| "comment": "y is maximal and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "711c9b48f1fa4f5f75bd", |
| "msg": [44, 33, 23, 31, 16, 17, 21, 0, 4, 40, 1, 16, 10, 21], |
| "ct": [15, 17, 42, 26, 5, 11, 1, 7, 9, 36, 18, 2, 23, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1206, |
| "comment": "y is maximal and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "711c9b48f1fa4f5f75bd", |
| "msg": [14, 12, 2, 13, 33, 34, 31, 31, 36, 28, 3, 14, 35, 26], |
| "ct": [5, 7, 26, 36, 4, 13, 3, 41, 0, 20, 1, 13, 43, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1207, |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "711c9b48f1fa4f5f75bd", |
| "msg": [27, 36, 7, 16, 40, 9, 26, 20, 34, 33, 28, 23, 24, 44], |
| "ct": [20, 16, 28, 23, 24, 16, 33, 36, 4, 39, 42, 14, 34, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1208, |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "711c9b48f1fa4f5f75bd", |
| "msg": [18, 41, 19, 35, 16, 43, 22, 28, 37, 13, 32, 29, 28, 10], |
| "ct": [44, 3, 12, 41, 9, 22, 26, 2, 4, 40, 40, 30, 7, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1209, |
| "comment": "y is maximal and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "711c9b48f1fa4f5f75bd", |
| "msg": [29, 30, 27, 4, 1, 43, 43, 42, 41, 43, 43, 17, 44, 1], |
| "ct": [37, 11, 40, 20, 2, 0, 12, 21, 28, 1, 35, 23, 33, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1210, |
| "comment": "y is maximal and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "711c9b48f1fa4f5f75bd", |
| "msg": [22, 41, 13, 35, 38, 23, 27, 17, 12, 40, 24, 14, 8, 36], |
| "ct": [19, 36, 7, 42, 12, 6, 32, 1, 26, 32, 28, 22, 22, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1211, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "1f076231de437bcafe4d", |
| "msg": [13, 22, 44, 17, 29, 19, 15, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [39, 40, 33, 5, 42, 5, 7, 15, 6, 36, 40, 16, 3, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1212, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "1f076231de437bcafe4d", |
| "msg": [27, 40, 11, 31, 40, 9, 35, 0, 0, 0, 0, 0, 0, 1], |
| "ct": [2, 40, 43, 15, 13, 20, 8, 7, 14, 16, 12, 13, 33, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1213, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "1f076231de437bcafe4d", |
| "msg": [38, 12, 3, 8, 29, 25, 14, 33, 4, 28, 7, 36, 12, 4], |
| "ct": [20, 13, 11, 23, 8, 41, 43, 30, 43, 12, 30, 3, 10, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1214, |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "1f076231de437bcafe4d", |
| "msg": [16, 40, 41, 26, 18, 4, 13, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [14, 24, 41, 41, 2, 6, 38, 36, 14, 12, 13, 29, 6, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1215, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", |
| "tweak": "9a07b801ec3e37d6", |
| "msg": [-1, 44, 4, 9, 31, 36, 40, 20, 36, 16, 25, 16, 30, 0], |
| "ct": [17, 29, 13, 18, 24, 28, 34, 23, 19, 16, 42, 32, 34, 37], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1216, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", |
| "tweak": "9a07b801ec3e37d6", |
| "msg": [39, 44, 4, 9, -1, 36, 40, 20, 36, 16, 25, 16, 30, 0], |
| "ct": [42, 11, 25, 34, 18, 30, 2, 42, 31, 42, 1, 40, 33, 10], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1217, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", |
| "tweak": "9a07b801ec3e37d6", |
| "msg": [39, 44, 4, 9, 31, 36, 40, 20, 36, 16, 25, 16, 30, -1], |
| "ct": [10, 27, 7, 15, 7, 44, 9, 35, 25, 23, 21, 42, 2, 28], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1218, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f912a6f7fe68a530c16481d69d64001fee436bd2719d3106", |
| "tweak": "40376feb356f6445", |
| "msg": [45, 8, 4, 10, 42, 5, 1, 40, 2, 33, 15, 8, 25, 5], |
| "ct": [43, 18, 44, 9, 38, 9, 41, 2, 11, 0, 11, 35, 29, 35], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1219, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f912a6f7fe68a530c16481d69d64001fee436bd2719d3106", |
| "tweak": "40376feb356f6445", |
| "msg": [12, 8, 4, 10, 45, 5, 1, 40, 2, 33, 15, 8, 25, 5], |
| "ct": [6, 44, 9, 5, 29, 0, 24, 40, 28, 20, 17, 20, 13, 32], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1220, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f912a6f7fe68a530c16481d69d64001fee436bd2719d3106", |
| "tweak": "40376feb356f6445", |
| "msg": [12, 8, 4, 10, 42, 5, 1, 40, 2, 33, 15, 8, 25, 45], |
| "ct": [6, 35, 31, 15, 19, 19, 20, 23, 38, 35, 3, 31, 9, 17], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 15, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1221, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "38c2d6d8d1717f48e8e7bc3d54820ee7de2cecf0fc6f167b", |
| "tweak": "7a3ce6a3066b2e0b", |
| "msg": [4, 39, 0, 30, 24, 10, 11, 42, 34, 13, 28, 7, 40, 9, 7], |
| "ct": [26, 43, 18, 41, 22, 13, 40, 26, 14, 23, 13, 23, 21, 5, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1222, |
| "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": [42, 20, 42, 13, 43, 14, 35, 27, 20, 26, 18, 6, 42, 1, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1223, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [38, 34, 7, 31, 8, 41, 42, 24, 12, 37, 15, 14, 14, 1, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1224, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [33, 4, 28, 7, 36, 12, 4, 23, 24, 13, 1, 24, 35, 26, 38], |
| "ct": [0, 42, 26, 38, 10, 30, 29, 37, 30, 18, 19, 35, 11, 25, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1225, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [33, 4, 28, 7, 36, 12, 3, 23, 24, 13, 1, 24, 35, 26, 37], |
| "ct": [29, 11, 28, 3, 14, 27, 2, 43, 9, 13, 44, 13, 40, 15, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1226, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [36, 6, 1, 40, 31, 9, 3, 35, 4, 40, 19, 18, 25, 37, 20], |
| "ct": [9, 30, 14, 26, 23, 41, 23, 22, 4, 29, 11, 14, 23, 26, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1227, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [15, 20, 6, 16, 7, 25, 3, 18, 35, 1, 31, 22, 14, 0, 30], |
| "ct": [19, 37, 29, 33, 26, 8, 37, 5, 19, 40, 14, 3, 35, 39, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1228, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [22, 10, 29, 39, 8, 34, 32, 6, 34, 6, 16, 30, 16, 14, 20], |
| "ct": [42, 43, 2, 43, 23, 5, 18, 26, 10, 30, 4, 4, 7, 19, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1229, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [42, 8, 38, 33, 26, 10, 42, 4, 8, 38, 24, 14, 40, 8, 22], |
| "ct": [0, 11, 13, 39, 14, 32, 26, 23, 6, 43, 24, 26, 33, 12, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1230, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [22, 7, 43, 44, 22, 18, 10, 11, 6, 5, 43, 42, 19, 13, 13], |
| "ct": [16, 24, 24, 31, 8, 32, 8, 16, 20, 15, 14, 39, 24, 42, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1231, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [18, 39, 23, 39, 31, 8, 23, 25, 39, 20, 7, 24, 22, 18, 31], |
| "ct": [18, 27, 42, 41, 27, 5, 16, 22, 10, 27, 3, 9, 39, 43, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1232, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [5, 12, 28, 9, 4, 9, 44, 21, 25, 22, 21, 1, 21, 32, 39], |
| "ct": [40, 17, 20, 4, 9, 26, 2, 32, 1, 23, 29, 11, 1, 33, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1233, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [37, 36, 18, 41, 17, 20, 4, 40, 36, 36, 25, 19, 42, 24, 4], |
| "ct": [0, 27, 8, 19, 9, 11, 44, 26, 31, 38, 29, 32, 15, 11, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1234, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [6, 36, 11, 24, 18, 44, 3, 30, 29, 23, 12, 25, 30, 41, 33], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1235, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [21, 40, 40, 22, 16, 44, 30, 20, 34, 17, 39, 8, 35, 33, 32], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1236, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [36, 37, 13, 21, 43, 30, 30, 33, 28, 5, 13, 24, 28, 26, 23], |
| "ct": [33, 4, 28, 7, 36, 12, 4, 23, 24, 13, 1, 24, 35, 26, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1237, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": [1, 13, 44, 41, 26, 7, 15, 16, 34, 0, 25, 13, 17, 16, 36], |
| "ct": [33, 4, 28, 7, 36, 12, 3, 23, 24, 13, 1, 24, 35, 26, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1238, |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "b8e7ae8a45b7c6b3c3", |
| "msg": [30, 4, 27, 29, 5, 6, 8, 27, 15, 12, 25, 20, 31, 28, 29], |
| "ct": [28, 32, 21, 28, 40, 12, 33, 41, 20, 16, 4, 28, 34, 22, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1239, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "b8e7ae8a45b7c6b3c3", |
| "msg": [38, 41, 19, 23, 21, 40, 39, 9, 11, 2, 12, 3, 12, 17, 10], |
| "ct": [23, 30, 34, 1, 32, 29, 1, 26, 17, 18, 0, 25, 4, 10, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1240, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "b8e7ae8a45b7c6b3c3", |
| "msg": [26, 15, 42, 7, 4, 43, 23, 32, 38, 21, 37, 29, 2, 17, 12], |
| "ct": [42, 10, 7, 16, 27, 13, 34, 15, 26, 24, 13, 28, 42, 28, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1241, |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "b8e7ae8a45b7c6b3c3", |
| "msg": [36, 16, 18, 22, 30, 30, 0, 42, 41, 1, 5, 3, 36, 32, 39], |
| "ct": [32, 7, 28, 8, 33, 27, 40, 15, 38, 26, 0, 12, 5, 0, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1242, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "b8ffd1e06a14df8703", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 41, 25, 18, 42, 14, 3, 18, 36], |
| "ct": [21, 24, 13, 25, 10, 10, 25, 20, 20, 18, 44, 26, 24, 3, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1243, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "b8ffd1e06a14df8703", |
| "msg": [0, 0, 0, 0, 0, 0, 1, 41, 25, 18, 42, 14, 3, 18, 36], |
| "ct": [4, 30, 5, 42, 26, 35, 23, 39, 17, 17, 40, 25, 12, 10, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1244, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "b8ffd1e06a14df8703", |
| "msg": [33, 4, 28, 7, 36, 12, 4, 41, 25, 18, 42, 14, 3, 18, 36], |
| "ct": [17, 39, 30, 26, 32, 2, 44, 8, 4, 41, 37, 10, 0, 11, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1245, |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "b8ffd1e06a14df8703", |
| "msg": [44, 44, 44, 44, 44, 44, 43, 41, 25, 18, 42, 14, 3, 18, 36], |
| "ct": [15, 5, 8, 0, 0, 18, 12, 37, 2, 14, 5, 41, 28, 12, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1246, |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "b8ffd1e06a14df8703", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 41, 25, 18, 42, 14, 3, 18, 36], |
| "ct": [38, 22, 19, 13, 41, 9, 27, 10, 18, 32, 16, 2, 26, 30, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1247, |
| "comment": "y is maximal and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "0ebe449caf8e5ea2b5", |
| "msg": [31, 8, 18, 44, 18, 36, 43, 26, 24, 33, 8, 32, 6, 35, 15], |
| "ct": [44, 39, 26, 33, 44, 8, 0, 16, 23, 17, 13, 44, 19, 1, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1248, |
| "comment": "y is maximal and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "0ebe449caf8e5ea2b5", |
| "msg": [24, 37, 23, 21, 7, 16, 16, 27, 36, 13, 38, 9, 44, 26, 30], |
| "ct": [44, 39, 26, 33, 44, 8, 1, 0, 33, 12, 34, 13, 34, 36, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1249, |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "0ebe449caf8e5ea2b5", |
| "msg": [29, 40, 4, 25, 26, 26, 4, 6, 10, 26, 11, 32, 2, 25, 23], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 2, 22, 41, 8, 38, 19, 32, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1250, |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "0ebe449caf8e5ea2b5", |
| "msg": [27, 2, 33, 34, 13, 12, 23, 30, 27, 20, 8, 5, 22, 37, 42], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 44, 0, 35, 28, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1251, |
| "comment": "y is maximal and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "0ebe449caf8e5ea2b5", |
| "msg": [42, 41, 31, 36, 26, 0, 36, 22, 36, 17, 27, 41, 19, 28, 41], |
| "ct": [32, 44, 9, 41, 35, 20, 4, 24, 11, 28, 22, 40, 6, 5, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1252, |
| "comment": "y is maximal and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "0ebe449caf8e5ea2b5", |
| "msg": [17, 40, 17, 22, 35, 37, 22, 18, 6, 14, 4, 40, 24, 8, 21], |
| "ct": [44, 39, 26, 33, 44, 7, 44, 20, 32, 7, 24, 44, 15, 16, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1253, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "dd134b2b6219d728f7", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 3, 33, 26, 16, 0, 22, 34, 39], |
| "ct": [10, 33, 18, 2, 25, 20, 42, 14, 31, 27, 7, 43, 26, 15, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1254, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "dd134b2b6219d728f7", |
| "msg": [0, 0, 0, 0, 0, 0, 1, 3, 33, 26, 16, 0, 22, 34, 39], |
| "ct": [14, 10, 5, 37, 22, 43, 36, 3, 0, 26, 34, 37, 19, 25, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1255, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "dd134b2b6219d728f7", |
| "msg": [33, 4, 28, 7, 36, 12, 4, 3, 33, 26, 16, 0, 22, 34, 39], |
| "ct": [40, 27, 6, 19, 24, 17, 19, 15, 8, 21, 16, 32, 8, 6, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1256, |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "dd134b2b6219d728f7", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 3, 33, 26, 16, 0, 22, 34, 39], |
| "ct": [32, 19, 11, 27, 38, 14, 39, 23, 32, 33, 3, 12, 44, 28, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1257, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", |
| "tweak": "ba017ceaf04a7470", |
| "msg": [-1, 34, 30, 22, 21, 4, 7, 36, 41, 0, 44, 28, 31, 1, 17], |
| "ct": [14, 33, 19, 31, 38, 7, 2, 34, 43, 29, 24, 9, 15, 26, 10], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1258, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", |
| "tweak": "ba017ceaf04a7470", |
| "msg": [9, 34, 30, 22, 21, -1, 7, 36, 41, 0, 44, 28, 31, 1, 17], |
| "ct": [35, 31, 11, 16, 20, 5, 19, 7, 5, 42, 7, 29, 15, 30, 16], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1259, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", |
| "tweak": "ba017ceaf04a7470", |
| "msg": [9, 34, 30, 22, 21, 4, 7, 36, 41, 0, 44, 28, 31, 1, -1], |
| "ct": [40, 30, 6, 30, 36, 10, 43, 33, 21, 20, 33, 12, 2, 13, 41], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1260, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ea26b0e63d02e82fa8aeee1a130a9b271a89e8edf56d67c9", |
| "tweak": "a34134650287b622", |
| "msg": [45, 12, 29, 27, 1, 24, 3, 6, 32, 20, 25, 38, 24, 11, 21], |
| "ct": [32, 26, 35, 23, 38, 32, 3, 32, 1, 31, 11, 9, 33, 7, 8], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1261, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ea26b0e63d02e82fa8aeee1a130a9b271a89e8edf56d67c9", |
| "tweak": "a34134650287b622", |
| "msg": [18, 12, 29, 27, 1, 45, 3, 6, 32, 20, 25, 38, 24, 11, 21], |
| "ct": [9, 44, 19, 43, 0, 14, 41, 0, 7, 11, 13, 8, 1, 4, 36], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1262, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ea26b0e63d02e82fa8aeee1a130a9b271a89e8edf56d67c9", |
| "tweak": "a34134650287b622", |
| "msg": [18, 12, 29, 27, 1, 24, 3, 6, 32, 20, 25, 38, 24, 11, 45], |
| "ct": [9, 39, 35, 27, 38, 35, 8, 41, 7, 14, 0, 36, 10, 11, 38], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 16, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1263, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "28d8da67806410e5565bcc5a9d7ab9fb357413fa0158378c", |
| "tweak": "63ff6d96b7960f8a", |
| "msg": [34, 38, 0, 38, 12, 1, 42, 17, 40, 38, 5, 1, 41, 19, 39, 24], |
| "ct": [31, 4, 34, 3, 19, 6, 44, 16, 19, 6, 33, 0, 28, 43, 0, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1264, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [24, 15, 8, 44, 11, 38, 16, 37, 4, 35, 24, 17, 31, 21, 43, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1265, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [13, 10, 10, 29, 9, 0, 21, 38, 39, 10, 11, 35, 10, 4, 43, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1266, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 38, 23, 24, 13, 1, 24, 35, 26, 38], |
| "ct": [19, 18, 0, 33, 36, 7, 29, 25, 39, 40, 27, 35, 35, 3, 27, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1267, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 37, 23, 24, 13, 1, 24, 35, 26, 37], |
| "ct": [24, 9, 1, 9, 10, 13, 39, 40, 5, 44, 12, 22, 20, 38, 36, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1268, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [31, 20, 16, 31, 38, 10, 42, 43, 16, 19, 39, 33, 35, 14, 0, 13], |
| "ct": [20, 6, 9, 44, 20, 41, 40, 22, 15, 20, 30, 43, 36, 13, 43, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1269, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [26, 42, 36, 7, 37, 29, 6, 25, 15, 36, 17, 15, 11, 17, 11, 4], |
| "ct": [22, 37, 16, 15, 28, 15, 41, 25, 17, 28, 21, 27, 3, 38, 11, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1270, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [9, 24, 27, 14, 8, 41, 26, 21, 6, 19, 31, 27, 32, 44, 32, 44], |
| "ct": [10, 35, 24, 20, 43, 10, 8, 10, 5, 27, 34, 23, 13, 3, 2, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1271, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [40, 6, 10, 42, 7, 31, 10, 0, 17, 38, 18, 37, 1, 29, 37, 36], |
| "ct": [12, 37, 1, 29, 2, 25, 30, 35, 42, 44, 12, 11, 4, 9, 4, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1272, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [3, 13, 39, 37, 38, 26, 39, 6, 18, 10, 2, 38, 14, 37, 2, 23], |
| "ct": [17, 0, 29, 34, 23, 21, 44, 34, 13, 36, 34, 38, 37, 4, 29, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1273, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [26, 31, 18, 43, 11, 41, 28, 22, 2, 11, 27, 31, 32, 2, 15, 6], |
| "ct": [9, 14, 15, 21, 23, 17, 41, 41, 3, 29, 10, 7, 24, 23, 20, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1274, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [11, 21, 17, 30, 2, 37, 28, 39, 19, 7, 28, 10, 29, 33, 18, 1], |
| "ct": [2, 4, 4, 30, 43, 1, 30, 19, 34, 19, 2, 14, 0, 27, 20, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1275, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [2, 41, 33, 12, 41, 29, 12, 23, 40, 5, 10, 44, 8, 17, 38, 16], |
| "ct": [31, 19, 15, 40, 34, 1, 13, 13, 42, 16, 38, 7, 18, 35, 25, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1276, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [27, 8, 39, 9, 0, 41, 43, 12, 14, 41, 22, 37, 5, 43, 26, 30], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1277, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [41, 16, 12, 33, 10, 26, 19, 15, 14, 23, 30, 19, 2, 2, 36, 39], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1278, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [36, 31, 22, 0, 24, 31, 19, 29, 18, 28, 40, 10, 12, 8, 7, 1], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 38, 23, 24, 13, 1, 24, 35, 26, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1279, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": [42, 6, 29, 2, 23, 5, 35, 18, 11, 10, 22, 12, 11, 35, 9, 25], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 37, 23, 24, 13, 1, 24, 35, 26, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1280, |
| "comment": "y = 1 and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "96680f70cb3fe8f5e3", |
| "msg": [4, 38, 16, 39, 4, 41, 27, 6, 17, 6, 3, 31, 8, 29, 30, 0], |
| "ct": [30, 13, 4, 33, 37, 8, 15, 17, 0, 0, 0, 0, 0, 0, 0, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1281, |
| "comment": "y = 1 and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "96680f70cb3fe8f5e3", |
| "msg": [26, 20, 20, 28, 35, 1, 40, 44, 38, 20, 21, 0, 30, 42, 25, 10], |
| "ct": [30, 13, 4, 33, 37, 8, 15, 17, 0, 0, 0, 0, 0, 0, 0, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1282, |
| "comment": "y = 1 and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "96680f70cb3fe8f5e3", |
| "msg": [39, 4, 8, 31, 14, 28, 8, 36, 21, 16, 34, 16, 31, 28, 26, 2], |
| "ct": [30, 13, 4, 33, 37, 8, 15, 17, 23, 24, 13, 1, 24, 35, 26, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1283, |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "96680f70cb3fe8f5e3", |
| "msg": [21, 25, 26, 33, 15, 7, 31, 27, 2, 41, 43, 32, 12, 11, 9, 18], |
| "ct": [30, 13, 4, 33, 37, 8, 15, 17, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1284, |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "96680f70cb3fe8f5e3", |
| "msg": [2, 23, 12, 37, 9, 28, 34, 1, 2, 28, 27, 17, 32, 44, 19, 34], |
| "ct": [30, 13, 4, 33, 37, 8, 15, 17, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1285, |
| "comment": "y is maximal and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "8202edcb73a0ce4d09", |
| "msg": [23, 15, 36, 28, 16, 12, 22, 38, 8, 2, 33, 12, 37, 44, 35, 1], |
| "ct": [13, 35, 18, 23, 3, 5, 16, 18, 17, 3, 9, 2, 20, 9, 2, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1286, |
| "comment": "y is maximal and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "8202edcb73a0ce4d09", |
| "msg": [42, 17, 42, 13, 14, 1, 25, 41, 7, 26, 19, 14, 0, 7, 37, 0], |
| "ct": [25, 1, 32, 44, 9, 33, 31, 24, 38, 10, 7, 33, 15, 5, 0, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1287, |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "8202edcb73a0ce4d09", |
| "msg": [6, 5, 43, 24, 17, 36, 38, 39, 23, 26, 38, 3, 7, 14, 43, 5], |
| "ct": [14, 4, 23, 10, 19, 32, 19, 24, 13, 27, 39, 10, 38, 44, 25, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1288, |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "8202edcb73a0ce4d09", |
| "msg": [33, 38, 25, 21, 36, 1, 15, 38, 41, 5, 11, 14, 43, 33, 15, 21], |
| "ct": [12, 17, 43, 17, 30, 2, 16, 30, 40, 22, 29, 5, 31, 21, 43, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1289, |
| "comment": "y is maximal and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "8202edcb73a0ce4d09", |
| "msg": [15, 40, 31, 41, 13, 9, 17, 33, 24, 32, 38, 24, 8, 36, 2, 29], |
| "ct": [10, 2, 1, 24, 27, 41, 4, 16, 43, 38, 30, 35, 40, 23, 6, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1290, |
| "comment": "y is maximal and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "8202edcb73a0ce4d09", |
| "msg": [44, 32, 14, 14, 24, 23, 28, 29, 30, 24, 44, 17, 15, 43, 6, 39], |
| "ct": [9, 38, 24, 43, 14, 2, 17, 14, 13, 11, 2, 2, 19, 18, 44, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1291, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "80b29fcea1d89b88f7", |
| "msg": [36, 20, 27, 40, 3, 37, 3, 21, 37, 41, 21, 36, 41, 37, 43, 1], |
| "ct": [23, 30, 24, 38, 25, 18, 17, 43, 22, 26, 41, 16, 7, 11, 12, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1292, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "80b29fcea1d89b88f7", |
| "msg": [41, 13, 28, 29, 4, 5, 19, 12, 33, 24, 25, 7, 38, 28, 3, 25], |
| "ct": [0, 11, 31, 26, 11, 23, 29, 38, 32, 32, 33, 14, 13, 34, 42, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1293, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "80b29fcea1d89b88f7", |
| "msg": [20, 13, 12, 13, 39, 19, 3, 18, 41, 24, 37, 26, 34, 30, 36, 28], |
| "ct": [18, 39, 15, 4, 24, 16, 9, 38, 14, 37, 44, 8, 27, 23, 3, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1294, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "80b29fcea1d89b88f7", |
| "msg": [36, 6, 35, 26, 22, 17, 17, 25, 25, 33, 22, 43, 41, 16, 19, 32], |
| "ct": [31, 8, 22, 43, 2, 16, 43, 8, 40, 27, 34, 29, 5, 7, 10, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1295, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", |
| "tweak": "81c9e9d9fc6bb6db", |
| "msg": [-1, 28, 10, 28, 1, 24, 1, 18, 1, 31, 7, 12, 16, 24, 9, 23], |
| "ct": [15, 31, 38, 7, 6, 33, 31, 40, 14, 29, 25, 3, 44, 26, 9, 19], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1296, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", |
| "tweak": "81c9e9d9fc6bb6db", |
| "msg": [40, 28, 10, 28, 1, -1, 1, 18, 1, 31, 7, 12, 16, 24, 9, 23], |
| "ct": [38, 27, 19, 32, 36, 40, 18, 39, 33, 21, 25, 6, 20, 39, 0, 9], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1297, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", |
| "tweak": "81c9e9d9fc6bb6db", |
| "msg": [40, 28, 10, 28, 1, 24, 1, 18, 1, 31, 7, 12, 16, 24, 9, -1], |
| "ct": [44, 37, 17, 37, 16, 4, 43, 1, 32, 33, 34, 41, 27, 41, 37, 17], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1298, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cf92d88a889a9981bf8fdbf8679da75194d56d21bcd67438", |
| "tweak": "69a690ba2bf38f7d", |
| "msg": [45, 34, 36, 15, 13, 18, 4, 18, 18, 9, 23, 18, 25, 9, 36, 13], |
| "ct": [13, 40, 20, 42, 5, 6, 1, 1, 27, 17, 19, 44, 27, 40, 27, 21], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1299, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cf92d88a889a9981bf8fdbf8679da75194d56d21bcd67438", |
| "tweak": "69a690ba2bf38f7d", |
| "msg": [11, 34, 36, 15, 13, 45, 4, 18, 18, 9, 23, 18, 25, 9, 36, 13], |
| "ct": [3, 1, 32, 40, 35, 26, 29, 1, 1, 8, 26, 3, 30, 27, 9, 5], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1300, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cf92d88a889a9981bf8fdbf8679da75194d56d21bcd67438", |
| "tweak": "69a690ba2bf38f7d", |
| "msg": [11, 34, 36, 15, 13, 18, 4, 18, 18, 9, 23, 18, 25, 9, 36, 45], |
| "ct": [14, 14, 43, 38, 31, 25, 15, 7, 41, 26, 16, 23, 19, 6, 18, 14], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 17, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1301, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "f620ff36bcd7f62b38ee8dc91b2a1d1ac5645e4c31432921", |
| "tweak": "fedb3a07315c4484", |
| "msg": [16, 2, 31, 10, 11, 9, 28, 28, 20, 13, 32, 2, 40, 23, 28, 7, 20], |
| "ct": [6, 42, 25, 0, 33, 10, 13, 7, 20, 0, 2, 21, 17, 14, 34, 14, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1302, |
| "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": [19, 28, 14, 13, 38, 2, 33, 28, 4, 21, 35, 44, 21, 42, 35, 9, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1303, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [2, 22, 11, 6, 7, 29, 1, 23, 35, 27, 27, 4, 2, 27, 36, 3, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1304, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 38, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "ct": [29, 44, 41, 30, 16, 33, 4, 2, 3, 38, 3, 2, 31, 10, 1, 5, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1305, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 37, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "ct": [3, 42, 6, 25, 24, 40, 18, 19, 0, 19, 3, 28, 23, 27, 42, 17, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1306, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [43, 19, 41, 38, 35, 35, 30, 29, 21, 35, 21, 8, 15, 23, 24, 4, 5], |
| "ct": [34, 35, 35, 29, 25, 39, 3, 10, 23, 13, 5, 34, 8, 43, 18, 7, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1307, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [44, 9, 7, 41, 26, 35, 41, 30, 20, 41, 28, 2, 13, 31, 4, 42, 30], |
| "ct": [12, 0, 20, 21, 19, 18, 25, 32, 40, 10, 13, 41, 25, 8, 37, 40, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1308, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [29, 38, 31, 24, 7, 31, 2, 13, 3, 19, 16, 23, 18, 22, 17, 5, 37], |
| "ct": [4, 35, 19, 13, 40, 38, 43, 13, 28, 41, 24, 39, 27, 40, 19, 9, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1309, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [16, 30, 36, 3, 4, 14, 41, 44, 23, 17, 0, 20, 32, 16, 24, 23, 7], |
| "ct": [34, 39, 8, 23, 43, 13, 31, 38, 40, 14, 25, 15, 26, 18, 38, 17, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1310, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [7, 19, 43, 14, 13, 9, 14, 35, 7, 33, 44, 38, 9, 32, 2, 35, 38], |
| "ct": [34, 19, 39, 30, 37, 3, 13, 35, 42, 23, 35, 22, 10, 24, 14, 12, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1311, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [9, 7, 8, 31, 27, 5, 9, 19, 3, 34, 15, 13, 13, 16, 13, 40, 5], |
| "ct": [27, 32, 28, 30, 40, 18, 18, 41, 12, 3, 20, 15, 42, 41, 31, 16, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1312, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [4, 9, 34, 26, 36, 42, 26, 0, 40, 39, 17, 28, 28, 41, 13, 33, 24], |
| "ct": [35, 35, 38, 28, 29, 35, 42, 12, 0, 3, 1, 15, 3, 39, 25, 20, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1313, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [7, 6, 12, 1, 18, 2, 29, 44, 38, 41, 13, 19, 35, 26, 27, 13, 0], |
| "ct": [22, 29, 2, 3, 33, 16, 44, 5, 31, 28, 34, 33, 14, 15, 35, 0, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1314, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [2, 8, 38, 36, 8, 27, 33, 39, 5, 25, 36, 28, 14, 34, 27, 10, 21], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1315, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [37, 36, 15, 22, 5, 42, 36, 43, 12, 26, 8, 31, 14, 43, 27, 39, 39], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1316, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [17, 9, 33, 30, 9, 31, 6, 41, 3, 28, 0, 18, 17, 17, 27, 14, 16], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 38, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1317, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": [11, 14, 32, 26, 43, 31, 37, 14, 25, 22, 23, 5, 41, 40, 40, 4, 42], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 37, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1318, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "33008e339f0650c8", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 13, 36, 25, 17, 23, 26, 6, 35, 17], |
| "ct": [16, 10, 13, 30, 39, 22, 12, 23, 11, 27, 0, 25, 34, 31, 24, 12, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1319, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "33008e339f0650c8", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 1, 13, 36, 25, 17, 23, 26, 6, 35, 17], |
| "ct": [2, 3, 35, 11, 7, 21, 8, 24, 4, 16, 1, 11, 18, 39, 11, 34, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1320, |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "33008e339f0650c8", |
| "msg": [20, 0, 5, 18, 11, 0, 36, 44, 13, 36, 25, 17, 23, 26, 6, 35, 17], |
| "ct": [24, 16, 3, 7, 0, 33, 25, 35, 1, 12, 33, 39, 31, 18, 13, 29, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1321, |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "33008e339f0650c8", |
| "msg": [20, 0, 5, 18, 11, 0, 37, 0, 13, 36, 25, 17, 23, 26, 6, 35, 17], |
| "ct": [40, 35, 42, 33, 2, 3, 20, 18, 13, 43, 35, 29, 19, 2, 35, 0, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1322, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "33008e339f0650c8", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 38, 13, 36, 25, 17, 23, 26, 6, 35, 17], |
| "ct": [26, 24, 21, 25, 25, 24, 41, 1, 13, 5, 31, 22, 5, 0, 8, 34, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1323, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "33008e339f0650c8", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 13, 36, 25, 17, 23, 26, 6, 35, 17], |
| "ct": [35, 6, 30, 42, 19, 34, 24, 1, 1, 38, 23, 41, 21, 11, 43, 38, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1324, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "50b3cc3fceaa3bb2", |
| "msg": [28, 7, 29, 14, 17, 37, 5, 38, 26, 15, 24, 41, 2, 13, 24, 17, 12], |
| "ct": [1, 33, 28, 42, 42, 20, 15, 38, 39, 15, 42, 38, 8, 18, 22, 34, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1325, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "50b3cc3fceaa3bb2", |
| "msg": [43, 10, 13, 21, 6, 32, 28, 15, 6, 2, 32, 11, 30, 38, 8, 4, 31], |
| "ct": [38, 39, 22, 28, 28, 29, 40, 40, 14, 22, 35, 36, 41, 8, 7, 25, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1326, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "50b3cc3fceaa3bb2", |
| "msg": [44, 41, 43, 41, 15, 15, 37, 44, 16, 25, 21, 26, 10, 3, 10, 6, 0], |
| "ct": [9, 20, 27, 28, 34, 28, 14, 44, 22, 41, 27, 44, 41, 8, 25, 7, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1327, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "50b3cc3fceaa3bb2", |
| "msg": [28, 0, 3, 0, 8, 38, 42, 15, 21, 27, 43, 8, 25, 34, 15, 32, 31], |
| "ct": [37, 27, 33, 14, 7, 9, 26, 29, 12, 13, 17, 43, 16, 9, 37, 0, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1328, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", |
| "tweak": "0284255ddf9a1021", |
| "msg": [-1, 33, 32, 29, 3, 12, 29, 16, 26, 43, 33, 39, 4, 9, 35, 6, 11], |
| "ct": [38, 21, 36, 38, 44, 9, 7, 12, 24, 40, 3, 6, 19, 15, 29, 19, 6], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1329, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", |
| "tweak": "0284255ddf9a1021", |
| "msg": [40, 33, 32, 29, 3, -1, 29, 16, 26, 43, 33, 39, 4, 9, 35, 6, 11], |
| "ct": [39, 43, 23, 38, 3, 20, 10, 6, 28, 38, 0, 27, 38, 4, 17, 38, 43], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1330, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", |
| "tweak": "0284255ddf9a1021", |
| "msg": [40, 33, 32, 29, 3, 12, 29, 16, 26, 43, 33, 39, 4, 9, 35, 6, -1], |
| "ct": [26, 39, 26, 8, 22, 9, 10, 11, 23, 17, 27, 27, 32, 21, 24, 2, 44], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1331, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5bee053cbc16ce431f0ce1bb5e3eac63187985156091a83f", |
| "tweak": "3ec0809953299fc3", |
| "msg": [45, 1, 37, 7, 22, 35, 17, 33, 8, 20, 35, 14, 13, 37, 29, 35, 26], |
| "ct": [16, 18, 21, 44, 40, 38, 8, 12, 25, 13, 0, 41, 11, 32, 8, 20, 1], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1332, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5bee053cbc16ce431f0ce1bb5e3eac63187985156091a83f", |
| "tweak": "3ec0809953299fc3", |
| "msg": [34, 1, 37, 7, 22, 45, 17, 33, 8, 20, 35, 14, 13, 37, 29, 35, 26], |
| "ct": [23, 29, 35, 37, 28, 1, 19, 31, 11, 23, 42, 2, 9, 36, 5, 36, 34], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1333, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5bee053cbc16ce431f0ce1bb5e3eac63187985156091a83f", |
| "tweak": "3ec0809953299fc3", |
| "msg": [34, 1, 37, 7, 22, 35, 17, 33, 8, 20, 35, 14, 13, 37, 29, 35, 45], |
| "ct": [3, 42, 42, 7, 33, 37, 12, 24, 5, 35, 41, 19, 21, 14, 16, 22, 5], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 18, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1334, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "47eb4430ea1cb545acc8f09ada1ecc8574d394b5a20e5017", |
| "tweak": "683baf80b9d31daa", |
| "msg": [11, 41, 40, 42, 8, 28, 24, 29, 33, 21, 40, 26, 22, 22, 18, 29, 21, 22], |
| "ct": [7, 24, 13, 29, 16, 43, 28, 14, 17, 22, 11, 0, 29, 25, 16, 22, 7, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1335, |
| "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": [40, 10, 4, 9, 9, 28, 30, 9, 4, 19, 39, 33, 3, 21, 28, 2, 42, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1336, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [12, 2, 25, 30, 17, 3, 10, 29, 39, 19, 0, 10, 15, 16, 30, 44, 12, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1337, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 2, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "ct": [42, 31, 10, 31, 7, 21, 0, 15, 3, 26, 16, 28, 1, 24, 30, 18, 7, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1338, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 1, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "ct": [37, 24, 34, 36, 32, 26, 10, 23, 10, 17, 9, 21, 16, 37, 27, 36, 27, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1339, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [35, 34, 41, 10, 19, 17, 17, 42, 15, 43, 4, 20, 32, 7, 11, 14, 37, 16], |
| "ct": [20, 42, 24, 35, 7, 33, 35, 29, 1, 16, 20, 27, 9, 16, 22, 37, 12, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1340, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [38, 21, 30, 6, 41, 2, 32, 7, 5, 7, 4, 18, 4, 31, 35, 14, 16, 43], |
| "ct": [15, 29, 19, 32, 26, 0, 1, 34, 0, 14, 22, 23, 44, 36, 25, 43, 32, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1341, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [28, 39, 20, 3, 44, 30, 41, 44, 23, 42, 0, 5, 41, 9, 15, 3, 44, 35], |
| "ct": [28, 40, 24, 29, 22, 13, 32, 0, 35, 4, 16, 17, 9, 39, 39, 39, 0, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1342, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [14, 6, 11, 17, 12, 35, 32, 9, 33, 18, 17, 27, 8, 31, 3, 36, 17, 10], |
| "ct": [14, 39, 34, 14, 26, 40, 21, 11, 35, 29, 27, 28, 12, 35, 31, 16, 28, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1343, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [20, 11, 6, 35, 25, 38, 10, 37, 42, 19, 2, 33, 1, 7, 32, 43, 12, 9], |
| "ct": [32, 44, 34, 4, 16, 11, 4, 42, 34, 30, 8, 29, 2, 30, 11, 8, 9, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1344, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [9, 33, 33, 41, 40, 35, 4, 21, 36, 11, 28, 5, 5, 15, 3, 8, 28, 35], |
| "ct": [32, 8, 13, 35, 24, 35, 43, 39, 36, 29, 43, 27, 33, 11, 32, 9, 29, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1345, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [14, 34, 43, 0, 44, 42, 36, 15, 27, 44, 19, 15, 1, 24, 29, 44, 7, 0], |
| "ct": [25, 29, 15, 38, 34, 38, 38, 20, 8, 29, 7, 21, 25, 37, 9, 44, 14, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1346, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [32, 30, 31, 2, 3, 38, 35, 0, 38, 26, 2, 27, 11, 6, 38, 7, 1, 26], |
| "ct": [24, 0, 9, 27, 2, 36, 11, 0, 41, 23, 3, 36, 20, 31, 1, 17, 22, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1347, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [19, 11, 6, 42, 21, 41, 10, 40, 11, 36, 42, 12, 16, 39, 44, 39, 17, 11], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1348, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [18, 13, 11, 4, 10, 19, 42, 22, 12, 11, 29, 21, 40, 39, 26, 35, 11, 33], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1349, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [5, 11, 39, 1, 0, 0, 44, 42, 25, 42, 8, 13, 31, 37, 10, 27, 30, 14], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 2, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1350, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": [43, 13, 13, 10, 28, 44, 30, 15, 24, 10, 17, 2, 41, 10, 3, 43, 23, 36], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 1, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1351, |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "590663302b4254c2", |
| "msg": [4, 24, 38, 31, 36, 25, 32, 25, 1, 18, 29, 21, 42, 43, 2, 19, 16, 35], |
| "ct": [17, 10, 21, 8, 19, 1, 6, 12, 21, 7, 28, 27, 26, 4, 34, 0, 7, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1352, |
| "comment": "y = 0 and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "590663302b4254c2", |
| "msg": [32, 37, 35, 29, 14, 15, 27, 24, 23, 41, 28, 22, 40, 24, 9, 22, 5, 44], |
| "ct": [7, 36, 23, 43, 21, 11, 21, 27, 26, 19, 23, 11, 12, 14, 39, 30, 13, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1353, |
| "comment": "y = 0 and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "590663302b4254c2", |
| "msg": [10, 29, 0, 22, 11, 18, 39, 37, 12, 14, 40, 23, 9, 4, 40, 0, 43, 0], |
| "ct": [11, 4, 12, 3, 35, 9, 32, 3, 11, 13, 1, 20, 5, 14, 44, 31, 32, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1354, |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "590663302b4254c2", |
| "msg": [13, 12, 39, 33, 41, 2, 5, 26, 3, 9, 21, 0, 32, 24, 10, 29, 36, 42], |
| "ct": [8, 42, 25, 6, 37, 15, 34, 4, 40, 27, 36, 10, 17, 15, 31, 0, 42, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1355, |
| "comment": "y = 1 and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "263a0152ce98bd02", |
| "msg": [5, 24, 27, 38, 5, 38, 19, 24, 39, 25, 9, 42, 24, 13, 10, 41, 17, 30], |
| "ct": [2, 7, 0, 15, 14, 35, 23, 36, 20, 14, 26, 35, 37, 31, 31, 10, 1, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1356, |
| "comment": "y = 1 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "263a0152ce98bd02", |
| "msg": [17, 15, 38, 40, 33, 7, 30, 13, 26, 27, 8, 33, 7, 31, 26, 33, 26, 41], |
| "ct": [38, 23, 34, 6, 7, 26, 11, 21, 41, 33, 22, 33, 0, 30, 11, 39, 44, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1357, |
| "comment": "y = 1 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "263a0152ce98bd02", |
| "msg": [6, 4, 40, 40, 26, 44, 16, 14, 1, 17, 4, 39, 0, 41, 20, 39, 28, 23], |
| "ct": [44, 19, 19, 12, 34, 43, 32, 19, 25, 26, 35, 33, 4, 19, 24, 10, 43, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1358, |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "263a0152ce98bd02", |
| "msg": [39, 14, 17, 8, 1, 26, 1, 16, 30, 41, 20, 20, 37, 34, 5, 36, 38, 30], |
| "ct": [13, 26, 36, 8, 37, 7, 12, 11, 5, 30, 30, 0, 24, 12, 12, 10, 31, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1359, |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "263a0152ce98bd02", |
| "msg": [3, 25, 22, 11, 15, 28, 1, 32, 33, 25, 33, 33, 18, 33, 32, 29, 7, 4], |
| "ct": [44, 4, 15, 8, 0, 6, 44, 43, 38, 8, 0, 16, 32, 3, 0, 44, 13, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1360, |
| "comment": "y is maximal and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "5ca62dbb2df5028a", |
| "msg": [29, 43, 22, 43, 14, 16, 11, 6, 1, 27, 9, 9, 21, 3, 8, 43, 35, 44], |
| "ct": [38, 28, 0, 16, 42, 11, 31, 23, 29, 31, 24, 44, 39, 26, 33, 44, 8, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1361, |
| "comment": "y is maximal and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "5ca62dbb2df5028a", |
| "msg": [25, 25, 13, 17, 3, 41, 30, 39, 19, 32, 12, 37, 9, 20, 34, 23, 9, 39], |
| "ct": [38, 28, 0, 16, 42, 11, 31, 23, 29, 31, 24, 44, 39, 26, 33, 44, 8, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1362, |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "5ca62dbb2df5028a", |
| "msg": [21, 39, 1, 24, 9, 7, 24, 37, 11, 34, 38, 24, 0, 40, 15, 6, 32, 40], |
| "ct": [38, 28, 0, 16, 42, 11, 31, 23, 29, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1363, |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "5ca62dbb2df5028a", |
| "msg": [22, 1, 26, 18, 14, 0, 38, 27, 27, 32, 1, 44, 35, 0, 4, 35, 25, 43], |
| "ct": [38, 28, 0, 16, 42, 11, 31, 23, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1364, |
| "comment": "y is maximal and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "5ca62dbb2df5028a", |
| "msg": [3, 11, 38, 26, 33, 23, 2, 5, 8, 25, 26, 43, 23, 31, 11, 20, 16, 29], |
| "ct": [38, 28, 0, 16, 42, 11, 31, 23, 29, 20, 1, 24, 18, 36, 0, 27, 16, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1365, |
| "comment": "y is maximal and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "5ca62dbb2df5028a", |
| "msg": [33, 5, 14, 36, 38, 16, 7, 40, 16, 36, 11, 41, 29, 29, 25, 37, 37, 3], |
| "ct": [38, 28, 0, 16, 42, 11, 31, 23, 29, 31, 24, 44, 39, 26, 33, 44, 7, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1366, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", |
| "tweak": "8fb4ffb3514c5fcc", |
| "msg": [-1, 3, 38, 31, 44, 1, 43, 14, 4, 1, 43, 36, 39, 1, 19, 31, 34, 33], |
| "ct": [16, 29, 43, 26, 38, 26, 42, 12, 32, 29, 38, 17, 38, 12, 20, 36, 0, 9], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1367, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", |
| "tweak": "8fb4ffb3514c5fcc", |
| "msg": [40, 3, 38, 31, 44, 1, -1, 14, 4, 1, 43, 36, 39, 1, 19, 31, 34, 33], |
| "ct": [20, 4, 4, 29, 40, 3, 14, 36, 3, 32, 31, 40, 43, 27, 42, 39, 0, 34], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1368, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", |
| "tweak": "8fb4ffb3514c5fcc", |
| "msg": [40, 3, 38, 31, 44, 1, 43, 14, 4, 1, 43, 36, 39, 1, 19, 31, 34, -1], |
| "ct": [24, 24, 15, 44, 25, 4, 18, 40, 28, 19, 7, 23, 44, 27, 44, 31, 29, 1], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1369, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "bd37754306503cffb1b9f960d27240496000d1d72af839c8", |
| "tweak": "26b6a0913f581c69", |
| "msg": [45, 12, 15, 44, 2, 17, 3, 31, 43, 30, 16, 1, 6, 8, 31, 22, 29, 8], |
| "ct": [0, 17, 18, 3, 8, 39, 14, 37, 32, 20, 0, 37, 34, 21, 35, 36, 37, 30], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1370, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "bd37754306503cffb1b9f960d27240496000d1d72af839c8", |
| "tweak": "26b6a0913f581c69", |
| "msg": [5, 12, 15, 44, 2, 17, 45, 31, 43, 30, 16, 1, 6, 8, 31, 22, 29, 8], |
| "ct": [30, 3, 36, 11, 26, 30, 27, 22, 40, 16, 40, 30, 34, 20, 44, 14, 22, 17], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1371, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "bd37754306503cffb1b9f960d27240496000d1d72af839c8", |
| "tweak": "26b6a0913f581c69", |
| "msg": [5, 12, 15, 44, 2, 17, 3, 31, 43, 30, 16, 1, 6, 8, 31, 22, 29, 45], |
| "ct": [38, 4, 24, 37, 28, 41, 5, 42, 3, 25, 4, 14, 25, 28, 12, 8, 5, 8], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 19, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1372, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "ba47709f6c5147bb5e20ee8869b439706fef5f984862cc0d", |
| "tweak": "1a8494e5274bc2df", |
| "msg": [36, 23, 11, 3, 3, 1, 30, 37, 30, 37, 37, 10, 10, 8, 40, 8, 13, 16, 36], |
| "ct": [44, 6, 9, 6, 28, 20, 27, 40, 5, 30, 7, 5, 37, 38, 11, 39, 36, 28, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1373, |
| "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": [39, 37, 0, 19, 25, 4, 29, 4, 14, 43, 41, 20, 0, 8, 41, 28, 11, 25, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1374, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [30, 13, 9, 0, 13, 4, 40, 35, 4, 8, 1, 32, 24, 20, 3, 25, 41, 40, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1375, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 2, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "ct": [32, 27, 6, 34, 6, 1, 9, 4, 11, 39, 31, 24, 39, 39, 4, 33, 7, 42, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1376, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 1, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "ct": [35, 10, 17, 30, 9, 16, 21, 1, 5, 26, 19, 13, 38, 37, 20, 38, 6, 41, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1377, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [4, 15, 16, 17, 30, 28, 33, 36, 7, 16, 24, 8, 43, 9, 10, 40, 42, 26, 30], |
| "ct": [43, 27, 36, 34, 25, 11, 36, 30, 15, 43, 41, 34, 30, 32, 22, 44, 19, 2, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1378, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [16, 2, 18, 25, 43, 3, 8, 14, 0, 1, 36, 8, 35, 22, 31, 4, 34, 20, 29], |
| "ct": [31, 14, 8, 15, 44, 4, 42, 5, 42, 17, 37, 31, 43, 11, 27, 10, 17, 19, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1379, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [7, 11, 12, 22, 21, 40, 41, 12, 38, 42, 29, 28, 29, 10, 6, 28, 17, 27, 27], |
| "ct": [38, 34, 17, 4, 12, 29, 24, 18, 24, 42, 37, 8, 10, 12, 5, 44, 24, 27, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1380, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [24, 33, 16, 24, 7, 18, 15, 22, 42, 4, 41, 20, 7, 14, 8, 41, 2, 35, 27], |
| "ct": [40, 14, 18, 9, 15, 7, 20, 40, 28, 30, 17, 22, 4, 38, 26, 37, 21, 2, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1381, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [39, 34, 29, 22, 10, 33, 27, 25, 43, 44, 32, 17, 9, 9, 40, 26, 36, 31, 25], |
| "ct": [6, 32, 6, 30, 26, 6, 25, 11, 38, 37, 41, 40, 25, 39, 15, 41, 15, 19, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1382, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [21, 11, 36, 19, 11, 40, 21, 4, 33, 27, 32, 43, 40, 19, 35, 7, 3, 18, 26], |
| "ct": [32, 44, 23, 8, 42, 18, 22, 4, 37, 44, 37, 26, 44, 20, 17, 2, 13, 6, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1383, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [37, 34, 41, 21, 32, 7, 42, 5, 29, 24, 36, 39, 22, 14, 26, 18, 14, 0, 30], |
| "ct": [22, 7, 22, 29, 9, 34, 13, 19, 35, 22, 44, 11, 33, 39, 20, 35, 23, 39, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1384, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [26, 30, 21, 20, 4, 31, 8, 13, 30, 6, 30, 44, 44, 39, 20, 25, 9, 12, 8], |
| "ct": [42, 16, 34, 11, 38, 22, 23, 11, 40, 24, 16, 43, 1, 21, 23, 17, 27, 19, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1385, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [16, 27, 37, 17, 2, 11, 38, 34, 40, 27, 16, 5, 8, 14, 7, 20, 41, 5, 15], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1386, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [16, 42, 23, 12, 7, 37, 3, 9, 39, 41, 0, 3, 19, 2, 6, 9, 3, 12, 35], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1387, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [11, 22, 44, 27, 1, 3, 17, 1, 4, 4, 30, 39, 19, 5, 31, 39, 10, 14, 23], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 2, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1388, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": [5, 10, 35, 2, 21, 0, 7, 2, 39, 40, 40, 44, 42, 23, 26, 27, 10, 43, 18], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 1, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1389, |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "9e8b9e7c2e33417f", |
| "msg": [32, 26, 24, 27, 11, 17, 18, 2, 39, 17, 24, 29, 41, 22, 10, 42, 21, 37, 16], |
| "ct": [40, 35, 22, 29, 35, 27, 18, 4, 33, 36, 21, 2, 2, 22, 23, 27, 27, 44, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1390, |
| "comment": "y = 0 and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "9e8b9e7c2e33417f", |
| "msg": [21, 18, 31, 23, 30, 21, 19, 37, 29, 3, 38, 43, 34, 30, 22, 8, 10, 44, 7], |
| "ct": [3, 10, 42, 15, 5, 24, 5, 34, 23, 9, 27, 34, 23, 38, 22, 31, 34, 7, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1391, |
| "comment": "y = 0 and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "9e8b9e7c2e33417f", |
| "msg": [0, 24, 40, 44, 23, 41, 11, 40, 13, 5, 29, 7, 10, 5, 4, 2, 27, 34, 8], |
| "ct": [8, 44, 0, 26, 27, 4, 9, 13, 3, 42, 38, 43, 26, 37, 12, 27, 30, 36, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1392, |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "9e8b9e7c2e33417f", |
| "msg": [28, 11, 43, 22, 19, 15, 14, 26, 6, 31, 0, 21, 37, 14, 21, 40, 12, 3, 8], |
| "ct": [10, 23, 8, 32, 42, 19, 3, 38, 14, 40, 16, 10, 0, 19, 42, 22, 26, 15, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1393, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "8db8068e5c0cb43f", |
| "msg": [35, 13, 29, 2, 41, 27, 22, 22, 23, 38, 41, 26, 40, 19, 34, 11, 26, 26, 21], |
| "ct": [3, 35, 44, 41, 7, 9, 32, 6, 10, 17, 29, 22, 24, 12, 16, 28, 13, 11, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1394, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "8db8068e5c0cb43f", |
| "msg": [1, 14, 26, 11, 12, 30, 42, 7, 44, 33, 20, 36, 40, 8, 35, 41, 22, 21, 21], |
| "ct": [9, 38, 3, 7, 12, 34, 17, 33, 6, 1, 7, 43, 32, 28, 14, 10, 4, 25, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1395, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "8db8068e5c0cb43f", |
| "msg": [41, 11, 41, 11, 18, 35, 39, 25, 18, 42, 44, 1, 12, 6, 5, 13, 1, 41, 20], |
| "ct": [36, 13, 10, 18, 23, 13, 18, 4, 11, 31, 2, 24, 25, 4, 30, 34, 10, 12, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1396, |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "8db8068e5c0cb43f", |
| "msg": [1, 39, 30, 27, 4, 15, 36, 18, 29, 25, 0, 31, 11, 7, 5, 4, 0, 43, 43], |
| "ct": [28, 29, 19, 0, 27, 13, 14, 29, 38, 43, 11, 3, 40, 21, 1, 24, 9, 27, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1397, |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "8db8068e5c0cb43f", |
| "msg": [43, 24, 16, 15, 33, 22, 3, 39, 17, 0, 11, 27, 5, 32, 6, 8, 37, 42, 13], |
| "ct": [15, 11, 8, 24, 33, 29, 40, 19, 40, 38, 13, 34, 22, 38, 44, 9, 36, 16, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1398, |
| "comment": "y is maximal and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "1dbbadef66c3617a", |
| "msg": [14, 7, 3, 37, 15, 12, 19, 31, 9, 42, 2, 40, 44, 41, 42, 0, 41, 18, 13], |
| "ct": [14, 38, 20, 11, 43, 40, 9, 9, 39, 34, 44, 2, 7, 34, 10, 23, 24, 0, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1399, |
| "comment": "y is maximal and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "1dbbadef66c3617a", |
| "msg": [27, 22, 19, 9, 40, 10, 23, 8, 31, 28, 35, 14, 40, 40, 32, 5, 28, 20, 31], |
| "ct": [18, 6, 41, 8, 42, 14, 31, 32, 22, 1, 26, 27, 18, 11, 3, 17, 23, 1, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1400, |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "1dbbadef66c3617a", |
| "msg": [18, 12, 38, 3, 0, 5, 4, 16, 39, 19, 8, 21, 1, 4, 11, 0, 35, 15, 38], |
| "ct": [40, 25, 20, 42, 7, 39, 1, 8, 24, 11, 40, 18, 24, 36, 20, 4, 13, 30, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1401, |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "1dbbadef66c3617a", |
| "msg": [7, 23, 29, 10, 8, 37, 37, 10, 11, 22, 40, 30, 9, 16, 3, 37, 23, 8, 33], |
| "ct": [28, 35, 39, 31, 40, 40, 39, 34, 26, 4, 27, 15, 38, 36, 11, 11, 31, 1, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1402, |
| "comment": "y is maximal and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "1dbbadef66c3617a", |
| "msg": [1, 2, 17, 31, 13, 29, 28, 26, 39, 22, 19, 5, 12, 26, 34, 23, 32, 35, 13], |
| "ct": [8, 7, 0, 10, 16, 21, 24, 3, 0, 25, 6, 14, 27, 36, 2, 40, 22, 11, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1403, |
| "comment": "y is maximal and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "1dbbadef66c3617a", |
| "msg": [0, 0, 29, 37, 12, 37, 0, 37, 39, 43, 6, 37, 25, 21, 23, 1, 42, 4, 8], |
| "ct": [9, 25, 8, 44, 27, 39, 9, 38, 26, 13, 43, 9, 10, 35, 36, 19, 39, 31, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1404, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "af24ee682606526a", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 1, 14, 5, 13, 3, 15, 29, 12, 32], |
| "ct": [22, 4, 19, 0, 31, 37, 35, 4, 31, 37, 40, 41, 18, 33, 32, 10, 30, 17, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1405, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "af24ee682606526a", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 1, 9, 1, 14, 5, 13, 3, 15, 29, 12, 32], |
| "ct": [4, 25, 22, 40, 3, 22, 23, 17, 20, 41, 8, 25, 22, 43, 24, 8, 25, 19, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1406, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "af24ee682606526a", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 2, 9, 1, 14, 5, 13, 3, 15, 29, 12, 32], |
| "ct": [34, 10, 38, 10, 37, 29, 37, 8, 9, 7, 9, 4, 17, 16, 20, 1, 38, 14, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1407, |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c661f2b82ba013559172ae95ca17234771dbc08739a2261b", |
| "tweak": "af24ee682606526a", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 9, 1, 14, 5, 13, 3, 15, 29, 12, 32], |
| "ct": [16, 32, 30, 16, 43, 25, 17, 30, 11, 39, 37, 30, 8, 18, 32, 26, 43, 3, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1408, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", |
| "tweak": "210a87007dcef98c", |
| "msg": [-1, 0, 5, 20, 7, 42, 42, 6, 18, 22, 4, 23, 4, 8, 44, 6, 20, 42, 23], |
| "ct": [26, 39, 4, 25, 0, 0, 18, 30, 30, 12, 33, 27, 31, 38, 28, 29, 11, 39, 28], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1409, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", |
| "tweak": "210a87007dcef98c", |
| "msg": [37, 0, 5, 20, 7, 42, -1, 6, 18, 22, 4, 23, 4, 8, 44, 6, 20, 42, 23], |
| "ct": [10, 18, 41, 21, 7, 27, 43, 1, 3, 22, 31, 43, 36, 28, 9, 4, 14, 14, 20], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1410, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", |
| "tweak": "210a87007dcef98c", |
| "msg": [37, 0, 5, 20, 7, 42, 42, 6, 18, 22, 4, 23, 4, 8, 44, 6, 20, 42, -1], |
| "ct": [28, 25, 9, 31, 2, 2, 24, 30, 36, 37, 4, 41, 42, 28, 34, 14, 39, 5, 27], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1411, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1706bcab224de067897d9bc6cf69d7637aced26efb9bd398", |
| "tweak": "38f4bfb2f05f534b", |
| "msg": [45, 26, 27, 34, 40, 0, 3, 4, 2, 39, 44, 13, 23, 41, 41, 2, 20, 34, 9], |
| "ct": [4, 17, 9, 10, 10, 16, 4, 25, 36, 32, 13, 17, 22, 36, 11, 0, 30, 1, 4], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1412, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1706bcab224de067897d9bc6cf69d7637aced26efb9bd398", |
| "tweak": "38f4bfb2f05f534b", |
| "msg": [15, 26, 27, 34, 40, 0, 45, 4, 2, 39, 44, 13, 23, 41, 41, 2, 20, 34, 9], |
| "ct": [14, 40, 16, 1, 32, 0, 29, 28, 34, 21, 18, 2, 25, 22, 21, 22, 30, 33, 34], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1413, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1706bcab224de067897d9bc6cf69d7637aced26efb9bd398", |
| "tweak": "38f4bfb2f05f534b", |
| "msg": [15, 26, 27, 34, 40, 0, 3, 4, 2, 39, 44, 13, 23, 41, 41, 2, 20, 34, 45], |
| "ct": [44, 6, 10, 37, 15, 17, 24, 19, 30, 33, 1, 44, 19, 21, 8, 42, 13, 4, 13], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 20, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1414, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "141107e15df419395d338f34ef63f1e80d20b2dad04e5b54", |
| "tweak": "b069e365f5a623ff", |
| "msg": [29, 17, 8, 11, 42, 5, 30, 23, 5, 0, 2, 6, 24, 3, 1, 13, 36, 20, 16, 38], |
| "ct": [36, 13, 21, 25, 38, 32, 34, 36, 22, 9, 27, 18, 10, 9, 44, 20, 4, 20, 44, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1415, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [40, 5, 15, 12, 4, 24, 23, 22, 41, 14, 11, 4, 44, 39, 24, 35, 14, 32, 5, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1416, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [34, 22, 40, 32, 38, 6, 32, 23, 36, 9, 17, 31, 30, 42, 42, 18, 38, 23, 37, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1417, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "ct": [27, 9, 25, 7, 22, 29, 21, 25, 30, 29, 9, 25, 12, 8, 14, 0, 35, 31, 39, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1418, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "ct": [0, 2, 25, 27, 10, 29, 34, 16, 17, 30, 39, 35, 13, 32, 41, 21, 9, 28, 39, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1419, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [44, 28, 2, 2, 34, 23, 17, 19, 13, 6, 2, 33, 39, 42, 32, 32, 19, 0, 6, 34], |
| "ct": [18, 42, 9, 36, 17, 21, 42, 34, 14, 30, 33, 21, 10, 28, 10, 43, 17, 32, 33, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1420, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [44, 4, 15, 32, 8, 44, 32, 11, 40, 14, 15, 19, 16, 14, 38, 10, 37, 38, 18, 11], |
| "ct": [6, 21, 35, 1, 24, 32, 10, 35, 40, 3, 7, 1, 23, 0, 1, 20, 16, 2, 14, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1421, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [15, 6, 42, 21, 8, 16, 21, 33, 4, 26, 36, 39, 20, 5, 1, 4, 5, 4, 43, 9], |
| "ct": [44, 29, 34, 10, 8, 29, 28, 42, 29, 44, 18, 23, 16, 37, 22, 42, 31, 16, 2, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1422, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [29, 10, 28, 7, 15, 38, 18, 2, 44, 31, 32, 33, 36, 42, 34, 38, 26, 17, 41, 44], |
| "ct": [34, 24, 11, 40, 7, 22, 23, 19, 34, 34, 11, 7, 40, 27, 12, 41, 26, 36, 10, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1423, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [4, 37, 3, 37, 2, 1, 3, 19, 0, 14, 39, 10, 12, 30, 17, 40, 15, 26, 7, 10], |
| "ct": [11, 30, 10, 32, 4, 19, 17, 17, 31, 17, 10, 33, 10, 7, 8, 23, 5, 6, 39, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1424, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [4, 42, 8, 43, 6, 29, 13, 13, 24, 16, 2, 44, 39, 12, 43, 39, 20, 31, 15, 33], |
| "ct": [42, 31, 2, 13, 32, 19, 31, 5, 36, 28, 11, 44, 0, 28, 15, 43, 4, 36, 27, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1425, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [32, 13, 21, 37, 17, 10, 19, 19, 8, 33, 35, 13, 21, 6, 2, 44, 8, 17, 6, 24], |
| "ct": [9, 29, 44, 19, 29, 40, 13, 22, 24, 9, 16, 25, 9, 38, 44, 3, 33, 35, 26, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1426, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [6, 34, 24, 39, 27, 20, 44, 30, 40, 42, 34, 40, 18, 14, 13, 22, 33, 40, 29, 39], |
| "ct": [28, 22, 5, 41, 22, 26, 8, 39, 3, 19, 36, 11, 37, 18, 26, 8, 19, 30, 17, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1427, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [23, 31, 19, 19, 0, 29, 11, 11, 15, 1, 41, 11, 36, 34, 34, 35, 14, 4, 28, 21], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1428, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [34, 25, 5, 20, 31, 44, 24, 16, 37, 43, 27, 40, 23, 41, 22, 44, 24, 17, 14, 12], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1429, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [11, 24, 15, 42, 35, 38, 7, 5, 28, 10, 19, 39, 12, 8, 34, 13, 34, 12, 9, 21], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1430, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": [33, 42, 35, 13, 42, 11, 20, 29, 44, 5, 14, 33, 25, 35, 40, 12, 11, 42, 9, 29], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1431, |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5d69ffa94d0ec8c3", |
| "msg": [31, 40, 0, 23, 28, 24, 1, 31, 18, 17, 8, 19, 43, 24, 13, 31, 24, 27, 25, 11], |
| "ct": [5, 42, 13, 29, 41, 27, 14, 43, 37, 28, 26, 23, 44, 36, 26, 30, 7, 43, 40, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1432, |
| "comment": "y = 0 and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5d69ffa94d0ec8c3", |
| "msg": [37, 29, 34, 5, 28, 28, 9, 24, 27, 38, 32, 16, 31, 15, 40, 5, 44, 22, 40, 19], |
| "ct": [30, 33, 1, 21, 32, 24, 38, 0, 12, 16, 18, 16, 0, 15, 43, 4, 23, 17, 33, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1433, |
| "comment": "y = 0 and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5d69ffa94d0ec8c3", |
| "msg": [13, 0, 9, 13, 1, 32, 7, 2, 38, 41, 26, 44, 30, 43, 21, 43, 8, 35, 32, 42], |
| "ct": [15, 38, 4, 37, 40, 5, 9, 22, 12, 40, 14, 15, 1, 26, 16, 4, 1, 42, 11, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1434, |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5d69ffa94d0ec8c3", |
| "msg": [44, 11, 26, 21, 21, 30, 21, 15, 8, 7, 16, 14, 8, 15, 15, 10, 3, 35, 39, 43], |
| "ct": [13, 2, 5, 0, 37, 7, 27, 33, 2, 4, 30, 2, 41, 21, 25, 8, 6, 14, 20, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1435, |
| "comment": "y = 1 and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "152f42e1484dc251", |
| "msg": [19, 34, 8, 26, 17, 1, 27, 38, 8, 1, 16, 28, 33, 37, 29, 9, 29, 3, 4, 39], |
| "ct": [13, 28, 36, 28, 32, 6, 22, 20, 44, 42, 37, 15, 1, 5, 19, 2, 14, 37, 18, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1436, |
| "comment": "y = 1 and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "152f42e1484dc251", |
| "msg": [36, 22, 37, 24, 15, 27, 14, 43, 42, 23, 16, 38, 16, 20, 35, 24, 7, 9, 31, 26], |
| "ct": [40, 12, 36, 41, 15, 20, 8, 28, 26, 11, 14, 9, 28, 43, 23, 19, 33, 44, 12, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1437, |
| "comment": "y = 1 and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "152f42e1484dc251", |
| "msg": [38, 0, 29, 39, 25, 31, 38, 17, 36, 20, 21, 15, 25, 25, 31, 42, 35, 39, 16, 29], |
| "ct": [33, 13, 32, 8, 41, 6, 44, 7, 32, 31, 2, 33, 10, 20, 8, 3, 17, 10, 19, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1438, |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "152f42e1484dc251", |
| "msg": [2, 12, 21, 0, 14, 31, 22, 29, 18, 30, 0, 24, 4, 18, 34, 4, 21, 42, 25, 28], |
| "ct": [7, 28, 42, 26, 19, 38, 38, 23, 20, 12, 41, 0, 8, 3, 32, 7, 43, 34, 35, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1439, |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "152f42e1484dc251", |
| "msg": [34, 30, 21, 39, 41, 24, 29, 21, 12, 31, 7, 19, 23, 42, 3, 33, 35, 4, 38, 5], |
| "ct": [36, 42, 21, 33, 26, 9, 18, 31, 43, 19, 41, 19, 29, 11, 3, 30, 42, 14, 13, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1440, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5b0a32e60a16c182", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 5, 2, 14, 21, 37, 28, 44, 5, 41], |
| "ct": [18, 14, 32, 43, 36, 37, 17, 21, 10, 44, 41, 37, 40, 30, 12, 2, 18, 39, 33, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1441, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5b0a32e60a16c182", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 14, 5, 2, 14, 21, 37, 28, 44, 5, 41], |
| "ct": [17, 30, 14, 10, 24, 26, 33, 13, 13, 7, 3, 6, 41, 7, 36, 18, 13, 40, 16, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1442, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5b0a32e60a16c182", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 14, 5, 2, 14, 21, 37, 28, 44, 5, 41], |
| "ct": [3, 14, 33, 35, 2, 3, 12, 11, 20, 35, 4, 23, 39, 40, 17, 22, 6, 36, 9, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1443, |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5b0a32e60a16c182", |
| "msg": [40, 13, 20, 0, 5, 18, 11, 0, 36, 44, 14, 5, 2, 14, 21, 37, 28, 44, 5, 41], |
| "ct": [5, 36, 29, 34, 15, 11, 11, 32, 34, 25, 0, 21, 36, 28, 41, 25, 41, 37, 35, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1444, |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5b0a32e60a16c182", |
| "msg": [40, 13, 20, 0, 5, 18, 11, 0, 37, 0, 14, 5, 2, 14, 21, 37, 28, 44, 5, 41], |
| "ct": [11, 42, 25, 37, 28, 14, 1, 35, 2, 32, 25, 26, 40, 7, 38, 41, 4, 9, 15, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1445, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5b0a32e60a16c182", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 14, 5, 2, 14, 21, 37, 28, 44, 5, 41], |
| "ct": [42, 22, 41, 0, 1, 27, 26, 12, 27, 0, 34, 42, 0, 31, 39, 32, 42, 7, 7, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1446, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5d8f67f908e239aa", |
| "msg": [28, 23, 9, 36, 15, 12, 18, 24, 21, 1, 39, 17, 30, 42, 15, 38, 7, 1, 44, 44], |
| "ct": [29, 35, 10, 38, 26, 5, 15, 22, 32, 1, 1, 33, 5, 16, 18, 24, 29, 5, 37, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1447, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5d8f67f908e239aa", |
| "msg": [34, 5, 21, 25, 42, 40, 42, 3, 28, 5, 38, 19, 38, 28, 1, 12, 29, 28, 25, 10], |
| "ct": [18, 1, 17, 35, 22, 14, 8, 21, 34, 17, 7, 3, 39, 3, 44, 44, 37, 28, 23, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1448, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5d8f67f908e239aa", |
| "msg": [10, 42, 34, 16, 20, 35, 40, 1, 19, 40, 14, 30, 34, 27, 11, 1, 39, 10, 12, 30], |
| "ct": [41, 20, 26, 15, 21, 42, 36, 29, 26, 42, 13, 34, 1, 38, 6, 21, 42, 31, 17, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1449, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "5d8f67f908e239aa", |
| "msg": [11, 23, 11, 31, 31, 6, 44, 36, 26, 35, 32, 39, 44, 13, 22, 28, 14, 38, 43, 3], |
| "ct": [2, 17, 37, 18, 37, 40, 29, 32, 16, 3, 12, 20, 19, 13, 39, 38, 35, 13, 41, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1450, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f", |
| "tweak": "25733cf5c0f0d898", |
| "msg": [-1, 8, 23, 32, 6, 19, 3, 39, 40, 23, 20, 40, 26, 23, 25, 29, 22, 4, 20, 37], |
| "ct": [8, 35, 18, 27, 32, 17, 10, 7, 32, 20, 2, 34, 42, 7, 19, 10, 18, 12, 15, 34], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1451, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f", |
| "tweak": "25733cf5c0f0d898", |
| "msg": [40, 8, 23, 32, 6, 19, -1, 39, 40, 23, 20, 40, 26, 23, 25, 29, 22, 4, 20, 37], |
| "ct": [33, 25, 5, 37, 13, 20, 32, 32, 7, 12, 1, 39, 7, 32, 28, 23, 37, 30, 25, 23], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1452, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f", |
| "tweak": "25733cf5c0f0d898", |
| "msg": [40, 8, 23, 32, 6, 19, 3, 39, 40, 23, 20, 40, 26, 23, 25, 29, 22, 4, 20, -1], |
| "ct": [30, 43, 20, 29, 32, 28, 15, 27, 7, 16, 10, 39, 1, 27, 1, 3, 37, 10, 27, 40], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1453, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "aa5a02c6b897a68fe51e4b0aaea0eda88d58011efd27c701", |
| "tweak": "aec29b98101e6bef", |
| "msg": [45, 13, 41, 21, 26, 1, 40, 5, 30, 43, 30, 33, 26, 23, 29, 37, 23, 8, 16, 14], |
| "ct": [19, 14, 14, 24, 11, 34, 4, 5, 8, 34, 20, 36, 40, 18, 25, 28, 33, 44, 22, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1454, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "aa5a02c6b897a68fe51e4b0aaea0eda88d58011efd27c701", |
| "tweak": "aec29b98101e6bef", |
| "msg": [27, 13, 41, 21, 26, 1, 45, 5, 30, 43, 30, 33, 26, 23, 29, 37, 23, 8, 16, 14], |
| "ct": [42, 1, 38, 13, 10, 12, 13, 24, 25, 24, 23, 37, 37, 37, 5, 5, 5, 27, 42, 16], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1455, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "aa5a02c6b897a68fe51e4b0aaea0eda88d58011efd27c701", |
| "tweak": "aec29b98101e6bef", |
| "msg": [27, 13, 41, 21, 26, 1, 40, 5, 30, 43, 30, 33, 26, 23, 29, 37, 23, 8, 16, 45], |
| "ct": [23, 14, 13, 21, 6, 19, 21, 26, 9, 27, 11, 9, 7, 7, 23, 20, 2, 41, 22, 17], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 21, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1456, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "c3bb552dddc77917376b930dc911345e533a17542ddbf421", |
| "tweak": "2780a38c74385db3", |
| "msg": [17, 3, 34, 34, 43, 29, 31, 22, 13, 6, 30, 32, 18, 25, 20, 13, 4, 7, 15, 34, 23], |
| "ct": [27, 38, 19, 6, 12, 34, 38, 16, 39, 39, 43, 2, 10, 36, 24, 38, 18, 27, 14, 9, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1457, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [29, 11, 12, 25, 21, 19, 12, 18, 9, 6, 21, 22, 27, 1, 3, 6, 40, 41, 22, 29, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1458, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [29, 1, 44, 9, 3, 28, 38, 31, 35, 31, 43, 21, 38, 26, 16, 30, 38, 21, 18, 31, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1459, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "ct": [42, 42, 4, 33, 28, 33, 7, 4, 12, 27, 44, 35, 13, 19, 11, 11, 8, 3, 43, 25, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1460, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "ct": [36, 29, 18, 13, 18, 12, 16, 6, 34, 37, 32, 20, 2, 32, 25, 25, 27, 15, 18, 17, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1461, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [22, 32, 11, 12, 27, 26, 0, 28, 33, 38, 35, 38, 12, 29, 2, 9, 25, 14, 5, 32, 42], |
| "ct": [30, 12, 10, 29, 34, 23, 17, 21, 8, 12, 24, 42, 12, 37, 17, 27, 21, 40, 12, 29, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1462, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [13, 1, 17, 19, 44, 36, 29, 8, 43, 21, 7, 21, 4, 24, 43, 12, 21, 12, 29, 37, 23], |
| "ct": [44, 18, 18, 13, 30, 5, 29, 4, 37, 0, 42, 38, 32, 27, 12, 19, 16, 38, 7, 23, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1463, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [33, 35, 22, 41, 42, 9, 36, 39, 43, 17, 4, 24, 4, 36, 25, 16, 19, 12, 28, 43, 31], |
| "ct": [1, 0, 30, 10, 44, 32, 16, 33, 35, 6, 18, 42, 20, 30, 20, 2, 35, 34, 12, 2, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1464, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [11, 0, 4, 32, 31, 7, 36, 11, 23, 21, 16, 30, 13, 18, 11, 42, 16, 29, 35, 11, 42], |
| "ct": [12, 1, 20, 32, 2, 38, 30, 14, 41, 18, 12, 26, 20, 12, 28, 20, 33, 5, 17, 18, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1465, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [3, 3, 35, 29, 20, 6, 12, 42, 19, 12, 27, 35, 1, 44, 20, 33, 26, 44, 22, 34, 31], |
| "ct": [20, 14, 21, 34, 35, 33, 20, 26, 3, 22, 27, 41, 29, 3, 5, 27, 37, 4, 19, 11, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1466, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [0, 10, 12, 15, 10, 9, 23, 41, 23, 26, 20, 38, 14, 11, 43, 34, 5, 11, 8, 20, 38], |
| "ct": [20, 2, 43, 33, 34, 38, 27, 20, 33, 8, 26, 33, 18, 33, 37, 21, 28, 6, 17, 30, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1467, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [8, 7, 40, 0, 28, 28, 13, 5, 16, 11, 27, 18, 30, 34, 32, 12, 29, 20, 31, 15, 19], |
| "ct": [39, 33, 21, 8, 44, 42, 8, 12, 28, 8, 15, 4, 2, 3, 4, 33, 8, 19, 22, 32, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1468, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [44, 39, 42, 2, 43, 37, 19, 11, 38, 36, 27, 29, 0, 2, 17, 24, 16, 44, 29, 5, 33], |
| "ct": [16, 17, 33, 43, 12, 25, 18, 25, 24, 26, 44, 37, 9, 40, 14, 15, 27, 13, 33, 40, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1469, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [42, 6, 13, 3, 20, 7, 20, 7, 13, 35, 42, 40, 5, 0, 42, 19, 7, 0, 8, 5, 10], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1470, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [15, 44, 22, 27, 5, 30, 9, 19, 19, 20, 16, 9, 24, 23, 0, 27, 5, 5, 21, 42, 38], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1471, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [17, 23, 27, 44, 10, 29, 15, 7, 8, 21, 5, 37, 24, 28, 30, 36, 13, 24, 37, 43, 8], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1472, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": [9, 13, 44, 29, 30, 35, 39, 34, 42, 40, 8, 14, 22, 21, 32, 13, 27, 27, 38, 41, 19], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1473, |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "91735689512831", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 16, 24, 39, 24, 17, 29, 37, 26, 5, 33], |
| "ct": [26, 21, 31, 20, 21, 21, 27, 38, 6, 42, 41, 4, 7, 36, 7, 36, 38, 12, 10, 8, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1474, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "91735689512831", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 18, 16, 24, 39, 24, 17, 29, 37, 26, 5, 33], |
| "ct": [14, 44, 24, 36, 20, 12, 35, 12, 9, 6, 42, 1, 7, 39, 34, 15, 18, 39, 12, 29, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1475, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "91735689512831", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 18, 16, 24, 39, 24, 17, 29, 37, 26, 5, 33], |
| "ct": [39, 27, 17, 41, 10, 13, 30, 18, 22, 35, 38, 6, 1, 39, 2, 27, 40, 25, 12, 25, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1476, |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "91735689512831", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 18, 16, 24, 39, 24, 17, 29, 37, 26, 5, 33], |
| "ct": [27, 19, 15, 7, 0, 32, 10, 40, 23, 4, 43, 6, 9, 17, 39, 34, 12, 5, 18, 41, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1477, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "41defb2f32de92", |
| "msg": [13, 15, 24, 20, 9, 35, 34, 12, 6, 30, 19, 26, 0, 39, 23, 44, 38, 31, 37, 24, 36], |
| "ct": [5, 12, 27, 35, 42, 21, 8, 22, 42, 28, 34, 35, 4, 37, 35, 15, 13, 37, 0, 34, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1478, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "41defb2f32de92", |
| "msg": [26, 21, 24, 44, 44, 26, 42, 10, 29, 22, 14, 18, 3, 31, 15, 12, 24, 3, 23, 44, 20], |
| "ct": [29, 37, 16, 19, 28, 23, 28, 13, 31, 5, 29, 25, 24, 15, 9, 1, 38, 24, 0, 37, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1479, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "41defb2f32de92", |
| "msg": [4, 6, 42, 10, 39, 1, 28, 23, 2, 23, 22, 11, 35, 24, 17, 20, 43, 15, 16, 24, 36], |
| "ct": [24, 37, 29, 43, 42, 35, 4, 7, 14, 30, 10, 12, 11, 29, 42, 33, 1, 26, 35, 32, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1480, |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "41defb2f32de92", |
| "msg": [20, 6, 24, 40, 40, 26, 18, 10, 3, 25, 40, 15, 35, 20, 43, 38, 4, 8, 8, 9, 13], |
| "ct": [20, 23, 28, 2, 23, 11, 22, 33, 35, 32, 25, 12, 41, 44, 5, 24, 31, 0, 22, 40, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1481, |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "41defb2f32de92", |
| "msg": [14, 18, 28, 23, 12, 43, 34, 32, 33, 22, 37, 39, 12, 15, 31, 19, 27, 14, 19, 31, 13], |
| "ct": [3, 6, 15, 42, 39, 22, 21, 9, 24, 17, 40, 6, 40, 38, 24, 33, 35, 1, 29, 6, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1482, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "87d24b805e9d6b", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 19, 17, 36, 12, 33, 16, 21, 18, 13, 36], |
| "ct": [7, 40, 12, 40, 20, 35, 2, 7, 36, 33, 1, 16, 5, 25, 14, 11, 3, 33, 37, 5, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1483, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "87d24b805e9d6b", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 33, 19, 17, 36, 12, 33, 16, 21, 18, 13, 36], |
| "ct": [44, 14, 33, 7, 13, 3, 33, 11, 9, 20, 37, 6, 41, 1, 4, 34, 40, 18, 42, 19, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1484, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "87d24b805e9d6b", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 33, 19, 17, 36, 12, 33, 16, 21, 18, 13, 36], |
| "ct": [30, 18, 33, 25, 15, 25, 11, 40, 29, 39, 18, 4, 10, 30, 18, 37, 26, 7, 26, 18, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1485, |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "87d24b805e9d6b", |
| "msg": [40, 13, 20, 0, 5, 18, 11, 0, 36, 44, 33, 19, 17, 36, 12, 33, 16, 21, 18, 13, 36], |
| "ct": [35, 43, 14, 41, 19, 40, 32, 36, 30, 40, 22, 9, 40, 29, 21, 15, 2, 17, 23, 41, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1486, |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "87d24b805e9d6b", |
| "msg": [40, 13, 20, 0, 5, 18, 11, 0, 37, 0, 33, 19, 17, 36, 12, 33, 16, 21, 18, 13, 36], |
| "ct": [44, 37, 5, 24, 27, 30, 33, 38, 1, 35, 13, 15, 8, 6, 24, 32, 22, 15, 35, 20, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1487, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "87d24b805e9d6b", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 33, 19, 17, 36, 12, 33, 16, 21, 18, 13, 36], |
| "ct": [39, 28, 21, 21, 30, 20, 21, 5, 7, 31, 18, 42, 13, 2, 22, 36, 0, 14, 37, 9, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1488, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "451b9334a196ff", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 22, 2, 14, 40, 44, 7, 30, 44, 1, 40], |
| "ct": [23, 22, 4, 11, 8, 10, 5, 42, 31, 11, 0, 0, 20, 5, 17, 10, 4, 17, 10, 29, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1489, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "451b9334a196ff", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 8, 22, 2, 14, 40, 44, 7, 30, 44, 1, 40], |
| "ct": [38, 16, 17, 37, 12, 43, 29, 3, 37, 14, 2, 1, 23, 28, 23, 23, 11, 36, 27, 16, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1490, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "451b9334a196ff", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 8, 22, 2, 14, 40, 44, 7, 30, 44, 1, 40], |
| "ct": [4, 21, 18, 23, 25, 36, 16, 43, 44, 38, 38, 25, 19, 7, 32, 42, 29, 42, 25, 44, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1491, |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "451b9334a196ff", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 8, 22, 2, 14, 40, 44, 7, 30, 44, 1, 40], |
| "ct": [36, 10, 17, 9, 28, 41, 41, 17, 36, 22, 22, 9, 32, 31, 7, 9, 10, 31, 26, 19, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1492, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101", |
| "tweak": "08ab087236e7ba87", |
| "msg": [-1, 31, 41, 9, 4, 14, 1, 20, 4, 19, 41, 36, 0, 8, 38, 13, 4, 17, 15, 37, 4], |
| "ct": [14, 43, 3, 0, 29, 33, 20, 33, 26, 20, 20, 0, 7, 18, 38, 2, 27, 22, 23, 10, 2], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1493, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101", |
| "tweak": "08ab087236e7ba87", |
| "msg": [25, 31, 41, 9, 4, 14, 1, -1, 4, 19, 41, 36, 0, 8, 38, 13, 4, 17, 15, 37, 4], |
| "ct": [34, 39, 27, 44, 41, 19, 31, 21, 24, 31, 19, 10, 42, 9, 5, 1, 21, 36, 8, 12, 36], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1494, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101", |
| "tweak": "08ab087236e7ba87", |
| "msg": [25, 31, 41, 9, 4, 14, 1, 20, 4, 19, 41, 36, 0, 8, 38, 13, 4, 17, 15, 37, -1], |
| "ct": [33, 6, 7, 4, 8, 7, 16, 1, 1, 32, 22, 32, 13, 28, 35, 3, 29, 27, 5, 9, 26], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1495, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f54daa427ce7a0d4371c9397ad66de9189e4608ff678c154", |
| "tweak": "932a997f661828ba", |
| "msg": [45, 30, 17, 16, 37, 27, 7, 9, 0, 29, 26, 38, 43, 20, 31, 5, 44, 8, 44, 27, 16], |
| "ct": [17, 24, 13, 42, 4, 28, 6, 34, 44, 19, 20, 2, 39, 0, 25, 23, 36, 2, 0, 7, 0], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1496, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f54daa427ce7a0d4371c9397ad66de9189e4608ff678c154", |
| "tweak": "932a997f661828ba", |
| "msg": [26, 30, 17, 16, 37, 27, 7, 45, 0, 29, 26, 38, 43, 20, 31, 5, 44, 8, 44, 27, 16], |
| "ct": [36, 11, 43, 23, 27, 36, 39, 42, 33, 22, 18, 19, 19, 15, 9, 35, 3, 29, 7, 0, 22], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1497, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f54daa427ce7a0d4371c9397ad66de9189e4608ff678c154", |
| "tweak": "932a997f661828ba", |
| "msg": [26, 30, 17, 16, 37, 27, 7, 9, 0, 29, 26, 38, 43, 20, 31, 5, 44, 8, 44, 27, 45], |
| "ct": [25, 39, 5, 3, 9, 31, 35, 15, 25, 35, 40, 24, 16, 14, 18, 0, 43, 26, 33, 24, 18], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 22, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1498, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "00bdb5e8b811c9617b0c07c9ed50b6d067ac817cbe06e44a", |
| "tweak": "d92d8fd1572665ab", |
| "msg": [3, 29, 0, 26, 28, 29, 6, 44, 10, 34, 39, 24, 11, 40, 5, 23, 27, 11, 35, 25, 29, 10], |
| "ct": [19, 7, 2, 39, 32, 41, 13, 31, 1, 31, 33, 37, 35, 37, 44, 14, 41, 14, 35, 9, 2, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1499, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [24, 39, 9, 3, 37, 38, 37, 17, 30, 20, 1, 44, 26, 1, 30, 1, 9, 11, 31, 14, 33, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1500, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [5, 29, 30, 13, 41, 30, 26, 13, 43, 33, 12, 29, 13, 8, 17, 1, 25, 25, 20, 42, 24, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1501, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "ct": [44, 39, 38, 12, 11, 21, 3, 6, 3, 6, 0, 13, 15, 40, 24, 30, 41, 1, 37, 21, 25, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1502, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "ct": [39, 24, 9, 32, 2, 28, 38, 25, 44, 21, 14, 33, 6, 26, 5, 4, 23, 2, 10, 12, 18, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1503, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [21, 42, 18, 24, 19, 3, 27, 11, 31, 36, 30, 17, 23, 31, 26, 1, 25, 0, 30, 29, 33, 15], |
| "ct": [29, 16, 38, 31, 40, 24, 42, 12, 39, 16, 34, 29, 2, 2, 20, 23, 7, 19, 14, 5, 12, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1504, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [11, 44, 38, 42, 6, 25, 42, 35, 40, 10, 39, 25, 29, 40, 43, 24, 19, 39, 5, 24, 5, 9], |
| "ct": [37, 25, 29, 34, 34, 7, 0, 21, 34, 28, 31, 17, 33, 26, 6, 30, 31, 3, 36, 17, 2, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1505, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [3, 14, 42, 1, 38, 18, 33, 33, 35, 16, 13, 43, 26, 26, 35, 3, 43, 20, 23, 28, 8, 44], |
| "ct": [0, 2, 27, 4, 32, 15, 20, 17, 43, 23, 25, 22, 29, 4, 0, 12, 4, 18, 13, 23, 41, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1506, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [7, 39, 38, 39, 5, 14, 27, 31, 17, 38, 18, 21, 0, 6, 25, 36, 6, 42, 31, 34, 6, 24], |
| "ct": [30, 2, 11, 44, 25, 38, 28, 2, 12, 43, 35, 10, 13, 41, 13, 2, 0, 11, 8, 23, 22, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1507, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [40, 43, 13, 25, 21, 21, 21, 24, 38, 21, 9, 33, 42, 44, 24, 12, 27, 41, 3, 33, 39, 0], |
| "ct": [5, 42, 27, 8, 43, 31, 26, 14, 25, 27, 23, 34, 9, 40, 17, 43, 17, 24, 27, 4, 18, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1508, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [33, 20, 37, 6, 44, 31, 1, 29, 8, 18, 22, 5, 0, 33, 18, 28, 0, 30, 9, 42, 16, 13], |
| "ct": [14, 4, 35, 35, 29, 35, 19, 23, 18, 0, 43, 7, 41, 26, 39, 4, 14, 18, 34, 40, 42, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1509, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [27, 35, 11, 21, 30, 13, 24, 34, 8, 31, 36, 20, 27, 8, 0, 6, 39, 16, 6, 1, 36, 25], |
| "ct": [10, 15, 16, 41, 19, 8, 44, 43, 0, 4, 27, 17, 4, 5, 17, 28, 29, 20, 42, 27, 5, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1510, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [23, 21, 40, 23, 11, 38, 30, 22, 41, 6, 0, 36, 24, 23, 21, 32, 7, 19, 30, 8, 24, 12], |
| "ct": [37, 1, 7, 13, 2, 23, 14, 20, 23, 0, 5, 0, 36, 4, 35, 8, 21, 15, 10, 8, 24, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1511, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [24, 9, 41, 21, 0, 17, 33, 30, 2, 5, 42, 5, 10, 23, 41, 6, 42, 18, 10, 41, 19, 32], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1512, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [8, 42, 27, 33, 24, 36, 32, 34, 44, 7, 25, 40, 32, 17, 34, 3, 14, 40, 6, 6, 35, 32], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1513, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [28, 31, 19, 32, 36, 29, 30, 6, 0, 1, 0, 22, 39, 13, 11, 10, 16, 36, 29, 23, 42, 11], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1514, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": [25, 16, 25, 34, 20, 11, 13, 26, 39, 33, 13, 4, 24, 44, 10, 28, 29, 23, 23, 0, 30, 23], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1515, |
| "comment": "y = 0 and (y + a) % radix**11 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "06eabea9b587d1", |
| "msg": [43, 15, 19, 37, 22, 18, 2, 11, 35, 2, 44, 20, 27, 35, 23, 14, 42, 9, 44, 9, 33, 43], |
| "ct": [25, 9, 25, 35, 43, 2, 25, 15, 3, 14, 15, 24, 43, 23, 14, 16, 13, 29, 8, 34, 43, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1516, |
| "comment": "y = 0 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "06eabea9b587d1", |
| "msg": [3, 34, 31, 2, 38, 28, 12, 42, 6, 32, 17, 33, 33, 4, 14, 16, 43, 13, 3, 21, 22, 13], |
| "ct": [20, 24, 10, 26, 34, 35, 29, 12, 20, 36, 44, 23, 18, 10, 18, 2, 17, 11, 41, 18, 3, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1517, |
| "comment": "y = 0 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "06eabea9b587d1", |
| "msg": [42, 26, 25, 12, 18, 36, 18, 39, 6, 1, 38, 16, 3, 41, 4, 3, 44, 2, 37, 22, 10, 3], |
| "ct": [4, 27, 8, 43, 42, 29, 0, 28, 33, 5, 1, 20, 37, 29, 37, 42, 15, 24, 25, 36, 32, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1518, |
| "comment": "y = 0 and (y + a) % radix**11 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "06eabea9b587d1", |
| "msg": [37, 13, 17, 21, 9, 40, 2, 26, 20, 7, 25, 13, 19, 22, 44, 7, 36, 40, 20, 5, 34, 37], |
| "ct": [18, 38, 20, 31, 30, 32, 25, 26, 36, 18, 3, 16, 44, 7, 23, 7, 13, 6, 27, 3, 44, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1519, |
| "comment": "y = 1 and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "58e45118d5d0c1", |
| "msg": [15, 24, 44, 13, 21, 36, 33, 36, 12, 15, 21, 16, 7, 5, 3, 14, 23, 9, 6, 28, 3, 18], |
| "ct": [14, 44, 9, 1, 15, 22, 17, 33, 13, 29, 39, 40, 29, 7, 33, 31, 30, 12, 25, 22, 17, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1520, |
| "comment": "y = 1 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "58e45118d5d0c1", |
| "msg": [32, 27, 36, 18, 18, 27, 15, 27, 21, 4, 7, 10, 19, 29, 16, 9, 35, 42, 15, 24, 14, 24], |
| "ct": [8, 26, 20, 32, 3, 3, 9, 3, 44, 6, 22, 1, 38, 38, 0, 0, 27, 35, 31, 14, 38, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1521, |
| "comment": "y = 1 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "58e45118d5d0c1", |
| "msg": [28, 14, 41, 3, 19, 0, 31, 23, 8, 17, 39, 9, 7, 2, 24, 2, 5, 13, 4, 34, 26, 25], |
| "ct": [34, 34, 25, 18, 15, 1, 20, 9, 1, 14, 30, 14, 23, 5, 37, 16, 40, 33, 0, 21, 2, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1522, |
| "comment": "y = 1 and (y + a) % radix**11 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "58e45118d5d0c1", |
| "msg": [33, 28, 26, 0, 10, 14, 30, 18, 5, 4, 20, 36, 36, 28, 10, 10, 12, 11, 42, 9, 22, 1], |
| "ct": [18, 44, 11, 42, 33, 11, 6, 6, 17, 23, 0, 38, 21, 30, 11, 34, 37, 13, 29, 30, 17, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1523, |
| "comment": "y = 1 and (y + a) % radix**11 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "58e45118d5d0c1", |
| "msg": [34, 43, 11, 36, 40, 33, 30, 27, 8, 33, 14, 30, 37, 40, 39, 2, 17, 4, 29, 39, 7, 14], |
| "ct": [1, 26, 34, 2, 34, 9, 35, 0, 29, 41, 36, 4, 2, 13, 14, 31, 19, 42, 10, 27, 32, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1524, |
| "comment": "y is maximal and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "17217ce61a3cea", |
| "msg": [19, 38, 42, 12, 23, 31, 32, 3, 22, 39, 35, 7, 34, 37, 13, 29, 37, 24, 18, 14, 30, 12], |
| "ct": [28, 35, 9, 31, 28, 15, 30, 41, 18, 32, 12, 29, 2, 13, 18, 3, 26, 3, 26, 28, 44, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1525, |
| "comment": "y is maximal and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "17217ce61a3cea", |
| "msg": [31, 2, 0, 37, 44, 0, 44, 37, 9, 34, 27, 25, 30, 36, 17, 28, 29, 16, 43, 2, 2, 28], |
| "ct": [22, 40, 1, 42, 23, 40, 21, 27, 44, 37, 6, 37, 16, 32, 23, 16, 14, 16, 43, 18, 19, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1526, |
| "comment": "y is maximal and (y + a) % radix**11 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "17217ce61a3cea", |
| "msg": [38, 9, 44, 23, 0, 40, 38, 31, 32, 10, 43, 36, 31, 43, 15, 44, 42, 19, 19, 33, 8, 32], |
| "ct": [41, 36, 29, 2, 43, 38, 30, 40, 1, 11, 21, 5, 41, 4, 19, 44, 10, 15, 19, 4, 41, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1527, |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "17217ce61a3cea", |
| "msg": [39, 32, 24, 40, 12, 36, 15, 16, 39, 14, 21, 14, 31, 22, 40, 37, 4, 18, 12, 43, 0, 36], |
| "ct": [11, 3, 35, 38, 2, 32, 41, 28, 36, 42, 37, 34, 18, 7, 9, 6, 9, 31, 14, 44, 16, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1528, |
| "comment": "y is maximal and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "17217ce61a3cea", |
| "msg": [27, 24, 15, 38, 39, 22, 18, 2, 36, 30, 12, 9, 7, 43, 16, 18, 12, 32, 36, 32, 43, 40], |
| "ct": [28, 0, 17, 39, 16, 31, 31, 33, 9, 41, 15, 25, 21, 30, 3, 36, 11, 14, 5, 31, 27, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1529, |
| "comment": "y is maximal and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "17217ce61a3cea", |
| "msg": [26, 12, 3, 3, 3, 23, 5, 37, 2, 33, 1, 25, 31, 4, 1, 24, 44, 0, 32, 5, 0, 4], |
| "ct": [27, 8, 43, 36, 5, 3, 25, 8, 6, 18, 27, 20, 13, 18, 28, 38, 27, 35, 33, 12, 22, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1530, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a82b0443b9adfd", |
| "msg": [27, 8, 6, 9, 41, 4, 8, 0, 36, 20, 44, 21, 2, 27, 22, 19, 19, 44, 11, 41, 40, 22], |
| "ct": [12, 39, 15, 31, 22, 26, 5, 29, 19, 14, 43, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1531, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a82b0443b9adfd", |
| "msg": [27, 43, 16, 8, 5, 30, 26, 29, 9, 6, 6, 12, 14, 27, 33, 37, 7, 28, 30, 27, 0, 1], |
| "ct": [12, 39, 15, 31, 22, 26, 5, 29, 19, 14, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1532, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a82b0443b9adfd", |
| "msg": [13, 24, 0, 36, 6, 0, 0, 32, 23, 43, 12, 25, 40, 34, 43, 33, 16, 24, 4, 16, 16, 7], |
| "ct": [12, 39, 15, 31, 22, 26, 5, 29, 19, 14, 43, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1533, |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a82b0443b9adfd", |
| "msg": [30, 33, 34, 39, 39, 37, 15, 20, 6, 34, 18, 26, 26, 25, 32, 3, 22, 13, 27, 8, 25, 12], |
| "ct": [12, 39, 15, 31, 22, 26, 5, 29, 19, 14, 43, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1534, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8", |
| "tweak": "514738c10c8d12ff", |
| "msg": [-1, 14, 3, 9, 43, 41, 0, 24, 23, 31, 7, 15, 28, 23, 4, 5, 5, 14, 3, 28, 11, 41], |
| "ct": [21, 18, 2, 27, 31, 42, 31, 6, 0, 17, 18, 22, 16, 32, 43, 32, 18, 9, 4, 37, 2, 1], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1535, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8", |
| "tweak": "514738c10c8d12ff", |
| "msg": [18, 14, 3, 9, 43, 41, 0, -1, 23, 31, 7, 15, 28, 23, 4, 5, 5, 14, 3, 28, 11, 41], |
| "ct": [10, 7, 13, 34, 42, 36, 10, 2, 3, 27, 44, 40, 38, 36, 16, 11, 34, 33, 11, 38, 10, 5], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1536, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8", |
| "tweak": "514738c10c8d12ff", |
| "msg": [18, 14, 3, 9, 43, 41, 0, 24, 23, 31, 7, 15, 28, 23, 4, 5, 5, 14, 3, 28, 11, -1], |
| "ct": [4, 42, 14, 43, 32, 17, 8, 24, 19, 15, 0, 42, 21, 12, 42, 3, 4, 16, 25, 1, 11, 1], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1537, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "df2bfca7dd01807d0ea88934ffb8cf188c4fdd3c9d87883c", |
| "tweak": "89c18134212878e5", |
| "msg": [45, 12, 19, 7, 9, 26, 29, 26, 40, 19, 43, 11, 33, 29, 2, 25, 20, 27, 2, 28, 41, 29], |
| "ct": [42, 10, 40, 14, 10, 40, 33, 27, 22, 17, 21, 1, 8, 40, 18, 5, 30, 2, 37, 1, 31, 35], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1538, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "df2bfca7dd01807d0ea88934ffb8cf188c4fdd3c9d87883c", |
| "tweak": "89c18134212878e5", |
| "msg": [10, 12, 19, 7, 9, 26, 29, 45, 40, 19, 43, 11, 33, 29, 2, 25, 20, 27, 2, 28, 41, 29], |
| "ct": [18, 14, 0, 34, 29, 38, 25, 11, 13, 16, 14, 10, 24, 23, 38, 8, 7, 7, 22, 11, 39, 7], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1539, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "df2bfca7dd01807d0ea88934ffb8cf188c4fdd3c9d87883c", |
| "tweak": "89c18134212878e5", |
| "msg": [10, 12, 19, 7, 9, 26, 29, 26, 40, 19, 43, 11, 33, 29, 2, 25, 20, 27, 2, 28, 41, 45], |
| "ct": [25, 15, 37, 18, 35, 24, 37, 44, 6, 11, 14, 22, 27, 27, 8, 13, 1, 32, 24, 5, 42, 15], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 23, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1540, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "c7697b0dbeb87d7f395505c37c7aa8851539af55cf9ff48d", |
| "tweak": "81c250277f86145e", |
| "msg": [0, 25, 15, 22, 31, 22, 44, 36, 15, 8, 31, 17, 24, 31, 28, 9, 41, 27, 6, 8, 38, 20, 1], |
| "ct": [41, 9, 22, 11, 7, 39, 6, 2, 30, 4, 33, 4, 43, 3, 4, 12, 33, 5, 6, 39, 29, 11, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1541, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [28, 16, 23, 24, 11, 18, 34, 20, 19, 35, 42, 19, 40, 10, 15, 12, 13, 30, 33, 31, 10, 28, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1542, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [12, 33, 38, 21, 29, 5, 16, 41, 40, 35, 20, 19, 6, 8, 35, 43, 38, 38, 9, 17, 7, 41, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1543, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 32], |
| "ct": [2, 43, 12, 28, 18, 42, 39, 14, 40, 40, 16, 43, 21, 20, 37, 20, 16, 3, 35, 34, 35, 6, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1544, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 31], |
| "ct": [1, 27, 10, 43, 35, 43, 7, 17, 27, 26, 4, 30, 24, 7, 20, 23, 34, 37, 25, 30, 33, 15, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1545, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [14, 25, 0, 14, 34, 1, 35, 3, 32, 33, 33, 34, 32, 43, 3, 14, 4, 42, 3, 21, 35, 18, 9], |
| "ct": [28, 19, 11, 21, 24, 13, 26, 24, 2, 19, 21, 34, 24, 6, 36, 8, 42, 15, 2, 24, 5, 34, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1546, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [20, 26, 17, 32, 1, 17, 36, 13, 36, 24, 38, 5, 20, 14, 20, 25, 31, 2, 11, 17, 28, 20, 44], |
| "ct": [37, 37, 19, 20, 40, 26, 8, 23, 19, 15, 29, 30, 15, 32, 0, 21, 26, 6, 38, 19, 39, 33, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1547, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [7, 43, 32, 11, 42, 15, 23, 33, 8, 42, 20, 20, 38, 16, 15, 36, 30, 23, 6, 21, 37, 8, 30], |
| "ct": [0, 1, 37, 8, 24, 28, 26, 5, 15, 5, 5, 41, 8, 3, 31, 42, 4, 2, 3, 20, 11, 39, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1548, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [26, 7, 16, 17, 5, 13, 25, 17, 1, 30, 10, 23, 7, 9, 44, 1, 32, 13, 12, 1, 43, 12, 43], |
| "ct": [17, 9, 30, 5, 36, 32, 41, 2, 3, 25, 1, 15, 25, 26, 17, 5, 30, 5, 0, 12, 3, 41, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1549, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [2, 22, 3, 3, 7, 7, 24, 38, 2, 13, 33, 20, 16, 15, 13, 31, 9, 32, 12, 25, 34, 6, 34], |
| "ct": [9, 17, 6, 28, 8, 41, 13, 44, 8, 11, 32, 16, 13, 26, 12, 38, 6, 37, 10, 38, 8, 42, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1550, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [39, 5, 2, 15, 42, 1, 16, 6, 37, 4, 39, 31, 12, 26, 16, 39, 33, 16, 18, 22, 30, 20, 5], |
| "ct": [43, 43, 22, 38, 12, 12, 7, 42, 38, 14, 37, 22, 8, 9, 23, 23, 17, 2, 3, 7, 16, 13, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1551, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [2, 30, 42, 10, 39, 22, 19, 32, 23, 44, 19, 3, 41, 12, 34, 10, 32, 7, 6, 10, 21, 3, 31], |
| "ct": [20, 22, 12, 16, 24, 22, 21, 30, 11, 10, 12, 40, 3, 18, 23, 41, 30, 4, 1, 28, 5, 41, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1552, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [13, 32, 35, 3, 33, 2, 14, 19, 20, 3, 44, 36, 16, 9, 20, 8, 7, 35, 22, 43, 25, 8, 18], |
| "ct": [40, 24, 11, 9, 27, 3, 44, 14, 36, 11, 40, 2, 18, 25, 20, 21, 9, 22, 2, 7, 25, 22, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1553, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [8, 4, 3, 31, 9, 40, 27, 19, 26, 31, 30, 38, 6, 27, 7, 38, 9, 15, 14, 7, 20, 14, 19], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1554, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [11, 25, 19, 17, 20, 35, 21, 30, 13, 16, 19, 42, 18, 20, 32, 39, 37, 6, 42, 25, 11, 4, 4], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1555, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [7, 14, 17, 35, 28, 43, 8, 16, 18, 35, 0, 31, 7, 3, 12, 36, 2, 30, 3, 2, 32, 10, 22], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1556, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": [14, 24, 6, 10, 29, 11, 41, 25, 41, 39, 3, 33, 9, 43, 22, 29, 2, 6, 27, 15, 18, 20, 15], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1557, |
| "comment": "y = 1 and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "3f9f77c47c2eaad42bf1a26d377b4ab2d02d622a25d3", |
| "msg": [26, 16, 0, 40, 36, 40, 19, 43, 23, 22, 39, 33, 4, 41, 33, 34, 44, 21, 35, 3, 34, 14, 25], |
| "ct": [20, 34, 3, 34, 35, 6, 34, 21, 20, 42, 39, 18, 43, 36, 15, 38, 16, 27, 4, 8, 38, 25, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1558, |
| "comment": "y = 1 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "3f9f77c47c2eaad42bf1a26d377b4ab2d02d622a25d3", |
| "msg": [4, 36, 25, 22, 1, 30, 28, 3, 40, 23, 14, 25, 42, 42, 7, 17, 43, 42, 15, 24, 26, 21, 41], |
| "ct": [27, 37, 12, 10, 13, 20, 42, 34, 44, 44, 26, 1, 37, 41, 23, 11, 41, 34, 2, 31, 37, 18, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1559, |
| "comment": "y = 1 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "3f9f77c47c2eaad42bf1a26d377b4ab2d02d622a25d3", |
| "msg": [24, 14, 20, 38, 41, 30, 41, 1, 21, 25, 42, 20, 17, 1, 6, 11, 42, 17, 27, 3, 28, 43, 12], |
| "ct": [43, 4, 24, 14, 44, 22, 8, 39, 42, 27, 34, 27, 8, 43, 7, 18, 23, 33, 41, 15, 42, 29, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1560, |
| "comment": "y = 1 and (y + a) % radix**11 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "3f9f77c47c2eaad42bf1a26d377b4ab2d02d622a25d3", |
| "msg": [4, 5, 28, 0, 39, 12, 22, 2, 31, 1, 25, 13, 14, 5, 15, 22, 7, 37, 12, 6, 29, 24, 6], |
| "ct": [29, 30, 10, 42, 42, 14, 39, 18, 12, 37, 37, 5, 4, 5, 18, 42, 39, 33, 24, 19, 25, 42, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1561, |
| "comment": "y = 1 and (y + a) % radix**11 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "3f9f77c47c2eaad42bf1a26d377b4ab2d02d622a25d3", |
| "msg": [19, 12, 7, 3, 5, 13, 43, 40, 40, 30, 20, 13, 39, 39, 15, 29, 4, 32, 4, 10, 2, 40, 41], |
| "ct": [12, 37, 43, 40, 32, 28, 43, 41, 27, 33, 35, 23, 18, 36, 30, 43, 3, 11, 5, 26, 34, 33, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1562, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "e39d3dd75b3fcf7902b0c37fe0c2d8344a622002d019", |
| "msg": [29, 43, 4, 41, 6, 38, 42, 30, 30, 20, 35, 32, 6, 16, 13, 32, 30, 42, 8, 41, 32, 23, 5], |
| "ct": [41, 32, 29, 30, 15, 28, 27, 19, 17, 0, 43, 0, 42, 38, 34, 12, 8, 37, 4, 5, 33, 6, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1563, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "e39d3dd75b3fcf7902b0c37fe0c2d8344a622002d019", |
| "msg": [26, 0, 28, 16, 37, 22, 44, 25, 27, 38, 44, 42, 34, 27, 37, 5, 14, 23, 17, 29, 41, 9, 18], |
| "ct": [41, 9, 31, 27, 13, 27, 40, 13, 25, 40, 14, 19, 27, 33, 2, 13, 40, 7, 37, 6, 0, 0, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1564, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "e39d3dd75b3fcf7902b0c37fe0c2d8344a622002d019", |
| "msg": [39, 4, 1, 0, 15, 31, 36, 11, 26, 7, 42, 20, 2, 18, 29, 14, 36, 8, 25, 37, 17, 39, 21], |
| "ct": [1, 26, 22, 2, 8, 4, 14, 6, 0, 15, 12, 36, 40, 18, 15, 5, 37, 23, 0, 8, 16, 18, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1565, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "e39d3dd75b3fcf7902b0c37fe0c2d8344a622002d019", |
| "msg": [30, 24, 44, 24, 18, 25, 42, 34, 32, 5, 42, 7, 28, 18, 8, 28, 37, 39, 40, 33, 19, 27, 44], |
| "ct": [43, 1, 42, 44, 15, 2, 20, 12, 33, 42, 3, 8, 4, 23, 18, 20, 34, 35, 19, 37, 16, 38, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1566, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "e39d3dd75b3fcf7902b0c37fe0c2d8344a622002d019", |
| "msg": [31, 13, 39, 40, 43, 29, 15, 18, 17, 6, 44, 5, 13, 32, 20, 35, 19, 23, 27, 32, 5, 37, 13], |
| "ct": [39, 40, 39, 7, 20, 21, 33, 13, 31, 12, 1, 26, 22, 3, 32, 37, 38, 12, 35, 27, 39, 19, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1567, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "e39d3dd75b3fcf7902b0c37fe0c2d8344a622002d019", |
| "msg": [3, 18, 13, 36, 30, 21, 4, 18, 3, 27, 18, 4, 18, 42, 37, 6, 40, 39, 19, 30, 5, 10, 16], |
| "ct": [17, 38, 38, 28, 23, 11, 17, 5, 8, 35, 8, 33, 21, 19, 25, 12, 35, 27, 24, 25, 27, 35, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1568, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a", |
| "tweak": "3641fc756f1c80d9", |
| "msg": [-1, 44, 34, 8, 19, 0, 29, 26, 40, 8, 6, 4, 13, 35, 18, 22, 31, 23, 25, 17, 38, 25, 12], |
| "ct": [26, 1, 29, 18, 16, 41, 19, 23, 30, 35, 12, 41, 29, 42, 34, 16, 9, 10, 38, 12, 36, 20, 27], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1569, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a", |
| "tweak": "3641fc756f1c80d9", |
| "msg": [38, 44, 34, 8, 19, 0, 29, -1, 40, 8, 6, 4, 13, 35, 18, 22, 31, 23, 25, 17, 38, 25, 12], |
| "ct": [29, 41, 1, 15, 33, 20, 42, 3, 21, 37, 23, 34, 5, 16, 27, 0, 18, 31, 2, 20, 32, 34, 33], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1570, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a", |
| "tweak": "3641fc756f1c80d9", |
| "msg": [38, 44, 34, 8, 19, 0, 29, 26, 40, 8, 6, 4, 13, 35, 18, 22, 31, 23, 25, 17, 38, 25, -1], |
| "ct": [33, 4, 23, 33, 24, 13, 37, 13, 16, 21, 37, 28, 33, 12, 34, 22, 2, 44, 32, 20, 36, 41, 17], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1571, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "02b3d2aab39b54a3acf1d1dec34f35003c535951216c8089", |
| "tweak": "876c371b7cf71beb", |
| "msg": [45, 8, 30, 19, 24, 5, 28, 33, 8, 43, 16, 24, 20, 36, 30, 15, 33, 6, 29, 20, 19, 28, 14], |
| "ct": [5, 19, 34, 8, 0, 29, 10, 2, 20, 18, 2, 34, 33, 26, 20, 43, 21, 0, 32, 22, 25, 39, 43], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1572, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "02b3d2aab39b54a3acf1d1dec34f35003c535951216c8089", |
| "tweak": "876c371b7cf71beb", |
| "msg": [26, 8, 30, 19, 24, 5, 28, 45, 8, 43, 16, 24, 20, 36, 30, 15, 33, 6, 29, 20, 19, 28, 14], |
| "ct": [1, 35, 13, 20, 23, 14, 20, 33, 36, 30, 33, 17, 0, 22, 4, 1, 11, 32, 3, 30, 6, 6, 10], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1573, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "02b3d2aab39b54a3acf1d1dec34f35003c535951216c8089", |
| "tweak": "876c371b7cf71beb", |
| "msg": [26, 8, 30, 19, 24, 5, 28, 33, 8, 43, 16, 24, 20, 36, 30, 15, 33, 6, 29, 20, 19, 28, 45], |
| "ct": [16, 1, 23, 20, 28, 14, 34, 42, 14, 22, 18, 9, 32, 41, 31, 40, 42, 17, 16, 3, 10, 19, 22], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 4, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1574, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "c4acbec2544b6a08d8b24841fc55fccf7450bfd64169fa7dbea965ccae52ac13", |
| "tweak": "427713fa26fac273", |
| "msg": [16, 21, 44, 13], |
| "ct": [20, 16, 14, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1575, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [0, 0, 0, 0], |
| "ct": [37, 22, 10, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1576, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [44, 44, 44, 44], |
| "ct": [23, 8, 14, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1577, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [22, 34, 22, 34], |
| "ct": [19, 0, 23, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1578, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [22, 33, 22, 33], |
| "ct": [27, 9, 26, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1579, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [44, 19, 9, 13], |
| "ct": [9, 4, 10, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1580, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [19, 0, 24, 44], |
| "ct": [6, 17, 4, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1581, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [23, 16, 16, 32], |
| "ct": [42, 44, 44, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1582, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [27, 8, 27, 11], |
| "ct": [18, 9, 25, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1583, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [7, 43, 29, 3], |
| "ct": [25, 21, 42, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1584, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [20, 37, 42, 0], |
| "ct": [36, 32, 40, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1585, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [19, 13, 36, 0], |
| "ct": [37, 12, 4, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1586, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [26, 28, 14, 19], |
| "ct": [25, 2, 9, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1587, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [12, 25, 27, 4], |
| "ct": [0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1588, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [16, 20, 14, 23], |
| "ct": [44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1589, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [37, 20, 15, 37], |
| "ct": [22, 34, 22, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1590, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f638a9e757d6800efdb9561250892046f45f55f0de9c48bfa01057d1c36efd82", |
| "tweak": "943f8393fb6c5876", |
| "msg": [17, 20, 13, 8], |
| "ct": [22, 33, 22, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1591, |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "59e5fdb806c3163f2b12503b0b", |
| "msg": [13, 2, 0, 0], |
| "ct": [39, 6, 37, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1592, |
| "comment": "y = 0 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "59e5fdb806c3163f2b12503b0b", |
| "msg": [11, 41, 0, 1], |
| "ct": [41, 40, 25, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1593, |
| "comment": "y = 0 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "59e5fdb806c3163f2b12503b0b", |
| "msg": [28, 34, 22, 34], |
| "ct": [17, 21, 20, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1594, |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "59e5fdb806c3163f2b12503b0b", |
| "msg": [15, 16, 44, 44], |
| "ct": [19, 25, 38, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1595, |
| "comment": "y = 1 and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "f3cc38ebd1f5295f9063e37622", |
| "msg": [44, 27, 29, 39], |
| "ct": [7, 19, 41, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1596, |
| "comment": "y = 1 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "f3cc38ebd1f5295f9063e37622", |
| "msg": [1, 4, 2, 18], |
| "ct": [3, 38, 23, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1597, |
| "comment": "y = 1 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "f3cc38ebd1f5295f9063e37622", |
| "msg": [2, 42, 31, 37], |
| "ct": [38, 38, 28, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1598, |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "f3cc38ebd1f5295f9063e37622", |
| "msg": [12, 1, 22, 1], |
| "ct": [25, 22, 9, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1599, |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "f3cc38ebd1f5295f9063e37622", |
| "msg": [4, 25, 5, 38], |
| "ct": [24, 17, 3, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1600, |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "5d873efa6a92cfbee215a08f4e", |
| "msg": [31, 32, 29, 29], |
| "ct": [23, 34, 17, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1601, |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "5d873efa6a92cfbee215a08f4e", |
| "msg": [14, 0, 19, 6], |
| "ct": [2, 18, 16, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1602, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "5d873efa6a92cfbee215a08f4e", |
| "msg": [8, 2, 18, 5], |
| "ct": [43, 20, 44, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1603, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**2 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "5d873efa6a92cfbee215a08f4e", |
| "msg": [16, 29, 6, 41], |
| "ct": [27, 39, 8, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1604, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "5d873efa6a92cfbee215a08f4e", |
| "msg": [10, 30, 6, 14], |
| "ct": [33, 37, 3, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1605, |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "5d873efa6a92cfbee215a08f4e", |
| "msg": [11, 34, 39, 28], |
| "ct": [38, 42, 14, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1606, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "5b6fa93ae1438f7290664caa08", |
| "msg": [0, 0, 40, 22], |
| "ct": [27, 4, 7, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1607, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**2 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "5b6fa93ae1438f7290664caa08", |
| "msg": [0, 1, 40, 22], |
| "ct": [37, 1, 19, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1608, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "5b6fa93ae1438f7290664caa08", |
| "msg": [22, 34, 40, 22], |
| "ct": [16, 27, 9, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1609, |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "65f2183ef0bf03d2c5c679e7248493b2ac713d86789d3f64c30e2d3554291afd", |
| "tweak": "5b6fa93ae1438f7290664caa08", |
| "msg": [44, 44, 40, 22], |
| "ct": [31, 2, 14, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1610, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a", |
| "tweak": "498e5d8a4a05d992", |
| "msg": [-1, 13, 5, 29], |
| "ct": [4, 3, 7, 22], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1611, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a", |
| "tweak": "498e5d8a4a05d992", |
| "msg": [17, -1, 5, 29], |
| "ct": [11, 8, 8, 27], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1612, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5787be1a2ef7a6762f9b7c0ff6a7efb27139e087603476bd0046f1fd58814f6a", |
| "tweak": "498e5d8a4a05d992", |
| "msg": [17, 13, 5, -1], |
| "ct": [1, 40, 17, 17], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1613, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c96311b684dc3622fe9d84ffdd09fb4f6cc5fae422054216a832f91579ac00a6", |
| "tweak": "404d306165dcd29a", |
| "msg": [45, 18, 1, 44], |
| "ct": [15, 4, 38, 43], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1614, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c96311b684dc3622fe9d84ffdd09fb4f6cc5fae422054216a832f91579ac00a6", |
| "tweak": "404d306165dcd29a", |
| "msg": [10, 45, 1, 44], |
| "ct": [7, 26, 10, 38], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1615, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c96311b684dc3622fe9d84ffdd09fb4f6cc5fae422054216a832f91579ac00a6", |
| "tweak": "404d306165dcd29a", |
| "msg": [10, 18, 1, 45], |
| "ct": [31, 20, 21, 42], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 5, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1616, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "7b533301e6a7ac808d56cba45eb385cafec081eac871832d6936e40dfdac432e", |
| "tweak": "3a8c315a81fe2e71", |
| "msg": [14, 7, 0, 23, 26], |
| "ct": [28, 35, 29, 39, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1617, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [0, 0, 0, 0, 0], |
| "ct": [38, 16, 15, 6, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1618, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [44, 44, 44, 44, 44], |
| "ct": [11, 29, 9, 24, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1619, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [22, 34, 32, 16, 16], |
| "ct": [13, 40, 6, 25, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1620, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [22, 33, 32, 16, 15], |
| "ct": [42, 28, 2, 30, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1621, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [30, 37, 41, 13, 13], |
| "ct": [10, 36, 9, 19, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1622, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [18, 15, 8, 9, 44], |
| "ct": [16, 27, 44, 32, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1623, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [33, 20, 20, 12, 15], |
| "ct": [30, 31, 24, 15, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1624, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [14, 14, 12, 14, 34], |
| "ct": [25, 43, 26, 37, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1625, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [10, 14, 11, 2, 8], |
| "ct": [6, 37, 36, 44, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1626, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [21, 32, 34, 27, 13], |
| "ct": [3, 7, 13, 44, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1627, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [11, 15, 25, 23, 28], |
| "ct": [32, 31, 24, 20, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1628, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [36, 1, 29, 14, 39], |
| "ct": [4, 38, 32, 29, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1629, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [20, 1, 43, 26, 19], |
| "ct": [0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1630, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [40, 39, 36, 31, 16], |
| "ct": [44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1631, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [44, 42, 8, 7, 9], |
| "ct": [22, 34, 32, 16, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1632, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "227eb1ec08c2f14d3944f819597a3c5bb7fc2ecd17182db6936a39331af43026", |
| "tweak": "16208ad8581f9aa4", |
| "msg": [0, 13, 42, 18, 33], |
| "ct": [22, 33, 32, 16, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1633, |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", |
| "tweak": "87727b212027e3fd21fcca46", |
| "msg": [11, 9, 3, 41, 44], |
| "ct": [7, 10, 40, 8, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1634, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", |
| "tweak": "87727b212027e3fd21fcca46", |
| "msg": [5, 7, 4, 23, 21], |
| "ct": [12, 1, 0, 9, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1635, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", |
| "tweak": "87727b212027e3fd21fcca46", |
| "msg": [43, 24, 18, 15, 9], |
| "ct": [32, 43, 23, 38, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1636, |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "4fc2ed4958ecb8f461c8196dfad89c65b28e458da8ba0aafb13f62e997d27497", |
| "tweak": "87727b212027e3fd21fcca46", |
| "msg": [21, 36, 27, 40, 28], |
| "ct": [14, 36, 6, 20, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1637, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870", |
| "tweak": "b69e51a606729a69", |
| "msg": [-1, 35, 4, 26, 6], |
| "ct": [28, 35, 3, 39, 4], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1638, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870", |
| "tweak": "b69e51a606729a69", |
| "msg": [2, -1, 4, 26, 6], |
| "ct": [36, 43, 43, 43, 25], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1639, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "759fcc081705a15b7d12cf25378f186944b76e767594b2eabfc598811e47f870", |
| "tweak": "b69e51a606729a69", |
| "msg": [2, 35, 4, 26, -1], |
| "ct": [43, 27, 8, 26, 4], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1640, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b36da8edec8c9a46e7c6aa3ac4ec0347a20bbdb6fed82a9aee846a4ac31e7357", |
| "tweak": "331bb4c3d9b3ad01", |
| "msg": [45, 37, 14, 13, 32], |
| "ct": [38, 26, 39, 25, 14], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1641, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b36da8edec8c9a46e7c6aa3ac4ec0347a20bbdb6fed82a9aee846a4ac31e7357", |
| "tweak": "331bb4c3d9b3ad01", |
| "msg": [31, 45, 14, 13, 32], |
| "ct": [43, 3, 22, 35, 6], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1642, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b36da8edec8c9a46e7c6aa3ac4ec0347a20bbdb6fed82a9aee846a4ac31e7357", |
| "tweak": "331bb4c3d9b3ad01", |
| "msg": [31, 37, 14, 13, 45], |
| "ct": [17, 13, 12, 38, 1], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 6, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1643, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "d82810eea883aa693dafbad9520a23919e6d5eadef78b28226daca2af64a68e5", |
| "tweak": "44bbec52bad40a55", |
| "msg": [18, 11, 2, 13, 43, 30], |
| "ct": [42, 36, 36, 23, 22, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1644, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [0, 0, 0, 0, 0, 0], |
| "ct": [13, 31, 11, 23, 12, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1645, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [44, 44, 44, 44, 44, 44], |
| "ct": [2, 26, 22, 9, 41, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1646, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [32, 16, 16, 32, 16, 16], |
| "ct": [35, 36, 30, 7, 34, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1647, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [32, 16, 15, 32, 16, 15], |
| "ct": [35, 4, 2, 1, 15, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1648, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [13, 11, 29, 26, 33, 7], |
| "ct": [4, 25, 15, 12, 19, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1649, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [5, 12, 22, 5, 21, 17], |
| "ct": [35, 39, 34, 12, 33, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1650, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [16, 4, 19, 10, 2, 1], |
| "ct": [26, 32, 0, 8, 2, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1651, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [41, 4, 32, 31, 11, 12], |
| "ct": [7, 40, 25, 35, 29, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1652, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [0, 44, 23, 2, 27, 34], |
| "ct": [15, 20, 30, 4, 37, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1653, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [10, 26, 8, 31, 25, 12], |
| "ct": [42, 44, 6, 22, 15, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1654, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [8, 5, 23, 41, 39, 24], |
| "ct": [37, 18, 25, 14, 34, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1655, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [35, 11, 37, 4, 25, 4], |
| "ct": [17, 5, 25, 40, 1, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1656, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [23, 6, 8, 4, 18, 42], |
| "ct": [0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1657, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [9, 35, 10, 8, 37, 34], |
| "ct": [44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1658, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [12, 20, 13, 11, 20, 20], |
| "ct": [32, 16, 16, 32, 16, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1659, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": [44, 30, 23, 19, 36, 38], |
| "ct": [32, 16, 15, 32, 16, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1660, |
| "comment": "y is edge case for modular reduction and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "135dc21b8728d7d87ba57f97", |
| "msg": [5, 40, 32, 18, 10, 20], |
| "ct": [26, 10, 23, 22, 9, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1661, |
| "comment": "y is edge case for modular reduction and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "135dc21b8728d7d87ba57f97", |
| "msg": [0, 1, 14, 5, 27, 25], |
| "ct": [18, 34, 5, 26, 10, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1662, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "135dc21b8728d7d87ba57f97", |
| "msg": [22, 0, 11, 38, 38, 8], |
| "ct": [36, 0, 17, 36, 24, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1663, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "135dc21b8728d7d87ba57f97", |
| "msg": [35, 10, 26, 36, 11, 31], |
| "ct": [38, 11, 12, 33, 12, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1664, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "135dc21b8728d7d87ba57f97", |
| "msg": [3, 4, 12, 5, 9, 10], |
| "ct": [30, 32, 37, 41, 20, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1665, |
| "comment": "y is edge case for modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "135dc21b8728d7d87ba57f97", |
| "msg": [38, 6, 43, 23, 34, 44], |
| "ct": [39, 34, 4, 32, 33, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1666, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", |
| "tweak": "bf692e602f57a277", |
| "msg": [-1, 2, 0, 18, 14, 11], |
| "ct": [28, 25, 2, 30, 7, 4], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1667, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", |
| "tweak": "bf692e602f57a277", |
| "msg": [14, 2, -1, 18, 14, 11], |
| "ct": [20, 38, 10, 20, 19, 2], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1668, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", |
| "tweak": "bf692e602f57a277", |
| "msg": [14, 2, 0, 18, 14, -1], |
| "ct": [26, 22, 37, 43, 4, 4], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1669, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "752d55b7e86ed54c734dc343b4093a550eb7693e94f71e16a2caa43535e973a7", |
| "tweak": "8d87b85cb600f013", |
| "msg": [45, 14, 12, 38, 8, 22], |
| "ct": [9, 18, 3, 12, 6, 43], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1670, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "752d55b7e86ed54c734dc343b4093a550eb7693e94f71e16a2caa43535e973a7", |
| "tweak": "8d87b85cb600f013", |
| "msg": [7, 14, 45, 38, 8, 22], |
| "ct": [23, 16, 33, 34, 41, 22], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1671, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "752d55b7e86ed54c734dc343b4093a550eb7693e94f71e16a2caa43535e973a7", |
| "tweak": "8d87b85cb600f013", |
| "msg": [7, 14, 12, 38, 8, 45], |
| "ct": [21, 4, 17, 20, 23, 21], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 7, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1672, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "647b69567516a585377f3fc9a8129c255431b0b5ab6792f9aa3fd646f3146b13", |
| "tweak": "39774b45a4fdd85b", |
| "msg": [9, 36, 37, 33, 17, 35, 2], |
| "ct": [6, 32, 44, 19, 2, 10, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1673, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [0, 0, 0, 0, 0, 0, 0], |
| "ct": [26, 3, 2, 9, 31, 17, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1674, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [44, 44, 44, 44, 44, 44, 44], |
| "ct": [20, 15, 33, 1, 15, 35, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1675, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [32, 16, 16, 23, 0, 28, 17], |
| "ct": [36, 41, 41, 4, 27, 34, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1676, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [32, 16, 15, 23, 0, 28, 16], |
| "ct": [44, 41, 29, 28, 43, 36, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1677, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [6, 20, 22, 34, 6, 3, 39], |
| "ct": [36, 13, 0, 8, 44, 20, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1678, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [17, 39, 37, 1, 3, 21, 4], |
| "ct": [20, 38, 2, 24, 16, 22, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1679, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [28, 44, 21, 4, 25, 42, 0], |
| "ct": [41, 43, 41, 33, 34, 39, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1680, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [38, 14, 6, 43, 1, 16, 11], |
| "ct": [17, 3, 21, 16, 26, 43, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1681, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [6, 15, 44, 34, 0, 29, 29], |
| "ct": [18, 43, 26, 31, 24, 10, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1682, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [23, 27, 11, 44, 35, 7, 44], |
| "ct": [11, 21, 40, 35, 21, 18, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1683, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [26, 19, 10, 30, 29, 24, 36], |
| "ct": [35, 31, 10, 20, 21, 37, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1684, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [23, 41, 11, 33, 0, 20, 32], |
| "ct": [27, 5, 44, 35, 0, 36, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1685, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [26, 40, 24, 6, 5, 34, 19], |
| "ct": [0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1686, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [37, 2, 36, 40, 38, 19, 15], |
| "ct": [44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1687, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [32, 16, 38, 37, 2, 38, 21], |
| "ct": [32, 16, 16, 23, 0, 28, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1688, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": [0, 4, 20, 32, 12, 20, 43], |
| "ct": [32, 16, 15, 23, 0, 28, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1689, |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "e29be5ba55b8e3e4555d73cc", |
| "msg": [29, 6, 5, 2, 21, 6, 20], |
| "ct": [42, 37, 1, 28, 16, 4, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1690, |
| "comment": "y = 0 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "e29be5ba55b8e3e4555d73cc", |
| "msg": [39, 8, 44, 33, 40, 13, 17], |
| "ct": [14, 29, 44, 22, 7, 10, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1691, |
| "comment": "y = 0 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "e29be5ba55b8e3e4555d73cc", |
| "msg": [43, 17, 34, 20, 35, 30, 37], |
| "ct": [10, 16, 15, 40, 13, 29, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1692, |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "e29be5ba55b8e3e4555d73cc", |
| "msg": [37, 17, 23, 10, 12, 18, 24], |
| "ct": [17, 17, 23, 4, 41, 3, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1693, |
| "comment": "y = 1 and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "d37efbde6fb3a82e24004c57", |
| "msg": [41, 8, 16, 24, 30, 7, 12], |
| "ct": [4, 27, 38, 27, 28, 26, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1694, |
| "comment": "y = 1 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "d37efbde6fb3a82e24004c57", |
| "msg": [26, 15, 32, 15, 27, 1, 15], |
| "ct": [13, 28, 25, 13, 13, 34, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1695, |
| "comment": "y = 1 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "d37efbde6fb3a82e24004c57", |
| "msg": [32, 8, 20, 34, 43, 7, 24], |
| "ct": [40, 35, 13, 14, 22, 28, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1696, |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "d37efbde6fb3a82e24004c57", |
| "msg": [17, 12, 3, 37, 13, 5, 20], |
| "ct": [19, 4, 43, 6, 6, 27, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1697, |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "d37efbde6fb3a82e24004c57", |
| "msg": [26, 0, 6, 19, 19, 25, 34], |
| "ct": [22, 44, 20, 3, 28, 7, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1698, |
| "comment": "y is maximal and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "c8a10e557d434a16c5ef1717", |
| "msg": [38, 23, 10, 4, 36, 9, 3], |
| "ct": [11, 40, 15, 39, 41, 12, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1699, |
| "comment": "y is maximal and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "c8a10e557d434a16c5ef1717", |
| "msg": [42, 44, 24, 39, 31, 14, 5], |
| "ct": [0, 2, 40, 25, 28, 7, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1700, |
| "comment": "y is maximal and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "c8a10e557d434a16c5ef1717", |
| "msg": [28, 10, 1, 32, 12, 28, 3], |
| "ct": [30, 2, 43, 2, 9, 13, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1701, |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "c8a10e557d434a16c5ef1717", |
| "msg": [26, 44, 35, 24, 28, 21, 27], |
| "ct": [12, 35, 22, 42, 28, 14, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1702, |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "c8a10e557d434a16c5ef1717", |
| "msg": [0, 13, 9, 37, 41, 11, 3], |
| "ct": [32, 39, 15, 34, 19, 41, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1703, |
| "comment": "y is maximal and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "c8a10e557d434a16c5ef1717", |
| "msg": [36, 16, 31, 17, 30, 24, 4], |
| "ct": [12, 1, 41, 35, 9, 35, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1704, |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "60d4485a0d5a46cd15f2ff81", |
| "msg": [3, 7, 9, 25, 44, 40, 18], |
| "ct": [35, 16, 4, 7, 20, 32, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1705, |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "60d4485a0d5a46cd15f2ff81", |
| "msg": [33, 36, 17, 39, 31, 26, 28], |
| "ct": [18, 7, 7, 43, 22, 4, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1706, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "60d4485a0d5a46cd15f2ff81", |
| "msg": [19, 7, 40, 40, 33, 4, 12], |
| "ct": [7, 14, 38, 19, 3, 25, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1707, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "60d4485a0d5a46cd15f2ff81", |
| "msg": [21, 31, 19, 14, 14, 29, 19], |
| "ct": [42, 27, 41, 41, 10, 36, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1708, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "60d4485a0d5a46cd15f2ff81", |
| "msg": [7, 6, 11, 27, 19, 25, 6], |
| "ct": [40, 32, 25, 5, 28, 21, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1709, |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "60d4485a0d5a46cd15f2ff81", |
| "msg": [10, 23, 31, 15, 1, 14, 37], |
| "ct": [22, 10, 13, 16, 7, 33, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1710, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "1a514f45277764a3f2a2f9ad", |
| "msg": [30, 38, 9, 13, 10, 22, 11], |
| "ct": [0, 27, 44, 14, 36, 31, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1711, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "1a514f45277764a3f2a2f9ad", |
| "msg": [38, 2, 31, 24, 27, 24, 30], |
| "ct": [26, 9, 24, 43, 39, 19, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1712, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "1a514f45277764a3f2a2f9ad", |
| "msg": [0, 5, 3, 0, 30, 1, 3], |
| "ct": [35, 29, 35, 6, 39, 28, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1713, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "1a514f45277764a3f2a2f9ad", |
| "msg": [7, 18, 24, 33, 39, 24, 11], |
| "ct": [24, 7, 20, 22, 36, 39, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1714, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", |
| "tweak": "c5df6cad17b46d67", |
| "msg": [-1, 19, 10, 29, 37, 25, 1], |
| "ct": [8, 25, 13, 28, 3, 2, 22], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1715, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", |
| "tweak": "c5df6cad17b46d67", |
| "msg": [23, 19, -1, 29, 37, 25, 1], |
| "ct": [1, 33, 32, 42, 41, 12, 29], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1716, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", |
| "tweak": "c5df6cad17b46d67", |
| "msg": [23, 19, 10, 29, 37, 25, -1], |
| "ct": [38, 8, 25, 16, 30, 12, 39], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1717, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f2ded2a5bc770876e18c5a4322e09d95e94a25a25647b4c9123c013045b849b9", |
| "tweak": "a65a23544ca3f48f", |
| "msg": [45, 32, 37, 35, 31, 11, 29], |
| "ct": [31, 16, 44, 34, 36, 26, 32], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1718, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f2ded2a5bc770876e18c5a4322e09d95e94a25a25647b4c9123c013045b849b9", |
| "tweak": "a65a23544ca3f48f", |
| "msg": [32, 32, 45, 35, 31, 11, 29], |
| "ct": [1, 17, 28, 25, 33, 22, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1719, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f2ded2a5bc770876e18c5a4322e09d95e94a25a25647b4c9123c013045b849b9", |
| "tweak": "a65a23544ca3f48f", |
| "msg": [32, 32, 37, 35, 31, 11, 45], |
| "ct": [1, 26, 13, 41, 19, 21, 27], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 8, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1720, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "066c6a83fd826a5fa7f3b4025bb9c833befa12044d3fbed87280a4c7a0435b03", |
| "tweak": "80650ae5bc5e1bb1", |
| "msg": [5, 9, 25, 18, 27, 20, 37, 24], |
| "ct": [38, 13, 24, 43, 28, 29, 9, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1721, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [4, 34, 12, 30, 11, 44, 43, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1722, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [8, 29, 15, 33, 40, 30, 12, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1723, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [23, 0, 28, 17, 23, 0, 28, 17], |
| "ct": [42, 3, 8, 0, 44, 9, 39, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1724, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [23, 0, 28, 16, 23, 0, 28, 16], |
| "ct": [17, 31, 3, 27, 37, 20, 23, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1725, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [37, 37, 38, 23, 12, 3, 20, 24], |
| "ct": [35, 18, 42, 22, 32, 20, 34, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1726, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [36, 18, 28, 8, 26, 10, 3, 23], |
| "ct": [16, 14, 39, 17, 14, 0, 32, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1727, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [27, 13, 34, 16, 28, 29, 37, 3], |
| "ct": [24, 0, 23, 29, 18, 31, 15, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1728, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [15, 29, 8, 8, 11, 22, 29, 26], |
| "ct": [39, 0, 21, 5, 28, 1, 24, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1729, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [1, 27, 22, 28, 26, 39, 3, 30], |
| "ct": [37, 27, 3, 11, 6, 5, 0, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1730, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [30, 29, 33, 39, 42, 39, 39, 0], |
| "ct": [25, 43, 12, 3, 10, 2, 36, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1731, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [10, 0, 7, 37, 6, 2, 16, 2], |
| "ct": [38, 28, 14, 18, 25, 27, 37, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1732, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [36, 18, 14, 9, 9, 17, 5, 3], |
| "ct": [21, 4, 31, 40, 29, 31, 26, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1733, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [29, 15, 29, 5, 1, 25, 28, 34], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1734, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [36, 26, 23, 41, 30, 35, 3, 9], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1735, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [42, 12, 37, 29, 1, 21, 8, 5], |
| "ct": [23, 0, 28, 17, 23, 0, 28, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1736, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": [37, 41, 38, 25, 40, 14, 4, 16], |
| "ct": [23, 0, 28, 16, 23, 0, 28, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1737, |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "f8cb238bcb9957c5ea0d7f99", |
| "msg": [12, 18, 7, 41, 0, 0, 0, 0], |
| "ct": [43, 41, 11, 26, 32, 36, 6, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1738, |
| "comment": "y = 0 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "f8cb238bcb9957c5ea0d7f99", |
| "msg": [33, 2, 24, 4, 0, 0, 0, 1], |
| "ct": [25, 22, 26, 24, 1, 24, 29, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1739, |
| "comment": "y = 0 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "f8cb238bcb9957c5ea0d7f99", |
| "msg": [37, 29, 15, 11, 23, 0, 28, 17], |
| "ct": [25, 35, 13, 34, 40, 36, 26, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1740, |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "f8cb238bcb9957c5ea0d7f99", |
| "msg": [36, 43, 32, 41, 44, 44, 44, 44], |
| "ct": [1, 24, 8, 36, 41, 23, 37, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1741, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "3e0042db2121c030f1fbb3ad", |
| "msg": [0, 0, 0, 0, 7, 16, 41, 23], |
| "ct": [31, 41, 9, 14, 33, 39, 40, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1742, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "3e0042db2121c030f1fbb3ad", |
| "msg": [0, 0, 0, 1, 7, 16, 41, 23], |
| "ct": [33, 32, 11, 34, 14, 38, 28, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1743, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "3e0042db2121c030f1fbb3ad", |
| "msg": [23, 0, 28, 17, 7, 16, 41, 23], |
| "ct": [42, 34, 31, 39, 35, 40, 39, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1744, |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "3e0042db2121c030f1fbb3ad", |
| "msg": [44, 44, 44, 43, 7, 16, 41, 23], |
| "ct": [23, 6, 6, 5, 16, 26, 26, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1745, |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "3e0042db2121c030f1fbb3ad", |
| "msg": [44, 44, 44, 44, 7, 16, 41, 23], |
| "ct": [27, 25, 33, 32, 9, 33, 36, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1746, |
| "comment": "y is maximal and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "dadf6838b6bcc07c0973353a", |
| "msg": [35, 9, 30, 44, 1, 43, 29, 29], |
| "ct": [42, 6, 35, 15, 3, 15, 19, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1747, |
| "comment": "y is maximal and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "dadf6838b6bcc07c0973353a", |
| "msg": [0, 18, 19, 31, 35, 14, 36, 5], |
| "ct": [42, 6, 35, 16, 30, 3, 41, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1748, |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "dadf6838b6bcc07c0973353a", |
| "msg": [35, 44, 21, 36, 5, 5, 17, 3], |
| "ct": [44, 44, 44, 44, 21, 29, 28, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1749, |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "dadf6838b6bcc07c0973353a", |
| "msg": [23, 36, 11, 31, 9, 9, 26, 2], |
| "ct": [0, 0, 0, 0, 9, 43, 24, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1750, |
| "comment": "y is maximal and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "dadf6838b6bcc07c0973353a", |
| "msg": [3, 37, 0, 19, 10, 38, 16, 42], |
| "ct": [20, 7, 18, 32, 6, 42, 12, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1751, |
| "comment": "y is maximal and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "dadf6838b6bcc07c0973353a", |
| "msg": [4, 4, 8, 1, 0, 40, 9, 31], |
| "ct": [42, 6, 35, 14, 7, 34, 17, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1752, |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "ad7c418e8a829c1a76263d51", |
| "msg": [0, 0, 0, 0, 2, 31, 18, 14], |
| "ct": [16, 30, 29, 15, 7, 30, 42, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1753, |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "ad7c418e8a829c1a76263d51", |
| "msg": [0, 0, 0, 1, 2, 31, 18, 14], |
| "ct": [33, 20, 38, 35, 0, 5, 7, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1754, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "ad7c418e8a829c1a76263d51", |
| "msg": [2, 38, 9, 44, 2, 31, 18, 14], |
| "ct": [13, 17, 9, 28, 36, 37, 43, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1755, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "ad7c418e8a829c1a76263d51", |
| "msg": [2, 38, 10, 0, 2, 31, 18, 14], |
| "ct": [15, 10, 39, 14, 26, 5, 0, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1756, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "ad7c418e8a829c1a76263d51", |
| "msg": [23, 0, 28, 17, 2, 31, 18, 14], |
| "ct": [20, 43, 37, 17, 40, 24, 28, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1757, |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "ad7c418e8a829c1a76263d51", |
| "msg": [44, 44, 44, 44, 2, 31, 18, 14], |
| "ct": [38, 13, 22, 15, 37, 38, 26, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1758, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "ceec050108821ccbd54a3c6b", |
| "msg": [3, 35, 44, 19, 38, 36, 29, 29], |
| "ct": [16, 1, 17, 15, 27, 12, 6, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1759, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "ceec050108821ccbd54a3c6b", |
| "msg": [23, 15, 34, 2, 30, 24, 10, 40], |
| "ct": [35, 27, 5, 15, 38, 1, 29, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1760, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "ceec050108821ccbd54a3c6b", |
| "msg": [14, 11, 8, 29, 22, 33, 24, 37], |
| "ct": [30, 18, 32, 17, 2, 0, 44, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1761, |
| "comment": "y is maximal after modular reduction and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "ceec050108821ccbd54a3c6b", |
| "msg": [26, 31, 33, 32, 15, 1, 30, 6], |
| "ct": [21, 1, 30, 31, 29, 1, 3, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1762, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", |
| "tweak": "55d9bf63cd98d552", |
| "msg": [-1, 24, 8, 33, 31, 19, 25, 37], |
| "ct": [23, 16, 44, 22, 28, 37, 18, 24], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1763, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", |
| "tweak": "55d9bf63cd98d552", |
| "msg": [5, 24, -1, 33, 31, 19, 25, 37], |
| "ct": [0, 36, 23, 4, 6, 31, 16, 16], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1764, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", |
| "tweak": "55d9bf63cd98d552", |
| "msg": [5, 24, 8, 33, 31, 19, 25, -1], |
| "ct": [18, 36, 0, 29, 43, 23, 44, 19], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1765, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "12a36db17d450e431b3fc0de35fcc15e3efee8828920d578b2e500ef9eeaa661", |
| "tweak": "338c1a1b992c8183", |
| "msg": [45, 16, 8, 16, 25, 24, 21, 4], |
| "ct": [5, 16, 38, 17, 4, 40, 22, 33], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1766, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "12a36db17d450e431b3fc0de35fcc15e3efee8828920d578b2e500ef9eeaa661", |
| "tweak": "338c1a1b992c8183", |
| "msg": [23, 16, 45, 16, 25, 24, 21, 4], |
| "ct": [7, 27, 21, 31, 29, 5, 6, 21], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1767, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "12a36db17d450e431b3fc0de35fcc15e3efee8828920d578b2e500ef9eeaa661", |
| "tweak": "338c1a1b992c8183", |
| "msg": [23, 16, 8, 16, 25, 24, 21, 45], |
| "ct": [20, 15, 40, 31, 19, 0, 0, 15], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 9, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1768, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "f44f1e998316e5fe6f5c6f8d89919428d692d931130409c41ba4955dfc4c8c14", |
| "tweak": "387c0277bb97fa8e", |
| "msg": [36, 3, 11, 25, 22, 29, 19, 28, 44], |
| "ct": [43, 31, 22, 26, 27, 35, 19, 33, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1769, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [2, 26, 35, 15, 0, 25, 13, 0, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1770, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [33, 23, 29, 9, 14, 25, 1, 1, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1771, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [23, 0, 28, 17, 32, 32, 40, 16, 8], |
| "ct": [3, 39, 14, 30, 11, 7, 18, 38, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1772, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [23, 0, 28, 16, 32, 32, 40, 16, 7], |
| "ct": [19, 37, 27, 42, 7, 28, 12, 35, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1773, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [17, 29, 7, 37, 24, 40, 11, 20, 38], |
| "ct": [0, 10, 22, 27, 17, 7, 39, 41, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1774, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [3, 30, 42, 5, 27, 20, 15, 4, 25], |
| "ct": [26, 3, 44, 35, 12, 42, 43, 2, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1775, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [11, 16, 35, 22, 4, 10, 19, 9, 25], |
| "ct": [24, 3, 13, 19, 44, 10, 40, 36, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1776, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [3, 14, 22, 3, 38, 42, 3, 43, 22], |
| "ct": [12, 43, 44, 23, 19, 7, 9, 15, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1777, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [41, 17, 44, 19, 41, 1, 43, 29, 30], |
| "ct": [3, 41, 30, 11, 5, 11, 16, 30, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1778, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [43, 16, 27, 16, 32, 34, 35, 29, 38], |
| "ct": [20, 22, 13, 39, 39, 6, 3, 5, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1779, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [2, 7, 40, 31, 5, 16, 36, 27, 22], |
| "ct": [31, 28, 6, 8, 1, 33, 19, 15, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1780, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [33, 36, 16, 9, 24, 41, 3, 7, 29], |
| "ct": [42, 10, 39, 13, 21, 35, 34, 20, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1781, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [32, 17, 1, 18, 3, 4, 31, 5, 42], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1782, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [14, 34, 42, 30, 20, 35, 43, 26, 8], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1783, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [42, 19, 43, 20, 3, 19, 29, 7, 43], |
| "ct": [23, 0, 28, 17, 32, 32, 40, 16, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1784, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": [11, 4, 16, 23, 7, 4, 27, 40, 36], |
| "ct": [23, 0, 28, 16, 32, 32, 40, 16, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1785, |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "7c8139cbdefd62c696ec9d", |
| "msg": [0, 0, 0, 0, 6, 39, 25, 13, 37], |
| "ct": [24, 28, 13, 39, 12, 41, 6, 21, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1786, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "7c8139cbdefd62c696ec9d", |
| "msg": [0, 0, 0, 1, 6, 39, 25, 13, 37], |
| "ct": [29, 3, 26, 32, 23, 24, 5, 0, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1787, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "7c8139cbdefd62c696ec9d", |
| "msg": [23, 0, 28, 17, 6, 39, 25, 13, 37], |
| "ct": [4, 24, 31, 22, 21, 26, 41, 15, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1788, |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "7c8139cbdefd62c696ec9d", |
| "msg": [44, 44, 44, 44, 6, 39, 25, 13, 37], |
| "ct": [39, 23, 9, 6, 6, 31, 15, 21, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1789, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "ae6b64313fa86814ea3bfd", |
| "msg": [29, 7, 6, 11, 20, 11, 27, 35, 26], |
| "ct": [32, 9, 35, 15, 39, 3, 0, 6, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1790, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "ae6b64313fa86814ea3bfd", |
| "msg": [41, 35, 8, 27, 39, 0, 16, 8, 16], |
| "ct": [23, 30, 12, 11, 19, 42, 7, 34, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1791, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "ae6b64313fa86814ea3bfd", |
| "msg": [33, 20, 44, 41, 30, 27, 35, 0, 0], |
| "ct": [13, 19, 13, 31, 2, 12, 9, 36, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1792, |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "ae6b64313fa86814ea3bfd", |
| "msg": [7, 23, 37, 8, 13, 28, 42, 0, 25], |
| "ct": [14, 24, 14, 36, 21, 19, 43, 23, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1793, |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "ae6b64313fa86814ea3bfd", |
| "msg": [1, 33, 35, 21, 8, 44, 21, 36, 40], |
| "ct": [37, 13, 6, 39, 15, 17, 28, 12, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1794, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "1b966f388800dd000ce12f", |
| "msg": [6, 41, 44, 32, 12, 26, 41, 23, 6], |
| "ct": [9, 17, 27, 10, 36, 15, 18, 36, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1795, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "1b966f388800dd000ce12f", |
| "msg": [19, 42, 6, 19, 31, 0, 26, 43, 16], |
| "ct": [9, 9, 31, 35, 20, 17, 14, 27, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1796, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "1b966f388800dd000ce12f", |
| "msg": [38, 9, 33, 8, 14, 6, 20, 35, 23], |
| "ct": [37, 30, 43, 30, 34, 27, 32, 2, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1797, |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "1b966f388800dd000ce12f", |
| "msg": [31, 34, 29, 36, 4, 19, 10, 43, 44], |
| "ct": [38, 33, 13, 39, 23, 37, 38, 12, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1798, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", |
| "tweak": "5aa849326a17e15a", |
| "msg": [-1, 3, 19, 13, 38, 39, 25, 36, 39], |
| "ct": [37, 41, 40, 4, 4, 31, 18, 25, 28], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1799, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", |
| "tweak": "5aa849326a17e15a", |
| "msg": [14, 3, 19, -1, 38, 39, 25, 36, 39], |
| "ct": [30, 25, 40, 32, 24, 44, 42, 9, 43], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1800, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", |
| "tweak": "5aa849326a17e15a", |
| "msg": [14, 3, 19, 13, 38, 39, 25, 36, -1], |
| "ct": [25, 22, 40, 42, 28, 31, 35, 37, 27], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1801, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f619fc6a7a6891cecff8de30ab9a9a7ebcd0dbed005a682d5ef7ecde7a7a553d", |
| "tweak": "4e80c5298fcc25b7", |
| "msg": [45, 23, 10, 28, 22, 24, 5, 19, 1], |
| "ct": [38, 28, 35, 13, 21, 18, 10, 21, 27], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1802, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f619fc6a7a6891cecff8de30ab9a9a7ebcd0dbed005a682d5ef7ecde7a7a553d", |
| "tweak": "4e80c5298fcc25b7", |
| "msg": [9, 23, 10, 45, 22, 24, 5, 19, 1], |
| "ct": [22, 6, 34, 12, 31, 4, 3, 22, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1803, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f619fc6a7a6891cecff8de30ab9a9a7ebcd0dbed005a682d5ef7ecde7a7a553d", |
| "tweak": "4e80c5298fcc25b7", |
| "msg": [9, 23, 10, 28, 22, 24, 5, 19, 45], |
| "ct": [37, 42, 21, 30, 24, 5, 9, 2, 38], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 10, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1804, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "267c361cd190db6be369183a3b1a71601103f958cd6b791112928244c9402939", |
| "tweak": "d00249da9e347109", |
| "msg": [44, 36, 4, 16, 26, 2, 10, 26, 41, 3], |
| "ct": [20, 8, 36, 24, 25, 5, 15, 17, 33, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1805, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [26, 33, 2, 30, 7, 32, 31, 3, 18, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1806, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [36, 18, 18, 33, 7, 6, 18, 5, 15, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1807, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [32, 32, 40, 16, 8, 32, 32, 40, 16, 8], |
| "ct": [44, 19, 12, 5, 3, 34, 18, 31, 10, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1808, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [32, 32, 40, 16, 7, 32, 32, 40, 16, 7], |
| "ct": [32, 23, 41, 25, 28, 0, 23, 35, 4, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1809, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [12, 39, 16, 24, 37, 11, 44, 20, 23, 12], |
| "ct": [20, 16, 25, 42, 22, 6, 31, 24, 43, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1810, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [36, 9, 31, 30, 18, 22, 25, 25, 26, 24], |
| "ct": [22, 34, 27, 17, 3, 37, 15, 22, 1, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1811, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [42, 25, 26, 27, 16, 5, 9, 1, 34, 6], |
| "ct": [12, 9, 22, 3, 37, 31, 27, 38, 2, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1812, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [5, 27, 14, 39, 34, 27, 13, 38, 25, 17], |
| "ct": [30, 30, 11, 34, 40, 16, 12, 2, 0, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1813, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [23, 40, 0, 7, 35, 36, 12, 15, 30, 39], |
| "ct": [1, 30, 42, 19, 39, 40, 15, 9, 16, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1814, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [4, 34, 26, 15, 7, 9, 43, 40, 27, 6], |
| "ct": [28, 3, 25, 34, 21, 18, 17, 30, 22, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1815, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [19, 21, 44, 32, 41, 10, 42, 1, 3, 28], |
| "ct": [4, 2, 36, 43, 21, 11, 19, 21, 14, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1816, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [23, 21, 14, 10, 43, 28, 27, 10, 28, 32], |
| "ct": [32, 2, 23, 11, 40, 20, 0, 3, 20, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1817, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [37, 1, 15, 10, 40, 20, 44, 17, 36, 10], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1818, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [43, 32, 32, 10, 29, 35, 12, 0, 2, 6], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1819, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [26, 21, 32, 29, 15, 16, 12, 10, 2, 22], |
| "ct": [32, 32, 40, 16, 8, 32, 32, 40, 16, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1820, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": [42, 16, 31, 11, 14, 29, 38, 36, 4, 41], |
| "ct": [32, 32, 40, 16, 7, 32, 32, 40, 16, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1821, |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "807e9aaf32cb5207df3a92", |
| "msg": [22, 1, 5, 42, 0, 27, 34, 13, 12, 44], |
| "ct": [0, 0, 0, 0, 0, 27, 24, 17, 20, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1822, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "807e9aaf32cb5207df3a92", |
| "msg": [29, 4, 30, 43, 7, 21, 16, 22, 26, 15], |
| "ct": [0, 0, 0, 0, 1, 23, 11, 41, 26, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1823, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "807e9aaf32cb5207df3a92", |
| "msg": [22, 9, 4, 33, 1, 42, 14, 10, 18, 11], |
| "ct": [32, 32, 40, 16, 8, 13, 19, 27, 40, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1824, |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "807e9aaf32cb5207df3a92", |
| "msg": [19, 2, 29, 3, 34, 5, 43, 33, 33, 32], |
| "ct": [44, 44, 44, 44, 44, 2, 30, 15, 28, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1825, |
| "comment": "y is maximal and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "4f3e9b8d7c593b308bef7d", |
| "msg": [0, 13, 22, 6, 10, 38, 30, 39, 27, 15], |
| "ct": [16, 13, 9, 7, 37, 6, 32, 43, 37, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1826, |
| "comment": "y is maximal and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "4f3e9b8d7c593b308bef7d", |
| "msg": [1, 27, 20, 37, 35, 2, 32, 10, 0, 29], |
| "ct": [25, 44, 3, 41, 33, 1, 21, 21, 8, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1827, |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "4f3e9b8d7c593b308bef7d", |
| "msg": [27, 38, 25, 8, 34, 14, 14, 39, 9, 28], |
| "ct": [19, 3, 3, 13, 7, 9, 14, 18, 23, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1828, |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "4f3e9b8d7c593b308bef7d", |
| "msg": [36, 34, 32, 44, 2, 28, 35, 8, 14, 24], |
| "ct": [29, 36, 0, 22, 17, 0, 35, 20, 42, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1829, |
| "comment": "y is maximal and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "4f3e9b8d7c593b308bef7d", |
| "msg": [8, 29, 34, 30, 32, 40, 36, 18, 20, 1], |
| "ct": [20, 16, 24, 8, 18, 39, 28, 22, 18, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1830, |
| "comment": "y is maximal and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "4f3e9b8d7c593b308bef7d", |
| "msg": [38, 21, 17, 20, 27, 21, 0, 42, 6, 38], |
| "ct": [20, 34, 38, 35, 22, 43, 6, 28, 24, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1831, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "ce53bf6a3d8cf6186b8c1f", |
| "msg": [36, 38, 32, 38, 12, 43, 34, 35, 31, 23], |
| "ct": [28, 44, 30, 37, 40, 14, 32, 7, 1, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1832, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "ce53bf6a3d8cf6186b8c1f", |
| "msg": [30, 38, 34, 16, 25, 6, 25, 13, 27, 28], |
| "ct": [22, 19, 10, 6, 9, 35, 27, 24, 15, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1833, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "ce53bf6a3d8cf6186b8c1f", |
| "msg": [27, 31, 25, 21, 0, 26, 8, 20, 5, 43], |
| "ct": [22, 44, 30, 43, 7, 11, 19, 24, 26, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1834, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "ce53bf6a3d8cf6186b8c1f", |
| "msg": [19, 26, 23, 32, 20, 18, 7, 31, 32, 29], |
| "ct": [30, 33, 41, 17, 9, 26, 22, 21, 37, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1835, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "ce53bf6a3d8cf6186b8c1f", |
| "msg": [13, 25, 11, 21, 11, 3, 18, 5, 34, 6], |
| "ct": [22, 16, 8, 35, 44, 7, 28, 2, 23, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1836, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "ce53bf6a3d8cf6186b8c1f", |
| "msg": [0, 15, 31, 5, 37, 26, 18, 41, 17, 36], |
| "ct": [15, 34, 39, 2, 22, 19, 7, 43, 18, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1837, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "d7f3ee4e73f86b1623de48", |
| "msg": [6, 42, 42, 3, 17, 3, 13, 30, 4, 37], |
| "ct": [14, 5, 23, 19, 2, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1838, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "d7f3ee4e73f86b1623de48", |
| "msg": [28, 36, 0, 44, 11, 42, 38, 38, 3, 32], |
| "ct": [14, 5, 23, 19, 2, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1839, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "d7f3ee4e73f86b1623de48", |
| "msg": [7, 40, 8, 17, 43, 41, 33, 8, 42, 17], |
| "ct": [14, 5, 23, 19, 2, 32, 32, 40, 16, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1840, |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "d7f3ee4e73f86b1623de48", |
| "msg": [23, 3, 34, 34, 27, 29, 14, 2, 32, 31], |
| "ct": [14, 5, 23, 19, 2, 44, 44, 44, 44, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1841, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", |
| "tweak": "aac963be9bb06d9c", |
| "msg": [-1, 23, 28, 17, 9, 15, 37, 27, 12, 18], |
| "ct": [37, 27, 3, 24, 20, 25, 29, 35, 11, 25], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1842, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", |
| "tweak": "aac963be9bb06d9c", |
| "msg": [15, 23, 28, -1, 9, 15, 37, 27, 12, 18], |
| "ct": [6, 38, 42, 32, 31, 12, 17, 40, 0, 36], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1843, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", |
| "tweak": "aac963be9bb06d9c", |
| "msg": [15, 23, 28, 17, 9, 15, 37, 27, 12, -1], |
| "ct": [35, 5, 6, 44, 16, 4, 36, 3, 12, 30], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1844, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9da04d39a391504a0cc269e473932c91196bed9b57c28d4e614d10e1dbba8493", |
| "tweak": "96ec760834c84cd1", |
| "msg": [45, 34, 21, 0, 24, 9, 20, 40, 43, 40], |
| "ct": [21, 16, 30, 43, 20, 0, 17, 10, 31, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1845, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9da04d39a391504a0cc269e473932c91196bed9b57c28d4e614d10e1dbba8493", |
| "tweak": "96ec760834c84cd1", |
| "msg": [32, 34, 21, 45, 24, 9, 20, 40, 43, 40], |
| "ct": [15, 1, 22, 4, 35, 29, 35, 41, 27, 3], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1846, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9da04d39a391504a0cc269e473932c91196bed9b57c28d4e614d10e1dbba8493", |
| "tweak": "96ec760834c84cd1", |
| "msg": [32, 34, 21, 0, 24, 9, 20, 40, 43, 45], |
| "ct": [33, 0, 37, 35, 36, 43, 24, 13, 20, 12], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 11, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1847, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "a40786c69f8a487744536af3e952b5e4c3c848cf21a994e28fa555d8d1ac9beb", |
| "tweak": "8782789b84c8fa4a", |
| "msg": [30, 44, 27, 43, 17, 27, 29, 6, 15, 41, 14], |
| "ct": [13, 5, 13, 38, 12, 1, 3, 6, 2, 31, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1848, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [14, 14, 31, 6, 37, 7, 12, 5, 22, 38, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1849, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [3, 23, 13, 0, 2, 36, 41, 14, 5, 37, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1850, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [32, 32, 40, 16, 8, 23, 12, 17, 31, 22, 31], |
| "ct": [30, 14, 36, 35, 7, 17, 1, 33, 29, 25, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1851, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [32, 32, 40, 16, 7, 23, 12, 17, 31, 22, 30], |
| "ct": [39, 42, 26, 2, 25, 5, 22, 26, 25, 5, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1852, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [10, 40, 33, 24, 20, 32, 40, 37, 40, 38, 34], |
| "ct": [28, 24, 23, 28, 7, 18, 23, 43, 30, 17, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1853, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [39, 16, 11, 30, 21, 34, 15, 2, 32, 18, 23], |
| "ct": [36, 9, 30, 23, 22, 33, 41, 25, 25, 33, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1854, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [2, 9, 43, 33, 10, 7, 28, 9, 29, 5, 7], |
| "ct": [9, 12, 33, 37, 11, 12, 23, 38, 28, 28, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1855, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [35, 3, 39, 3, 40, 33, 12, 34, 15, 44, 30], |
| "ct": [2, 9, 31, 7, 38, 21, 26, 16, 0, 5, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1856, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [24, 10, 37, 6, 10, 36, 40, 28, 8, 33, 26], |
| "ct": [22, 31, 30, 20, 20, 44, 4, 11, 12, 13, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1857, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [38, 15, 13, 12, 14, 44, 0, 1, 6, 36, 4], |
| "ct": [2, 4, 2, 13, 30, 22, 33, 17, 38, 40, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1858, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [36, 29, 42, 19, 35, 40, 28, 35, 6, 21, 24], |
| "ct": [9, 19, 36, 25, 33, 11, 33, 41, 28, 19, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1859, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [12, 34, 39, 28, 42, 31, 5, 24, 2, 26, 37], |
| "ct": [41, 27, 30, 9, 12, 39, 24, 41, 11, 43, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1860, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [35, 23, 20, 39, 9, 43, 43, 14, 39, 10, 34], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1861, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [21, 24, 24, 22, 22, 28, 34, 41, 32, 10, 11], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1862, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [7, 43, 39, 23, 4, 43, 31, 0, 34, 12, 24], |
| "ct": [32, 32, 40, 16, 8, 23, 12, 17, 31, 22, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1863, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": [28, 14, 41, 19, 40, 7, 38, 18, 17, 30, 43], |
| "ct": [32, 32, 40, 16, 7, 23, 12, 17, 31, 22, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1864, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "0b3f56ffadc1d7c4a2b8", |
| "msg": [0, 0, 0, 0, 0, 33, 12, 42, 2, 16, 17], |
| "ct": [40, 4, 38, 0, 18, 23, 4, 9, 41, 9, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1865, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "0b3f56ffadc1d7c4a2b8", |
| "msg": [0, 0, 0, 0, 1, 33, 12, 42, 2, 16, 17], |
| "ct": [23, 7, 18, 19, 23, 24, 1, 16, 16, 8, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1866, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "0b3f56ffadc1d7c4a2b8", |
| "msg": [32, 32, 40, 16, 8, 33, 12, 42, 2, 16, 17], |
| "ct": [1, 25, 13, 42, 13, 35, 22, 0, 16, 16, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1867, |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "0b3f56ffadc1d7c4a2b8", |
| "msg": [44, 44, 44, 44, 44, 33, 12, 42, 2, 16, 17], |
| "ct": [40, 39, 35, 38, 2, 4, 36, 20, 21, 24, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1868, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", |
| "tweak": "788f47262b8e7b97", |
| "msg": [-1, 44, 1, 3, 34, 28, 17, 42, 12, 28, 23], |
| "ct": [7, 32, 29, 34, 38, 1, 34, 43, 31, 35, 16], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1869, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", |
| "tweak": "788f47262b8e7b97", |
| "msg": [33, 44, 1, -1, 34, 28, 17, 42, 12, 28, 23], |
| "ct": [33, 14, 44, 10, 3, 10, 5, 20, 7, 6, 42], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1870, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", |
| "tweak": "788f47262b8e7b97", |
| "msg": [33, 44, 1, 3, 34, 28, 17, 42, 12, 28, -1], |
| "ct": [6, 18, 30, 17, 30, 34, 11, 43, 18, 8, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1871, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "aadb8cbdafd32152a6f2f1aedf11117ca856172d76a3ad0857bd393d04951f7a", |
| "tweak": "2b98b8631988f59d", |
| "msg": [45, 31, 28, 9, 20, 33, 18, 10, 25, 41, 39], |
| "ct": [44, 28, 18, 3, 19, 12, 32, 1, 35, 0, 29], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1872, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "aadb8cbdafd32152a6f2f1aedf11117ca856172d76a3ad0857bd393d04951f7a", |
| "tweak": "2b98b8631988f59d", |
| "msg": [11, 31, 28, 45, 20, 33, 18, 10, 25, 41, 39], |
| "ct": [13, 40, 24, 26, 34, 19, 20, 35, 40, 13, 10], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1873, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "aadb8cbdafd32152a6f2f1aedf11117ca856172d76a3ad0857bd393d04951f7a", |
| "tweak": "2b98b8631988f59d", |
| "msg": [11, 31, 28, 9, 20, 33, 18, 10, 25, 41, 45], |
| "ct": [33, 33, 36, 40, 22, 18, 19, 8, 9, 4, 33], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 12, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1874, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "2e94a84c78be80cd598366058d4f6cdf8095666dcac7a00ad832d9f33e20d13c", |
| "tweak": "415e0101a302aaa6", |
| "msg": [37, 7, 9, 38, 29, 17, 7, 17, 25, 8, 38, 9], |
| "ct": [43, 21, 39, 23, 20, 27, 34, 2, 12, 34, 8, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1875, |
| "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": [32, 11, 35, 22, 8, 25, 32, 13, 6, 29, 27, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1876, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [6, 36, 1, 17, 39, 33, 4, 38, 28, 17, 14, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1877, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [23, 12, 17, 31, 22, 31, 23, 12, 17, 31, 22, 31], |
| "ct": [30, 40, 32, 33, 23, 6, 3, 30, 24, 22, 7, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1878, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [23, 12, 17, 31, 22, 30, 23, 12, 17, 31, 22, 30], |
| "ct": [7, 10, 25, 34, 8, 12, 10, 21, 25, 39, 42, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1879, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [25, 38, 28, 3, 31, 12, 29, 19, 18, 7, 41, 12], |
| "ct": [27, 18, 17, 30, 37, 39, 29, 9, 16, 4, 19, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1880, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [32, 39, 7, 22, 7, 1, 36, 11, 25, 16, 15, 37], |
| "ct": [31, 13, 41, 9, 28, 44, 15, 23, 7, 30, 16, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1881, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [31, 13, 43, 23, 12, 39, 16, 28, 7, 28, 31, 15], |
| "ct": [9, 43, 9, 39, 12, 38, 6, 33, 43, 41, 27, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1882, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [12, 11, 23, 44, 33, 40, 37, 33, 10, 18, 39, 31], |
| "ct": [13, 11, 44, 43, 27, 36, 21, 17, 32, 37, 42, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1883, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [38, 5, 7, 16, 10, 21, 2, 32, 10, 37, 43, 11], |
| "ct": [26, 17, 35, 18, 22, 8, 29, 7, 12, 19, 1, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1884, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [5, 35, 9, 2, 5, 41, 0, 43, 31, 29, 39, 39], |
| "ct": [41, 7, 9, 14, 15, 32, 43, 31, 21, 4, 24, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1885, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [42, 37, 37, 19, 21, 5, 12, 43, 11, 36, 22, 27], |
| "ct": [15, 11, 6, 26, 13, 0, 10, 16, 3, 3, 27, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1886, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [13, 43, 20, 33, 24, 35, 16, 2, 20, 23, 13, 44], |
| "ct": [34, 43, 18, 25, 34, 10, 3, 22, 25, 10, 6, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1887, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [4, 40, 10, 24, 2, 15, 8, 17, 7, 23, 3, 30], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1888, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [4, 9, 31, 41, 3, 2, 29, 17, 32, 8, 30, 41], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1889, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [36, 37, 9, 22, 29, 22, 35, 41, 37, 17, 15, 11], |
| "ct": [23, 12, 17, 31, 22, 31, 23, 12, 17, 31, 22, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1890, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": [2, 40, 0, 2, 26, 2, 16, 26, 26, 25, 34, 10], |
| "ct": [23, 12, 17, 31, 22, 30, 23, 12, 17, 31, 22, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1891, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "97d97599bf70ec9e044a", |
| "msg": [5, 22, 20, 37, 22, 24, 38, 15, 20, 0, 40, 32], |
| "ct": [29, 11, 17, 18, 36, 4, 35, 4, 26, 10, 43, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1892, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "97d97599bf70ec9e044a", |
| "msg": [0, 16, 28, 39, 30, 29, 1, 0, 42, 17, 35, 10], |
| "ct": [36, 13, 20, 1, 35, 17, 15, 43, 25, 14, 31, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1893, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "97d97599bf70ec9e044a", |
| "msg": [34, 26, 14, 5, 1, 12, 39, 5, 18, 8, 29, 3], |
| "ct": [19, 42, 4, 1, 32, 15, 40, 24, 4, 43, 35, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1894, |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "97d97599bf70ec9e044a", |
| "msg": [31, 9, 17, 39, 12, 44, 41, 23, 25, 23, 19, 23], |
| "ct": [36, 0, 16, 6, 15, 43, 17, 27, 13, 30, 39, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1895, |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "97d97599bf70ec9e044a", |
| "msg": [2, 11, 12, 15, 17, 29, 22, 20, 24, 39, 32, 19], |
| "ct": [31, 19, 28, 5, 2, 29, 23, 12, 15, 38, 25, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1896, |
| "comment": "y is maximal and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "eb468f84debc6781cb9c", |
| "msg": [1, 26, 42, 40, 37, 21, 21, 9, 22, 31, 0, 41], |
| "ct": [7, 41, 0, 1, 36, 40, 21, 12, 8, 10, 35, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1897, |
| "comment": "y is maximal and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "eb468f84debc6781cb9c", |
| "msg": [20, 35, 14, 17, 9, 26, 30, 42, 35, 8, 8, 7], |
| "ct": [8, 30, 26, 24, 6, 18, 23, 42, 23, 32, 29, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1898, |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "eb468f84debc6781cb9c", |
| "msg": [4, 20, 40, 38, 6, 0, 39, 7, 3, 22, 36, 21], |
| "ct": [8, 13, 4, 36, 28, 43, 8, 17, 44, 42, 35, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1899, |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "eb468f84debc6781cb9c", |
| "msg": [39, 30, 33, 42, 41, 20, 40, 0, 42, 32, 42, 31], |
| "ct": [34, 0, 0, 28, 28, 18, 35, 21, 34, 13, 28, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1900, |
| "comment": "y is maximal and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "eb468f84debc6781cb9c", |
| "msg": [6, 13, 39, 32, 43, 29, 3, 34, 23, 34, 44, 39], |
| "ct": [27, 39, 28, 38, 3, 10, 15, 23, 3, 28, 5, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1901, |
| "comment": "y is maximal and a is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "eb468f84debc6781cb9c", |
| "msg": [36, 5, 11, 2, 11, 38, 22, 36, 0, 18, 16, 30], |
| "ct": [14, 18, 30, 4, 38, 8, 27, 30, 38, 42, 42, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1902, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", |
| "tweak": "17f2087530ca7e57", |
| "msg": [-1, 19, 43, 35, 41, 35, 43, 44, 14, 43, 15, 43], |
| "ct": [31, 3, 42, 40, 3, 23, 2, 23, 2, 44, 23, 16], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1903, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", |
| "tweak": "17f2087530ca7e57", |
| "msg": [13, 19, 43, 35, -1, 35, 43, 44, 14, 43, 15, 43], |
| "ct": [43, 1, 7, 22, 28, 28, 7, 20, 29, 18, 19, 18], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1904, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", |
| "tweak": "17f2087530ca7e57", |
| "msg": [13, 19, 43, 35, 41, 35, 43, 44, 14, 43, 15, -1], |
| "ct": [32, 1, 33, 10, 16, 26, 29, 9, 6, 23, 3, 24], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1905, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e403c504948d24e9a3273beceab5cac2d3ec1209ff5def5eb6ec27564139354c", |
| "tweak": "bb8aba07ac874685", |
| "msg": [45, 26, 28, 39, 30, 13, 43, 20, 7, 33, 43, 21], |
| "ct": [37, 31, 42, 35, 34, 21, 44, 19, 26, 27, 23, 30], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1906, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e403c504948d24e9a3273beceab5cac2d3ec1209ff5def5eb6ec27564139354c", |
| "tweak": "bb8aba07ac874685", |
| "msg": [39, 26, 28, 39, 45, 13, 43, 20, 7, 33, 43, 21], |
| "ct": [27, 7, 3, 37, 17, 36, 5, 30, 42, 25, 18, 26], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1907, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e403c504948d24e9a3273beceab5cac2d3ec1209ff5def5eb6ec27564139354c", |
| "tweak": "bb8aba07ac874685", |
| "msg": [39, 26, 28, 39, 30, 13, 43, 20, 7, 33, 43, 45], |
| "ct": [35, 18, 6, 7, 2, 40, 38, 15, 39, 33, 6, 40], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 13, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1908, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "82685c3a0cab8a3c5777c43196c7f9eb6d1cbc31f79de68bc23a066b6d9d2053", |
| "tweak": "3fd780e554341138", |
| "msg": [26, 27, 7, 33, 21, 44, 0, 34, 29, 18, 4, 43, 10], |
| "ct": [13, 14, 5, 31, 29, 36, 31, 15, 32, 1, 36, 33, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1909, |
| "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": [11, 37, 33, 16, 26, 38, 18, 12, 23, 10, 7, 22, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1910, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [13, 15, 30, 20, 21, 31, 18, 31, 41, 2, 28, 19, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1911, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [23, 12, 17, 31, 22, 31, 33, 4, 28, 7, 36, 12, 4], |
| "ct": [21, 27, 27, 19, 34, 18, 4, 6, 39, 29, 11, 29, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1912, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [23, 12, 17, 31, 22, 30, 33, 4, 28, 7, 36, 12, 3], |
| "ct": [19, 26, 19, 22, 38, 3, 38, 4, 30, 8, 7, 17, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1913, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [37, 18, 28, 27, 28, 43, 20, 7, 28, 3, 8, 34, 7], |
| "ct": [9, 27, 23, 1, 26, 1, 36, 40, 44, 38, 6, 35, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1914, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [16, 30, 40, 20, 7, 13, 10, 21, 8, 29, 27, 8, 35], |
| "ct": [12, 10, 36, 17, 22, 19, 9, 36, 23, 30, 17, 42, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1915, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [26, 25, 19, 1, 34, 41, 35, 1, 42, 19, 11, 8, 17], |
| "ct": [6, 12, 15, 16, 5, 30, 28, 32, 23, 27, 1, 35, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1916, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [6, 17, 24, 28, 39, 22, 3, 35, 7, 42, 20, 41, 3], |
| "ct": [23, 36, 32, 26, 31, 13, 15, 7, 24, 4, 44, 13, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1917, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [35, 11, 35, 2, 18, 29, 10, 22, 39, 38, 26, 5, 14], |
| "ct": [10, 9, 28, 12, 8, 2, 8, 24, 24, 26, 37, 30, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1918, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [37, 36, 9, 5, 22, 13, 7, 4, 43, 23, 30, 18, 43], |
| "ct": [11, 18, 3, 17, 31, 36, 14, 22, 13, 37, 4, 28, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1919, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [34, 40, 2, 34, 21, 8, 33, 35, 4, 17, 29, 2, 25], |
| "ct": [35, 21, 35, 37, 18, 15, 0, 24, 14, 11, 8, 11, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1920, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [22, 22, 39, 11, 33, 38, 14, 43, 5, 0, 41, 19, 17], |
| "ct": [17, 12, 5, 18, 32, 31, 32, 30, 25, 39, 39, 14, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1921, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [20, 41, 19, 2, 15, 29, 5, 21, 39, 39, 36, 13, 39], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1922, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [9, 29, 20, 42, 25, 16, 14, 25, 20, 44, 7, 42, 39], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1923, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [33, 33, 34, 5, 17, 37, 8, 44, 30, 4, 7, 34, 30], |
| "ct": [23, 12, 17, 31, 22, 31, 33, 4, 28, 7, 36, 12, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1924, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": [16, 16, 31, 36, 35, 28, 2, 27, 1, 38, 16, 38, 22], |
| "ct": [23, 12, 17, 31, 22, 30, 33, 4, 28, 7, 36, 12, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1925, |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "4a568e425690f84058af", |
| "msg": [18, 29, 10, 43, 28, 12, 39, 31, 12, 13, 9, 20, 34], |
| "ct": [21, 26, 42, 9, 21, 28, 9, 23, 24, 30, 12, 35, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1926, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "4a568e425690f84058af", |
| "msg": [20, 35, 32, 6, 41, 43, 9, 34, 9, 4, 3, 19, 5], |
| "ct": [34, 0, 14, 41, 18, 31, 27, 34, 0, 3, 8, 18, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1927, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "4a568e425690f84058af", |
| "msg": [0, 38, 10, 42, 41, 10, 12, 40, 20, 8, 19, 17, 16], |
| "ct": [28, 37, 28, 22, 13, 35, 8, 10, 4, 30, 34, 43, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1928, |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "4a568e425690f84058af", |
| "msg": [3, 25, 27, 13, 33, 2, 21, 13, 3, 1, 20, 35, 34], |
| "ct": [8, 39, 5, 2, 25, 7, 6, 3, 3, 5, 43, 29, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1929, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "afe51ee1387578f3915f", |
| "msg": [43, 21, 2, 32, 11, 25, 31, 25, 44, 37, 29, 8, 35], |
| "ct": [7, 36, 15, 27, 2, 31, 36, 28, 2, 35, 10, 24, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1930, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "afe51ee1387578f3915f", |
| "msg": [38, 19, 25, 19, 5, 35, 7, 37, 15, 19, 37, 2, 15], |
| "ct": [4, 41, 33, 17, 27, 27, 19, 2, 22, 29, 2, 25, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1931, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "afe51ee1387578f3915f", |
| "msg": [31, 44, 9, 36, 25, 25, 18, 32, 6, 3, 36, 34, 34], |
| "ct": [33, 40, 18, 27, 37, 34, 17, 31, 12, 43, 8, 25, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1932, |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "afe51ee1387578f3915f", |
| "msg": [26, 4, 0, 29, 12, 6, 33, 28, 32, 41, 18, 10, 3], |
| "ct": [21, 24, 19, 39, 34, 21, 3, 30, 0, 18, 25, 20, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1933, |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "afe51ee1387578f3915f", |
| "msg": [3, 28, 29, 20, 24, 35, 16, 20, 36, 36, 34, 20, 6], |
| "ct": [32, 37, 5, 40, 0, 4, 16, 41, 33, 41, 34, 2, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1934, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "1443853e55e64c666707", |
| "msg": [0, 0, 0, 0, 0, 0, 35, 0, 41, 35, 44, 19, 33], |
| "ct": [32, 2, 5, 7, 10, 44, 1, 6, 32, 33, 26, 20, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1935, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "1443853e55e64c666707", |
| "msg": [0, 0, 0, 0, 0, 1, 35, 0, 41, 35, 44, 19, 33], |
| "ct": [39, 10, 8, 34, 43, 12, 25, 43, 28, 25, 37, 13, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1936, |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "1443853e55e64c666707", |
| "msg": [5, 18, 11, 0, 36, 44, 35, 0, 41, 35, 44, 19, 33], |
| "ct": [12, 27, 11, 13, 3, 19, 29, 43, 38, 19, 14, 4, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1937, |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "1443853e55e64c666707", |
| "msg": [5, 18, 11, 0, 37, 0, 35, 0, 41, 35, 44, 19, 33], |
| "ct": [28, 7, 25, 44, 27, 1, 19, 21, 31, 36, 39, 18, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1938, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "1443853e55e64c666707", |
| "msg": [23, 12, 17, 31, 22, 31, 35, 0, 41, 35, 44, 19, 33], |
| "ct": [12, 28, 22, 36, 20, 29, 38, 37, 11, 16, 17, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1939, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "1443853e55e64c666707", |
| "msg": [44, 44, 44, 44, 44, 44, 35, 0, 41, 35, 44, 19, 33], |
| "ct": [15, 37, 12, 11, 35, 1, 25, 7, 7, 39, 34, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1940, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "d802c586fa5de7b352d8", |
| "msg": [12, 9, 27, 42, 0, 25, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [11, 24, 18, 17, 18, 5, 7, 36, 4, 17, 6, 38, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1941, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "d802c586fa5de7b352d8", |
| "msg": [0, 15, 8, 31, 40, 8, 0, 0, 0, 0, 0, 0, 1], |
| "ct": [3, 28, 0, 43, 31, 31, 41, 36, 18, 19, 6, 8, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1942, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "d802c586fa5de7b352d8", |
| "msg": [4, 33, 30, 24, 21, 24, 33, 4, 28, 7, 36, 12, 4], |
| "ct": [0, 21, 34, 1, 35, 38, 8, 23, 2, 7, 8, 0, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1943, |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "d802c586fa5de7b352d8", |
| "msg": [11, 38, 0, 3, 8, 4, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [25, 34, 22, 1, 6, 40, 27, 30, 5, 24, 35, 40, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1944, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", |
| "tweak": "f39c64c847f175d6", |
| "msg": [-1, 6, 31, 38, 7, 12, 25, 33, 17, 1, 30, 25, 8], |
| "ct": [10, 10, 31, 5, 10, 5, 3, 29, 19, 3, 27, 23, 43], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1945, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", |
| "tweak": "f39c64c847f175d6", |
| "msg": [19, 6, 31, 38, -1, 12, 25, 33, 17, 1, 30, 25, 8], |
| "ct": [32, 28, 42, 41, 3, 0, 26, 12, 11, 3, 43, 19, 17], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1946, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", |
| "tweak": "f39c64c847f175d6", |
| "msg": [19, 6, 31, 38, 7, 12, 25, 33, 17, 1, 30, 25, -1], |
| "ct": [5, 39, 20, 33, 35, 3, 22, 19, 10, 23, 34, 39, 13], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1947, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cb6898e68189fef106c05db28b6e57ee679d56ab94859ca3e39963188f938249", |
| "tweak": "00300a67f16b7504", |
| "msg": [45, 41, 21, 0, 10, 8, 33, 31, 23, 28, 8, 11, 38], |
| "ct": [28, 2, 41, 9, 19, 5, 9, 8, 33, 26, 13, 18, 36], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1948, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cb6898e68189fef106c05db28b6e57ee679d56ab94859ca3e39963188f938249", |
| "tweak": "00300a67f16b7504", |
| "msg": [16, 41, 21, 0, 45, 8, 33, 31, 23, 28, 8, 11, 38], |
| "ct": [37, 16, 0, 7, 40, 19, 32, 36, 34, 39, 9, 5, 33], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1949, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cb6898e68189fef106c05db28b6e57ee679d56ab94859ca3e39963188f938249", |
| "tweak": "00300a67f16b7504", |
| "msg": [16, 41, 21, 0, 10, 8, 33, 31, 23, 28, 8, 11, 45], |
| "ct": [8, 39, 43, 7, 9, 35, 38, 37, 41, 31, 11, 32, 2], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 14, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1950, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "fdd21f2020d809a2930f3d6c0b2cc23e65e1240eb5e301531aecb8180808393b", |
| "tweak": "104403ed1d3acccc", |
| "msg": [40, 0, 29, 24, 32, 35, 28, 2, 27, 12, 30, 30, 23, 14], |
| "ct": [33, 44, 35, 21, 11, 17, 27, 0, 15, 24, 25, 32, 21, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1951, |
| "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": [2, 35, 2, 20, 8, 4, 34, 30, 38, 18, 7, 43, 33, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1952, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [1, 36, 40, 40, 42, 16, 30, 18, 18, 30, 1, 39, 13, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1953, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [33, 4, 28, 7, 36, 12, 4, 33, 4, 28, 7, 36, 12, 4], |
| "ct": [38, 0, 44, 24, 15, 6, 22, 43, 6, 5, 18, 24, 11, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1954, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [33, 4, 28, 7, 36, 12, 3, 33, 4, 28, 7, 36, 12, 3], |
| "ct": [13, 35, 16, 39, 10, 41, 19, 16, 14, 29, 0, 0, 8, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1955, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [20, 3, 14, 35, 1, 7, 8, 21, 32, 30, 42, 36, 39, 1], |
| "ct": [42, 37, 16, 33, 17, 33, 35, 9, 3, 26, 3, 3, 5, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1956, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [33, 3, 15, 4, 4, 9, 9, 21, 40, 7, 36, 37, 16, 38], |
| "ct": [19, 28, 24, 34, 31, 27, 26, 22, 34, 20, 19, 31, 31, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1957, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [27, 42, 23, 27, 24, 38, 24, 7, 15, 28, 16, 5, 10, 13], |
| "ct": [32, 39, 36, 15, 19, 10, 6, 35, 20, 16, 33, 34, 27, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1958, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [26, 41, 30, 20, 25, 40, 32, 21, 37, 41, 4, 6, 17, 10], |
| "ct": [40, 19, 1, 31, 18, 14, 28, 43, 12, 36, 39, 27, 33, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1959, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [24, 26, 1, 42, 5, 22, 37, 7, 23, 28, 31, 39, 37, 28], |
| "ct": [33, 44, 13, 16, 5, 36, 27, 43, 3, 33, 35, 21, 9, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1960, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [9, 37, 14, 15, 24, 2, 9, 1, 36, 11, 0, 20, 25, 1], |
| "ct": [24, 23, 40, 36, 23, 43, 17, 21, 19, 27, 3, 18, 42, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1961, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [41, 42, 35, 27, 7, 10, 42, 41, 4, 12, 41, 25, 32, 2], |
| "ct": [14, 36, 19, 23, 33, 31, 24, 21, 39, 11, 20, 37, 5, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1962, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [16, 7, 43, 31, 18, 28, 29, 0, 30, 9, 35, 18, 36, 24], |
| "ct": [40, 33, 29, 44, 1, 18, 26, 23, 10, 27, 32, 2, 23, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1963, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [26, 38, 43, 11, 14, 18, 40, 37, 7, 13, 11, 11, 17, 36], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1964, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [17, 28, 19, 32, 16, 14, 27, 5, 9, 2, 1, 5, 43, 10], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1965, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [40, 38, 24, 7, 26, 2, 7, 6, 2, 26, 9, 15, 15, 12], |
| "ct": [33, 4, 28, 7, 36, 12, 4, 33, 4, 28, 7, 36, 12, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1966, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": [43, 37, 39, 17, 34, 19, 13, 40, 41, 42, 25, 1, 40, 29], |
| "ct": [33, 4, 28, 7, 36, 12, 3, 33, 4, 28, 7, 36, 12, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1967, |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "9b623ea4bc46affb112a", |
| "msg": [6, 26, 32, 33, 40, 7, 5, 20, 41, 31, 17, 17, 41, 11], |
| "ct": [34, 14, 42, 2, 22, 34, 12, 2, 10, 4, 34, 27, 33, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1968, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "9b623ea4bc46affb112a", |
| "msg": [17, 12, 16, 8, 39, 8, 27, 41, 16, 37, 3, 3, 16, 1], |
| "ct": [7, 11, 8, 39, 34, 29, 38, 27, 44, 27, 22, 37, 3, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1969, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "9b623ea4bc46affb112a", |
| "msg": [17, 2, 38, 0, 10, 14, 37, 22, 23, 7, 26, 27, 37, 13], |
| "ct": [13, 24, 3, 44, 7, 35, 33, 1, 35, 42, 12, 24, 28, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1970, |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "9b623ea4bc46affb112a", |
| "msg": [39, 9, 2, 25, 25, 25, 34, 15, 40, 13, 5, 36, 3, 13], |
| "ct": [15, 39, 4, 6, 2, 7, 16, 0, 24, 2, 35, 28, 4, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1971, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "31311c91cde20e4902f8", |
| "msg": [17, 29, 41, 4, 13, 15, 42, 11, 40, 43, 16, 25, 38, 33], |
| "ct": [32, 43, 44, 44, 26, 38, 19, 34, 7, 26, 7, 24, 3, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1972, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "31311c91cde20e4902f8", |
| "msg": [29, 40, 32, 7, 3, 26, 31, 24, 30, 22, 18, 31, 39, 23], |
| "ct": [25, 41, 1, 8, 14, 33, 34, 39, 16, 38, 31, 29, 36, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1973, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "31311c91cde20e4902f8", |
| "msg": [9, 30, 11, 37, 34, 35, 21, 34, 7, 10, 8, 38, 28, 30], |
| "ct": [16, 28, 13, 14, 6, 18, 0, 41, 7, 27, 22, 42, 35, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1974, |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "31311c91cde20e4902f8", |
| "msg": [0, 30, 22, 26, 28, 27, 8, 9, 7, 13, 9, 4, 36, 15], |
| "ct": [6, 10, 8, 30, 31, 15, 20, 29, 43, 19, 18, 5, 34, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1975, |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "31311c91cde20e4902f8", |
| "msg": [43, 12, 32, 32, 44, 15, 26, 34, 25, 42, 31, 17, 2, 7], |
| "ct": [9, 13, 25, 25, 3, 12, 9, 5, 37, 37, 42, 10, 11, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1976, |
| "comment": "y is maximal and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "906599cc2812b876919d", |
| "msg": [34, 43, 36, 12, 25, 16, 33, 38, 12, 1, 38, 12, 1, 33], |
| "ct": [43, 39, 3, 5, 5, 22, 17, 44, 6, 30, 32, 31, 38, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1977, |
| "comment": "y is maximal and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "906599cc2812b876919d", |
| "msg": [26, 13, 7, 20, 26, 42, 15, 18, 10, 17, 23, 33, 12, 39], |
| "ct": [6, 41, 40, 34, 7, 11, 18, 1, 16, 35, 43, 0, 32, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1978, |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "906599cc2812b876919d", |
| "msg": [15, 43, 43, 7, 9, 21, 22, 17, 8, 10, 35, 44, 17, 4], |
| "ct": [29, 39, 3, 38, 34, 31, 3, 22, 14, 4, 31, 39, 31, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1979, |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "906599cc2812b876919d", |
| "msg": [22, 20, 7, 22, 25, 17, 44, 34, 25, 7, 7, 44, 30, 42], |
| "ct": [27, 14, 3, 28, 41, 19, 6, 21, 38, 32, 37, 33, 41, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1980, |
| "comment": "y is maximal and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "906599cc2812b876919d", |
| "msg": [13, 12, 12, 13, 2, 26, 6, 18, 3, 3, 13, 12, 44, 44], |
| "ct": [38, 17, 42, 6, 5, 7, 35, 5, 3, 2, 20, 40, 43, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1981, |
| "comment": "y is maximal and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "906599cc2812b876919d", |
| "msg": [27, 13, 17, 4, 33, 12, 40, 38, 9, 30, 12, 17, 21, 11], |
| "ct": [3, 16, 23, 17, 21, 22, 43, 24, 2, 2, 4, 22, 4, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1982, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "4a2e749e1a608fa429af", |
| "msg": [39, 11, 2, 32, 32, 32, 39, 12, 5, 9, 20, 1, 36, 15], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 3, 25, 4, 9, 23, 16, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1983, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "4a2e749e1a608fa429af", |
| "msg": [11, 24, 1, 7, 36, 13, 16, 38, 33, 21, 7, 7, 19, 7], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 5, 44, 39, 25, 44, 24, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1984, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "4a2e749e1a608fa429af", |
| "msg": [28, 2, 28, 26, 27, 13, 22, 32, 26, 28, 23, 4, 13, 43], |
| "ct": [33, 4, 28, 7, 36, 12, 3, 23, 13, 13, 26, 36, 33, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1985, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "4a2e749e1a608fa429af", |
| "msg": [33, 14, 25, 20, 36, 19, 29, 2, 14, 43, 13, 30, 35, 41], |
| "ct": [44, 44, 44, 44, 44, 44, 43, 39, 22, 17, 24, 2, 1, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1986, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", |
| "tweak": "00f218eb912f6eeb", |
| "msg": [-1, 25, 3, 40, 6, 27, 8, 28, 28, 11, 36, 15, 1, 35], |
| "ct": [33, 41, 2, 27, 31, 29, 18, 43, 44, 38, 13, 9, 26, 35], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1987, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", |
| "tweak": "00f218eb912f6eeb", |
| "msg": [15, 25, 3, 40, -1, 27, 8, 28, 28, 11, 36, 15, 1, 35], |
| "ct": [6, 38, 11, 3, 44, 9, 16, 16, 17, 41, 1, 31, 15, 33], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1988, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", |
| "tweak": "00f218eb912f6eeb", |
| "msg": [15, 25, 3, 40, 6, 27, 8, 28, 28, 11, 36, 15, 1, -1], |
| "ct": [13, 7, 37, 31, 7, 15, 3, 5, 15, 26, 31, 35, 23, 22], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1989, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9dd2a996e0f04427c0b04b964283a437aa5062bcdc9177d20e0d35199c94feb5", |
| "tweak": "2be22304d7e700c8", |
| "msg": [45, 6, 41, 24, 31, 10, 25, 13, 29, 1, 5, 43, 38, 13], |
| "ct": [27, 6, 19, 20, 34, 37, 44, 5, 43, 3, 13, 10, 13, 38], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1990, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9dd2a996e0f04427c0b04b964283a437aa5062bcdc9177d20e0d35199c94feb5", |
| "tweak": "2be22304d7e700c8", |
| "msg": [8, 6, 41, 24, 45, 10, 25, 13, 29, 1, 5, 43, 38, 13], |
| "ct": [38, 18, 1, 28, 35, 38, 13, 25, 3, 4, 10, 19, 27, 29], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1991, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9dd2a996e0f04427c0b04b964283a437aa5062bcdc9177d20e0d35199c94feb5", |
| "tweak": "2be22304d7e700c8", |
| "msg": [8, 6, 41, 24, 31, 10, 25, 13, 29, 1, 5, 43, 38, 45], |
| "ct": [39, 14, 41, 37, 4, 14, 4, 22, 1, 41, 12, 5, 44, 6], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 15, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 1992, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "2f9e5c52ea98009130c5c4302ab79c69e9b89a3871ef8b13d04e3cb3ab09d963", |
| "tweak": "c6eca51b923fbd6f", |
| "msg": [36, 42, 13, 31, 3, 4, 8, 19, 32, 23, 21, 16, 28, 11, 23], |
| "ct": [41, 7, 23, 9, 10, 33, 16, 13, 7, 18, 5, 21, 35, 32, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1993, |
| "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": [10, 25, 42, 19, 38, 39, 1, 8, 11, 10, 35, 34, 38, 29, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1994, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [6, 23, 16, 0, 13, 37, 36, 42, 10, 36, 7, 9, 4, 21, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1995, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [33, 4, 28, 7, 36, 12, 4, 23, 24, 13, 1, 24, 35, 26, 38], |
| "ct": [12, 16, 34, 42, 10, 14, 36, 37, 0, 25, 19, 44, 22, 28, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1996, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [33, 4, 28, 7, 36, 12, 3, 23, 24, 13, 1, 24, 35, 26, 37], |
| "ct": [1, 20, 40, 39, 41, 41, 8, 19, 4, 2, 39, 3, 42, 33, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1997, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [3, 12, 7, 38, 41, 39, 27, 6, 16, 22, 12, 44, 38, 6, 13], |
| "ct": [0, 35, 13, 36, 8, 4, 37, 38, 11, 20, 25, 27, 34, 18, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1998, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [9, 20, 36, 10, 23, 2, 1, 24, 4, 22, 30, 11, 16, 15, 22], |
| "ct": [32, 19, 30, 34, 38, 22, 40, 27, 2, 34, 17, 40, 6, 36, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 1999, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [35, 25, 0, 16, 24, 34, 38, 5, 36, 37, 0, 12, 0, 8, 37], |
| "ct": [30, 16, 41, 24, 26, 14, 17, 26, 36, 40, 11, 16, 24, 34, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2000, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [0, 21, 26, 12, 27, 32, 8, 2, 20, 42, 39, 7, 24, 28, 26], |
| "ct": [33, 9, 43, 33, 39, 42, 29, 41, 20, 38, 22, 32, 12, 43, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2001, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [2, 7, 26, 34, 25, 33, 17, 31, 24, 37, 38, 24, 28, 11, 22], |
| "ct": [14, 28, 8, 32, 12, 16, 43, 14, 29, 13, 31, 10, 4, 29, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2002, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [32, 44, 36, 15, 37, 15, 36, 35, 19, 25, 42, 25, 30, 6, 43], |
| "ct": [8, 17, 7, 30, 2, 36, 15, 10, 43, 35, 21, 33, 43, 13, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2003, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [29, 3, 24, 37, 37, 28, 13, 35, 10, 25, 29, 24, 32, 11, 40], |
| "ct": [6, 36, 29, 36, 6, 4, 19, 27, 40, 3, 20, 7, 22, 15, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2004, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [19, 9, 19, 2, 15, 16, 17, 21, 0, 27, 30, 24, 36, 7, 19], |
| "ct": [2, 34, 41, 15, 30, 33, 13, 8, 21, 38, 43, 4, 4, 14, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2005, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [20, 1, 17, 11, 11, 18, 7, 16, 15, 4, 0, 20, 23, 4, 25], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2006, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [14, 4, 39, 32, 7, 14, 16, 8, 18, 4, 12, 22, 4, 5, 1], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2007, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [12, 3, 3, 29, 4, 27, 30, 14, 21, 35, 16, 44, 8, 1, 9], |
| "ct": [33, 4, 28, 7, 36, 12, 4, 23, 24, 13, 1, 24, 35, 26, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2008, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": [33, 14, 3, 26, 16, 12, 27, 36, 37, 33, 6, 36, 22, 3, 12], |
| "ct": [33, 4, 28, 7, 36, 12, 3, 23, 24, 13, 1, 24, 35, 26, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2009, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "579b76ee9d6ca6c626", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 41, 22, 19, 39, 31, 10, 33, 1], |
| "ct": [16, 25, 27, 16, 41, 7, 23, 5, 9, 31, 16, 0, 10, 2, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2010, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "579b76ee9d6ca6c626", |
| "msg": [0, 0, 0, 0, 0, 0, 1, 41, 22, 19, 39, 31, 10, 33, 1], |
| "ct": [39, 23, 15, 43, 2, 7, 4, 3, 23, 43, 30, 20, 32, 30, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2011, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "579b76ee9d6ca6c626", |
| "msg": [33, 4, 28, 7, 36, 12, 4, 41, 22, 19, 39, 31, 10, 33, 1], |
| "ct": [31, 36, 44, 36, 23, 35, 17, 31, 36, 8, 21, 19, 11, 44, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2012, |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "579b76ee9d6ca6c626", |
| "msg": [44, 44, 44, 44, 44, 44, 43, 41, 22, 19, 39, 31, 10, 33, 1], |
| "ct": [33, 25, 25, 13, 30, 7, 14, 43, 44, 32, 44, 32, 5, 39, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2013, |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "579b76ee9d6ca6c626", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 41, 22, 19, 39, 31, 10, 33, 1], |
| "ct": [38, 35, 35, 2, 33, 22, 36, 41, 23, 32, 21, 28, 39, 21, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2014, |
| "comment": "y is maximal and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "a69e4f7e0809aeb0d4", |
| "msg": [29, 3, 1, 27, 31, 15, 16, 40, 28, 2, 39, 29, 9, 25, 22], |
| "ct": [32, 16, 40, 26, 18, 12, 24, 20, 2, 43, 13, 37, 14, 19, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2015, |
| "comment": "y is maximal and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "a69e4f7e0809aeb0d4", |
| "msg": [0, 19, 27, 0, 6, 7, 10, 31, 43, 40, 41, 7, 39, 5, 14], |
| "ct": [13, 32, 1, 21, 28, 0, 4, 40, 25, 4, 15, 21, 38, 12, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2016, |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "a69e4f7e0809aeb0d4", |
| "msg": [1, 9, 29, 27, 20, 41, 20, 11, 4, 20, 3, 32, 33, 4, 24], |
| "ct": [22, 31, 37, 20, 21, 22, 35, 25, 2, 24, 30, 30, 34, 2, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2017, |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "a69e4f7e0809aeb0d4", |
| "msg": [1, 24, 30, 41, 31, 13, 8, 6, 8, 33, 11, 14, 10, 10, 33], |
| "ct": [8, 8, 39, 17, 10, 36, 0, 31, 24, 14, 12, 34, 33, 5, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2018, |
| "comment": "y is maximal and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "a69e4f7e0809aeb0d4", |
| "msg": [17, 37, 17, 14, 42, 30, 13, 42, 33, 3, 32, 34, 24, 23, 23], |
| "ct": [8, 16, 21, 30, 28, 5, 2, 17, 35, 22, 35, 12, 5, 11, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2019, |
| "comment": "y is maximal and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "a69e4f7e0809aeb0d4", |
| "msg": [29, 37, 11, 11, 39, 12, 6, 1, 24, 0, 2, 39, 15, 7, 4], |
| "ct": [4, 40, 28, 33, 31, 33, 37, 11, 29, 36, 9, 21, 12, 4, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2020, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "4257f2ca7a4179dc6c", |
| "msg": [13, 10, 16, 42, 6, 13, 4, 8, 3, 22, 10, 2, 16, 33, 14], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 20, 37, 27, 34, 34, 37, 42, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2021, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "4257f2ca7a4179dc6c", |
| "msg": [4, 35, 10, 41, 23, 16, 20, 22, 37, 41, 30, 13, 2, 1, 32], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 27, 22, 19, 15, 37, 23, 17, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2022, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "4257f2ca7a4179dc6c", |
| "msg": [42, 20, 2, 44, 39, 11, 5, 38, 41, 20, 3, 7, 14, 11, 12], |
| "ct": [33, 4, 28, 7, 36, 12, 3, 28, 20, 23, 32, 37, 0, 8, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2023, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "4257f2ca7a4179dc6c", |
| "msg": [9, 38, 20, 10, 29, 11, 33, 20, 42, 34, 31, 14, 26, 0, 15], |
| "ct": [44, 44, 44, 44, 44, 44, 43, 26, 34, 30, 19, 30, 11, 10, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2024, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", |
| "tweak": "351b957ffa7ac601", |
| "msg": [-1, 29, 26, 24, 14, 18, 11, 21, 19, 9, 14, 10, 10, 12, 1], |
| "ct": [15, 3, 12, 21, 38, 9, 14, 16, 31, 34, 27, 37, 8, 25, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2025, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", |
| "tweak": "351b957ffa7ac601", |
| "msg": [7, 29, 26, 24, 14, -1, 11, 21, 19, 9, 14, 10, 10, 12, 1], |
| "ct": [44, 17, 18, 7, 42, 40, 2, 24, 21, 2, 35, 16, 13, 19, 9], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2026, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", |
| "tweak": "351b957ffa7ac601", |
| "msg": [7, 29, 26, 24, 14, 18, 11, 21, 19, 9, 14, 10, 10, 12, -1], |
| "ct": [40, 29, 15, 14, 33, 44, 19, 30, 38, 29, 18, 44, 6, 38, 29], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2027, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9fc6ba2544104f1ceb1297badf8b22067e39a8fa9a887c4828825a6017dd62b4", |
| "tweak": "ab06054929b2cf3d", |
| "msg": [45, 12, 20, 3, 20, 14, 9, 32, 2, 37, 32, 9, 8, 27, 38], |
| "ct": [11, 27, 39, 28, 18, 22, 4, 24, 7, 32, 40, 25, 27, 5, 7], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2028, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9fc6ba2544104f1ceb1297badf8b22067e39a8fa9a887c4828825a6017dd62b4", |
| "tweak": "ab06054929b2cf3d", |
| "msg": [13, 12, 20, 3, 20, 45, 9, 32, 2, 37, 32, 9, 8, 27, 38], |
| "ct": [13, 43, 24, 25, 35, 27, 8, 34, 13, 12, 15, 22, 2, 31, 18], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2029, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9fc6ba2544104f1ceb1297badf8b22067e39a8fa9a887c4828825a6017dd62b4", |
| "tweak": "ab06054929b2cf3d", |
| "msg": [13, 12, 20, 3, 20, 14, 9, 32, 2, 37, 32, 9, 8, 27, 45], |
| "ct": [32, 21, 3, 35, 4, 36, 11, 6, 12, 17, 34, 36, 31, 43, 35], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 16, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2030, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "505aa98819809ef63b9a368a1e8bc2e922da45b03ce02d9a7966b15006dba2d5", |
| "tweak": "5b54b73e6af6a275", |
| "msg": [0, 33, 33, 12, 26, 24, 26, 12, 9, 0, 30, 34, 29, 34, 39, 32], |
| "ct": [15, 14, 31, 26, 24, 13, 8, 27, 13, 37, 22, 19, 43, 22, 30, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2031, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [24, 17, 1, 19, 23, 24, 17, 29, 39, 21, 31, 17, 21, 21, 36, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2032, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [40, 5, 7, 4, 12, 38, 14, 12, 7, 19, 25, 8, 0, 25, 41, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2033, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 38, 23, 24, 13, 1, 24, 35, 26, 38], |
| "ct": [25, 39, 41, 2, 23, 19, 38, 19, 6, 15, 41, 35, 36, 29, 28, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2034, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 37, 23, 24, 13, 1, 24, 35, 26, 37], |
| "ct": [36, 39, 1, 22, 25, 18, 41, 23, 27, 35, 16, 3, 37, 9, 35, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2035, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [18, 4, 17, 29, 22, 25, 1, 15, 43, 31, 11, 0, 37, 26, 44, 20], |
| "ct": [6, 24, 27, 20, 38, 22, 38, 40, 39, 24, 0, 35, 28, 34, 42, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2036, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [35, 37, 20, 13, 8, 22, 33, 2, 26, 28, 30, 19, 41, 29, 43, 2], |
| "ct": [5, 19, 16, 26, 41, 34, 6, 24, 41, 11, 18, 4, 42, 22, 7, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2037, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [3, 40, 21, 43, 40, 40, 34, 17, 23, 39, 10, 30, 41, 40, 30, 1], |
| "ct": [35, 4, 21, 23, 28, 26, 10, 44, 44, 12, 21, 1, 30, 36, 32, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2038, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [29, 44, 13, 34, 8, 14, 29, 43, 41, 21, 2, 5, 36, 2, 39, 10], |
| "ct": [32, 40, 5, 7, 7, 41, 13, 39, 24, 30, 22, 28, 38, 35, 21, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2039, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [21, 23, 12, 9, 44, 37, 13, 34, 41, 19, 9, 13, 2, 44, 23, 35], |
| "ct": [16, 27, 19, 43, 17, 5, 36, 16, 18, 7, 6, 25, 39, 2, 2, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2040, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [22, 13, 14, 30, 22, 1, 41, 43, 19, 6, 42, 34, 23, 17, 42, 5], |
| "ct": [7, 22, 41, 36, 11, 40, 19, 41, 12, 1, 41, 35, 43, 33, 20, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2041, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [2, 21, 18, 4, 16, 31, 14, 4, 8, 29, 19, 6, 16, 6, 7, 14], |
| "ct": [19, 39, 20, 44, 23, 34, 39, 15, 27, 24, 35, 7, 7, 29, 6, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2042, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [7, 22, 32, 33, 3, 35, 39, 18, 21, 39, 3, 36, 1, 23, 22, 33], |
| "ct": [1, 0, 14, 22, 0, 4, 18, 44, 15, 41, 23, 29, 43, 30, 22, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2043, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [33, 32, 23, 34, 25, 41, 18, 31, 37, 32, 28, 26, 11, 31, 43, 37], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2044, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [22, 21, 42, 30, 20, 12, 36, 34, 11, 6, 32, 42, 29, 25, 16, 16], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2045, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [19, 26, 15, 10, 8, 18, 14, 31, 0, 11, 31, 18, 28, 36, 24, 17], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 38, 23, 24, 13, 1, 24, 35, 26, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2046, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": [3, 37, 26, 31, 18, 23, 43, 42, 26, 39, 40, 18, 41, 24, 15, 25], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 37, 23, 24, 13, 1, 24, 35, 26, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2047, |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "2fd0807bcf62250947", |
| "msg": [4, 38, 8, 44, 2, 13, 37, 27, 11, 37, 14, 35, 25, 14, 28, 37], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 16, 20, 28, 23, 40, 28, 31, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2048, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "2fd0807bcf62250947", |
| "msg": [26, 18, 18, 4, 38, 16, 22, 2, 41, 29, 11, 9, 19, 16, 1, 41], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 1, 19, 7, 11, 2, 15, 43, 30, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2049, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "2fd0807bcf62250947", |
| "msg": [25, 30, 16, 5, 18, 8, 11, 26, 25, 26, 26, 15, 16, 40, 9, 14], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 38, 3, 40, 20, 21, 18, 20, 27, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2050, |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "2fd0807bcf62250947", |
| "msg": [43, 31, 33, 31, 5, 38, 16, 10, 7, 21, 23, 35, 36, 17, 29, 28], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 25, 20, 20, 18, 18, 14, 27, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2051, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "c48745444f9d5a56a2", |
| "msg": [2, 39, 5, 11, 36, 15, 2, 22, 34, 27, 27, 28, 23, 14, 25, 11], |
| "ct": [22, 29, 14, 37, 1, 32, 8, 24, 27, 8, 25, 24, 16, 2, 15, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2052, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "c48745444f9d5a56a2", |
| "msg": [33, 30, 5, 3, 18, 33, 39, 36, 5, 11, 19, 27, 13, 5, 22, 5], |
| "ct": [1, 9, 28, 34, 29, 16, 27, 44, 26, 29, 10, 22, 22, 21, 35, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2053, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "c48745444f9d5a56a2", |
| "msg": [8, 44, 26, 29, 16, 27, 4, 31, 39, 36, 7, 36, 33, 39, 18, 44], |
| "ct": [25, 0, 13, 30, 21, 33, 18, 12, 2, 5, 32, 30, 8, 17, 20, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2054, |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "c48745444f9d5a56a2", |
| "msg": [12, 23, 23, 29, 26, 30, 40, 14, 8, 26, 33, 42, 8, 2, 8, 15], |
| "ct": [26, 29, 1, 33, 19, 16, 16, 32, 23, 39, 14, 41, 18, 44, 15, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2055, |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "c48745444f9d5a56a2", |
| "msg": [42, 0, 29, 25, 23, 16, 9, 31, 30, 13, 12, 35, 43, 28, 41, 35], |
| "ct": [33, 11, 39, 20, 31, 17, 23, 37, 20, 2, 3, 30, 19, 34, 42, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2056, |
| "comment": "y is maximal and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "bafb96dc2cdacad42d", |
| "msg": [35, 26, 24, 4, 12, 16, 30, 42, 33, 32, 12, 41, 33, 11, 23, 13], |
| "ct": [24, 44, 39, 26, 33, 44, 8, 0, 24, 30, 11, 44, 29, 17, 30, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2057, |
| "comment": "y is maximal and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "bafb96dc2cdacad42d", |
| "msg": [39, 25, 38, 42, 17, 23, 11, 41, 21, 42, 20, 32, 0, 36, 27, 26], |
| "ct": [24, 44, 39, 26, 33, 44, 8, 1, 31, 5, 20, 0, 24, 18, 41, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2058, |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "bafb96dc2cdacad42d", |
| "msg": [16, 41, 29, 40, 25, 39, 24, 22, 43, 38, 18, 38, 24, 29, 13, 6], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 6, 41, 42, 12, 3, 24, 24, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2059, |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "bafb96dc2cdacad42d", |
| "msg": [21, 1, 21, 38, 38, 20, 27, 29, 24, 33, 25, 15, 42, 20, 4, 24], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 31, 42, 12, 14, 20, 14, 5, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2060, |
| "comment": "y is maximal and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "bafb96dc2cdacad42d", |
| "msg": [10, 16, 36, 8, 23, 26, 14, 34, 43, 30, 25, 24, 5, 10, 17, 6], |
| "ct": [3, 24, 7, 28, 13, 34, 34, 38, 25, 3, 36, 28, 32, 37, 16, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2061, |
| "comment": "y is maximal and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "bafb96dc2cdacad42d", |
| "msg": [6, 5, 16, 23, 21, 7, 7, 41, 26, 43, 42, 10, 23, 21, 28, 11], |
| "ct": [24, 44, 39, 26, 33, 44, 7, 44, 7, 3, 36, 4, 39, 5, 27, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2062, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "d976a7b38a7d2bc4c7", |
| "msg": [29, 43, 25, 43, 42, 14, 16, 0, 0, 32, 43, 11, 22, 5, 0, 44], |
| "ct": [16, 35, 2, 16, 10, 26, 36, 4, 1, 1, 35, 22, 5, 0, 27, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2063, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "d976a7b38a7d2bc4c7", |
| "msg": [14, 22, 17, 2, 3, 10, 20, 12, 32, 16, 21, 2, 41, 38, 7, 23], |
| "ct": [33, 1, 33, 11, 30, 20, 12, 38, 43, 2, 10, 42, 9, 3, 3, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2064, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "d976a7b38a7d2bc4c7", |
| "msg": [42, 4, 15, 9, 19, 6, 41, 43, 23, 37, 36, 31, 27, 8, 31, 43], |
| "ct": [40, 15, 43, 16, 7, 27, 21, 13, 8, 29, 24, 24, 8, 0, 40, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2065, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "d976a7b38a7d2bc4c7", |
| "msg": [24, 4, 23, 19, 26, 1, 14, 41, 11, 33, 27, 39, 37, 14, 29, 39], |
| "ct": [39, 34, 20, 40, 4, 20, 13, 0, 14, 42, 32, 42, 1, 23, 1, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2066, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", |
| "tweak": "a48cfeaa6646b0c5", |
| "msg": [-1, 5, 4, 40, 23, 26, 9, 15, 1, 23, 14, 17, 13, 39, 39, 5], |
| "ct": [26, 12, 24, 25, 42, 24, 23, 25, 7, 38, 21, 2, 25, 41, 36, 10], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2067, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", |
| "tweak": "a48cfeaa6646b0c5", |
| "msg": [6, 5, 4, 40, 23, -1, 9, 15, 1, 23, 14, 17, 13, 39, 39, 5], |
| "ct": [24, 13, 2, 11, 37, 11, 5, 32, 15, 0, 23, 11, 21, 28, 21, 11], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2068, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", |
| "tweak": "a48cfeaa6646b0c5", |
| "msg": [6, 5, 4, 40, 23, 26, 9, 15, 1, 23, 14, 17, 13, 39, 39, -1], |
| "ct": [12, 18, 30, 23, 15, 4, 4, 22, 2, 31, 42, 18, 7, 8, 14, 24], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2069, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "beee9885621b2a9baaca3dd835a677f9d1291d3054c965a67011f547f1347821", |
| "tweak": "a0b32a529514b6e2", |
| "msg": [45, 22, 42, 34, 17, 6, 33, 14, 29, 29, 31, 22, 10, 20, 1, 34], |
| "ct": [17, 0, 14, 22, 29, 15, 7, 42, 28, 8, 30, 5, 30, 32, 3, 14], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2070, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "beee9885621b2a9baaca3dd835a677f9d1291d3054c965a67011f547f1347821", |
| "tweak": "a0b32a529514b6e2", |
| "msg": [13, 22, 42, 34, 17, 45, 33, 14, 29, 29, 31, 22, 10, 20, 1, 34], |
| "ct": [3, 21, 3, 44, 34, 40, 40, 24, 15, 13, 37, 30, 20, 41, 21, 3], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2071, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "beee9885621b2a9baaca3dd835a677f9d1291d3054c965a67011f547f1347821", |
| "tweak": "a0b32a529514b6e2", |
| "msg": [13, 22, 42, 34, 17, 6, 33, 14, 29, 29, 31, 22, 10, 20, 1, 45], |
| "ct": [23, 10, 19, 15, 44, 40, 20, 29, 42, 28, 14, 42, 5, 22, 41, 18], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 17, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2072, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "abd43681541e9a9233091509ee06c648b45a34c0ddc73f39d804bcaf7bf31a0e", |
| "tweak": "011400c2b81f3e50", |
| "msg": [9, 12, 6, 16, 4, 21, 42, 31, 18, 15, 37, 0, 27, 3, 44, 19, 15], |
| "ct": [12, 25, 38, 24, 3, 5, 8, 2, 20, 42, 8, 41, 23, 19, 41, 40, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2073, |
| "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": [40, 43, 25, 6, 10, 34, 36, 3, 22, 12, 12, 25, 35, 21, 11, 40, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2074, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [6, 3, 42, 10, 30, 7, 27, 11, 21, 24, 11, 8, 24, 4, 34, 0, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2075, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 38, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "ct": [21, 33, 7, 6, 9, 7, 0, 10, 2, 33, 13, 6, 41, 9, 43, 4, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2076, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [23, 24, 13, 1, 24, 35, 26, 37, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "ct": [8, 2, 7, 7, 18, 32, 30, 7, 21, 6, 20, 2, 23, 42, 44, 9, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2077, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [38, 17, 23, 17, 11, 36, 33, 20, 39, 0, 28, 14, 20, 7, 13, 11, 32], |
| "ct": [14, 9, 30, 2, 7, 34, 8, 25, 16, 24, 30, 38, 35, 30, 31, 3, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2078, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [39, 11, 19, 26, 5, 43, 13, 15, 1, 42, 26, 19, 5, 43, 16, 2, 10], |
| "ct": [7, 16, 28, 0, 6, 39, 31, 19, 15, 31, 4, 24, 31, 1, 32, 33, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2079, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [23, 20, 18, 7, 31, 15, 0, 21, 3, 40, 29, 15, 38, 40, 4, 10, 10], |
| "ct": [33, 26, 31, 44, 2, 32, 5, 35, 40, 0, 5, 40, 25, 27, 42, 28, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2080, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [41, 21, 41, 18, 39, 9, 28, 42, 43, 11, 0, 32, 14, 4, 9, 0, 29], |
| "ct": [1, 24, 38, 23, 2, 44, 21, 41, 3, 39, 34, 28, 40, 22, 14, 16, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2081, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [23, 26, 1, 14, 44, 28, 15, 25, 5, 17, 44, 22, 21, 16, 35, 37, 0], |
| "ct": [18, 11, 0, 20, 30, 36, 31, 2, 35, 6, 41, 3, 38, 15, 32, 39, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2082, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [0, 30, 29, 7, 24, 19, 12, 8, 13, 27, 38, 29, 20, 33, 16, 25, 44], |
| "ct": [8, 26, 15, 32, 27, 29, 9, 44, 41, 1, 39, 20, 5, 32, 41, 12, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2083, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [34, 33, 20, 38, 19, 29, 26, 9, 8, 25, 3, 33, 36, 12, 41, 44, 15], |
| "ct": [27, 27, 21, 23, 2, 27, 41, 5, 5, 21, 37, 30, 30, 5, 2, 34, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2084, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [34, 7, 6, 34, 27, 31, 25, 26, 31, 2, 38, 23, 14, 10, 13, 16, 10], |
| "ct": [8, 6, 21, 4, 6, 36, 38, 23, 41, 16, 25, 16, 25, 22, 7, 13, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2085, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [18, 5, 17, 14, 44, 23, 15, 8, 3, 9, 4, 2, 1, 37, 37, 21, 4], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2086, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [24, 30, 23, 40, 38, 10, 14, 13, 31, 5, 41, 35, 30, 37, 21, 14, 27], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2087, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [13, 0, 9, 12, 36, 26, 27, 27, 10, 1, 27, 20, 35, 10, 13, 37, 34], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 38, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2088, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": [36, 38, 15, 33, 10, 4, 2, 19, 22, 0, 22, 8, 23, 42, 8, 30, 23], |
| "ct": [23, 24, 13, 1, 24, 35, 26, 37, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2089, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", |
| "tweak": "6460d80894ab337d", |
| "msg": [-1, 42, 42, 17, 1, 44, 10, 0, 44, 11, 11, 18, 17, 44, 42, 42, 28], |
| "ct": [4, 31, 25, 23, 34, 4, 37, 31, 25, 15, 26, 5, 5, 44, 39, 33, 24], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2090, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", |
| "tweak": "6460d80894ab337d", |
| "msg": [0, 42, 42, 17, 1, -1, 10, 0, 44, 11, 11, 18, 17, 44, 42, 42, 28], |
| "ct": [8, 22, 13, 30, 11, 19, 7, 29, 25, 17, 5, 7, 37, 40, 40, 6, 31], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2091, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", |
| "tweak": "6460d80894ab337d", |
| "msg": [0, 42, 42, 17, 1, 44, 10, 0, 44, 11, 11, 18, 17, 44, 42, 42, -1], |
| "ct": [44, 17, 26, 3, 12, 17, 27, 42, 30, 44, 13, 33, 6, 12, 40, 12, 44], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2092, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6768ab85a7b14ee1c8946bcc43f25b36de1e00c7a9813b603c35b62a2d556735", |
| "tweak": "1d2b86b921dfd8ca", |
| "msg": [45, 11, 4, 40, 10, 40, 23, 6, 20, 41, 6, 19, 1, 10, 1, 14, 1], |
| "ct": [24, 4, 22, 32, 12, 30, 35, 29, 28, 28, 11, 16, 17, 0, 3, 14, 28], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2093, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6768ab85a7b14ee1c8946bcc43f25b36de1e00c7a9813b603c35b62a2d556735", |
| "tweak": "1d2b86b921dfd8ca", |
| "msg": [6, 11, 4, 40, 10, 45, 23, 6, 20, 41, 6, 19, 1, 10, 1, 14, 1], |
| "ct": [35, 3, 6, 10, 1, 3, 25, 38, 2, 11, 27, 3, 41, 20, 16, 39, 5], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2094, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6768ab85a7b14ee1c8946bcc43f25b36de1e00c7a9813b603c35b62a2d556735", |
| "tweak": "1d2b86b921dfd8ca", |
| "msg": [6, 11, 4, 40, 10, 40, 23, 6, 20, 41, 6, 19, 1, 10, 1, 14, 45], |
| "ct": [18, 17, 42, 2, 42, 29, 15, 22, 8, 16, 43, 19, 41, 11, 25, 31, 29], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 18, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2095, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "be748dab0203d19a98eb126a8ed6fcbd99aeea49f1cff7512529f201bf0eff67", |
| "tweak": "4977c3ee944e48cb", |
| "msg": [3, 0, 6, 26, 18, 38, 36, 39, 39, 38, 37, 33, 23, 21, 43, 37, 12, 27], |
| "ct": [24, 15, 27, 25, 5, 43, 41, 42, 7, 8, 32, 23, 0, 23, 1, 6, 18, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2096, |
| "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": [1, 5, 0, 39, 39, 28, 35, 34, 1, 19, 2, 8, 1, 1, 39, 41, 36, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2097, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [37, 36, 29, 33, 27, 42, 39, 34, 14, 0, 42, 12, 4, 14, 18, 26, 28, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2098, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 2, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "ct": [31, 43, 39, 26, 37, 5, 2, 7, 24, 17, 32, 42, 1, 1, 6, 35, 39, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2099, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 1, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "ct": [38, 37, 7, 28, 7, 10, 20, 18, 3, 44, 7, 37, 35, 7, 41, 16, 43, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2100, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [36, 9, 22, 37, 3, 26, 2, 2, 39, 25, 31, 37, 23, 15, 18, 25, 35, 21], |
| "ct": [4, 9, 28, 5, 39, 29, 40, 9, 42, 20, 26, 27, 33, 33, 15, 36, 39, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2101, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [43, 15, 38, 27, 7, 9, 0, 44, 36, 27, 36, 30, 20, 43, 29, 24, 43, 43], |
| "ct": [3, 4, 40, 44, 25, 32, 34, 23, 7, 2, 37, 44, 42, 9, 23, 35, 10, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2102, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [29, 27, 31, 18, 37, 2, 4, 43, 24, 6, 32, 20, 26, 5, 41, 4, 37, 31], |
| "ct": [21, 28, 35, 1, 9, 23, 8, 16, 18, 43, 40, 14, 28, 13, 9, 3, 37, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2103, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [11, 30, 17, 36, 10, 16, 20, 0, 10, 20, 12, 36, 37, 17, 19, 0, 3, 15], |
| "ct": [23, 33, 11, 31, 38, 13, 16, 30, 3, 9, 38, 34, 26, 44, 12, 13, 31, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2104, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [39, 17, 27, 30, 6, 4, 3, 38, 24, 32, 41, 16, 16, 7, 4, 26, 6, 1], |
| "ct": [2, 22, 30, 43, 2, 40, 33, 40, 34, 10, 35, 44, 14, 23, 0, 29, 9, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2105, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [3, 29, 16, 3, 5, 19, 22, 11, 1, 37, 7, 30, 29, 21, 5, 43, 18, 38], |
| "ct": [39, 20, 0, 31, 36, 4, 31, 32, 35, 35, 13, 31, 7, 24, 40, 1, 2, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2106, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [30, 9, 33, 2, 29, 6, 23, 44, 4, 37, 29, 30, 39, 14, 4, 18, 22, 13], |
| "ct": [15, 36, 37, 9, 42, 23, 16, 2, 11, 27, 35, 21, 7, 22, 30, 0, 15, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2107, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [3, 40, 20, 6, 32, 25, 35, 14, 2, 24, 21, 14, 13, 2, 4, 0, 33, 0], |
| "ct": [7, 1, 6, 15, 39, 12, 36, 22, 7, 12, 29, 27, 12, 32, 35, 42, 16, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2108, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [20, 30, 35, 1, 44, 25, 27, 1, 30, 12, 32, 35, 40, 13, 3, 31, 4, 36], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2109, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [2, 39, 32, 29, 16, 27, 28, 13, 2, 44, 43, 36, 31, 29, 0, 24, 34, 14], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2110, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [25, 33, 0, 14, 5, 7, 37, 4, 17, 25, 30, 16, 21, 34, 30, 4, 2, 23], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 2, 33, 21, 24, 24, 9, 11, 28, 8, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2111, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": [34, 36, 12, 29, 2, 36, 5, 33, 41, 31, 22, 29, 43, 42, 24, 24, 21, 23], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 1, 33, 21, 24, 24, 9, 11, 28, 8, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2112, |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "9e21f158d2ebeaa0", |
| "msg": [15, 10, 14, 1, 28, 30, 0, 27, 2, 12, 6, 24, 15, 32, 4, 35, 29, 1], |
| "ct": [42, 27, 30, 3, 14, 23, 2, 3, 18, 31, 14, 37, 33, 18, 13, 21, 4, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2113, |
| "comment": "y = 0 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "9e21f158d2ebeaa0", |
| "msg": [25, 24, 6, 31, 24, 3, 26, 37, 12, 39, 41, 32, 2, 38, 7, 31, 31, 23], |
| "ct": [27, 29, 35, 37, 26, 5, 28, 24, 14, 22, 36, 0, 25, 0, 36, 22, 15, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2114, |
| "comment": "y = 0 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "9e21f158d2ebeaa0", |
| "msg": [44, 10, 11, 1, 30, 34, 38, 4, 10, 9, 6, 36, 16, 22, 43, 21, 23, 6], |
| "ct": [14, 31, 24, 15, 4, 28, 13, 2, 32, 38, 33, 39, 34, 2, 26, 0, 35, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2115, |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "9e21f158d2ebeaa0", |
| "msg": [16, 26, 21, 30, 41, 44, 39, 21, 1, 6, 25, 17, 27, 44, 44, 32, 19, 2], |
| "ct": [30, 20, 9, 6, 36, 36, 16, 22, 25, 22, 10, 44, 17, 41, 5, 40, 23, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2116, |
| "comment": "y = 1 and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "a18a2745f79828ef", |
| "msg": [25, 23, 32, 35, 21, 34, 41, 15, 21, 16, 17, 23, 6, 30, 13, 8, 4, 11], |
| "ct": [42, 35, 28, 37, 10, 22, 13, 33, 8, 27, 36, 2, 9, 19, 29, 27, 6, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2117, |
| "comment": "y = 1 and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "a18a2745f79828ef", |
| "msg": [8, 37, 0, 42, 41, 38, 0, 30, 16, 32, 9, 43, 36, 10, 16, 38, 18, 34], |
| "ct": [11, 36, 41, 41, 38, 14, 38, 44, 10, 14, 41, 28, 37, 4, 44, 18, 28, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2118, |
| "comment": "y = 1 and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "a18a2745f79828ef", |
| "msg": [33, 28, 21, 34, 43, 35, 21, 33, 6, 44, 36, 14, 11, 38, 22, 24, 40, 18], |
| "ct": [24, 42, 10, 13, 2, 31, 21, 36, 19, 13, 4, 26, 10, 34, 5, 5, 26, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2119, |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "a18a2745f79828ef", |
| "msg": [5, 17, 25, 23, 10, 25, 3, 21, 4, 13, 0, 3, 17, 2, 14, 32, 25, 11], |
| "ct": [3, 38, 37, 20, 35, 34, 41, 11, 6, 23, 11, 4, 2, 24, 34, 12, 15, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2120, |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "a18a2745f79828ef", |
| "msg": [9, 21, 17, 15, 21, 40, 2, 28, 25, 37, 33, 32, 22, 40, 27, 9, 19, 13], |
| "ct": [2, 29, 3, 4, 41, 3, 38, 17, 7, 39, 40, 27, 12, 11, 44, 16, 37, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2121, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "b4b35635e44bc1aa", |
| "msg": [14, 21, 20, 21, 30, 15, 8, 24, 7, 43, 38, 38, 25, 37, 14, 11, 10, 10], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 37, 7, 31, 28, 38, 12, 28, 17, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2122, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "b4b35635e44bc1aa", |
| "msg": [14, 10, 32, 3, 42, 28, 22, 4, 21, 0, 24, 39, 3, 7, 37, 32, 24, 15], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 12, 20, 41, 44, 10, 1, 35, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2123, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "b4b35635e44bc1aa", |
| "msg": [1, 42, 7, 1, 42, 32, 29, 31, 14, 31, 15, 6, 12, 27, 5, 24, 5, 42], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 1, 41, 17, 5, 11, 34, 34, 29, 17, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2124, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "b4b35635e44bc1aa", |
| "msg": [16, 32, 19, 10, 35, 29, 5, 10, 3, 1, 1, 29, 2, 11, 4, 36, 7, 15], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 43, 38, 24, 39, 1, 39, 1, 12, 32, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2125, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", |
| "tweak": "ff61916e9620be47", |
| "msg": [-1, 1, 43, 26, 27, 18, 37, 31, 36, 27, 28, 6, 2, 34, 29, 28, 18, 40], |
| "ct": [8, 10, 37, 23, 33, 34, 16, 7, 31, 44, 25, 8, 3, 13, 7, 1, 29, 26], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2126, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", |
| "tweak": "ff61916e9620be47", |
| "msg": [21, 1, 43, 26, 27, 18, -1, 31, 36, 27, 28, 6, 2, 34, 29, 28, 18, 40], |
| "ct": [2, 21, 2, 37, 14, 0, 32, 16, 22, 31, 17, 14, 21, 8, 22, 32, 28, 32], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2127, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", |
| "tweak": "ff61916e9620be47", |
| "msg": [21, 1, 43, 26, 27, 18, 37, 31, 36, 27, 28, 6, 2, 34, 29, 28, 18, -1], |
| "ct": [30, 21, 41, 8, 39, 10, 24, 23, 6, 19, 14, 23, 16, 31, 31, 2, 28, 4], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2128, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c65fe9c8060fef8921030f57b4a6aabaaa0377306047ef5b352ab3f7e5c6bb6d", |
| "tweak": "ca8eb1a0bc629473", |
| "msg": [45, 4, 20, 30, 17, 34, 41, 42, 0, 26, 5, 4, 4, 34, 25, 20, 37, 30], |
| "ct": [33, 33, 43, 18, 35, 16, 13, 1, 33, 6, 33, 17, 28, 12, 27, 40, 3, 7], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2129, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c65fe9c8060fef8921030f57b4a6aabaaa0377306047ef5b352ab3f7e5c6bb6d", |
| "tweak": "ca8eb1a0bc629473", |
| "msg": [32, 4, 20, 30, 17, 34, 45, 42, 0, 26, 5, 4, 4, 34, 25, 20, 37, 30], |
| "ct": [21, 44, 15, 12, 41, 44, 13, 14, 43, 24, 34, 9, 13, 10, 44, 33, 18, 16], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2130, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c65fe9c8060fef8921030f57b4a6aabaaa0377306047ef5b352ab3f7e5c6bb6d", |
| "tweak": "ca8eb1a0bc629473", |
| "msg": [32, 4, 20, 30, 17, 34, 41, 42, 0, 26, 5, 4, 4, 34, 25, 20, 37, 45], |
| "ct": [13, 31, 11, 19, 7, 34, 6, 9, 7, 5, 32, 14, 44, 40, 41, 41, 22, 32], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 19, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2131, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "1ba9f170be79c755e07202291871538a2c1b47600b59ec264c04d27f61cd3c28", |
| "tweak": "c8655169a0f80a05", |
| "msg": [9, 11, 4, 33, 15, 34, 15, 5, 24, 28, 25, 7, 32, 31, 5, 16, 18, 33, 33], |
| "ct": [18, 27, 40, 7, 27, 25, 3, 41, 10, 44, 31, 14, 24, 3, 2, 2, 2, 26, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2132, |
| "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": [10, 22, 31, 34, 7, 42, 44, 5, 15, 2, 2, 21, 39, 2, 24, 25, 9, 24, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2133, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [43, 28, 44, 12, 43, 21, 4, 15, 18, 8, 15, 43, 19, 22, 31, 26, 24, 41, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2134, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 2, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "ct": [1, 41, 18, 17, 31, 22, 16, 27, 39, 0, 17, 16, 14, 25, 33, 40, 29, 37, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2135, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [33, 21, 24, 24, 9, 11, 28, 8, 1, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "ct": [42, 38, 1, 11, 25, 14, 27, 23, 11, 15, 22, 6, 29, 7, 27, 3, 37, 11, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2136, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [39, 24, 43, 16, 11, 11, 6, 9, 41, 40, 39, 11, 11, 5, 1, 12, 4, 23, 43], |
| "ct": [22, 2, 11, 1, 24, 0, 7, 1, 27, 40, 25, 37, 4, 36, 22, 24, 26, 32, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2137, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [20, 42, 39, 33, 3, 18, 43, 10, 7, 3, 29, 34, 29, 43, 18, 41, 19, 8, 12], |
| "ct": [6, 2, 30, 7, 34, 2, 31, 32, 2, 17, 22, 21, 1, 28, 11, 12, 33, 30, 8], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2138, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [40, 23, 11, 28, 9, 29, 10, 38, 20, 9, 34, 43, 32, 44, 12, 12, 24, 39, 40], |
| "ct": [6, 31, 3, 3, 31, 39, 8, 27, 43, 19, 32, 12, 36, 29, 39, 14, 37, 7, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2139, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [22, 35, 7, 44, 29, 30, 39, 21, 9, 17, 31, 5, 10, 7, 25, 12, 31, 15, 19], |
| "ct": [30, 4, 7, 9, 1, 31, 42, 6, 40, 13, 5, 13, 0, 20, 0, 17, 16, 41, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2140, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [2, 23, 4, 44, 13, 16, 23, 29, 14, 6, 30, 32, 1, 12, 44, 29, 4, 20, 3], |
| "ct": [9, 1, 35, 7, 36, 35, 18, 15, 23, 13, 8, 31, 42, 41, 34, 43, 34, 39, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2141, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [6, 23, 4, 25, 18, 7, 11, 20, 33, 16, 37, 32, 31, 37, 8, 15, 38, 13, 37], |
| "ct": [29, 18, 6, 33, 23, 43, 21, 27, 16, 3, 1, 13, 29, 24, 20, 38, 29, 9, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2142, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [4, 39, 1, 21, 27, 22, 33, 22, 5, 26, 31, 37, 33, 10, 13, 17, 12, 2, 18], |
| "ct": [7, 22, 34, 34, 40, 33, 30, 20, 4, 28, 18, 26, 34, 1, 43, 21, 31, 3, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2143, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [23, 10, 7, 35, 35, 31, 44, 44, 32, 7, 37, 5, 31, 44, 29, 24, 31, 32, 22], |
| "ct": [4, 5, 42, 10, 42, 16, 20, 23, 6, 5, 18, 0, 12, 20, 36, 44, 36, 29, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2144, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [19, 13, 11, 24, 9, 39, 37, 3, 39, 40, 35, 24, 21, 42, 27, 8, 21, 15, 34], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2145, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [44, 16, 13, 9, 41, 32, 18, 17, 37, 11, 34, 35, 4, 32, 27, 20, 36, 7, 10], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2146, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [5, 27, 35, 7, 25, 14, 31, 0, 5, 41, 31, 39, 35, 13, 25, 44, 22, 26, 6], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 2, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2147, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": [16, 20, 12, 27, 43, 25, 32, 42, 21, 14, 23, 0, 17, 6, 25, 31, 1, 9, 12], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 1, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2148, |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6d484ad9507a5baf", |
| "msg": [20, 0, 15, 44, 26, 32, 38, 15, 5, 39, 12, 32, 44, 29, 0, 40, 13, 35, 7], |
| "ct": [8, 11, 2, 40, 15, 9, 44, 40, 13, 30, 14, 35, 10, 42, 30, 0, 15, 32, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2149, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6d484ad9507a5baf", |
| "msg": [28, 1, 8, 25, 14, 23, 14, 18, 42, 9, 6, 2, 26, 32, 4, 18, 38, 43, 25], |
| "ct": [21, 18, 14, 24, 19, 29, 10, 32, 14, 42, 44, 1, 20, 32, 13, 30, 44, 8, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2150, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6d484ad9507a5baf", |
| "msg": [21, 31, 42, 19, 39, 24, 24, 9, 36, 2, 22, 0, 9, 19, 25, 12, 22, 2, 5], |
| "ct": [3, 16, 18, 5, 8, 1, 33, 19, 22, 8, 25, 11, 38, 18, 22, 30, 20, 12, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2151, |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6d484ad9507a5baf", |
| "msg": [5, 3, 16, 18, 29, 41, 22, 32, 3, 4, 28, 15, 2, 32, 34, 18, 1, 2, 16], |
| "ct": [24, 27, 16, 32, 25, 19, 23, 28, 10, 14, 32, 11, 20, 33, 12, 12, 28, 9, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2152, |
| "comment": "y = 1 and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6c1901c7a1956f7d", |
| "msg": [32, 33, 10, 29, 27, 26, 36, 16, 32, 4, 32, 4, 12, 35, 13, 12, 40, 16, 36], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 1, 40, 32, 25, 22, 7, 0, 29, 7, 1, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2153, |
| "comment": "y = 1 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6c1901c7a1956f7d", |
| "msg": [5, 9, 12, 37, 3, 1, 11, 12, 15, 23, 8, 28, 14, 21, 18, 10, 11, 23, 42], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 2, 15, 1, 12, 38, 41, 38, 23, 11, 11, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2154, |
| "comment": "y = 1 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6c1901c7a1956f7d", |
| "msg": [44, 15, 11, 35, 9, 30, 32, 14, 32, 10, 44, 6, 37, 14, 39, 33, 33, 29, 1], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 3, 9, 23, 31, 22, 7, 9, 28, 32, 41, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2155, |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6c1901c7a1956f7d", |
| "msg": [27, 32, 20, 37, 2, 43, 11, 32, 34, 25, 33, 8, 23, 6, 26, 6, 44, 14, 0], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 4, 42, 3, 36, 41, 41, 40, 14, 41, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2156, |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6c1901c7a1956f7d", |
| "msg": [6, 14, 43, 39, 33, 35, 5, 6, 1, 19, 23, 23, 18, 19, 3, 14, 1, 13, 10], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 27, 20, 10, 43, 6, 1, 10, 30, 9, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2157, |
| "comment": "y is maximal and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "931c6092b19e2186", |
| "msg": [20, 1, 12, 7, 40, 13, 8, 30, 7, 28, 0, 23, 34, 7, 14, 9, 37, 3, 9], |
| "ct": [29, 36, 21, 41, 33, 5, 33, 29, 2, 38, 11, 18, 3, 4, 14, 20, 35, 20, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2158, |
| "comment": "y is maximal and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "931c6092b19e2186", |
| "msg": [27, 11, 28, 41, 18, 1, 18, 11, 13, 1, 33, 27, 21, 26, 30, 33, 14, 40, 23], |
| "ct": [44, 10, 17, 10, 32, 30, 0, 33, 34, 24, 42, 22, 24, 15, 26, 34, 42, 5, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2159, |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "931c6092b19e2186", |
| "msg": [24, 13, 42, 29, 30, 13, 43, 41, 2, 11, 12, 14, 4, 37, 13, 17, 0, 20, 35], |
| "ct": [16, 28, 1, 33, 21, 34, 9, 21, 17, 34, 9, 0, 23, 5, 41, 15, 44, 27, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2160, |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "931c6092b19e2186", |
| "msg": [28, 7, 5, 2, 5, 17, 12, 25, 1, 27, 20, 25, 38, 11, 41, 41, 32, 29, 14], |
| "ct": [21, 40, 17, 13, 2, 35, 28, 19, 25, 38, 4, 30, 6, 7, 27, 15, 16, 6, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2161, |
| "comment": "y is maximal and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "931c6092b19e2186", |
| "msg": [22, 42, 37, 30, 18, 9, 24, 5, 10, 8, 42, 15, 1, 14, 44, 28, 14, 7, 19], |
| "ct": [7, 44, 0, 42, 26, 21, 41, 12, 37, 32, 29, 17, 15, 21, 11, 29, 1, 25, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2162, |
| "comment": "y is maximal and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "931c6092b19e2186", |
| "msg": [0, 12, 26, 40, 26, 5, 17, 24, 28, 25, 36, 18, 22, 11, 40, 0, 5, 10, 31], |
| "ct": [33, 19, 37, 5, 13, 20, 32, 13, 3, 20, 7, 20, 36, 36, 28, 11, 13, 34, 35], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2163, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "1277def2e35c8d88", |
| "msg": [36, 36, 8, 20, 23, 22, 25, 1, 3, 8, 39, 30, 44, 3, 7, 17, 23, 32, 23], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 32, 9, 34, 21, 21, 15, 7, 32, 6, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2164, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "1277def2e35c8d88", |
| "msg": [38, 34, 5, 36, 10, 3, 39, 19, 20, 43, 2, 33, 38, 44, 8, 42, 42, 40, 35], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 19, 14, 22, 7, 1, 38, 42, 14, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2165, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "1277def2e35c8d88", |
| "msg": [0, 6, 43, 0, 15, 23, 14, 4, 10, 2, 30, 32, 38, 34, 32, 23, 29, 0, 39], |
| "ct": [33, 21, 24, 24, 9, 11, 28, 8, 1, 42, 8, 22, 6, 17, 34, 1, 10, 32, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2166, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "1277def2e35c8d88", |
| "msg": [10, 19, 3, 1, 42, 5, 20, 27, 18, 8, 23, 1, 18, 21, 4, 29, 41, 27, 12], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 43, 21, 15, 17, 9, 5, 2, 37, 21, 23, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2167, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", |
| "tweak": "9561fc88a8ee3dda", |
| "msg": [-1, 17, 8, 42, 17, 11, 42, 29, 3, 23, 5, 16, 33, 12, 25, 16, 27, 22, 13], |
| "ct": [39, 11, 7, 23, 24, 19, 41, 7, 4, 12, 14, 27, 26, 36, 16, 37, 20, 1, 12], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2168, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", |
| "tweak": "9561fc88a8ee3dda", |
| "msg": [5, 17, 8, 42, 17, 11, -1, 29, 3, 23, 5, 16, 33, 12, 25, 16, 27, 22, 13], |
| "ct": [4, 19, 6, 3, 33, 41, 39, 5, 41, 41, 16, 10, 31, 31, 36, 9, 15, 32, 1], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2169, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", |
| "tweak": "9561fc88a8ee3dda", |
| "msg": [5, 17, 8, 42, 17, 11, 42, 29, 3, 23, 5, 16, 33, 12, 25, 16, 27, 22, -1], |
| "ct": [35, 20, 25, 14, 16, 5, 15, 14, 5, 9, 36, 21, 34, 44, 4, 2, 16, 8, 27], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2170, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2c296f663b2b36eb6f8b1258abb00265f42d72d4ed99ee711bbe648586b43709", |
| "tweak": "41bba7b33a3a0349", |
| "msg": [45, 23, 9, 3, 13, 21, 13, 42, 12, 23, 35, 24, 41, 24, 29, 0, 14, 31, 10], |
| "ct": [21, 11, 0, 0, 42, 39, 6, 23, 23, 33, 20, 17, 1, 25, 38, 28, 2, 15, 44], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2171, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2c296f663b2b36eb6f8b1258abb00265f42d72d4ed99ee711bbe648586b43709", |
| "tweak": "41bba7b33a3a0349", |
| "msg": [2, 23, 9, 3, 13, 21, 45, 42, 12, 23, 35, 24, 41, 24, 29, 0, 14, 31, 10], |
| "ct": [30, 18, 23, 3, 24, 2, 40, 41, 37, 12, 39, 12, 42, 21, 19, 12, 33, 10, 18], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2172, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2c296f663b2b36eb6f8b1258abb00265f42d72d4ed99ee711bbe648586b43709", |
| "tweak": "41bba7b33a3a0349", |
| "msg": [2, 23, 9, 3, 13, 21, 13, 42, 12, 23, 35, 24, 41, 24, 29, 0, 14, 31, 45], |
| "ct": [20, 29, 44, 24, 15, 4, 25, 17, 27, 17, 38, 35, 5, 42, 11, 34, 14, 33, 5], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 20, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2173, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "4c4c444584b22485ca88c6afcdbb7beb70c7271f1dece986e93f8c26dceedde2", |
| "tweak": "be2f2b3534bdde03", |
| "msg": [43, 32, 14, 23, 13, 10, 34, 31, 41, 34, 19, 33, 5, 5, 3, 5, 29, 20, 10, 11], |
| "ct": [28, 7, 4, 6, 25, 9, 36, 32, 22, 12, 39, 15, 22, 33, 40, 14, 11, 38, 18, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2174, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [17, 27, 4, 33, 33, 16, 14, 34, 15, 11, 3, 5, 36, 14, 17, 20, 28, 36, 44, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2175, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [32, 26, 41, 33, 38, 42, 24, 16, 1, 41, 43, 29, 30, 42, 11, 21, 12, 1, 39, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2176, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "ct": [4, 34, 20, 33, 29, 37, 4, 16, 39, 15, 4, 3, 40, 0, 4, 23, 12, 13, 29, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2177, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "ct": [36, 11, 7, 34, 2, 18, 4, 15, 16, 14, 39, 19, 3, 35, 27, 40, 2, 31, 42, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2178, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [22, 31, 19, 36, 31, 10, 19, 25, 16, 40, 42, 29, 20, 12, 15, 12, 14, 33, 43, 37], |
| "ct": [36, 18, 21, 21, 19, 4, 2, 42, 3, 2, 5, 6, 37, 44, 16, 18, 33, 40, 33, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2179, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [13, 30, 28, 8, 17, 17, 2, 44, 42, 4, 40, 17, 27, 34, 32, 13, 24, 32, 35, 9], |
| "ct": [15, 1, 43, 26, 4, 36, 37, 8, 6, 15, 20, 7, 42, 24, 44, 8, 40, 12, 25, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2180, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [12, 6, 18, 26, 19, 17, 24, 24, 31, 32, 4, 5, 19, 33, 37, 17, 24, 6, 1, 16], |
| "ct": [42, 9, 34, 5, 32, 23, 0, 31, 27, 40, 29, 21, 43, 41, 11, 34, 33, 0, 0, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2181, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [9, 1, 31, 31, 23, 10, 37, 32, 4, 27, 33, 14, 37, 40, 19, 1, 40, 10, 15, 2], |
| "ct": [21, 3, 1, 39, 35, 44, 16, 21, 32, 17, 25, 30, 31, 33, 36, 15, 31, 12, 1, 25], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2182, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [26, 7, 8, 2, 33, 38, 30, 41, 13, 23, 32, 29, 26, 28, 31, 19, 0, 5, 4, 0], |
| "ct": [19, 38, 2, 43, 22, 36, 9, 5, 34, 44, 7, 40, 24, 31, 42, 18, 41, 43, 20, 14], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2183, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [4, 33, 22, 11, 37, 44, 17, 23, 33, 19, 40, 2, 25, 14, 6, 13, 37, 29, 42, 12], |
| "ct": [18, 13, 17, 12, 43, 25, 30, 3, 32, 12, 36, 26, 24, 9, 29, 30, 14, 2, 0, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2184, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [42, 4, 35, 11, 5, 35, 30, 3, 16, 4, 3, 25, 11, 20, 33, 37, 32, 9, 18, 3], |
| "ct": [7, 7, 23, 33, 24, 43, 31, 9, 43, 24, 44, 10, 27, 32, 30, 29, 22, 13, 37, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2185, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [34, 6, 35, 15, 42, 36, 14, 41, 12, 25, 1, 5, 32, 1, 38, 42, 2, 33, 24, 6], |
| "ct": [7, 21, 2, 7, 12, 22, 10, 1, 40, 8, 1, 5, 29, 22, 1, 0, 26, 6, 26, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2186, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [0, 38, 18, 29, 30, 2, 8, 23, 30, 20, 25, 24, 35, 25, 26, 22, 43, 12, 9, 38], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2187, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [8, 13, 26, 41, 7, 0, 14, 24, 0, 12, 23, 10, 4, 34, 12, 20, 8, 17, 43, 17], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2188, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [10, 33, 2, 36, 19, 25, 33, 27, 7, 40, 0, 6, 28, 8, 10, 4, 15, 38, 27, 22], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2189, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": [8, 6, 6, 44, 32, 41, 7, 31, 25, 32, 41, 22, 5, 39, 38, 2, 33, 35, 7, 28], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 23, 36, 14, 20, 9, 26, 12, 1, 32, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2190, |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "88c76d2dd0d84189", |
| "msg": [6, 25, 35, 15, 4, 42, 42, 16, 23, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [38, 18, 18, 6, 5, 26, 1, 11, 41, 14, 6, 34, 11, 5, 12, 30, 37, 28, 25, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2191, |
| "comment": "y = 0 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "88c76d2dd0d84189", |
| "msg": [25, 35, 17, 9, 23, 2, 39, 42, 24, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], |
| "ct": [40, 13, 34, 0, 30, 15, 33, 25, 12, 32, 29, 14, 7, 5, 39, 18, 5, 15, 24, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2192, |
| "comment": "y = 0 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "88c76d2dd0d84189", |
| "msg": [13, 0, 0, 9, 5, 0, 25, 1, 3, 44, 23, 36, 14, 20, 9, 26, 12, 1, 32, 19], |
| "ct": [16, 7, 42, 2, 34, 38, 11, 10, 40, 39, 15, 12, 22, 3, 7, 2, 32, 28, 40, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2193, |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "88c76d2dd0d84189", |
| "msg": [9, 25, 8, 32, 34, 14, 2, 26, 34, 40, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [31, 0, 4, 41, 3, 2, 43, 4, 42, 25, 42, 33, 19, 41, 4, 7, 2, 40, 33, 11], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2194, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "85ba1da082f2e062", |
| "msg": [2, 12, 41, 43, 2, 39, 0, 24, 36, 37, 29, 2, 41, 14, 8, 1, 6, 26, 11, 10], |
| "ct": [15, 37, 43, 38, 9, 6, 0, 13, 44, 19, 28, 19, 4, 19, 16, 4, 36, 5, 12, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2195, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "85ba1da082f2e062", |
| "msg": [26, 44, 20, 7, 3, 35, 8, 33, 35, 5, 16, 24, 13, 36, 17, 34, 19, 1, 21, 12], |
| "ct": [8, 37, 16, 3, 38, 41, 37, 19, 32, 4, 17, 6, 39, 39, 39, 16, 17, 7, 8, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2196, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "85ba1da082f2e062", |
| "msg": [35, 9, 14, 32, 8, 6, 8, 32, 19, 34, 39, 15, 18, 43, 37, 38, 42, 20, 25, 25], |
| "ct": [13, 3, 24, 15, 36, 31, 15, 37, 43, 42, 25, 24, 37, 28, 44, 11, 8, 37, 17, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2197, |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "85ba1da082f2e062", |
| "msg": [10, 20, 35, 18, 27, 13, 33, 19, 1, 24, 29, 37, 17, 2, 6, 16, 8, 2, 43, 17], |
| "ct": [11, 14, 41, 16, 27, 21, 7, 6, 11, 23, 32, 25, 24, 8, 19, 20, 18, 31, 10, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2198, |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "85ba1da082f2e062", |
| "msg": [42, 10, 12, 16, 35, 29, 0, 12, 3, 19, 29, 18, 25, 1, 27, 13, 20, 21, 4, 43], |
| "ct": [9, 40, 33, 33, 32, 20, 6, 3, 3, 24, 30, 12, 36, 12, 2, 28, 27, 18, 2, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2199, |
| "comment": "y is maximal and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "8acd275f6bc59a1f", |
| "msg": [29, 33, 28, 42, 10, 30, 40, 44, 2, 10, 20, 32, 38, 34, 37, 39, 9, 31, 6, 44], |
| "ct": [37, 16, 5, 1, 40, 32, 9, 40, 15, 2, 43, 22, 14, 2, 9, 37, 31, 37, 20, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2200, |
| "comment": "y is maximal and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "8acd275f6bc59a1f", |
| "msg": [41, 0, 17, 15, 6, 10, 24, 18, 10, 20, 29, 26, 5, 9, 40, 31, 34, 9, 8, 37], |
| "ct": [17, 27, 24, 29, 23, 35, 38, 28, 11, 35, 23, 5, 3, 2, 33, 31, 43, 24, 31, 13], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2201, |
| "comment": "y is maximal and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "8acd275f6bc59a1f", |
| "msg": [20, 25, 18, 9, 38, 15, 28, 20, 9, 25, 22, 27, 30, 6, 16, 24, 36, 39, 42, 38], |
| "ct": [22, 14, 18, 27, 28, 1, 39, 5, 20, 24, 11, 41, 36, 35, 22, 20, 35, 4, 13, 21], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2202, |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "8acd275f6bc59a1f", |
| "msg": [28, 31, 16, 24, 15, 17, 33, 8, 23, 25, 6, 43, 31, 26, 32, 27, 19, 30, 44, 2], |
| "ct": [28, 34, 26, 1, 28, 31, 44, 0, 7, 23, 0, 39, 17, 32, 31, 43, 31, 3, 41, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2203, |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "8acd275f6bc59a1f", |
| "msg": [7, 35, 37, 41, 2, 27, 41, 26, 7, 15, 2, 22, 34, 38, 3, 40, 43, 18, 27, 27], |
| "ct": [19, 22, 15, 41, 10, 37, 25, 2, 23, 4, 1, 4, 43, 17, 36, 16, 36, 25, 27, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2204, |
| "comment": "y is maximal and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "8acd275f6bc59a1f", |
| "msg": [41, 44, 44, 7, 14, 5, 0, 10, 19, 33, 19, 17, 43, 16, 9, 32, 22, 3, 6, 27], |
| "ct": [24, 27, 31, 1, 43, 42, 22, 21, 7, 12, 23, 3, 35, 22, 24, 2, 11, 4, 25, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2205, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "59a451c1c7457d78", |
| "msg": [25, 5, 43, 38, 31, 26, 40, 8, 9, 13, 27, 1, 32, 12, 19, 10, 12, 36, 27, 44], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 13, 2, 27, 43, 20, 12, 25, 6, 11, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2206, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "59a451c1c7457d78", |
| "msg": [24, 40, 27, 22, 24, 35, 1, 38, 39, 37, 1, 9, 2, 32, 20, 15, 31, 22, 36, 8], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, 23, 42, 20, 37, 32, 43, 38, 44, 38], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2207, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "59a451c1c7457d78", |
| "msg": [3, 6, 0, 3, 15, 44, 34, 8, 31, 17, 24, 39, 40, 19, 2, 28, 34, 42, 0, 22], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 18, 29, 5, 17, 6, 11, 30, 42, 30, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2208, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "59a451c1c7457d78", |
| "msg": [17, 2, 44, 39, 13, 24, 9, 31, 42, 28, 7, 37, 15, 33, 7, 22, 7, 36, 32, 32], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 43, 23, 14, 16, 22, 6, 11, 30, 41, 3, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2209, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28", |
| "tweak": "daa46c7bc98cf1f4", |
| "msg": [-1, 33, 41, 44, 41, 22, 36, 33, 23, 7, 24, 38, 12, 43, 18, 5, 3, 27, 18, 20], |
| "ct": [38, 17, 15, 41, 36, 11, 27, 41, 34, 10, 30, 7, 33, 40, 9, 37, 6, 41, 7, 29], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2210, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28", |
| "tweak": "daa46c7bc98cf1f4", |
| "msg": [26, 33, 41, 44, 41, 22, -1, 33, 23, 7, 24, 38, 12, 43, 18, 5, 3, 27, 18, 20], |
| "ct": [44, 22, 35, 11, 17, 23, 38, 9, 30, 28, 43, 33, 29, 32, 12, 2, 4, 17, 14, 19], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2211, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28", |
| "tweak": "daa46c7bc98cf1f4", |
| "msg": [26, 33, 41, 44, 41, 22, 36, 33, 23, 7, 24, 38, 12, 43, 18, 5, 3, 27, 18, -1], |
| "ct": [25, 36, 26, 35, 35, 19, 21, 39, 16, 17, 2, 3, 29, 26, 37, 41, 43, 11, 3, 44], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2212, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0385e53bd78a91e39304bb26d3773ab30f26147510e79fd7f60b93af0e400c03", |
| "tweak": "16e0a4849cbce1d0", |
| "msg": [45, 13, 29, 21, 32, 36, 19, 33, 17, 26, 6, 19, 35, 36, 18, 17, 26, 44, 32, 4], |
| "ct": [30, 42, 31, 15, 22, 34, 40, 20, 40, 15, 27, 9, 40, 44, 39, 4, 17, 25, 36, 0], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2213, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0385e53bd78a91e39304bb26d3773ab30f26147510e79fd7f60b93af0e400c03", |
| "tweak": "16e0a4849cbce1d0", |
| "msg": [18, 13, 29, 21, 32, 36, 45, 33, 17, 26, 6, 19, 35, 36, 18, 17, 26, 44, 32, 4], |
| "ct": [34, 0, 20, 32, 18, 39, 32, 25, 7, 8, 6, 10, 20, 38, 27, 2, 2, 22, 20, 27], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2214, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0385e53bd78a91e39304bb26d3773ab30f26147510e79fd7f60b93af0e400c03", |
| "tweak": "16e0a4849cbce1d0", |
| "msg": [18, 13, 29, 21, 32, 36, 19, 33, 17, 26, 6, 19, 35, 36, 18, 17, 26, 44, 32, 45], |
| "ct": [0, 39, 22, 31, 10, 41, 3, 40, 29, 6, 44, 31, 6, 13, 13, 5, 34, 34, 16, 5], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 21, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2215, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "dda27ee12a33f1e1d641185aa62d77f8788cb29adf7c1d869e5476e04cf8d6a2", |
| "tweak": "a07df02be247e7f9", |
| "msg": [39, 14, 31, 35, 16, 43, 23, 35, 32, 18, 44, 32, 37, 13, 32, 3, 9, 9, 5, 34, 0], |
| "ct": [6, 37, 31, 17, 44, 34, 28, 27, 25, 12, 15, 24, 17, 13, 19, 36, 11, 14, 24, 28, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2216, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [25, 22, 0, 35, 41, 13, 13, 3, 34, 34, 43, 40, 33, 8, 33, 28, 35, 26, 39, 22, 20], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2217, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [20, 37, 7, 0, 32, 0, 42, 2, 4, 0, 40, 7, 1, 5, 8, 12, 36, 7, 15, 16, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2218, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "ct": [25, 41, 7, 41, 33, 29, 18, 35, 7, 14, 19, 17, 35, 33, 20, 18, 5, 32, 24, 30, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2219, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "ct": [2, 33, 35, 5, 0, 2, 25, 20, 14, 5, 16, 10, 38, 32, 0, 21, 15, 25, 31, 13, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2220, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [13, 20, 6, 25, 1, 15, 26, 33, 4, 23, 17, 8, 34, 24, 32, 37, 10, 2, 5, 21, 1], |
| "ct": [33, 8, 6, 21, 14, 0, 5, 28, 23, 34, 37, 13, 24, 21, 30, 5, 33, 21, 9, 6, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2221, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [6, 23, 26, 26, 33, 12, 38, 4, 25, 42, 24, 39, 18, 40, 0, 39, 18, 2, 8, 2, 44], |
| "ct": [34, 19, 6, 21, 5, 20, 24, 35, 24, 5, 28, 4, 10, 11, 13, 18, 15, 4, 38, 36, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2222, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [13, 26, 23, 20, 6, 29, 16, 11, 33, 42, 4, 1, 2, 15, 3, 39, 13, 31, 16, 1, 27], |
| "ct": [24, 2, 43, 1, 13, 4, 35, 33, 43, 33, 41, 39, 33, 2, 16, 30, 44, 26, 14, 22, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2223, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [43, 32, 41, 2, 39, 1, 11, 20, 20, 25, 20, 10, 24, 19, 43, 15, 30, 40, 19, 15, 23], |
| "ct": [38, 7, 41, 14, 3, 42, 22, 24, 18, 25, 15, 0, 10, 6, 44, 11, 35, 35, 1, 43, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2224, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [21, 6, 30, 8, 37, 7, 13, 38, 38, 2, 6, 28, 30, 22, 9, 38, 13, 6, 44, 43, 41], |
| "ct": [39, 25, 42, 39, 10, 10, 3, 16, 15, 5, 22, 17, 29, 10, 18, 23, 16, 33, 34, 33, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2225, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [6, 43, 16, 2, 43, 10, 23, 13, 30, 38, 30, 38, 4, 25, 19, 33, 29, 19, 33, 36, 3], |
| "ct": [44, 19, 42, 22, 17, 31, 26, 6, 8, 14, 19, 11, 14, 31, 12, 5, 35, 10, 37, 11, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2226, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [39, 0, 36, 32, 14, 28, 0, 9, 25, 30, 6, 43, 41, 16, 11, 24, 6, 7, 8, 18, 5], |
| "ct": [30, 26, 44, 0, 4, 2, 34, 36, 0, 31, 11, 31, 13, 40, 15, 14, 17, 8, 6, 8, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2227, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [30, 8, 33, 19, 6, 27, 8, 0, 24, 21, 3, 0, 38, 28, 43, 39, 8, 24, 40, 40, 39], |
| "ct": [16, 28, 27, 40, 22, 9, 32, 43, 32, 1, 13, 31, 29, 39, 14, 2, 18, 39, 26, 43, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2228, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [23, 18, 13, 27, 28, 14, 22, 37, 3, 33, 11, 8, 33, 3, 40, 2, 15, 15, 41, 37, 6], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2229, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [8, 14, 13, 41, 2, 35, 4, 0, 41, 25, 26, 17, 34, 19, 40, 1, 37, 38, 15, 23, 36], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2230, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [36, 35, 44, 42, 22, 36, 27, 38, 34, 42, 37, 12, 2, 30, 44, 1, 16, 12, 5, 34, 44], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2231, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": [34, 23, 1, 12, 29, 19, 31, 38, 27, 21, 25, 33, 15, 42, 44, 21, 2, 9, 19, 2, 16], |
| "ct": [23, 36, 14, 20, 9, 26, 12, 1, 32, 18, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2232, |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "e23afb51be71b5", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 38, 24, 36, 32, 10, 44, 36, 21, 31, 19], |
| "ct": [18, 5, 14, 6, 14, 38, 23, 10, 33, 39, 34, 28, 16, 9, 12, 17, 12, 36, 44, 35, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2233, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "e23afb51be71b5", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 33, 38, 24, 36, 32, 10, 44, 36, 21, 31, 19], |
| "ct": [3, 44, 35, 4, 33, 20, 22, 42, 21, 3, 16, 13, 13, 12, 26, 12, 4, 27, 0, 12, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2234, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "e23afb51be71b5", |
| "msg": [23, 36, 14, 20, 9, 26, 12, 1, 32, 19, 33, 38, 24, 36, 32, 10, 44, 36, 21, 31, 19], |
| "ct": [37, 28, 4, 43, 44, 36, 13, 32, 3, 39, 29, 15, 42, 25, 35, 5, 37, 31, 11, 20, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2235, |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "e23afb51be71b5", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 33, 38, 24, 36, 32, 10, 44, 36, 21, 31, 19], |
| "ct": [18, 26, 28, 5, 27, 18, 39, 44, 39, 42, 44, 39, 13, 8, 34, 19, 39, 32, 8, 11, 29], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2236, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "005e37d81f84f8", |
| "msg": [21, 39, 31, 11, 14, 36, 10, 35, 12, 4, 44, 17, 19, 4, 36, 17, 3, 17, 25, 11, 15], |
| "ct": [32, 1, 30, 41, 42, 13, 9, 36, 43, 37, 43, 40, 0, 25, 32, 19, 11, 28, 29, 20, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2237, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "005e37d81f84f8", |
| "msg": [27, 16, 2, 23, 19, 15, 18, 12, 32, 16, 4, 9, 35, 3, 0, 35, 15, 40, 36, 19, 38], |
| "ct": [38, 40, 31, 35, 1, 14, 41, 37, 33, 37, 12, 33, 44, 17, 14, 25, 2, 29, 37, 43, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2238, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "005e37d81f84f8", |
| "msg": [33, 23, 16, 29, 23, 27, 14, 26, 3, 33, 6, 13, 24, 27, 6, 14, 28, 42, 21, 16, 40], |
| "ct": [8, 37, 30, 22, 12, 24, 21, 10, 38, 3, 9, 33, 44, 27, 2, 20, 13, 12, 22, 23, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2239, |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "005e37d81f84f8", |
| "msg": [22, 8, 34, 44, 13, 36, 21, 19, 1, 9, 18, 23, 19, 34, 20, 6, 38, 39, 11, 5, 23], |
| "ct": [28, 28, 22, 1, 17, 29, 44, 38, 40, 2, 7, 8, 33, 34, 31, 42, 6, 25, 6, 28, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2240, |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "005e37d81f84f8", |
| "msg": [4, 25, 12, 19, 28, 27, 2, 25, 11, 1, 34, 11, 38, 11, 5, 42, 8, 32, 11, 34, 17], |
| "ct": [13, 18, 7, 20, 41, 30, 12, 32, 36, 21, 33, 28, 28, 27, 3, 36, 33, 23, 35, 14, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2241, |
| "comment": "y is maximal and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "f3b17b2785f044", |
| "msg": [39, 23, 12, 40, 25, 35, 14, 38, 8, 20, 14, 29, 44, 44, 15, 29, 18, 19, 4, 26, 16], |
| "ct": [4, 31, 24, 44, 39, 26, 33, 44, 8, 0, 26, 30, 14, 8, 38, 22, 0, 31, 36, 38, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2242, |
| "comment": "y is maximal and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "f3b17b2785f044", |
| "msg": [41, 10, 23, 43, 20, 33, 28, 18, 18, 35, 30, 0, 32, 29, 13, 24, 35, 34, 8, 9, 24], |
| "ct": [4, 31, 24, 44, 39, 26, 33, 44, 8, 1, 34, 31, 6, 44, 10, 17, 5, 18, 17, 13, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2243, |
| "comment": "y is maximal and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "f3b17b2785f044", |
| "msg": [24, 17, 44, 12, 36, 31, 3, 38, 13, 42, 18, 18, 16, 11, 40, 18, 21, 39, 33, 36, 3], |
| "ct": [28, 22, 39, 20, 4, 8, 1, 0, 40, 19, 6, 3, 3, 34, 27, 8, 28, 43, 12, 9, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2244, |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "f3b17b2785f044", |
| "msg": [7, 44, 29, 2, 39, 42, 19, 12, 41, 28, 41, 7, 34, 37, 13, 23, 5, 6, 18, 30, 40], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 13, 9, 1, 17, 42, 34, 12, 32, 0, 11, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2245, |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "f3b17b2785f044", |
| "msg": [42, 3, 33, 19, 25, 11, 23, 28, 21, 44, 34, 28, 5, 21, 29, 29, 28, 35, 43, 37, 19], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 22, 20, 15, 24, 36, 22, 30, 26, 17, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2246, |
| "comment": "y is maximal and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "f3b17b2785f044", |
| "msg": [5, 11, 44, 10, 41, 24, 1, 21, 42, 3, 1, 1, 11, 41, 9, 23, 44, 6, 11, 6, 7], |
| "ct": [4, 31, 24, 44, 39, 26, 33, 44, 7, 44, 13, 21, 33, 12, 2, 18, 41, 8, 44, 32, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2247, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "d8c72ac772016e", |
| "msg": [11, 44, 43, 35, 19, 4, 6, 20, 31, 4, 9, 15, 28, 32, 18, 23, 36, 12, 31, 31, 32], |
| "ct": [44, 8, 24, 29, 44, 5, 44, 38, 0, 28, 41, 1, 11, 42, 26, 7, 32, 2, 16, 18, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2248, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "d8c72ac772016e", |
| "msg": [19, 41, 19, 35, 3, 41, 43, 28, 19, 16, 36, 34, 27, 12, 29, 21, 1, 20, 2, 40, 27], |
| "ct": [12, 36, 22, 23, 0, 43, 29, 5, 23, 5, 18, 44, 32, 0, 39, 20, 21, 1, 28, 42, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2249, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "d8c72ac772016e", |
| "msg": [21, 1, 24, 42, 43, 18, 43, 13, 41, 42, 42, 25, 41, 4, 12, 43, 1, 30, 43, 41, 43], |
| "ct": [19, 9, 43, 3, 16, 10, 39, 12, 43, 17, 3, 20, 10, 22, 14, 7, 40, 25, 41, 29, 10], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2250, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "d8c72ac772016e", |
| "msg": [34, 22, 38, 31, 41, 41, 30, 27, 14, 15, 14, 8, 37, 27, 13, 9, 11, 25, 37, 21, 20], |
| "ct": [4, 34, 4, 19, 12, 1, 0, 19, 3, 30, 38, 30, 21, 36, 21, 1, 21, 34, 32, 4, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2251, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d", |
| "tweak": "5b8af4b3a1f2cd3c", |
| "msg": [-1, 5, 33, 28, 35, 14, 34, 2, 38, 1, 33, 37, 16, 43, 44, 6, 13, 40, 26, 10, 36], |
| "ct": [43, 13, 4, 41, 20, 43, 14, 23, 14, 2, 43, 22, 37, 35, 28, 22, 21, 24, 41, 35, 18], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2252, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d", |
| "tweak": "5b8af4b3a1f2cd3c", |
| "msg": [25, 5, 33, 28, 35, 14, 34, -1, 38, 1, 33, 37, 16, 43, 44, 6, 13, 40, 26, 10, 36], |
| "ct": [32, 12, 0, 10, 34, 12, 11, 41, 20, 5, 21, 17, 20, 18, 5, 30, 11, 7, 42, 2, 43], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2253, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d", |
| "tweak": "5b8af4b3a1f2cd3c", |
| "msg": [25, 5, 33, 28, 35, 14, 34, 2, 38, 1, 33, 37, 16, 43, 44, 6, 13, 40, 26, 10, -1], |
| "ct": [3, 31, 19, 41, 17, 38, 6, 26, 16, 11, 31, 42, 43, 16, 40, 20, 35, 5, 40, 1, 39], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2254, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2fd038cf0a5a1cc649259a5485fbef70e8f55b7eafa07971bf223f08908b8569", |
| "tweak": "d6f5c63da7bfc590", |
| "msg": [45, 34, 28, 36, 43, 37, 26, 23, 32, 31, 35, 3, 6, 20, 13, 14, 3, 20, 27, 34, 3], |
| "ct": [40, 14, 7, 42, 13, 30, 5, 38, 41, 35, 25, 39, 0, 3, 10, 10, 7, 1, 26, 32, 4], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2255, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2fd038cf0a5a1cc649259a5485fbef70e8f55b7eafa07971bf223f08908b8569", |
| "tweak": "d6f5c63da7bfc590", |
| "msg": [26, 34, 28, 36, 43, 37, 26, 45, 32, 31, 35, 3, 6, 20, 13, 14, 3, 20, 27, 34, 3], |
| "ct": [4, 11, 28, 17, 4, 44, 16, 37, 11, 38, 27, 12, 5, 36, 36, 14, 36, 0, 7, 9, 1], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2256, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2fd038cf0a5a1cc649259a5485fbef70e8f55b7eafa07971bf223f08908b8569", |
| "tweak": "d6f5c63da7bfc590", |
| "msg": [26, 34, 28, 36, 43, 37, 26, 23, 32, 31, 35, 3, 6, 20, 13, 14, 3, 20, 27, 34, 45], |
| "ct": [28, 6, 9, 22, 31, 37, 21, 18, 21, 9, 32, 25, 18, 6, 36, 6, 14, 29, 38, 5, 5], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 22, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2257, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "e4d7316dc8f207a390bb0975ae78c2a506361b7a3c762dc970dff471d015a634", |
| "tweak": "457e89bd400af1ab", |
| "msg": [19, 0, 43, 41, 27, 9, 6, 19, 36, 22, 35, 16, 12, 9, 1, 7, 26, 21, 16, 39, 17, 31], |
| "ct": [19, 39, 44, 29, 23, 41, 29, 10, 27, 9, 20, 8, 27, 17, 3, 35, 14, 26, 41, 5, 30, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2258, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [43, 23, 15, 11, 28, 30, 6, 20, 34, 28, 10, 25, 24, 44, 30, 19, 25, 36, 9, 31, 40, 40], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2259, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [4, 1, 29, 4, 7, 32, 22, 25, 17, 25, 15, 23, 25, 19, 25, 17, 26, 37, 9, 33, 5, 3], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2260, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "ct": [32, 24, 24, 37, 12, 38, 42, 3, 18, 32, 12, 13, 8, 37, 39, 10, 31, 43, 21, 18, 40, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2261, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "ct": [17, 23, 11, 32, 42, 18, 3, 21, 24, 38, 6, 9, 0, 13, 21, 14, 34, 41, 43, 9, 9, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2262, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [8, 29, 0, 15, 39, 22, 39, 31, 38, 39, 13, 19, 18, 33, 32, 39, 17, 9, 40, 0, 29, 11], |
| "ct": [6, 37, 29, 42, 30, 24, 41, 21, 28, 10, 22, 26, 3, 27, 35, 34, 10, 10, 44, 39, 37, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2263, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [16, 30, 30, 11, 22, 37, 16, 6, 27, 12, 36, 3, 31, 28, 3, 5, 29, 1, 25, 30, 14, 4], |
| "ct": [16, 42, 44, 37, 40, 35, 18, 10, 14, 11, 2, 16, 11, 29, 23, 25, 28, 31, 4, 33, 21, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2264, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [8, 28, 9, 24, 22, 3, 39, 36, 33, 2, 26, 41, 4, 9, 23, 5, 22, 6, 21, 34, 21, 44], |
| "ct": [21, 23, 25, 20, 5, 35, 35, 2, 4, 30, 28, 5, 3, 25, 2, 39, 18, 41, 0, 24, 41, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2265, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [7, 35, 2, 21, 21, 17, 30, 17, 26, 33, 8, 2, 26, 18, 4, 19, 16, 30, 38, 34, 1, 30], |
| "ct": [29, 40, 8, 43, 17, 12, 16, 37, 14, 5, 22, 12, 29, 21, 15, 14, 2, 30, 20, 10, 31, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2266, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [38, 5, 2, 21, 37, 28, 36, 14, 13, 27, 22, 30, 26, 5, 27, 10, 35, 38, 21, 30, 12, 29], |
| "ct": [0, 15, 20, 3, 10, 37, 12, 41, 26, 6, 42, 13, 35, 13, 20, 19, 20, 34, 30, 4, 28, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2267, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [27, 19, 28, 36, 19, 9, 42, 35, 5, 26, 42, 11, 19, 43, 36, 26, 44, 3, 35, 34, 1, 0], |
| "ct": [12, 3, 5, 7, 40, 26, 23, 24, 39, 34, 13, 0, 18, 4, 39, 38, 30, 24, 34, 0, 13, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2268, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [15, 8, 12, 19, 34, 23, 32, 36, 20, 0, 43, 37, 10, 6, 41, 40, 27, 44, 41, 17, 38, 34], |
| "ct": [13, 7, 12, 36, 10, 13, 40, 19, 27, 20, 41, 21, 27, 23, 13, 4, 13, 5, 20, 19, 12, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2269, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [28, 24, 26, 29, 17, 15, 0, 18, 17, 9, 19, 26, 26, 0, 13, 31, 4, 0, 19, 13, 15, 18], |
| "ct": [19, 6, 29, 3, 42, 37, 2, 43, 2, 1, 8, 38, 4, 8, 34, 9, 1, 1, 26, 43, 23, 18], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2270, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [15, 16, 41, 21, 5, 1, 14, 33, 11, 20, 22, 12, 2, 8, 6, 6, 40, 21, 23, 15, 12, 28], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2271, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [21, 1, 36, 12, 2, 18, 22, 11, 10, 29, 30, 44, 9, 28, 25, 16, 24, 42, 37, 38, 34, 26], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2272, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [18, 26, 5, 16, 13, 1, 43, 29, 17, 7, 17, 28, 14, 31, 41, 24, 31, 23, 16, 9, 32, 38], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2273, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": [1, 2, 5, 12, 1, 43, 9, 22, 24, 2, 0, 36, 14, 32, 41, 38, 31, 44, 1, 13, 39, 27], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2274, |
| "comment": "y = 0 and (y + a) % radix**11 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "115b109c8c2d68", |
| "msg": [23, 0, 15, 40, 16, 12, 37, 13, 37, 1, 36, 21, 33, 3, 20, 11, 12, 42, 23, 28, 20, 32], |
| "ct": [43, 1, 14, 43, 8, 26, 21, 22, 3, 22, 24, 24, 44, 19, 19, 14, 23, 37, 21, 28, 18, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2275, |
| "comment": "y = 0 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "115b109c8c2d68", |
| "msg": [28, 39, 15, 3, 0, 10, 42, 16, 20, 40, 43, 36, 30, 28, 44, 16, 35, 17, 15, 6, 8, 26], |
| "ct": [8, 13, 12, 19, 6, 1, 8, 4, 8, 23, 41, 33, 11, 39, 35, 3, 11, 30, 4, 14, 2, 19], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2276, |
| "comment": "y = 0 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "115b109c8c2d68", |
| "msg": [37, 9, 17, 18, 21, 10, 14, 35, 4, 29, 6, 2, 37, 27, 9, 16, 34, 20, 34, 18, 17, 11], |
| "ct": [33, 7, 40, 35, 14, 38, 6, 41, 4, 7, 19, 43, 36, 30, 8, 25, 32, 23, 20, 1, 8, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2277, |
| "comment": "y = 0 and (y + a) % radix**11 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "115b109c8c2d68", |
| "msg": [25, 42, 17, 39, 43, 14, 9, 21, 23, 41, 20, 38, 25, 4, 27, 38, 15, 11, 35, 32, 40, 23], |
| "ct": [7, 20, 42, 31, 8, 20, 44, 35, 8, 15, 1, 5, 22, 40, 29, 39, 9, 4, 24, 4, 7, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2278, |
| "comment": "y = 1 and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "02e6cee4e2cd4f", |
| "msg": [20, 36, 20, 23, 44, 37, 38, 33, 16, 18, 29, 39, 24, 5, 32, 31, 36, 12, 28, 24, 41, 5], |
| "ct": [9, 10, 19, 12, 14, 24, 17, 36, 13, 34, 18, 32, 33, 18, 18, 34, 41, 18, 20, 43, 9, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2279, |
| "comment": "y = 1 and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "02e6cee4e2cd4f", |
| "msg": [35, 26, 5, 26, 36, 38, 7, 1, 29, 32, 24, 36, 7, 26, 14, 4, 43, 27, 34, 15, 31, 37], |
| "ct": [22, 29, 43, 24, 28, 25, 6, 28, 36, 37, 27, 39, 8, 39, 40, 36, 15, 15, 44, 3, 30, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2280, |
| "comment": "y = 1 and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "02e6cee4e2cd4f", |
| "msg": [16, 19, 24, 38, 37, 0, 13, 12, 20, 37, 30, 19, 14, 43, 20, 20, 5, 19, 3, 28, 10, 31], |
| "ct": [3, 41, 9, 5, 21, 7, 3, 5, 27, 21, 7, 40, 36, 10, 23, 33, 2, 8, 13, 29, 25, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2281, |
| "comment": "y = 1 and (y + a) % radix**11 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "02e6cee4e2cd4f", |
| "msg": [40, 31, 2, 39, 3, 42, 14, 10, 23, 6, 42, 32, 35, 7, 20, 30, 20, 7, 13, 27, 16, 44], |
| "ct": [7, 2, 30, 37, 30, 26, 34, 8, 11, 9, 23, 6, 40, 41, 9, 34, 14, 32, 23, 22, 32, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2282, |
| "comment": "y = 1 and (y + a) % radix**11 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "02e6cee4e2cd4f", |
| "msg": [4, 28, 23, 16, 30, 36, 26, 17, 0, 39, 11, 3, 26, 36, 38, 42, 33, 21, 5, 42, 38, 20], |
| "ct": [17, 15, 12, 34, 39, 4, 1, 22, 23, 13, 0, 15, 44, 35, 35, 18, 27, 20, 36, 7, 44, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2283, |
| "comment": "y is maximal and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "1941510a356981", |
| "msg": [0, 27, 4, 28, 37, 8, 16, 39, 35, 20, 20, 12, 36, 37, 6, 14, 9, 34, 14, 10, 5, 2], |
| "ct": [39, 24, 25, 21, 15, 28, 34, 44, 4, 38, 0, 25, 42, 4, 18, 18, 34, 27, 38, 38, 4, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2284, |
| "comment": "y is maximal and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "1941510a356981", |
| "msg": [22, 33, 6, 33, 13, 29, 11, 4, 37, 10, 24, 16, 2, 3, 39, 28, 32, 37, 10, 30, 8, 25], |
| "ct": [26, 16, 8, 5, 30, 4, 30, 17, 26, 13, 19, 20, 7, 11, 19, 23, 35, 34, 30, 4, 13, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2285, |
| "comment": "y is maximal and (y + a) % radix**11 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "1941510a356981", |
| "msg": [24, 7, 9, 26, 15, 0, 34, 19, 4, 37, 11, 22, 5, 37, 23, 30, 33, 24, 24, 9, 1, 11], |
| "ct": [22, 32, 32, 37, 22, 40, 19, 37, 44, 9, 5, 20, 22, 39, 22, 6, 24, 6, 22, 41, 40, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2286, |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "1941510a356981", |
| "msg": [37, 31, 19, 43, 22, 30, 13, 29, 38, 1, 29, 1, 2, 23, 39, 41, 13, 31, 7, 10, 20, 2], |
| "ct": [36, 2, 26, 17, 37, 15, 39, 6, 32, 42, 1, 9, 10, 42, 25, 21, 11, 8, 10, 4, 30, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2287, |
| "comment": "y is maximal and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "1941510a356981", |
| "msg": [24, 0, 43, 36, 33, 13, 9, 1, 4, 23, 4, 15, 12, 30, 7, 42, 33, 24, 4, 42, 44, 26], |
| "ct": [27, 15, 5, 1, 0, 34, 21, 23, 32, 44, 5, 29, 33, 18, 43, 40, 22, 27, 25, 28, 33, 36], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2288, |
| "comment": "y is maximal and a is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "1941510a356981", |
| "msg": [24, 27, 28, 9, 16, 40, 32, 6, 24, 35, 31, 0, 0, 33, 24, 6, 3, 21, 44, 36, 2, 44], |
| "ct": [35, 19, 19, 29, 44, 20, 19, 11, 1, 38, 5, 16, 36, 18, 16, 18, 23, 9, 14, 33, 23, 9], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2289, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "ba364c50656806", |
| "msg": [29, 34, 11, 20, 2, 13, 41, 28, 3, 22, 22, 12, 4, 4, 34, 34, 7, 33, 21, 42, 5, 25], |
| "ct": [28, 43, 16, 29, 21, 16, 17, 13, 33, 32, 24, 42, 34, 32, 24, 38, 32, 28, 28, 26, 44, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2290, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "ba364c50656806", |
| "msg": [31, 6, 38, 5, 39, 34, 7, 21, 18, 25, 39, 16, 39, 18, 15, 18, 34, 30, 35, 19, 37, 18], |
| "ct": [17, 16, 18, 9, 18, 40, 33, 28, 5, 22, 22, 31, 29, 5, 5, 18, 17, 39, 20, 7, 0, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2291, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "ba364c50656806", |
| "msg": [33, 15, 41, 21, 7, 18, 20, 38, 27, 24, 15, 28, 0, 20, 34, 38, 10, 13, 0, 25, 23, 3], |
| "ct": [20, 38, 3, 10, 41, 4, 18, 31, 29, 3, 0, 17, 25, 22, 33, 1, 8, 32, 30, 32, 8, 7], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2292, |
| "comment": "y is maximal after modular reduction and a is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "ba364c50656806", |
| "msg": [39, 35, 36, 27, 43, 42, 32, 41, 2, 7, 13, 35, 27, 40, 23, 14, 13, 21, 37, 41, 15, 36], |
| "ct": [8, 19, 23, 42, 17, 3, 29, 0, 9, 33, 20, 21, 36, 38, 43, 43, 13, 10, 13, 10, 26, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2293, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24", |
| "tweak": "be1bdc9a75492a3d", |
| "msg": [-1, 5, 15, 40, 13, 17, 17, 39, 14, 2, 27, 33, 5, 37, 34, 28, 43, 36, 27, 10, 43, 16], |
| "ct": [4, 26, 42, 3, 41, 26, 21, 36, 39, 0, 7, 27, 16, 3, 1, 38, 2, 27, 39, 10, 35, 8], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2294, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24", |
| "tweak": "be1bdc9a75492a3d", |
| "msg": [35, 5, 15, 40, 13, 17, 17, -1, 14, 2, 27, 33, 5, 37, 34, 28, 43, 36, 27, 10, 43, 16], |
| "ct": [34, 38, 18, 29, 38, 33, 22, 6, 15, 32, 17, 9, 38, 8, 15, 10, 6, 31, 17, 19, 25, 15], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2295, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24", |
| "tweak": "be1bdc9a75492a3d", |
| "msg": [35, 5, 15, 40, 13, 17, 17, 39, 14, 2, 27, 33, 5, 37, 34, 28, 43, 36, 27, 10, 43, -1], |
| "ct": [1, 14, 16, 42, 25, 37, 20, 21, 31, 29, 42, 21, 7, 2, 39, 6, 18, 36, 40, 30, 10, 9], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2296, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b2ca676d24a4a6da42e899990392bedd280dfff0f8b66a88eb411e8e9d6e6dad", |
| "tweak": "77bb85ef1136504b", |
| "msg": [45, 0, 41, 19, 35, 31, 31, 4, 0, 8, 19, 7, 8, 39, 38, 31, 26, 39, 2, 40, 37, 31], |
| "ct": [12, 16, 41, 42, 20, 42, 3, 4, 38, 28, 18, 31, 40, 2, 22, 0, 18, 6, 0, 14, 33, 43], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2297, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b2ca676d24a4a6da42e899990392bedd280dfff0f8b66a88eb411e8e9d6e6dad", |
| "tweak": "77bb85ef1136504b", |
| "msg": [2, 0, 41, 19, 35, 31, 31, 45, 0, 8, 19, 7, 8, 39, 38, 31, 26, 39, 2, 40, 37, 31], |
| "ct": [22, 0, 1, 36, 11, 32, 26, 39, 40, 11, 3, 39, 23, 20, 42, 27, 23, 19, 34, 3, 44, 43], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2298, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b2ca676d24a4a6da42e899990392bedd280dfff0f8b66a88eb411e8e9d6e6dad", |
| "tweak": "77bb85ef1136504b", |
| "msg": [2, 0, 41, 19, 35, 31, 31, 4, 0, 8, 19, 7, 8, 39, 38, 31, 26, 39, 2, 40, 37, 45], |
| "ct": [5, 40, 15, 20, 28, 39, 10, 11, 28, 2, 0, 17, 8, 17, 15, 35, 19, 43, 41, 28, 21, 3], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 23, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2299, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "0d3ce9853bb4fc12233e5c394be7fa40a52f13ce1a348b3ebf7656fb5dd4357b", |
| "tweak": "bf83b0337f56f7bf", |
| "msg": [28, 17, 4, 30, 32, 34, 25, 19, 43, 27, 13, 27, 35, 14, 14, 32, 9, 14, 18, 25, 43, 17, 39], |
| "ct": [13, 0, 21, 0, 4, 31, 9, 6, 34, 6, 14, 31, 17, 39, 9, 30, 39, 16, 40, 9, 20, 34, 39], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2300, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "ct": [20, 10, 42, 13, 44, 26, 26, 34, 2, 19, 19, 5, 44, 14, 2, 29, 5, 33, 12, 20, 21, 2, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2301, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "ct": [22, 1, 23, 0, 32, 6, 21, 25, 41, 21, 37, 29, 31, 1, 40, 28, 36, 3, 27, 7, 33, 10, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2302, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 32], |
| "ct": [8, 11, 38, 16, 29, 20, 0, 10, 39, 33, 16, 38, 39, 20, 32, 43, 5, 8, 41, 3, 16, 6, 27], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2303, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 31], |
| "ct": [10, 32, 29, 17, 11, 34, 37, 13, 13, 22, 37, 6, 10, 15, 0, 30, 2, 40, 6, 33, 21, 22, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2304, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [4, 18, 29, 34, 4, 20, 8, 7, 22, 30, 15, 40, 20, 39, 28, 2, 39, 14, 24, 36, 44, 12, 15], |
| "ct": [43, 20, 38, 39, 1, 16, 43, 20, 29, 26, 10, 41, 12, 23, 34, 25, 10, 27, 24, 29, 16, 22, 30], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2305, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [35, 24, 41, 10, 8, 44, 44, 5, 10, 14, 43, 32, 24, 35, 35, 28, 43, 19, 5, 3, 44, 37, 3], |
| "ct": [8, 35, 42, 41, 23, 24, 42, 1, 9, 42, 19, 2, 38, 42, 5, 1, 3, 4, 32, 34, 36, 30, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2306, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [12, 1, 5, 18, 37, 1, 36, 30, 11, 4, 10, 29, 29, 15, 28, 7, 23, 2, 20, 35, 9, 14, 8], |
| "ct": [24, 17, 29, 8, 10, 11, 23, 35, 14, 15, 3, 35, 4, 24, 4, 39, 31, 27, 42, 19, 6, 36, 22], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2307, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [19, 23, 7, 19, 16, 32, 38, 27, 4, 17, 30, 13, 27, 38, 20, 14, 12, 23, 42, 43, 30, 19, 35], |
| "ct": [34, 39, 41, 27, 41, 4, 30, 16, 6, 28, 8, 14, 6, 32, 22, 16, 43, 40, 19, 43, 44, 40, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2308, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [34, 20, 17, 1, 15, 38, 42, 43, 44, 36, 44, 39, 27, 34, 30, 20, 1, 10, 39, 15, 17, 13, 12], |
| "ct": [35, 16, 5, 7, 19, 33, 41, 24, 33, 15, 20, 1, 29, 0, 11, 39, 26, 43, 29, 16, 12, 8, 2], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2309, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [3, 37, 10, 38, 42, 19, 44, 2, 38, 17, 11, 14, 7, 17, 26, 17, 10, 20, 0, 36, 25, 13, 27], |
| "ct": [10, 30, 7, 30, 30, 23, 19, 40, 33, 35, 35, 20, 11, 7, 36, 30, 10, 1, 33, 35, 31, 17, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2310, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [26, 34, 40, 28, 2, 23, 32, 7, 14, 5, 30, 38, 43, 0, 38, 43, 0, 24, 39, 17, 27, 44, 39], |
| "ct": [10, 16, 25, 25, 21, 34, 23, 22, 29, 24, 26, 27, 27, 26, 37, 15, 13, 34, 14, 4, 19, 17, 33], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2311, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [37, 16, 18, 33, 10, 23, 17, 25, 31, 30, 25, 43, 36, 40, 35, 21, 9, 44, 20, 19, 25, 17, 15], |
| "ct": [25, 11, 13, 38, 33, 4, 18, 1, 25, 37, 30, 34, 32, 32, 33, 32, 17, 0, 21, 28, 0, 35, 26], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2312, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [44, 30, 25, 6, 33, 30, 20, 34, 13, 8, 29, 9, 18, 35, 10, 20, 34, 43, 7, 37, 41, 7, 44], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2313, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [18, 26, 8, 17, 28, 30, 21, 22, 38, 38, 24, 29, 12, 11, 34, 36, 20, 17, 41, 43, 13, 3, 12], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2314, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [8, 25, 6, 19, 40, 24, 6, 11, 4, 26, 30, 44, 31, 42, 24, 5, 14, 23, 16, 3, 15, 23, 35], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 32], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2315, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": [44, 7, 38, 20, 12, 22, 35, 19, 0, 28, 34, 5, 44, 19, 26, 41, 36, 14, 34, 29, 43, 41, 26], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 0, 24, 3, 22, 0, 26, 41, 7, 20, 39, 13, 25, 31], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2316, |
| "comment": "y = 0 and (y + a) % radix**11 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "32b83a82641bd05a6a211738b118122fcdcd320eef5b", |
| "msg": [44, 24, 41, 4, 1, 4, 6, 20, 31, 39, 25, 33, 24, 11, 17, 24, 27, 23, 37, 1, 7, 40, 2], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 5, 30, 16, 43, 18, 12, 16, 28, 26, 3, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2317, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "32b83a82641bd05a6a211738b118122fcdcd320eef5b", |
| "msg": [9, 0, 14, 31, 26, 22, 7, 18, 41, 0, 41, 37, 43, 12, 23, 7, 14, 6, 43, 19, 30, 15, 13], |
| "ct": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 33, 28, 40, 21, 40, 6, 24, 7, 1, 41, 14, 41], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2318, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "32b83a82641bd05a6a211738b118122fcdcd320eef5b", |
| "msg": [1, 34, 32, 18, 0, 35, 22, 2, 20, 10, 1, 20, 23, 16, 4, 15, 33, 31, 40, 8, 5, 24, 9], |
| "ct": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 35, 24, 41, 9, 37, 29, 37, 10, 24, 30, 24, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2319, |
| "comment": "y = 0 and (y + a) % radix**11 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "32b83a82641bd05a6a211738b118122fcdcd320eef5b", |
| "msg": [8, 15, 42, 40, 7, 0, 31, 21, 17, 23, 36, 14, 4, 7, 19, 20, 36, 7, 30, 7, 34, 41, 25], |
| "ct": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 8, 18, 28, 8, 10, 8, 29, 43, 1, 7, 44, 16], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2320, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "3e161fc8a67eff9aef372b47233391bd0f4d8c770841", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 9, 23, 25, 1, 16, 35, 22, 30, 21, 41, 2], |
| "ct": [22, 15, 20, 9, 25, 14, 15, 4, 7, 34, 9, 5, 23, 31, 24, 31, 14, 31, 37, 39, 38, 33, 12], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2321, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "3e161fc8a67eff9aef372b47233391bd0f4d8c770841", |
| "msg": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 31, 9, 23, 25, 1, 16, 35, 22, 30, 21, 41, 2], |
| "ct": [30, 27, 13, 27, 38, 24, 0, 0, 38, 11, 13, 23, 42, 44, 12, 35, 25, 24, 17, 1, 11, 0, 24], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2322, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "3e161fc8a67eff9aef372b47233391bd0f4d8c770841", |
| "msg": [33, 38, 29, 24, 33, 28, 16, 5, 20, 5, 1, 31, 9, 23, 25, 1, 16, 35, 22, 30, 21, 41, 2], |
| "ct": [0, 44, 19, 2, 15, 29, 37, 36, 7, 36, 2, 26, 13, 19, 30, 16, 28, 26, 1, 37, 37, 6, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2323, |
| "comment": "y is maximal and (y + a) % radix**11 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "3e161fc8a67eff9aef372b47233391bd0f4d8c770841", |
| "msg": [43, 41, 29, 36, 25, 40, 10, 3, 42, 44, 14, 31, 9, 23, 25, 1, 16, 35, 22, 30, 21, 41, 2], |
| "ct": [11, 20, 29, 7, 36, 22, 41, 33, 11, 31, 2, 21, 24, 17, 16, 32, 24, 1, 9, 19, 6, 23, 15], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2324, |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "3e161fc8a67eff9aef372b47233391bd0f4d8c770841", |
| "msg": [43, 41, 29, 36, 25, 40, 10, 3, 42, 44, 15, 31, 9, 23, 25, 1, 16, 35, 22, 30, 21, 41, 2], |
| "ct": [42, 38, 35, 28, 4, 9, 18, 26, 32, 3, 1, 28, 42, 18, 7, 26, 37, 36, 11, 27, 23, 7, 28], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2325, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "3e161fc8a67eff9aef372b47233391bd0f4d8c770841", |
| "msg": [44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 31, 9, 23, 25, 1, 16, 35, 22, 30, 21, 41, 2], |
| "ct": [40, 25, 32, 22, 7, 24, 24, 38, 21, 29, 15, 13, 21, 10, 11, 22, 10, 17, 26, 36, 19, 37, 37], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2326, |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "a5c663b10b216ea20d03beee3e8b3692746e40c5d45e", |
| "msg": [44, 2, 7, 25, 8, 31, 34, 38, 3, 39, 42, 19, 5, 10, 30, 17, 0, 12, 15, 36, 4, 13, 36], |
| "ct": [22, 17, 39, 39, 30, 19, 39, 43, 12, 20, 12, 32, 37, 20, 43, 9, 34, 31, 1, 7, 26, 3, 17], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2327, |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "a5c663b10b216ea20d03beee3e8b3692746e40c5d45e", |
| "msg": [1, 33, 20, 40, 1, 11, 3, 13, 30, 1, 18, 32, 36, 19, 3, 27, 36, 41, 15, 34, 21, 9, 29], |
| "ct": [17, 1, 3, 18, 14, 35, 17, 30, 15, 35, 39, 37, 39, 20, 40, 31, 12, 13, 34, 21, 20, 21, 4], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2328, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "a5c663b10b216ea20d03beee3e8b3692746e40c5d45e", |
| "msg": [19, 23, 14, 15, 10, 22, 18, 33, 26, 28, 33, 36, 8, 4, 28, 29, 36, 27, 17, 29, 19, 18, 2], |
| "ct": [17, 29, 4, 38, 41, 0, 14, 35, 32, 39, 40, 29, 29, 30, 25, 13, 44, 21, 6, 38, 2, 34, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2329, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "a5c663b10b216ea20d03beee3e8b3692746e40c5d45e", |
| "msg": [20, 27, 11, 35, 23, 15, 17, 24, 19, 12, 20, 9, 35, 1, 14, 33, 19, 34, 10, 25, 12, 34, 27], |
| "ct": [2, 18, 41, 40, 6, 43, 15, 1, 18, 41, 27, 36, 12, 38, 21, 26, 19, 18, 6, 42, 38, 2, 23], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2330, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "a5c663b10b216ea20d03beee3e8b3692746e40c5d45e", |
| "msg": [30, 17, 19, 27, 15, 21, 37, 26, 7, 20, 19, 7, 3, 12, 6, 12, 35, 8, 25, 28, 36, 44, 37], |
| "ct": [7, 18, 8, 1, 2, 31, 24, 22, 32, 23, 3, 39, 0, 39, 42, 19, 37, 6, 1, 25, 40, 34, 34], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2331, |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "a5c663b10b216ea20d03beee3e8b3692746e40c5d45e", |
| "msg": [33, 43, 44, 27, 14, 16, 9, 13, 20, 5, 24, 33, 29, 1, 24, 11, 10, 19, 20, 40, 16, 21, 25], |
| "ct": [6, 8, 36, 10, 40, 29, 28, 32, 21, 37, 12, 2, 9, 17, 12, 40, 4, 13, 40, 41, 3, 20, 0], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2332, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "f58c45b9fd91759327e1943cb9aeb2ed1913499d92d5", |
| "msg": [36, 22, 14, 31, 28, 37, 11, 17, 9, 27, 0, 36, 34, 35, 4, 9, 22, 7, 24, 25, 42, 26, 41], |
| "ct": [13, 0, 13, 40, 13, 19, 12, 26, 16, 32, 27, 33, 32, 21, 27, 38, 15, 27, 27, 25, 15, 15, 42], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2333, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "f58c45b9fd91759327e1943cb9aeb2ed1913499d92d5", |
| "msg": [21, 31, 12, 35, 5, 4, 1, 2, 10, 34, 35, 23, 30, 28, 25, 35, 12, 31, 1, 21, 38, 8, 33], |
| "ct": [32, 37, 36, 14, 11, 36, 36, 25, 1, 26, 41, 6, 7, 11, 30, 38, 2, 4, 12, 20, 40, 24, 5], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2334, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "f58c45b9fd91759327e1943cb9aeb2ed1913499d92d5", |
| "msg": [32, 38, 3, 3, 19, 4, 26, 37, 27, 9, 4, 13, 22, 32, 4, 33, 44, 19, 21, 3, 13, 25, 40], |
| "ct": [30, 15, 25, 34, 3, 24, 24, 6, 16, 21, 36, 12, 7, 5, 35, 4, 29, 36, 25, 13, 12, 43, 43], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2335, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "f58c45b9fd91759327e1943cb9aeb2ed1913499d92d5", |
| "msg": [19, 7, 34, 14, 31, 13, 15, 15, 30, 33, 16, 26, 28, 41, 21, 12, 13, 4, 36, 42, 29, 30, 12], |
| "ct": [3, 9, 43, 27, 20, 11, 17, 28, 35, 33, 13, 11, 11, 23, 43, 2, 20, 27, 0, 31, 17, 33, 6], |
| "result": "valid" |
| }, |
| { |
| "tcId": 2336, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6", |
| "tweak": "247c466d8f9108e2", |
| "msg": [-1, 15, 5, 34, 15, 13, 8, 23, 20, 38, 23, 14, 39, 36, 18, 10, 23, 1, 7, 31, 20, 32, 38], |
| "ct": [28, 30, 11, 42, 32, 2, 41, 43, 27, 6, 11, 37, 34, 18, 16, 7, 31, 22, 2, 9, 41, 20, 16], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2337, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6", |
| "tweak": "247c466d8f9108e2", |
| "msg": [21, 15, 5, 34, 15, 13, 8, -1, 20, 38, 23, 14, 39, 36, 18, 10, 23, 1, 7, 31, 20, 32, 38], |
| "ct": [3, 12, 8, 16, 10, 37, 39, 35, 11, 11, 30, 18, 41, 20, 0, 7, 15, 4, 10, 34, 4, 29, 23], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2338, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6", |
| "tweak": "247c466d8f9108e2", |
| "msg": [21, 15, 5, 34, 15, 13, 8, 23, 20, 38, 23, 14, 39, 36, 18, 10, 23, 1, 7, 31, 20, 32, -1], |
| "ct": [28, 21, 13, 1, 42, 15, 24, 18, 22, 43, 20, 6, 4, 10, 36, 7, 4, 21, 2, 42, 42, 42, 14], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2339, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a756b86d0eace023886d5bea977f46d4af5b0f8a5e867ed820b07357d924c717", |
| "tweak": "22760cac55a4b725", |
| "msg": [45, 36, 5, 13, 40, 6, 20, 41, 13, 41, 29, 33, 34, 18, 14, 22, 39, 31, 3, 27, 34, 17, 33], |
| "ct": [19, 29, 6, 32, 14, 31, 6, 7, 3, 15, 35, 32, 38, 2, 9, 34, 42, 23, 24, 29, 1, 31, 12], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2340, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a756b86d0eace023886d5bea977f46d4af5b0f8a5e867ed820b07357d924c717", |
| "tweak": "22760cac55a4b725", |
| "msg": [12, 36, 5, 13, 40, 6, 20, 45, 13, 41, 29, 33, 34, 18, 14, 22, 39, 31, 3, 27, 34, 17, 33], |
| "ct": [39, 14, 12, 37, 31, 15, 32, 22, 3, 17, 40, 26, 20, 23, 23, 18, 12, 16, 43, 33, 20, 35, 37], |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2341, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a756b86d0eace023886d5bea977f46d4af5b0f8a5e867ed820b07357d924c717", |
| "tweak": "22760cac55a4b725", |
| "msg": [12, 36, 5, 13, 40, 6, 20, 41, 13, 41, 29, 33, 34, 18, 14, 22, 39, 31, 3, 27, 34, 17, 45], |
| "ct": [27, 44, 22, 7, 39, 29, 18, 44, 1, 6, 23, 44, 11, 42, 11, 39, 21, 30, 22, 28, 31, 18, 14], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 24, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2342, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "904e573e4691681dc2db245bb369404a", |
| "tweak": "dc83f04ef1a5fc92", |
| "msg": [6, 8, 7, 16, 8, 34, 3, 11, 26, 19, 38, 11, 39, 33, 1, 44, 8, 14, 25, 19, 40, 15, 14, 16], |
| "ct": [13, 19, 24, 17, 34, 27, 24, 38, 39, 5, 37, 21, 4, 21, 12, 37, 0, 35, 20, 40, 9, 22, 31, 33], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 25, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2343, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "4605865b047c33cafb0c30500253573f", |
| "tweak": "a8b27f391744d48a", |
| "msg": [9, 13, 38, 40, 32, 11, 11, 25, 11, 15, 32, 32, 43, 35, 13, 7, 17, 12, 3, 30, 40, 2, 29, 3, 5], |
| "ct": [28, 38, 11, 40, 20, 15, 26, 15, 17, 23, 7, 36, 18, 28, 4, 24, 9, 19, 30, 22, 23, 23, 32, 32, 2], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 26, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2344, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "0fb1979af3a9860c485e2ef06c6010c3", |
| "tweak": "60de513786f3f0a6", |
| "msg": [28, 3, 20, 44, 26, 34, 29, 32, 42, 42, 4, 2, 40, 19, 20, 22, 17, 35, 24, 1, 2, 41, 42, 30, 15, 20], |
| "ct": [14, 29, 35, 20, 34, 28, 41, 15, 40, 27, 25, 42, 5, 20, 32, 25, 39, 36, 37, 18, 34, 7, 34, 8, 21, 11], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 27, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2345, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "5d9ce920d89d03dcb83a0bf8ba68c9a1", |
| "tweak": "9b6124a5067acaf1", |
| "msg": [29, 33, 21, 20, 25, 7, 9, 9, 44, 28, 38, 38, 3, 13, 14, 27, 23, 15, 12, 38, 30, 31, 7, 6, 7, 11, 26], |
| "ct": [40, 44, 28, 33, 23, 10, 4, 13, 26, 42, 27, 11, 41, 29, 2, 17, 42, 29, 10, 1, 8, 29, 30, 35, 16, 28, 38], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 28, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2346, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "1480e7206367c3365ec5a9b11f61261e", |
| "tweak": "895ad94343672108", |
| "msg": [34, 20, 31, 22, 11, 34, 44, 6, 1, 4, 15, 42, 43, 12, 29, 31, 4, 34, 14, 14, 42, 35, 13, 22, 30, 32, 15, 25], |
| "ct": [17, 26, 41, 33, 23, 5, 14, 6, 28, 40, 36, 12, 16, 25, 4, 7, 16, 21, 43, 10, 19, 13, 15, 15, 7, 5, 20, 4], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 29, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2347, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "a8ed8a1627e4ea301c4d007a30a7fd71", |
| "tweak": "dbbf38e615dc2fee", |
| "msg": [23, 18, 27, 14, 11, 7, 28, 11, 25, 3, 1, 8, 3, 26, 25, 16, 9, 44, 30, 34, 18, 30, 34, 39, 22, 38, 35, 19, 31], |
| "ct": [3, 22, 17, 37, 9, 11, 1, 2, 18, 37, 18, 11, 42, 24, 0, 40, 25, 18, 6, 42, 0, 40, 43, 44, 32, 19, 3, 30, 2], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 30, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2348, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "abbd25e59680efd575c00d24e9fdcad8", |
| "tweak": "070cffc4a9b88ee7", |
| "msg": [9, 16, 15, 25, 39, 25, 16, 30, 4, 30, 38, 3, 37, 44, 4, 43, 22, 3, 2, 34, 13, 20, 36, 41, 43, 34, 9, 13, 23, 5], |
| "ct": [2, 16, 39, 12, 40, 15, 0, 3, 10, 40, 0, 22, 25, 40, 22, 28, 12, 7, 16, 4, 24, 0, 4, 39, 26, 34, 32, 19, 30, 9], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 31, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2349, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "cb4b74bac0ecce5c21f47f39c22ae70c", |
| "tweak": "dd1e66e61ea45250", |
| "msg": [27, 39, 1, 0, 41, 43, 11, 21, 42, 36, 3, 24, 26, 40, 24, 27, 31, 29, 26, 37, 13, 22, 31, 9, 1, 14, 44, 9, 32, 43, 27], |
| "ct": [12, 36, 5, 11, 34, 30, 24, 24, 13, 0, 8, 13, 30, 7, 30, 27, 29, 19, 8, 2, 3, 27, 12, 36, 41, 35, 21, 13, 13, 9, 21], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 32, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2350, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "1ee98a204d8de6bc2fb2416fa2efe03f", |
| "tweak": "302f76d9825d6eb5", |
| "msg": [8, 13, 28, 38, 30, 29, 9, 17, 37, 9, 25, 5, 42, 27, 32, 42, 20, 35, 16, 6, 21, 9, 33, 33, 16, 40, 0, 30, 22, 11, 41, 8], |
| "ct": [37, 13, 18, 30, 7, 20, 11, 21, 25, 8, 0, 8, 22, 31, 12, 11, 36, 16, 16, 10, 34, 9, 18, 40, 21, 16, 1, 19, 36, 27, 4, 40], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 33, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2351, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "df76fc71b7d899068b43f16bc5858dbd", |
| "tweak": "8e55911ef156dfe2", |
| "msg": [5, 0, 14, 1, 39, 17, 23, 18, 24, 9, 23, 39, 2, 41, 21, 30, 16, 16, 36, 2, 10, 36, 15, 2, 9, 30, 44, 8, 25, 24, 25, 35, 21], |
| "ct": [16, 32, 21, 44, 36, 12, 9, 1, 36, 9, 5, 25, 30, 37, 24, 35, 5, 28, 41, 34, 23, 13, 3, 6, 10, 40, 39, 1, 14, 19, 25, 40, 8], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 34, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2352, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "11376a0e9e836593ac7884b8e3bfe359", |
| "tweak": "608f001d178d01cd", |
| "msg": [7, 9, 12, 23, 25, 27, 17, 25, 2, 44, 43, 34, 36, 2, 35, 27, 32, 5, 10, 21, 19, 44, 42, 22, 3, 10, 44, 36, 33, 32, 3, 41, 38, 20], |
| "ct": [37, 13, 4, 30, 19, 34, 1, 1, 32, 13, 16, 25, 2, 40, 16, 12, 23, 15, 44, 22, 21, 1, 19, 11, 43, 22, 43, 15, 22, 31, 30, 27, 25, 38], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 35, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2353, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "8cf722c51c1bcec50ea3d7cc2e7589bd", |
| "tweak": "104e7e91dbb89026", |
| "msg": [27, 31, 1, 26, 17, 42, 32, 30, 18, 0, 38, 38, 6, 15, 44, 18, 41, 32, 20, 25, 42, 43, 39, 23, 36, 12, 11, 14, 17, 40, 19, 4, 38, 32, 26], |
| "ct": [18, 31, 21, 17, 4, 39, 18, 24, 31, 27, 37, 1, 3, 11, 36, 17, 17, 24, 21, 36, 18, 1, 16, 43, 37, 25, 25, 36, 35, 32, 31, 0, 5, 7, 2], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 40, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2354, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "ebac6d5741e58a3af7fd72a5db46b863", |
| "tweak": "fb13dc638ef728e5", |
| "msg": [12, 36, 14, 18, 41, 24, 10, 30, 31, 7, 33, 16, 10, 20, 17, 18, 18, 23, 17, 27, 24, 42, 10, 32, 30, 8, 3, 33, 1, 34, 23, 26, 13, 23, 14, 26, 6, 14, 25, 0], |
| "ct": [10, 27, 40, 28, 32, 42, 19, 4, 19, 16, 37, 22, 0, 35, 10, 33, 41, 22, 38, 21, 4, 29, 16, 37, 19, 17, 13, 10, 24, 16, 26, 18, 20, 11, 36, 39, 25, 41, 31, 30], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 46, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2355, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "b29199b9ace284cfdf13c635b66f5b01", |
| "tweak": "4fa493ffd71dc02a", |
| "msg": [21, 24, 14, 44, 5, 27, 4, 37, 38, 23, 26, 1, 23, 12, 6, 22, 39, 8, 32, 0, 32, 34, 34, 10, 3, 30, 25, 13, 23, 14, 29, 3, 28, 14, 2, 33, 30, 15, 21, 16, 24, 17, 3, 28, 32, 41], |
| "ct": [43, 6, 28, 23, 11, 36, 17, 40, 20, 12, 30, 43, 34, 17, 33, 31, 8, 10, 6, 5, 35, 43, 12, 32, 1, 17, 26, 11, 21, 11, 44, 24, 33, 27, 26, 15, 12, 39, 20, 33, 11, 18, 8, 40, 23, 15], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 47, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2356, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "0642f0eec0a35dc78e01484950883a9d", |
| "tweak": "9187af38d2c16f2e", |
| "msg": [1, 18, 38, 43, 43, 31, 26, 16, 27, 39, 7, 12, 35, 24, 26, 3, 27, 2, 18, 31, 18, 15, 24, 31, 19, 11, 15, 0, 11, 22, 22, 22, 15, 43, 39, 36, 12, 37, 41, 19, 19, 31, 7, 17, 22, 35, 14], |
| "ct": [22, 8, 5, 26, 34, 6, 1, 28, 33, 36, 23, 26, 12, 0, 2, 26, 0, 30, 29, 14, 30, 3, 1, 6, 15, 37, 2, 40, 44, 22, 37, 26, 29, 37, 36, 30, 24, 43, 11, 10, 17, 18, 17, 33, 34, 8, 7], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 58, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2357, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "997ec1bbf9557633a5c9a99d37185e8a", |
| "tweak": "c11c04f7f10a4848", |
| "msg": [13, 5, 19, 34, 28, 28, 28, 34, 22, 39, 11, 4, 32, 10, 20, 16, 21, 7, 32, 10, 6, 15, 4, 25, 27, 17, 6, 26, 34, 14, 6, 42, 24, 29, 30, 0, 4, 0, 15, 6, 10, 3, 0, 40, 37, 28, 18, 26, 27, 30, 4, 41, 16, 6, 25, 7, 7, 32], |
| "ct": [19, 3, 44, 8, 33, 8, 36, 2, 30, 35, 20, 14, 39, 21, 18, 9, 26, 35, 34, 7, 9, 27, 23, 29, 25, 18, 38, 29, 36, 40, 11, 3, 35, 27, 20, 22, 8, 14, 42, 40, 40, 23, 14, 42, 18, 29, 0, 34, 19, 14, 33, 35, 14, 0, 36, 38, 31, 3], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 59, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2358, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "1655f3273931a90c8d16b03ce5290b1c", |
| "tweak": "ebf8df2d2411a948", |
| "msg": [29, 2, 37, 13, 6, 5, 10, 0, 7, 44, 15, 34, 42, 14, 11, 28, 41, 13, 27, 13, 40, 44, 1, 9, 19, 22, 26, 5, 7, 0, 44, 6, 16, 3, 44, 31, 29, 2, 3, 39, 3, 41, 12, 33, 31, 17, 23, 1, 26, 21, 19, 9, 3, 34, 0, 22, 40, 23, 7], |
| "ct": [4, 0, 35, 33, 15, 10, 18, 8, 15, 11, 26, 10, 7, 12, 35, 20, 38, 11, 9, 35, 40, 29, 37, 35, 32, 40, 15, 20, 41, 2, 26, 41, 7, 7, 11, 20, 34, 40, 38, 17, 33, 31, 11, 34, 1, 23, 0, 4, 43, 43, 16, 21, 18, 12, 1, 42, 5, 32, 15], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 64, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2359, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "908bc4120a20f0043e43376761b2735e", |
| "tweak": "841888c5b9be1c84", |
| "msg": [31, 40, 6, 2, 31, 35, 34, 11, 1, 30, 28, 24, 13, 43, 42, 10, 37, 33, 40, 32, 31, 31, 4, 10, 11, 6, 27, 38, 4, 10, 8, 36, 44, 13, 17, 9, 23, 44, 10, 2, 2, 3, 7, 17, 5, 6, 23, 40, 20, 4, 23, 41, 11, 43, 13, 43, 9, 33, 3, 43, 37, 37, 9, 38], |
| "ct": [31, 4, 19, 27, 34, 2, 28, 5, 42, 36, 39, 30, 40, 24, 34, 7, 33, 33, 39, 39, 36, 29, 7, 14, 18, 4, 34, 39, 36, 40, 10, 22, 0, 9, 44, 14, 3, 35, 35, 19, 27, 1, 44, 42, 32, 8, 33, 18, 36, 30, 9, 38, 34, 3, 27, 42, 42, 36, 31, 33, 31, 40, 3, 39], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 68, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2360, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "ca677ccfa3c198e7be51d82298ee78f1", |
| "tweak": "a80a4cb0ff29b919", |
| "msg": [16, 0, 2, 0, 43, 34, 24, 18, 2, 35, 42, 34, 43, 33, 44, 16, 12, 35, 29, 29, 18, 4, 7, 42, 14, 32, 10, 11, 33, 40, 40, 21, 28, 35, 23, 3, 24, 41, 6, 43, 16, 15, 28, 13, 33, 40, 32, 1, 20, 1, 43, 42, 8, 35, 28, 25, 0, 40, 23, 1, 33, 10, 14, 18, 28, 26, 19, 7], |
| "ct": [29, 38, 29, 44, 28, 9, 22, 41, 18, 31, 33, 26, 0, 26, 36, 20, 10, 40, 11, 33, 17, 42, 5, 18, 22, 44, 18, 42, 26, 3, 1, 14, 27, 6, 3, 34, 30, 17, 4, 8, 33, 32, 0, 5, 37, 16, 41, 7, 32, 15, 7, 24, 17, 30, 43, 33, 0, 37, 16, 41, 37, 34, 28, 41, 34, 21, 30, 2], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 69, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2361, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "099edd6a1055819ad5acf1ceab36a227", |
| "tweak": "7c8f9cf12edb4b1a", |
| "msg": [43, 27, 11, 33, 27, 38, 2, 40, 9, 1, 1, 40, 1, 13, 17, 3, 15, 3, 9, 42, 34, 7, 13, 31, 20, 21, 37, 25, 27, 30, 41, 3, 1, 24, 0, 34, 15, 17, 9, 31, 36, 6, 40, 32, 26, 5, 36, 44, 4, 31, 17, 33, 33, 32, 35, 6, 6, 17, 0, 3, 18, 40, 16, 27, 29, 37, 39, 40, 8], |
| "ct": [13, 1, 39, 17, 21, 44, 22, 40, 21, 24, 1, 34, 10, 1, 44, 30, 40, 20, 23, 10, 8, 3, 34, 10, 2, 33, 6, 14, 30, 15, 7, 8, 7, 20, 11, 35, 29, 5, 19, 44, 16, 1, 38, 43, 3, 6, 27, 25, 1, 34, 34, 29, 14, 33, 11, 37, 18, 15, 2, 13, 7, 39, 16, 14, 20, 5, 37, 37, 23], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 80, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2362, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "f763833eb5dcad3df492092080b404b6", |
| "tweak": "46dc6b38a24f7002", |
| "msg": [28, 25, 30, 26, 26, 40, 1, 35, 13, 4, 10, 11, 21, 6, 17, 28, 29, 6, 25, 5, 27, 23, 23, 24, 8, 21, 43, 4, 12, 35, 33, 25, 7, 29, 18, 7, 8, 17, 24, 43, 43, 38, 4, 24, 13, 35, 6, 17, 24, 5, 24, 31, 39, 0, 26, 38, 36, 12, 33, 29, 30, 12, 4, 30, 41, 42, 17, 14, 33, 13, 9, 8, 3, 24, 16, 6, 20, 36, 6, 4], |
| "ct": [11, 32, 13, 27, 23, 5, 25, 34, 17, 32, 3, 18, 13, 28, 8, 24, 21, 24, 28, 24, 3, 0, 33, 2, 5, 31, 43, 29, 0, 5, 41, 3, 29, 10, 26, 43, 11, 5, 7, 11, 14, 7, 9, 37, 6, 38, 38, 33, 3, 4, 6, 29, 44, 13, 23, 38, 19, 12, 31, 43, 19, 1, 8, 8, 6, 36, 41, 12, 31, 35, 35, 41, 26, 20, 10, 29, 39, 36, 28, 35], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 81, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2363, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "dcaf5f2cc45949d99885ba01b3dc8100", |
| "tweak": "ff583462277212c3", |
| "msg": [39, 21, 16, 26, 23, 21, 16, 20, 34, 19, 19, 3, 20, 25, 21, 3, 29, 32, 26, 10, 26, 32, 19, 9, 36, 32, 40, 31, 26, 9, 30, 15, 15, 44, 27, 30, 10, 29, 0, 38, 22, 25, 27, 0, 24, 17, 35, 40, 14, 41, 16, 35, 21, 5, 12, 12, 40, 24, 22, 15, 1, 0, 23, 5, 28, 24, 23, 44, 32, 22, 32, 6, 41, 15, 41, 16, 4, 22, 25, 27, 41], |
| "ct": [21, 22, 23, 32, 34, 24, 41, 6, 40, 35, 38, 43, 0, 39, 8, 27, 5, 36, 24, 3, 38, 21, 11, 25, 17, 11, 41, 1, 19, 14, 15, 39, 24, 17, 19, 9, 8, 27, 8, 31, 9, 4, 13, 22, 36, 1, 9, 43, 29, 9, 1, 40, 10, 8, 24, 12, 9, 27, 24, 3, 17, 23, 40, 25, 27, 15, 0, 17, 5, 9, 21, 17, 31, 1, 5, 19, 18, 0, 11, 7, 8], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 92, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2364, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "aa5d4722ea1d68412875f9340f41fc99", |
| "tweak": "c03ed3bec45c55e6", |
| "msg": [5, 12, 3, 5, 32, 30, 8, 23, 10, 39, 11, 15, 37, 17, 23, 31, 7, 0, 5, 17, 30, 13, 38, 5, 4, 8, 18, 19, 13, 18, 32, 19, 39, 43, 40, 43, 28, 9, 33, 21, 26, 15, 23, 1, 27, 36, 15, 21, 17, 7, 32, 24, 1, 37, 44, 27, 17, 25, 5, 27, 42, 30, 7, 40, 27, 38, 4, 22, 3, 44, 4, 38, 9, 28, 34, 42, 43, 38, 35, 9, 42, 32, 11, 43, 15, 4, 31, 19, 23, 22, 12, 38], |
| "ct": [26, 6, 42, 0, 18, 28, 15, 4, 5, 8, 18, 3, 42, 37, 35, 33, 34, 23, 11, 25, 5, 10, 8, 40, 19, 15, 24, 15, 39, 33, 1, 29, 13, 39, 5, 37, 35, 26, 26, 4, 8, 31, 33, 44, 35, 1, 6, 44, 4, 33, 26, 21, 36, 30, 7, 28, 26, 18, 6, 5, 2, 21, 3, 21, 26, 16, 24, 25, 31, 30, 6, 24, 20, 21, 1, 20, 19, 24, 38, 8, 40, 30, 34, 27, 32, 20, 34, 5, 0, 26, 1, 14], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 128, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2365, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "6e2c702c4dd6ac18054df9905a2a6d63", |
| "tweak": "245070546cc82a65", |
| "msg": [44, 40, 43, 16, 42, 11, 27, 30, 11, 29, 37, 44, 22, 19, 19, 35, 25, 36, 1, 30, 22, 10, 41, 38, 43, 32, 36, 1, 16, 27, 7, 6, 4, 26, 34, 40, 5, 10, 31, 19, 0, 3, 31, 15, 23, 26, 14, 34, 2, 26, 0, 4, 44, 43, 43, 36, 31, 35, 34, 36, 15, 7, 22, 22, 14, 1, 22, 21, 41, 33, 9, 35, 2, 35, 20, 3, 26, 22, 4, 39, 23, 34, 12, 34, 44, 15, 9, 32, 37, 7, 4, 14, 37, 3, 22, 31, 35, 8, 17, 42, 0, 26, 35, 20, 11, 16, 11, 20, 39, 14, 41, 32, 17, 25, 34, 4, 31, 37, 36, 41, 23, 17, 27, 44, 12, 24, 4, 22], |
| "ct": [10, 24, 39, 20, 21, 37, 4, 13, 20, 11, 23, 2, 37, 29, 8, 13, 4, 24, 32, 7, 21, 29, 7, 26, 7, 3, 20, 31, 2, 9, 24, 21, 32, 18, 5, 43, 12, 11, 18, 7, 12, 41, 16, 22, 3, 5, 12, 11, 7, 18, 19, 15, 1, 44, 39, 0, 39, 30, 18, 39, 20, 27, 15, 43, 8, 27, 36, 4, 24, 8, 44, 23, 32, 39, 11, 1, 13, 28, 27, 7, 38, 29, 24, 0, 20, 1, 44, 16, 16, 22, 0, 14, 41, 0, 41, 37, 21, 43, 23, 2, 41, 37, 29, 44, 5, 42, 10, 33, 28, 23, 7, 39, 21, 43, 13, 2, 4, 37, 4, 33, 26, 9, 12, 21, 1, 26, 15, 6], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 128, |
| "msgSize": 260, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2366, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "39fd85d1a418270e382f927fa7d69afe", |
| "tweak": "3a0bb251adfea53c", |
| "msg": [43, 40, 4, 31, 24, 17, 25, 32, 12, 42, 23, 3, 32, 25, 24, 37, 23, 28, 15, 15, 27, 16, 5, 22, 31, 36, 27, 1, 29, 42, 5, 44, 35, 33, 10, 38, 5, 18, 18, 37, 16, 20, 25, 39, 33, 27, 8, 32, 34, 44, 13, 43, 8, 21, 38, 29, 1, 43, 33, 38, 2, 33, 39, 40, 15, 9, 21, 25, 17, 22, 16, 31, 36, 12, 44, 20, 11, 34, 35, 15, 0, 7, 19, 4, 42, 6, 25, 42, 33, 13, 17, 23, 4, 9, 8, 7, 22, 21, 22, 32, 30, 3, 5, 4, 31, 6, 4, 43, 29, 21, 6, 31, 15, 30, 9, 13, 3, 6, 37, 21, 38, 35, 18, 33, 4, 42, 28, 33, 8, 34, 15, 21, 22, 41, 8, 36, 25, 15, 27, 8, 14, 20, 43, 24, 5, 34, 44, 5, 37, 32, 33, 5, 13, 44, 9, 38, 24, 7, 18, 13, 13, 2, 9, 37, 29, 14, 25, 2, 24, 14, 5, 4, 22, 7, 13, 38, 13, 28, 11, 15, 35, 23, 30, 40, 5, 36, 8, 9, 17, 11, 42, 26, 27, 37, 9, 42, 6, 24, 25, 21, 22, 30, 33, 18, 13, 31, 23, 11, 40, 14, 30, 7, 21, 0, 38, 28, 35, 13, 1, 26, 19, 43, 11, 36, 0, 34, 14, 29, 11, 0, 32, 43, 7, 25, 44, 28, 41, 2, 14, 11, 30, 30, 5, 1, 32, 14, 8, 4, 43, 15, 0, 16, 14, 42, 21, 15, 21, 16, 3, 26], |
| "ct": [18, 6, 23, 21, 41, 39, 21, 1, 15, 7, 0, 42, 44, 14, 22, 16, 42, 4, 22, 44, 29, 2, 40, 25, 3, 0, 32, 27, 8, 12, 4, 42, 29, 4, 9, 34, 30, 6, 0, 26, 4, 27, 8, 14, 39, 42, 14, 3, 4, 12, 9, 14, 16, 31, 33, 1, 37, 33, 32, 5, 24, 2, 18, 15, 31, 11, 33, 38, 21, 39, 40, 19, 32, 24, 1, 28, 11, 24, 28, 21, 17, 24, 18, 44, 13, 7, 28, 28, 4, 14, 17, 7, 40, 23, 16, 41, 6, 30, 41, 5, 35, 31, 35, 5, 6, 23, 34, 32, 14, 9, 44, 2, 15, 6, 30, 42, 22, 22, 43, 31, 37, 7, 38, 36, 11, 8, 13, 32, 5, 6, 27, 3, 5, 3, 36, 30, 25, 35, 19, 23, 0, 44, 22, 16, 2, 6, 34, 11, 11, 26, 9, 44, 28, 23, 14, 33, 6, 17, 35, 24, 38, 28, 3, 21, 43, 2, 15, 4, 25, 4, 21, 15, 13, 23, 15, 30, 4, 43, 36, 2, 40, 23, 34, 44, 13, 21, 13, 25, 34, 9, 21, 34, 40, 30, 3, 3, 10, 44, 24, 26, 34, 22, 1, 22, 22, 21, 10, 37, 37, 38, 28, 40, 4, 42, 37, 28, 6, 39, 21, 0, 41, 36, 33, 38, 33, 18, 3, 35, 17, 9, 21, 43, 44, 23, 17, 29, 31, 43, 7, 21, 9, 29, 29, 33, 27, 39, 18, 19, 10, 42, 26, 12, 7, 23, 37, 7, 10, 20, 9, 20], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 24, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2367, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "ac7947235faeb09f47808bcdb7c28894767149cfe71948d9", |
| "tweak": "f7e5b4f29221b2aa", |
| "msg": [9, 35, 39, 3, 19, 8, 34, 28, 5, 26, 37, 4, 14, 27, 2, 29, 35, 24, 43, 44, 5, 32, 34, 42], |
| "ct": [42, 37, 28, 39, 28, 7, 40, 19, 42, 30, 23, 21, 44, 22, 40, 37, 26, 28, 41, 27, 39, 5, 35, 34], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 25, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2368, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "d3cc660039922e4edf19ee000bf0190aa4a974e2af2df506", |
| "tweak": "c1eb1cd08201924c", |
| "msg": [11, 2, 0, 2, 31, 20, 27, 21, 36, 32, 6, 23, 40, 8, 2, 12, 32, 32, 17, 7, 30, 21, 42, 19, 12], |
| "ct": [21, 33, 44, 18, 1, 6, 1, 22, 26, 12, 4, 13, 41, 41, 30, 22, 23, 4, 14, 14, 17, 36, 7, 8, 29], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 26, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2369, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "a08b283fbb882bc35ad665f439ba1ba3cb45faa7ef953e75", |
| "tweak": "a8bad0d760a36482", |
| "msg": [28, 9, 44, 24, 14, 3, 41, 19, 7, 8, 44, 22, 1, 10, 10, 42, 39, 24, 31, 23, 23, 5, 1, 42, 6, 14], |
| "ct": [39, 44, 34, 34, 2, 18, 25, 37, 9, 19, 32, 10, 13, 8, 37, 15, 7, 6, 27, 14, 18, 17, 32, 11, 20, 28], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 27, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2370, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "bc8a31cd3bf14b148eb6519268b2bd472de9cce165061efd", |
| "tweak": "f62b70082bb992d2", |
| "msg": [8, 22, 23, 34, 31, 5, 7, 44, 9, 26, 40, 40, 12, 1, 13, 27, 40, 13, 14, 20, 43, 22, 26, 30, 27, 21, 41], |
| "ct": [33, 42, 10, 32, 17, 31, 12, 15, 28, 26, 40, 31, 2, 43, 18, 23, 3, 18, 39, 40, 17, 28, 31, 12, 31, 13, 18], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 28, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2371, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "0c6561b42c5cde205f8ba1b4fe71ac110ff2807958a069d4", |
| "tweak": "1b2ce7022ea31126", |
| "msg": [10, 13, 8, 14, 8, 24, 10, 25, 19, 12, 12, 42, 37, 7, 14, 9, 26, 22, 19, 16, 15, 18, 14, 39, 3, 20, 31, 25], |
| "ct": [37, 37, 36, 39, 28, 1, 23, 20, 23, 37, 12, 23, 31, 18, 40, 41, 10, 2, 33, 44, 9, 38, 21, 10, 0, 22, 4, 9], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 29, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2372, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "4e08042735575708e4a9a0df5ae920c4fd181e38e731eb2e", |
| "tweak": "36502a1e0aeca248", |
| "msg": [38, 25, 40, 20, 17, 10, 3, 11, 27, 3, 16, 19, 25, 13, 17, 29, 22, 37, 28, 13, 15, 41, 6, 5, 21, 11, 34, 44, 3], |
| "ct": [35, 4, 11, 2, 12, 8, 43, 0, 16, 14, 41, 34, 42, 7, 12, 32, 15, 6, 39, 43, 20, 15, 8, 22, 12, 6, 38, 36, 30], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 30, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2373, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "5fd8e11413d7659bc1b0be8e8febf6d6342060aa9a91d63d", |
| "tweak": "f249815599506c40", |
| "msg": [11, 32, 30, 25, 26, 0, 31, 39, 30, 23, 8, 24, 1, 8, 39, 10, 12, 13, 38, 0, 29, 6, 34, 8, 14, 6, 26, 29, 12, 7], |
| "ct": [43, 33, 6, 6, 35, 24, 22, 30, 27, 18, 4, 21, 3, 44, 29, 29, 25, 35, 38, 23, 29, 19, 20, 22, 25, 19, 0, 33, 11, 10], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 31, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2374, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "77b5e0675cc0ecffd9a187798870ce49ce4a9b6807e14b2b", |
| "tweak": "dc5996a3061cff92", |
| "msg": [43, 24, 6, 22, 18, 35, 5, 20, 5, 22, 0, 31, 8, 2, 27, 4, 5, 10, 41, 29, 19, 9, 20, 19, 4, 40, 21, 10, 27, 28, 21], |
| "ct": [39, 26, 1, 21, 5, 42, 33, 34, 13, 7, 44, 0, 35, 33, 21, 21, 21, 10, 17, 23, 1, 30, 43, 11, 27, 40, 28, 27, 13, 28, 41], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 32, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2375, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "51bc85303caaaad311ecfdbad7b6d390f51de4de32beeb24", |
| "tweak": "5ba80100c8ec15b3", |
| "msg": [32, 8, 31, 5, 23, 16, 38, 43, 6, 44, 15, 42, 19, 6, 3, 2, 14, 39, 20, 13, 33, 19, 10, 44, 0, 12, 43, 30, 44, 35, 34, 27], |
| "ct": [19, 6, 32, 22, 26, 38, 13, 11, 42, 31, 24, 25, 44, 42, 1, 10, 34, 30, 35, 24, 8, 24, 32, 8, 30, 37, 25, 27, 18, 3, 16, 41], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 33, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2376, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "c873cf24452bb6d1ac26d53a77387c345eb0d8567f49d5ea", |
| "tweak": "b46136fc98b7e9f8", |
| "msg": [8, 2, 1, 43, 32, 29, 24, 41, 33, 33, 33, 7, 20, 22, 5, 23, 5, 13, 39, 0, 5, 25, 11, 32, 4, 21, 26, 43, 11, 29, 30, 25, 5], |
| "ct": [26, 24, 14, 21, 2, 13, 44, 13, 6, 28, 7, 34, 8, 38, 24, 14, 43, 3, 5, 35, 3, 26, 20, 14, 15, 17, 37, 27, 24, 44, 22, 19, 25], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 34, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2377, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "788478b987658b5290582473715add7304cf3cf6f57f994a", |
| "tweak": "a9003a6a0f69780f", |
| "msg": [23, 33, 18, 27, 15, 43, 37, 31, 34, 6, 11, 19, 4, 29, 1, 5, 3, 36, 21, 37, 12, 31, 21, 1, 36, 35, 35, 37, 42, 19, 44, 11, 30, 40], |
| "ct": [39, 29, 14, 16, 9, 31, 24, 38, 29, 11, 26, 24, 43, 33, 11, 17, 35, 25, 27, 1, 36, 14, 5, 30, 36, 35, 11, 3, 34, 25, 38, 20, 39, 10], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 35, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2378, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "df747bc6f44f1ac9b83ab4db6031b769c5890652e19bf4f3", |
| "tweak": "ccc6ad9e6a0166c5", |
| "msg": [15, 19, 13, 14, 3, 41, 18, 21, 29, 13, 9, 13, 3, 0, 19, 12, 3, 18, 30, 3, 16, 38, 4, 9, 32, 42, 9, 30, 5, 1, 24, 7, 25, 28, 13], |
| "ct": [7, 33, 9, 22, 10, 2, 37, 11, 44, 44, 16, 1, 14, 39, 11, 5, 41, 24, 4, 23, 28, 28, 19, 38, 8, 34, 37, 30, 12, 29, 16, 25, 26, 20, 18], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 40, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2379, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "874c932451575931e99c482805c40441d978af9c68bd82af", |
| "tweak": "f4a660ef48089bb0", |
| "msg": [36, 40, 16, 5, 35, 27, 14, 24, 7, 22, 15, 9, 10, 32, 35, 13, 25, 28, 9, 28, 16, 4, 21, 31, 15, 13, 42, 18, 19, 25, 27, 33, 9, 40, 28, 39, 4, 3, 14, 10], |
| "ct": [3, 42, 27, 25, 30, 28, 25, 20, 34, 34, 14, 40, 41, 18, 0, 30, 31, 19, 16, 21, 29, 6, 17, 34, 42, 21, 26, 16, 8, 31, 7, 22, 36, 24, 37, 37, 41, 39, 15, 5], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 46, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2380, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "a4812624231678aa689be55e656c547e25aa80ee0e5cbcbb", |
| "tweak": "bd7e50c90c3ec38c", |
| "msg": [0, 19, 40, 16, 43, 31, 7, 15, 35, 4, 39, 26, 2, 37, 12, 30, 23, 27, 38, 13, 44, 17, 41, 15, 38, 17, 20, 15, 29, 31, 4, 28, 14, 10, 17, 22, 16, 17, 40, 36, 10, 26, 43, 23, 19, 27], |
| "ct": [23, 18, 44, 3, 30, 4, 1, 5, 24, 19, 7, 22, 25, 23, 26, 8, 0, 40, 0, 44, 25, 31, 40, 2, 28, 36, 31, 15, 23, 5, 41, 24, 29, 33, 40, 17, 14, 43, 27, 16, 0, 39, 20, 15, 12, 2], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 47, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2381, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "0973b0d3b0fa0075a3c899dcda23e4a240416313d98f8cac", |
| "tweak": "aa12e4a96a93e827", |
| "msg": [21, 16, 40, 44, 21, 31, 38, 0, 15, 18, 14, 6, 33, 4, 2, 22, 16, 20, 25, 22, 6, 16, 23, 37, 29, 1, 1, 31, 29, 27, 1, 24, 31, 0, 19, 11, 43, 12, 41, 25, 5, 40, 26, 36, 6, 18, 17], |
| "ct": [44, 12, 41, 17, 33, 13, 28, 17, 28, 2, 37, 5, 19, 27, 2, 12, 38, 42, 27, 3, 16, 0, 34, 42, 4, 23, 23, 13, 38, 6, 3, 10, 35, 14, 15, 2, 41, 38, 29, 4, 18, 25, 44, 9, 29, 27, 11], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 58, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2382, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "fb6b34a0e0dca9cbbdb7b57f51434e84e498282fb5b3c0c2", |
| "tweak": "c2bc4a6e78431c4e", |
| "msg": [1, 30, 0, 42, 40, 31, 6, 20, 42, 8, 40, 36, 33, 35, 39, 39, 6, 13, 17, 23, 44, 18, 3, 13, 22, 44, 15, 13, 30, 39, 22, 1, 33, 2, 25, 33, 38, 26, 13, 11, 32, 5, 29, 26, 4, 12, 13, 12, 8, 0, 38, 28, 1, 35, 31, 11, 16, 41], |
| "ct": [32, 27, 18, 12, 28, 15, 13, 30, 18, 44, 34, 42, 17, 15, 36, 8, 30, 26, 19, 18, 34, 3, 39, 13, 15, 31, 7, 12, 15, 0, 23, 8, 42, 25, 43, 31, 29, 33, 25, 28, 6, 26, 19, 0, 38, 7, 0, 5, 27, 40, 28, 32, 39, 1, 23, 2, 18, 0], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 59, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2383, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "63e08f95842e48c314492cb1fe62db93c7aeadc87a16d98b", |
| "tweak": "01de076e751ae220", |
| "msg": [9, 27, 34, 40, 1, 4, 8, 18, 19, 32, 39, 35, 25, 42, 24, 21, 42, 3, 39, 44, 41, 43, 7, 26, 30, 11, 39, 43, 17, 1, 36, 16, 38, 36, 30, 19, 43, 20, 5, 20, 18, 18, 26, 33, 8, 23, 38, 18, 40, 27, 31, 31, 40, 37, 5, 18, 33, 14, 37], |
| "ct": [22, 21, 1, 34, 38, 24, 26, 24, 25, 25, 21, 31, 30, 0, 7, 1, 7, 15, 31, 42, 1, 5, 12, 27, 17, 26, 0, 44, 32, 30, 16, 32, 43, 13, 33, 38, 21, 36, 11, 8, 11, 40, 2, 13, 28, 42, 22, 43, 23, 11, 44, 22, 40, 39, 19, 20, 13, 38, 1], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 64, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2384, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "e4c130f163d45035558190d51f439765679a202370a0ce7f", |
| "tweak": "d99a093ac4bd3488", |
| "msg": [34, 17, 14, 44, 33, 15, 31, 28, 16, 20, 1, 31, 10, 42, 24, 4, 44, 24, 14, 22, 15, 13, 24, 17, 43, 0, 32, 22, 26, 39, 12, 33, 17, 5, 9, 3, 4, 19, 40, 20, 8, 27, 41, 14, 8, 37, 38, 13, 43, 3, 40, 31, 26, 14, 4, 43, 26, 36, 33, 28, 20, 10, 38, 25], |
| "ct": [3, 43, 23, 17, 39, 35, 10, 12, 16, 18, 44, 33, 28, 20, 29, 23, 3, 7, 11, 18, 39, 23, 9, 24, 11, 3, 16, 44, 14, 1, 4, 2, 28, 21, 1, 19, 12, 34, 10, 5, 6, 2, 14, 38, 42, 24, 8, 32, 31, 32, 17, 41, 39, 36, 7, 33, 37, 22, 5, 4, 31, 8, 40, 17], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 68, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2385, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "1b98c79886bbc3110a5c046e7ad344c9ba3099bf14324fb8", |
| "tweak": "da83a906c085c408", |
| "msg": [21, 40, 15, 31, 19, 32, 10, 1, 22, 1, 11, 39, 40, 38, 14, 27, 22, 24, 16, 42, 33, 15, 13, 9, 38, 0, 2, 28, 39, 25, 38, 35, 13, 21, 13, 36, 1, 0, 19, 4, 43, 10, 31, 30, 4, 20, 26, 38, 31, 12, 28, 14, 32, 12, 42, 8, 35, 30, 27, 35, 30, 7, 17, 32, 29, 44, 9, 28], |
| "ct": [10, 27, 28, 23, 16, 41, 25, 4, 38, 24, 35, 2, 9, 6, 7, 22, 2, 23, 44, 21, 21, 33, 22, 37, 37, 23, 12, 32, 27, 35, 24, 0, 39, 13, 8, 9, 44, 6, 30, 0, 33, 41, 8, 12, 34, 39, 33, 13, 25, 24, 42, 23, 23, 22, 40, 22, 29, 19, 41, 10, 14, 27, 4, 28, 16, 29, 5, 16], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 69, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2386, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "ae9ef2d2c4423f0d94e1177ad6a87b631895261a331c7a3b", |
| "tweak": "84cdd7f9d16186e4", |
| "msg": [31, 41, 35, 28, 37, 43, 23, 5, 4, 26, 32, 11, 7, 14, 3, 19, 37, 2, 10, 31, 20, 21, 16, 5, 30, 40, 16, 1, 3, 3, 1, 42, 37, 41, 19, 21, 27, 24, 36, 11, 25, 44, 9, 40, 10, 6, 1, 17, 29, 12, 9, 44, 25, 1, 40, 34, 25, 6, 16, 19, 15, 38, 37, 8, 0, 30, 6, 13, 22], |
| "ct": [38, 7, 13, 36, 32, 19, 0, 37, 36, 20, 33, 31, 5, 31, 42, 31, 13, 13, 38, 13, 14, 15, 42, 36, 8, 12, 25, 17, 8, 15, 38, 19, 40, 28, 42, 29, 3, 21, 30, 25, 7, 12, 32, 43, 37, 6, 1, 9, 22, 27, 38, 6, 30, 5, 7, 36, 42, 33, 3, 37, 0, 9, 2, 20, 3, 32, 44, 33, 22], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 80, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2387, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "c3290a053478ca018533e702e2d0bf805933488260457c79", |
| "tweak": "c814a8fb2641f8ef", |
| "msg": [40, 42, 10, 7, 16, 4, 40, 1, 2, 18, 5, 11, 0, 1, 17, 44, 15, 2, 9, 41, 27, 36, 2, 43, 12, 20, 20, 6, 1, 5, 0, 0, 35, 9, 38, 4, 9, 28, 4, 30, 39, 11, 13, 1, 1, 22, 44, 42, 3, 23, 6, 26, 6, 29, 34, 6, 33, 12, 5, 23, 27, 4, 21, 14, 29, 29, 4, 3, 43, 12, 2, 13, 13, 11, 33, 16, 40, 11, 29, 6], |
| "ct": [39, 15, 4, 40, 24, 35, 9, 24, 14, 35, 28, 19, 26, 36, 10, 27, 39, 39, 16, 26, 22, 9, 23, 20, 44, 10, 31, 6, 1, 13, 3, 27, 37, 15, 21, 7, 14, 21, 32, 5, 29, 39, 39, 24, 3, 17, 8, 11, 41, 42, 34, 27, 35, 3, 26, 20, 3, 22, 27, 37, 40, 29, 10, 43, 17, 3, 14, 27, 7, 16, 30, 7, 16, 25, 25, 23, 37, 26, 5, 21], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 81, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2388, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "54e76107f9a1dfdc177496350f0ad46c0ab229e1e504157c", |
| "tweak": "17de988e050a41d1", |
| "msg": [26, 0, 10, 34, 18, 4, 37, 42, 21, 35, 39, 0, 17, 16, 40, 36, 25, 9, 25, 43, 29, 38, 44, 3, 3, 23, 36, 26, 39, 7, 26, 12, 27, 10, 27, 0, 3, 14, 20, 31, 34, 19, 35, 6, 44, 0, 44, 24, 18, 26, 33, 24, 32, 38, 1, 15, 5, 22, 19, 36, 12, 25, 22, 39, 32, 15, 2, 1, 35, 33, 31, 26, 31, 11, 10, 9, 18, 3, 38, 43, 18], |
| "ct": [1, 39, 17, 40, 38, 42, 5, 16, 19, 43, 18, 29, 9, 0, 42, 31, 24, 7, 0, 38, 19, 2, 1, 10, 23, 1, 38, 34, 27, 7, 42, 32, 16, 39, 38, 23, 0, 12, 5, 22, 6, 37, 1, 20, 18, 38, 5, 44, 38, 8, 24, 33, 19, 32, 34, 12, 7, 24, 16, 4, 8, 13, 27, 43, 27, 15, 3, 42, 5, 36, 43, 14, 26, 39, 5, 40, 13, 30, 2, 3, 16], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 92, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2389, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "71bb61ad9140e7afba0a964463842f04a7658279ffa4f707", |
| "tweak": "8b22b17b7a2ec063", |
| "msg": [24, 22, 7, 37, 21, 25, 6, 9, 38, 4, 3, 14, 11, 19, 8, 10, 19, 40, 19, 33, 33, 27, 41, 38, 42, 38, 5, 44, 25, 4, 16, 1, 3, 10, 25, 5, 14, 8, 29, 26, 32, 26, 23, 29, 29, 33, 20, 4, 35, 3, 31, 36, 9, 39, 3, 22, 38, 20, 13, 6, 14, 5, 43, 16, 13, 1, 23, 12, 34, 40, 39, 18, 30, 38, 23, 8, 29, 22, 27, 39, 9, 27, 14, 36, 15, 6, 29, 37, 26, 16, 9, 9], |
| "ct": [36, 34, 36, 3, 36, 9, 21, 4, 21, 10, 8, 10, 7, 27, 19, 35, 36, 31, 43, 38, 3, 40, 25, 41, 26, 16, 12, 2, 9, 15, 4, 2, 29, 9, 24, 33, 20, 37, 32, 41, 28, 32, 4, 34, 30, 42, 5, 22, 15, 3, 18, 40, 18, 19, 44, 26, 11, 15, 43, 33, 2, 44, 2, 22, 6, 5, 13, 37, 36, 6, 10, 7, 29, 13, 31, 38, 31, 16, 0, 3, 41, 13, 41, 3, 8, 33, 13, 17, 0, 15, 19, 14], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 128, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2390, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "f38798eb8567d4a7f70c50782361b5a6261d07e43c8b54ca", |
| "tweak": "36c24b7c62ee3538", |
| "msg": [7, 35, 9, 7, 39, 21, 11, 37, 9, 5, 2, 19, 39, 2, 42, 7, 34, 36, 41, 28, 7, 16, 24, 29, 37, 1, 34, 43, 11, 13, 23, 25, 3, 4, 35, 24, 12, 14, 12, 12, 23, 31, 10, 27, 0, 3, 29, 32, 19, 20, 11, 10, 5, 43, 24, 17, 14, 34, 12, 17, 21, 25, 28, 25, 36, 33, 38, 44, 42, 25, 19, 23, 40, 3, 38, 28, 5, 13, 6, 24, 37, 39, 29, 34, 15, 7, 23, 35, 8, 22, 23, 5, 11, 0, 24, 30, 36, 18, 39, 43, 29, 2, 44, 34, 13, 41, 17, 13, 29, 10, 7, 34, 0, 17, 13, 10, 28, 0, 29, 23, 4, 11, 17, 11, 10, 36, 38, 34], |
| "ct": [34, 26, 25, 29, 36, 18, 38, 26, 14, 36, 28, 20, 18, 34, 30, 25, 43, 5, 30, 13, 8, 0, 32, 22, 8, 35, 14, 6, 31, 7, 24, 32, 6, 10, 40, 11, 15, 34, 38, 29, 41, 23, 37, 5, 7, 30, 32, 28, 23, 21, 28, 11, 41, 23, 21, 19, 33, 44, 26, 2, 22, 8, 27, 23, 36, 43, 15, 14, 21, 26, 38, 22, 9, 22, 24, 29, 40, 9, 31, 12, 24, 10, 17, 34, 17, 18, 13, 4, 32, 44, 9, 38, 12, 40, 9, 13, 8, 16, 30, 29, 35, 31, 5, 2, 12, 40, 5, 33, 32, 21, 30, 36, 31, 18, 24, 17, 14, 20, 11, 33, 32, 35, 19, 29, 17, 10, 29, 17], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 192, |
| "msgSize": 260, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2391, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "ddf845415ef282ad312951d506329229d34582b869cec20f", |
| "tweak": "fa3a2a07855bde0b", |
| "msg": [0, 31, 1, 42, 36, 15, 41, 1, 7, 31, 20, 11, 3, 16, 10, 20, 23, 6, 16, 25, 6, 27, 17, 20, 40, 0, 5, 43, 31, 24, 18, 20, 23, 29, 0, 36, 13, 7, 9, 25, 22, 41, 18, 10, 2, 26, 5, 10, 14, 35, 44, 21, 22, 19, 22, 38, 28, 41, 6, 42, 2, 39, 40, 40, 7, 0, 17, 1, 30, 15, 11, 19, 14, 32, 16, 21, 19, 9, 29, 43, 35, 4, 5, 38, 31, 32, 10, 3, 44, 1, 14, 2, 35, 26, 41, 21, 39, 42, 7, 9, 7, 5, 32, 6, 10, 10, 14, 6, 21, 41, 2, 5, 18, 19, 34, 15, 2, 13, 3, 9, 34, 5, 6, 35, 1, 15, 30, 8, 28, 30, 43, 28, 10, 44, 13, 30, 11, 33, 22, 11, 20, 12, 9, 10, 41, 44, 22, 30, 42, 42, 44, 14, 28, 43, 30, 42, 9, 33, 29, 12, 29, 0, 32, 29, 2, 23, 17, 20, 7, 28, 27, 36, 18, 17, 11, 38, 30, 43, 11, 4, 8, 3, 28, 10, 32, 11, 5, 13, 8, 10, 22, 37, 7, 32, 33, 36, 11, 9, 27, 11, 8, 6, 28, 19, 32, 5, 2, 13, 19, 41, 44, 12, 20, 29, 1, 21, 4, 38, 23, 8, 31, 10, 40, 44, 14, 17, 43, 20, 3, 0, 4, 40, 21, 38, 17, 29, 43, 31, 32, 41, 29, 12, 42, 9, 36, 2, 17, 11, 25, 43, 11, 1, 11, 6, 19, 25, 21, 44, 21, 43], |
| "ct": [14, 0, 41, 39, 25, 6, 40, 44, 31, 20, 42, 44, 4, 17, 33, 36, 8, 26, 6, 33, 9, 5, 32, 15, 1, 22, 43, 9, 11, 13, 23, 41, 42, 35, 10, 0, 40, 36, 15, 40, 42, 4, 42, 32, 20, 41, 34, 40, 6, 24, 14, 27, 40, 10, 28, 17, 29, 18, 20, 21, 6, 17, 2, 42, 1, 1, 40, 25, 23, 27, 42, 32, 5, 9, 38, 17, 18, 33, 1, 4, 9, 10, 3, 18, 11, 16, 7, 12, 39, 31, 17, 3, 26, 11, 16, 39, 32, 25, 18, 19, 38, 31, 40, 26, 4, 24, 10, 3, 23, 0, 0, 32, 7, 22, 44, 41, 20, 38, 35, 12, 15, 35, 29, 40, 15, 11, 7, 10, 24, 24, 20, 7, 37, 34, 16, 28, 38, 33, 5, 21, 5, 33, 13, 31, 34, 43, 37, 4, 12, 34, 28, 27, 43, 29, 43, 44, 32, 28, 1, 9, 30, 20, 8, 30, 35, 13, 2, 21, 21, 32, 14, 19, 8, 40, 21, 38, 1, 35, 0, 6, 39, 3, 41, 24, 5, 29, 31, 44, 28, 42, 14, 14, 41, 12, 2, 39, 21, 26, 1, 21, 21, 31, 20, 38, 36, 23, 41, 31, 11, 41, 21, 31, 30, 44, 29, 7, 23, 44, 25, 15, 12, 7, 39, 5, 28, 18, 20, 27, 43, 27, 42, 7, 0, 30, 3, 24, 12, 35, 32, 25, 35, 15, 19, 11, 11, 17, 17, 39, 20, 32, 17, 16, 32, 7, 17, 40, 10, 21, 1, 1], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 24, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2392, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "6dd6f146d834e25b75f7cde4071293e1cb4ed6be6f3e93a1338f21699c844fef", |
| "tweak": "a043702fce39a1ce", |
| "msg": [37, 9, 2, 9, 5, 18, 19, 10, 8, 14, 42, 9, 27, 9, 42, 44, 1, 31, 15, 14, 29, 44, 28, 6], |
| "ct": [35, 40, 16, 5, 20, 11, 20, 41, 35, 24, 42, 30, 39, 43, 0, 5, 0, 7, 0, 16, 22, 23, 17, 21], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 25, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2393, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "e0325d51f62ed182ca91eb839e255cae9917f657cb90ac5c9f891c4ecbfb44ba", |
| "tweak": "6a15097e7edd42a0", |
| "msg": [32, 23, 33, 25, 13, 29, 32, 1, 11, 15, 20, 35, 35, 44, 36, 27, 37, 10, 9, 20, 18, 35, 22, 18, 7], |
| "ct": [40, 29, 8, 14, 21, 0, 35, 8, 3, 5, 31, 14, 12, 8, 3, 15, 36, 40, 35, 25, 11, 42, 33, 14, 6], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 26, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2394, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "219dd3d491cb992c6c8c4d4292b5ee76784b4b383fc415b654f09d600248858b", |
| "tweak": "6434003b257c6b31", |
| "msg": [1, 2, 39, 37, 35, 15, 36, 13, 17, 39, 25, 18, 20, 5, 36, 8, 18, 5, 25, 39, 26, 32, 11, 31, 0, 28], |
| "ct": [43, 32, 15, 8, 25, 10, 11, 12, 40, 4, 38, 25, 13, 28, 3, 39, 25, 31, 5, 14, 19, 10, 27, 31, 42, 19], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 27, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2395, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "89dcb7b56207898e6bbf9275e00e68d7f08eee8ef17be1a0359b5f15a4c7f476", |
| "tweak": "2146a4ee0ca89f28", |
| "msg": [41, 0, 21, 40, 11, 13, 17, 12, 19, 24, 7, 35, 3, 3, 27, 8, 38, 30, 36, 26, 39, 15, 14, 27, 30, 44, 32], |
| "ct": [19, 32, 44, 15, 23, 31, 33, 14, 10, 8, 14, 27, 26, 9, 18, 2, 24, 25, 44, 43, 9, 20, 27, 1, 34, 33, 41], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 28, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2396, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "56b5a4449c4eab69ba4deb8094c02b97de3992b606485185334642bf8626dcee", |
| "tweak": "46ab2623206bced3", |
| "msg": [43, 11, 19, 14, 6, 28, 27, 33, 44, 24, 27, 0, 2, 39, 44, 44, 22, 17, 13, 20, 33, 35, 24, 26, 12, 11, 34, 15], |
| "ct": [31, 20, 20, 20, 3, 4, 15, 3, 9, 26, 37, 6, 38, 27, 39, 41, 7, 11, 41, 26, 41, 31, 18, 37, 17, 36, 43, 27], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 29, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2397, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "289b50c9fef3028eebb6d8121536042e818bcf1ce7829d123daf3704c95a803d", |
| "tweak": "6fc54bb5ade03038", |
| "msg": [2, 26, 39, 24, 29, 42, 39, 0, 20, 35, 2, 2, 23, 15, 8, 23, 30, 30, 13, 25, 11, 41, 2, 28, 36, 44, 27, 3, 5], |
| "ct": [14, 32, 36, 1, 43, 7, 10, 3, 13, 35, 3, 18, 13, 30, 43, 34, 15, 21, 36, 37, 2, 30, 14, 33, 40, 17, 36, 13, 19], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 30, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2398, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "73fb9509d5105cc23dc27665da2603ae368bb7472ee6faba1f50369cd283944e", |
| "tweak": "5cbf2c8926102868", |
| "msg": [5, 29, 30, 18, 19, 25, 2, 24, 0, 9, 44, 30, 27, 4, 19, 10, 4, 32, 7, 20, 2, 34, 26, 27, 20, 38, 31, 10, 4, 5], |
| "ct": [17, 14, 42, 33, 27, 4, 25, 6, 15, 41, 8, 17, 29, 10, 31, 31, 19, 26, 12, 37, 42, 42, 42, 0, 40, 41, 28, 20, 0, 5], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 31, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2399, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "c469e6908749a713e6ef407c557cea98515c3e931222e22d13b85ea1f6071231", |
| "tweak": "47b8d0890cbc7d4d", |
| "msg": [23, 24, 12, 22, 35, 20, 1, 10, 27, 39, 16, 15, 39, 2, 8, 25, 18, 44, 39, 36, 6, 40, 30, 19, 13, 28, 7, 16, 10, 11, 20], |
| "ct": [9, 25, 23, 27, 27, 37, 27, 19, 25, 19, 10, 4, 3, 40, 1, 29, 12, 23, 34, 27, 44, 28, 7, 35, 24, 13, 33, 35, 43, 41, 40], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 32, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2400, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "233e4fdee70bcc20235b6977ddfc05b0df66f5635d827c66e5a63cdb16a24938", |
| "tweak": "1b6819798da15c7a", |
| "msg": [27, 34, 31, 39, 5, 18, 17, 17, 15, 37, 16, 30, 22, 21, 37, 14, 17, 17, 25, 32, 44, 39, 11, 36, 7, 0, 8, 17, 26, 37, 35, 12], |
| "ct": [24, 32, 40, 32, 17, 1, 43, 27, 8, 24, 35, 1, 26, 5, 27, 16, 3, 29, 17, 28, 5, 29, 30, 31, 2, 26, 7, 3, 0, 32, 23, 12], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 33, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2401, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "ff5595a976430f9c424459d7206cfa55562f5f2328f12e31232499fb1e7c49b4", |
| "tweak": "2d1ad468fddd0754", |
| "msg": [15, 12, 2, 44, 15, 5, 42, 15, 32, 25, 43, 44, 31, 38, 44, 9, 21, 17, 14, 6, 29, 25, 14, 8, 7, 27, 39, 35, 12, 21, 17, 26, 10], |
| "ct": [8, 9, 0, 27, 8, 35, 1, 41, 12, 12, 25, 22, 44, 9, 16, 38, 15, 20, 12, 12, 4, 23, 40, 31, 15, 34, 41, 35, 38, 18, 27, 10, 26], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 34, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2402, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "bb09d316db1dc180760121d18c966c547c84229297b2e061f9669aebed37f225", |
| "tweak": "f20f73dbb78df7ea", |
| "msg": [23, 34, 23, 6, 42, 24, 3, 29, 18, 13, 26, 40, 30, 26, 42, 23, 19, 12, 10, 36, 3, 41, 16, 24, 23, 1, 1, 29, 18, 34, 12, 28, 24, 26], |
| "ct": [8, 26, 36, 10, 39, 37, 10, 2, 7, 26, 31, 0, 27, 43, 13, 29, 26, 8, 6, 27, 17, 44, 4, 27, 15, 5, 17, 15, 10, 34, 14, 40, 41, 8], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 35, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2403, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "a09de519b47e227cd563e62596a61d73f0aad2c926d3e60168ed0a06b173a28c", |
| "tweak": "82a8e5bd4f5fad59", |
| "msg": [44, 0, 0, 36, 8, 18, 4, 42, 26, 31, 20, 22, 38, 32, 5, 38, 20, 27, 28, 32, 21, 5, 0, 14, 19, 25, 23, 29, 43, 10, 7, 36, 19, 7, 8], |
| "ct": [28, 12, 15, 39, 36, 2, 26, 40, 7, 22, 6, 33, 30, 31, 5, 35, 34, 37, 32, 28, 33, 6, 36, 7, 8, 23, 2, 21, 10, 18, 26, 32, 13, 15, 2], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 40, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2404, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "44d6353fd4623666bb7617a2235ebe645e1685dc11e084d7408c75042d94c06c", |
| "tweak": "e0b69ccb91ebb7a3", |
| "msg": [9, 41, 12, 21, 1, 6, 11, 10, 4, 38, 39, 22, 17, 9, 41, 35, 15, 17, 36, 11, 24, 21, 26, 9, 17, 16, 34, 13, 1, 42, 36, 36, 3, 16, 44, 15, 30, 34, 17, 37], |
| "ct": [41, 5, 24, 18, 34, 36, 34, 9, 1, 13, 30, 37, 38, 17, 32, 19, 22, 4, 19, 28, 20, 10, 34, 4, 32, 17, 33, 32, 39, 9, 21, 42, 22, 41, 30, 42, 40, 28, 28, 26], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 46, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2405, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "a2d5d1fd6160247138cc4b6766d7bbfe48674fedbc58c2490d84717c86e880d2", |
| "tweak": "a34d653d6a61418a", |
| "msg": [43, 22, 39, 19, 8, 38, 29, 38, 3, 39, 32, 20, 37, 24, 24, 40, 4, 9, 1, 23, 28, 41, 2, 11, 24, 5, 42, 6, 23, 44, 9, 25, 38, 34, 38, 29, 19, 20, 36, 18, 18, 21, 27, 22, 31, 24], |
| "ct": [43, 12, 14, 33, 14, 20, 18, 20, 17, 19, 31, 4, 32, 0, 2, 32, 42, 6, 37, 21, 26, 43, 9, 24, 34, 23, 10, 5, 33, 22, 4, 25, 40, 32, 12, 17, 23, 22, 36, 10, 34, 16, 37, 35, 24, 34], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 47, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2406, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "99ead79aed6b0fea80ce659d41e36f9325cee21c2d4af7142c4feeb0fbf90ee7", |
| "tweak": "98b86845d91c8cbe", |
| "msg": [31, 3, 24, 43, 29, 10, 41, 26, 4, 17, 36, 18, 9, 3, 7, 0, 22, 3, 33, 0, 16, 3, 41, 27, 2, 43, 32, 26, 8, 38, 9, 13, 18, 37, 40, 29, 24, 21, 6, 24, 27, 14, 39, 11, 34, 23, 42], |
| "ct": [14, 44, 3, 4, 26, 37, 3, 32, 37, 44, 14, 16, 19, 17, 31, 10, 6, 22, 13, 35, 14, 7, 1, 10, 27, 41, 25, 8, 8, 27, 0, 43, 0, 13, 44, 36, 13, 27, 20, 38, 36, 17, 41, 25, 26, 18, 23], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 58, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2407, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "9470d5bd345466cc72bb04eeb3659dc0ce05c6b6ae4fed60138293d600b1b560", |
| "tweak": "9065dfbafcd302a1", |
| "msg": [42, 34, 27, 40, 3, 21, 17, 26, 19, 26, 41, 38, 7, 21, 22, 33, 41, 17, 25, 19, 5, 40, 8, 13, 35, 23, 30, 37, 34, 19, 9, 36, 3, 33, 13, 36, 2, 36, 36, 21, 26, 31, 12, 31, 27, 35, 14, 5, 13, 15, 2, 31, 20, 23, 34, 30, 36, 43], |
| "ct": [8, 31, 41, 17, 42, 12, 36, 29, 28, 0, 42, 38, 29, 32, 13, 0, 9, 20, 3, 32, 33, 3, 23, 28, 42, 22, 32, 18, 5, 31, 38, 20, 18, 1, 42, 35, 12, 41, 1, 44, 18, 25, 34, 40, 40, 41, 18, 2, 13, 42, 36, 39, 37, 26, 7, 41, 15, 16], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 59, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2408, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "1c69b6fe4ceee234ba4118111d64f7ec730ea42e6795e66cb99792c22b0a5fd4", |
| "tweak": "34932658fa797462", |
| "msg": [2, 16, 14, 18, 4, 38, 28, 27, 6, 9, 44, 15, 15, 26, 3, 5, 28, 40, 39, 40, 3, 33, 1, 21, 40, 41, 29, 14, 5, 13, 30, 36, 29, 30, 33, 26, 26, 3, 25, 2, 28, 25, 24, 32, 25, 39, 19, 30, 35, 44, 38, 9, 36, 9, 2, 36, 36, 7, 5], |
| "ct": [14, 33, 41, 19, 40, 41, 5, 12, 1, 4, 38, 5, 3, 22, 8, 28, 24, 13, 42, 17, 0, 19, 0, 3, 21, 37, 2, 24, 24, 25, 40, 11, 24, 31, 7, 20, 42, 10, 14, 15, 11, 21, 19, 39, 0, 34, 41, 32, 22, 34, 21, 42, 4, 35, 13, 37, 32, 34, 42], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 64, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2409, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "2f18635c07eefa940f9f24050f44a9ef0a635c87a70897eaceeeeef15fefe1f8", |
| "tweak": "4ccb9dd3441d2cfb", |
| "msg": [31, 34, 4, 12, 28, 4, 8, 1, 18, 13, 1, 19, 31, 38, 26, 23, 29, 10, 20, 39, 4, 8, 36, 16, 20, 9, 31, 26, 13, 19, 11, 35, 11, 25, 19, 31, 1, 35, 10, 1, 26, 20, 18, 19, 14, 34, 27, 43, 28, 17, 33, 41, 34, 24, 41, 39, 43, 13, 35, 39, 23, 19, 2, 30], |
| "ct": [42, 17, 2, 32, 4, 1, 37, 22, 12, 20, 10, 9, 31, 13, 18, 27, 34, 2, 7, 3, 7, 15, 31, 19, 32, 16, 36, 2, 31, 5, 12, 5, 15, 26, 37, 44, 12, 18, 17, 44, 33, 39, 15, 35, 14, 37, 44, 8, 41, 20, 40, 44, 1, 26, 15, 17, 8, 12, 17, 11, 27, 0, 42, 16], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 68, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2410, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "696beed5ea99032382d21ed1585d2022eb191f5f7bcb970fe9c8775a8360a4e5", |
| "tweak": "66e49596e549e1e2", |
| "msg": [24, 25, 2, 14, 0, 19, 8, 30, 36, 12, 1, 44, 27, 36, 35, 4, 11, 16, 34, 16, 21, 26, 18, 17, 0, 36, 16, 29, 42, 2, 22, 31, 25, 2, 18, 11, 30, 1, 1, 31, 27, 36, 14, 17, 12, 10, 43, 19, 4, 29, 34, 31, 40, 18, 19, 35, 44, 37, 15, 0, 34, 25, 15, 12, 21, 0, 35, 11], |
| "ct": [7, 34, 5, 42, 20, 13, 3, 36, 27, 14, 36, 2, 0, 42, 6, 43, 3, 19, 36, 21, 36, 43, 33, 15, 42, 32, 43, 32, 10, 23, 7, 13, 3, 7, 42, 17, 39, 28, 43, 26, 38, 33, 27, 33, 37, 44, 7, 15, 39, 43, 42, 36, 24, 39, 28, 36, 36, 35, 19, 21, 37, 38, 25, 30, 2, 17, 38, 1], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 69, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2411, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "95c633bee16462726a6856e32fe75cb59d0a3571ca21cbb3038055c7348c8e91", |
| "tweak": "e55ce677906b2726", |
| "msg": [12, 20, 19, 28, 37, 27, 20, 24, 19, 0, 15, 44, 20, 2, 30, 15, 20, 26, 32, 11, 38, 15, 40, 4, 44, 39, 42, 37, 0, 27, 26, 24, 1, 1, 30, 44, 30, 21, 20, 34, 18, 0, 42, 29, 15, 29, 16, 15, 38, 27, 3, 2, 19, 0, 22, 31, 11, 17, 11, 10, 13, 15, 39, 29, 20, 12, 33, 16, 12], |
| "ct": [18, 18, 17, 33, 5, 31, 0, 11, 20, 13, 38, 29, 11, 12, 3, 9, 6, 31, 26, 24, 11, 27, 2, 29, 38, 31, 18, 37, 28, 14, 9, 20, 0, 44, 10, 8, 10, 31, 9, 9, 12, 20, 6, 13, 6, 35, 1, 26, 36, 26, 3, 4, 17, 40, 20, 27, 38, 20, 39, 8, 31, 11, 36, 36, 5, 9, 3, 25, 22], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 80, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2412, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "4c21f21cf45f61eea701cdae4a3e06a74cd18fd63eec698b49b3a21f4e1c3bf9", |
| "tweak": "0ec0a2520507286d", |
| "msg": [12, 25, 4, 29, 13, 38, 4, 10, 31, 20, 26, 23, 9, 27, 40, 32, 17, 33, 26, 13, 26, 44, 16, 40, 31, 31, 7, 40, 15, 10, 37, 0, 4, 5, 3, 10, 32, 20, 23, 19, 18, 19, 9, 11, 7, 28, 29, 3, 12, 25, 23, 37, 10, 25, 26, 5, 34, 13, 29, 2, 25, 20, 29, 10, 20, 12, 2, 12, 4, 25, 30, 38, 3, 18, 16, 37, 42, 44, 40, 17], |
| "ct": [26, 17, 34, 10, 21, 8, 9, 33, 29, 39, 33, 12, 24, 37, 36, 42, 27, 37, 8, 14, 12, 0, 30, 35, 0, 41, 32, 9, 9, 24, 32, 40, 7, 40, 43, 22, 16, 10, 12, 20, 21, 39, 44, 36, 0, 9, 23, 17, 33, 27, 41, 24, 19, 44, 9, 41, 14, 25, 21, 7, 38, 24, 12, 30, 2, 28, 20, 39, 17, 33, 38, 0, 23, 37, 28, 23, 0, 32, 32, 39], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 81, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2413, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "34e2f9c6b7e915db5c91185a72816618f6ab09ea827f0f825976403f9a3c7c88", |
| "tweak": "23446a292f21b6ad", |
| "msg": [41, 16, 29, 36, 32, 7, 36, 37, 7, 10, 27, 15, 44, 43, 29, 4, 16, 8, 3, 40, 34, 26, 38, 0, 19, 27, 15, 27, 21, 20, 22, 15, 29, 23, 43, 40, 9, 29, 21, 41, 17, 7, 23, 21, 18, 0, 26, 40, 15, 24, 28, 7, 24, 4, 1, 10, 40, 2, 4, 29, 4, 5, 32, 20, 15, 9, 10, 39, 38, 25, 34, 39, 18, 0, 8, 43, 16, 13, 11, 17, 29], |
| "ct": [36, 35, 32, 4, 1, 18, 5, 36, 42, 33, 22, 12, 36, 43, 30, 16, 20, 34, 16, 33, 6, 26, 23, 2, 2, 34, 25, 12, 0, 10, 37, 9, 28, 27, 8, 6, 20, 33, 21, 35, 23, 5, 36, 22, 10, 4, 12, 39, 32, 31, 29, 34, 31, 36, 6, 34, 17, 13, 26, 36, 35, 10, 18, 40, 32, 22, 43, 32, 39, 14, 35, 37, 40, 26, 12, 33, 25, 11, 23, 29, 20], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 92, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2414, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "0ecd824de3e2457baa3cd3027f3099ee58fe5cebf0ab4c34b113a2822e24b5ce", |
| "tweak": "c443d454ddfc8d85", |
| "msg": [43, 25, 35, 4, 37, 3, 16, 3, 12, 22, 18, 44, 44, 27, 42, 28, 5, 37, 12, 5, 0, 10, 31, 15, 9, 30, 6, 5, 32, 34, 4, 44, 3, 15, 28, 36, 8, 36, 33, 33, 20, 35, 15, 30, 36, 34, 44, 17, 25, 27, 34, 12, 0, 24, 7, 22, 22, 17, 9, 16, 24, 21, 42, 21, 39, 20, 19, 44, 21, 38, 13, 6, 8, 17, 38, 17, 44, 28, 27, 9, 5, 38, 15, 33, 2, 35, 2, 30, 22, 22, 4, 9], |
| "ct": [21, 6, 3, 24, 42, 40, 4, 31, 31, 21, 16, 41, 31, 27, 26, 39, 32, 13, 13, 24, 35, 16, 43, 28, 15, 3, 26, 38, 7, 13, 7, 43, 31, 25, 14, 5, 33, 17, 16, 35, 19, 39, 6, 16, 22, 34, 0, 44, 39, 22, 40, 9, 4, 23, 44, 4, 17, 9, 9, 12, 42, 28, 10, 21, 39, 9, 42, 8, 26, 18, 5, 30, 18, 42, 24, 3, 21, 11, 29, 26, 41, 7, 39, 18, 21, 7, 35, 24, 0, 21, 32, 30], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 128, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2415, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "0a04c284ea0028d71c986b4e547c0e03cc8969ac81ec89dacf67df23bf72d461", |
| "tweak": "fdb7b6eda7cdb93c", |
| "msg": [31, 30, 19, 14, 12, 7, 5, 16, 11, 20, 6, 26, 14, 16, 29, 12, 39, 32, 27, 33, 16, 17, 26, 40, 31, 9, 3, 37, 4, 28, 30, 8, 33, 2, 17, 11, 23, 8, 18, 22, 35, 18, 28, 27, 15, 22, 36, 16, 3, 36, 12, 35, 26, 17, 40, 24, 42, 28, 15, 7, 12, 43, 28, 38, 38, 24, 16, 9, 21, 44, 12, 43, 3, 11, 19, 31, 33, 1, 24, 20, 33, 31, 33, 18, 24, 26, 18, 23, 14, 12, 20, 16, 28, 17, 19, 44, 16, 21, 44, 6, 36, 17, 41, 33, 38, 28, 5, 23, 31, 5, 37, 23, 35, 44, 30, 24, 17, 6, 40, 26, 11, 2, 41, 32, 29, 0, 42, 10], |
| "ct": [41, 26, 1, 3, 38, 8, 24, 23, 2, 16, 21, 18, 4, 44, 30, 2, 32, 33, 30, 21, 21, 40, 1, 17, 27, 1, 11, 1, 4, 6, 30, 13, 23, 7, 6, 29, 13, 3, 26, 31, 31, 35, 31, 13, 0, 3, 11, 33, 38, 34, 39, 5, 19, 31, 30, 19, 2, 38, 21, 32, 40, 21, 18, 33, 27, 10, 43, 19, 11, 2, 31, 33, 25, 43, 2, 28, 26, 17, 16, 30, 25, 34, 32, 16, 37, 6, 13, 11, 27, 2, 34, 28, 39, 26, 37, 42, 27, 12, 17, 25, 2, 15, 17, 0, 1, 18, 40, 25, 30, 4, 5, 26, 39, 39, 6, 3, 26, 3, 14, 40, 6, 1, 34, 1, 40, 14, 19, 18], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 256, |
| "msgSize": 260, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2416, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "e3009a081a300a5d2c99b076d69e8479ab2e040342b7558d4fb8c6cf978e809f", |
| "tweak": "ae2aa7fbd0c4542d", |
| "msg": [0, 27, 28, 32, 9, 33, 38, 31, 22, 26, 32, 6, 33, 26, 43, 27, 37, 25, 44, 24, 44, 38, 16, 38, 19, 44, 44, 17, 37, 22, 33, 28, 3, 28, 14, 15, 19, 16, 2, 27, 15, 15, 4, 16, 38, 2, 35, 28, 23, 26, 8, 16, 11, 10, 10, 9, 13, 19, 35, 2, 27, 25, 25, 4, 32, 1, 32, 18, 38, 30, 10, 20, 3, 13, 30, 27, 5, 27, 12, 6, 18, 38, 30, 25, 14, 23, 1, 39, 34, 43, 30, 43, 31, 43, 15, 35, 0, 41, 11, 37, 26, 21, 6, 21, 38, 17, 4, 18, 6, 28, 26, 40, 3, 21, 36, 38, 30, 1, 4, 23, 43, 28, 15, 20, 18, 39, 16, 12, 44, 41, 38, 9, 0, 19, 25, 5, 34, 10, 15, 35, 22, 11, 34, 23, 34, 7, 19, 24, 35, 40, 15, 10, 6, 20, 6, 34, 18, 29, 6, 23, 31, 40, 8, 30, 0, 35, 30, 14, 33, 20, 32, 30, 31, 27, 24, 40, 15, 7, 36, 42, 11, 23, 43, 12, 39, 13, 24, 3, 26, 20, 24, 36, 22, 27, 21, 35, 0, 22, 30, 32, 42, 2, 2, 23, 35, 40, 5, 23, 32, 24, 40, 23, 2, 9, 21, 41, 5, 24, 38, 9, 10, 28, 36, 12, 30, 14, 32, 34, 1, 19, 11, 36, 23, 26, 16, 17, 35, 9, 34, 24, 6, 38, 8, 5, 0, 5, 34, 0, 31, 42, 6, 18, 31, 44, 13, 14, 13, 13, 31, 33], |
| "ct": [17, 1, 20, 9, 35, 36, 44, 8, 31, 10, 13, 0, 27, 22, 10, 7, 31, 19, 36, 8, 4, 18, 7, 20, 5, 16, 34, 28, 40, 7, 9, 41, 6, 29, 8, 41, 22, 13, 11, 10, 4, 10, 40, 27, 43, 39, 28, 26, 19, 27, 20, 13, 43, 37, 1, 4, 33, 26, 0, 16, 42, 12, 8, 35, 0, 6, 39, 17, 37, 32, 25, 31, 18, 25, 8, 0, 9, 41, 17, 7, 8, 36, 19, 2, 34, 42, 38, 15, 14, 33, 16, 13, 29, 3, 19, 25, 3, 1, 37, 4, 34, 31, 8, 30, 34, 0, 0, 1, 27, 38, 0, 3, 24, 17, 30, 4, 0, 8, 31, 8, 41, 20, 26, 44, 40, 28, 28, 4, 38, 13, 0, 37, 3, 37, 32, 31, 13, 9, 2, 31, 38, 1, 14, 3, 0, 36, 43, 0, 19, 33, 8, 41, 29, 33, 15, 30, 25, 33, 10, 24, 19, 20, 7, 7, 37, 25, 32, 25, 32, 9, 11, 28, 44, 15, 1, 27, 25, 30, 7, 43, 40, 0, 28, 31, 43, 21, 41, 28, 3, 20, 3, 26, 12, 38, 44, 5, 32, 40, 25, 8, 34, 37, 38, 34, 9, 16, 44, 16, 16, 14, 37, 6, 37, 35, 38, 43, 31, 42, 6, 21, 25, 39, 13, 18, 26, 32, 0, 42, 35, 30, 22, 14, 41, 38, 43, 38, 0, 9, 18, 28, 28, 21, 11, 42, 35, 32, 34, 29, 17, 35, 11, 19, 2, 4, 32, 7, 36, 9, 10, 1], |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "keySize": 0, |
| "msgSize": 4, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2417, |
| "comment": "invalid key size", |
| "flags": [ |
| "InvalidKeySize" |
| ], |
| "key": "", |
| "tweak": "a5016eb62efc7e72", |
| "msg": [13, 3, 41, 29], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 8, |
| "msgSize": 4, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2418, |
| "comment": "invalid key size", |
| "flags": [ |
| "InvalidKeySize" |
| ], |
| "key": "2e", |
| "tweak": "f33d831e66c0db16", |
| "msg": [37, 6, 23, 27], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 64, |
| "msgSize": 4, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2419, |
| "comment": "invalid key size", |
| "flags": [ |
| "InvalidKeySize" |
| ], |
| "key": "1f22cd7ded80f7a8", |
| "tweak": "f40e82cd7c24eee2", |
| "msg": [2, 36, 37, 4], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 160, |
| "msgSize": 4, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2420, |
| "comment": "invalid key size", |
| "flags": [ |
| "InvalidKeySize" |
| ], |
| "key": "9b708898ae15bbf6758a68366f724bc1b299e6ba", |
| "tweak": "a769d9747fa24abf", |
| "msg": [4, 31, 2, 13], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "keySize": 320, |
| "msgSize": 4, |
| "radix": 45, |
| "type": "FpeListTest", |
| "tests": [ |
| { |
| "tcId": 2421, |
| "comment": "invalid key size", |
| "flags": [ |
| "InvalidKeySize" |
| ], |
| "key": "9a1b29efd5efb6504153004d40c73dba3157f7aa627104918b6d1abf5723830f4d106d3178a59209", |
| "tweak": "c91e67905cb51765", |
| "msg": [11, 14, 21, 38], |
| "ct": [], |
| "result": "invalid" |
| } |
| ] |
| } |
| ] |
| } |