| { | |
| "algorithm": "AES-FF1", | |
| "generatorVersion": "0.9rc5", | |
| "numberOfTests": 2421, | |
| "header": [ | |
| "Test vectors of type FpeStrTest 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_str_test_schema.json", | |
| "testGroups": [ | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 0, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "fb9fc869af3e4828da6efa18b5fa71a0", | |
| "tweak": "379f81cab6ed2517", | |
| "msg": "", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 1, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 2, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "7325733095d90aff456a1e00fa977365", | |
| "tweak": "a5f8950069a56f6c", | |
| "msg": "B", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 0, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 3, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "af2463f51df63a015178e30edcf25dacbeb2abbc5144d0a6", | |
| "tweak": "5d9c3dfb797c952a", | |
| "msg": "", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 1, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 4, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "e9e279f5fad3e7fd7922e838cf07da528ddcc5387f6145bf", | |
| "tweak": "a25989a2e4360bae", | |
| "msg": "O", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 256, | |
| "msgSize": 0, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 5, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "f25e816c4d42629a428e48f2d48a31f79d6b1e8ef47e5ed3e7e5bbdf37f1806d", | |
| "tweak": "42dbc8913a275520", | |
| "msg": "", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 256, | |
| "msgSize": 1, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 6, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "b8c800bed3286920bd1d9ad89a78808e9f815ec638663a725f256cc7078fdaf0", | |
| "tweak": "90120912eba3c19c", | |
| "msg": "3", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 2, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 7, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "ad65778960d778c614e2673dee073acb", | |
| "tweak": "4505f45a8fa30b90", | |
| "msg": "4-", | |
| "ct": "P7", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 3, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 8, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "aa6f23f573da39b110f4e155c418ba1f", | |
| "tweak": "8402018f66fd2cb9", | |
| "msg": "RBQ", | |
| "ct": "2..", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 2, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 9, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "911c9e0a87977587050ebb48f4f9e199fde8472781ecaf7a", | |
| "tweak": "cf98ea96ef005bc6", | |
| "msg": "IJ", | |
| "ct": "O-", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 3, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 10, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "3c453964f4e42587db3a6de5de00673ede7e17672a4deb84", | |
| "tweak": "fe6290783f11946c", | |
| "msg": "18 ", | |
| "ct": "JW3", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 256, | |
| "msgSize": 2, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 11, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "d05ae6e3819e2dcdd218be7c62465e8f1474f1fec8e79a1a3f7b88040d0f4160", | |
| "tweak": "823988f1ffb8ce23", | |
| "msg": "Y/", | |
| "ct": "2E", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 256, | |
| "msgSize": 3, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 12, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "1399758fa1ebf7cfda5f601c643443adaea4f4f8c19fc8772c5d5e3cc0cc6955", | |
| "tweak": "8c5a263a91b7cb4f", | |
| "msg": "S%E", | |
| "ct": "W17", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 4, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 13, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "5dd5899794ff9b5007b4481aaa97f882", | |
| "tweak": "742f7f8b2ab0dc48", | |
| "msg": " C 8", | |
| "ct": " CRV", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 14, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "0000", | |
| "ct": "IY8M", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 15, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "::::", | |
| "ct": "VJ1I", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 16, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "MYMY", | |
| "ct": "GU0Y", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 17, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "MXMX", | |
| "ct": "-K.E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 18, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "U9-V", | |
| "ct": "1/:N", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 19, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "%H-K", | |
| "ct": "XIB2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 20, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "TNO5", | |
| "ct": "F$P6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 21, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "B-NL", | |
| "ct": "HB+:", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 22, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "/SFK", | |
| "ct": "$ZA%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 23, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "7.0*", | |
| "ct": "TD:L", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 24, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "%T+S", | |
| "ct": ".I45", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 25, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "%34:", | |
| "ct": "$HQK", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 26, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "P-.O", | |
| "ct": "0000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 27, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "0LCW", | |
| "ct": "::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 28, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "J6U9", | |
| "ct": "MYMY", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 29, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "16e4e676552c2fef6f1942adef4c440a", | |
| "tweak": "aba4ba6db9422dc4", | |
| "msg": "/FFP", | |
| "ct": "MXMX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 30, | |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "a17b87af37ed0be303dcd1ec33", | |
| "msg": "VU3 ", | |
| "ct": "/JAR", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 31, | |
| "comment": "y = 0 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "a17b87af37ed0be303dcd1ec33", | |
| "msg": "K0IO", | |
| "ct": "M*D$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 32, | |
| "comment": "y = 0 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "a17b87af37ed0be303dcd1ec33", | |
| "msg": "/Q4X", | |
| "ct": "D Z ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 33, | |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "a17b87af37ed0be303dcd1ec33", | |
| "msg": "PV8I", | |
| "ct": "7*+K", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 34, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "1338d76e6bcde24f0097b7aef6", | |
| "msg": "00DG", | |
| "ct": "SPFU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 35, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "1338d76e6bcde24f0097b7aef6", | |
| "msg": "01DG", | |
| "ct": "Q*IU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 36, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "1338d76e6bcde24f0097b7aef6", | |
| "msg": "MYDG", | |
| "ct": "H2LX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 37, | |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "1338d76e6bcde24f0097b7aef6", | |
| "msg": ":/DG", | |
| "ct": "II-G", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 38, | |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "1338d76e6bcde24f0097b7aef6", | |
| "msg": "::DG", | |
| "ct": "U4S+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 39, | |
| "comment": "y is maximal and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "d9d8131cc22453f83870002456", | |
| "msg": "7M+P", | |
| "ct": "L0UE", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 40, | |
| "comment": "y is maximal and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "d9d8131cc22453f83870002456", | |
| "msg": "NNEA", | |
| "ct": "5-CL", | |
| "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": "LSB$", | |
| "ct": "%N/S", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 42, | |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "d9d8131cc22453f83870002456", | |
| "msg": "GP+*", | |
| "ct": "%ZUE", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 43, | |
| "comment": "y is maximal and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "d9d8131cc22453f83870002456", | |
| "msg": "7C07", | |
| "ct": "1BA9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 44, | |
| "comment": "y is maximal and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a88f0018e583ed7310f3f5336e592a25", | |
| "tweak": "d9d8131cc22453f83870002456", | |
| "msg": "XW3I", | |
| "ct": "N1G3", | |
| "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": "SL$E", | |
| "ct": "Z046", | |
| "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": "/HAN", | |
| "ct": "Z1+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": "BFHE", | |
| "ct": "::GY", | |
| "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": "O%OD", | |
| "ct": "00NN", | |
| "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": "9S$M", | |
| "ct": "CY.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": "W$8Y", | |
| "ct": "Y:.S", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 51, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8a74f1cae832ef8d58c26b49157c187b", | |
| "tweak": "d7b8bdae53aba381", | |
| "msg": "<I0K", | |
| "ct": "S+7R", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 52, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8a74f1cae832ef8d58c26b49157c187b", | |
| "tweak": "d7b8bdae53aba381", | |
| "msg": "Z?0K", | |
| "ct": "W%G6", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 53, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "37783da748ba978ce6034150c1d44490", | |
| "tweak": "ea145c10f0c9e872", | |
| "msg": ";KT%", | |
| "ct": "1I.4", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 54, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "37783da748ba978ce6034150c1d44490", | |
| "tweak": "ea145c10f0c9e872", | |
| "msg": "A;T%", | |
| "ct": "EAH/", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 55, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "37783da748ba978ce6034150c1d44490", | |
| "tweak": "ea145c10f0c9e872", | |
| "msg": "AKT;", | |
| "ct": "G-8S", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 56, | |
| "comment": "can't convert negative int to unsigned", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8a74f1cae832ef8d58c26b49157c187b", | |
| "tweak": "d7b8bdae53aba381", | |
| "msg": "ZI0\\", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 5, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 57, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "0319599d6c7ca301230ec2b06c681097", | |
| "tweak": "125fd8f86c787e2d", | |
| "msg": "G8CXD", | |
| "ct": "U%S7-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 58, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "00000", | |
| "ct": "SJUNJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 59, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": ":::::", | |
| "ct": "OYE/7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 60, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "MYWGG", | |
| "ct": "WZ%TN", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 61, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "MXWGF", | |
| "ct": "Y6Q1B", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 62, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "QUEEA", | |
| "ct": "SF44K", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 63, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "S0KI6", | |
| "ct": "S:PGT", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 64, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "KV1IB", | |
| "ct": "UG9OP", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 65, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "YBZC6", | |
| "ct": "BNP4.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 66, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "VUT4A", | |
| "ct": "YOKHV", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 67, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "KO5BX", | |
| "ct": "JHXEI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 68, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "FLXNL", | |
| "ct": "77GTO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 69, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "PNIT5", | |
| "ct": "8T SE", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 70, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "MXV8G", | |
| "ct": "00000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 71, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "R% 20", | |
| "ct": ":::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 72, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "OE074", | |
| "ct": "MYWGG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 73, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ed3d0c6668748336d74abc8a161dea33", | |
| "tweak": "61a3e1c030481108", | |
| "msg": "$8O8O", | |
| "ct": "MXWGF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 74, | |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "673faecddddebc65824d6aab", | |
| "msg": "9M1DZ", | |
| "ct": "00G G", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 75, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "673faecddddebc65824d6aab", | |
| "msg": "M.ZQR", | |
| "ct": "010YG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 76, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "673faecddddebc65824d6aab", | |
| "msg": "GYUP-", | |
| "ct": "MY$R-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 77, | |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2dcc7a48fa759e58062f64099e2654fb", | |
| "tweak": "673faecddddebc65824d6aab", | |
| "msg": "Q+%%S", | |
| "ct": "::BV/", | |
| "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": "*2D./", | |
| "ct": "K8MS.", | |
| "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": "PZIOA", | |
| "ct": "L06IA", | |
| "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": ":*E+7", | |
| "ct": ":*GHM", | |
| "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": "WJ*:B", | |
| "ct": "JMTDO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 82, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", | |
| "tweak": "ea7fef1b2f555ad8", | |
| "msg": "d 2E4", | |
| "ct": "%:0EQ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 83, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", | |
| "tweak": "ea7fef1b2f555ad8", | |
| "msg": "Db2E4", | |
| "ct": "QCA%5", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 84, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8d8a7cd63e6554b77d0345f3d799bfad", | |
| "tweak": "ea7fef1b2f555ad8", | |
| "msg": "D 2Em", | |
| "ct": "ES/OD", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 85, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8bb4e700b440d3824b3f5f7949ceb200", | |
| "tweak": "07c7775391fed52c", | |
| "msg": ";$M0*", | |
| "ct": "DKNPK", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 86, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8bb4e700b440d3824b3f5f7949ceb200", | |
| "tweak": "07c7775391fed52c", | |
| "msg": "T;M0*", | |
| "ct": "D1TKQ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 87, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8bb4e700b440d3824b3f5f7949ceb200", | |
| "tweak": "07c7775391fed52c", | |
| "msg": "T$M0;", | |
| "ct": "WVIIO", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 6, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 88, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "474bbf2aff5c252419c49a07d50e2bdf", | |
| "tweak": "d64296c362368a3d", | |
| "msg": "8K21OG", | |
| "ct": "AUDZPH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 89, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "000000", | |
| "ct": "3VZL3+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 90, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "::::::", | |
| "ct": "%ZMABS", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 91, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "WGGWGG", | |
| "ct": "W5OSHW", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 92, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "WGFWGF", | |
| "ct": "W15D%$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 93, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": " ATNGC", | |
| "ct": "6S53 7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 94, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "J-98BB", | |
| "ct": "2AKUT+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 95, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "K V30I", | |
| "ct": "RRWF/U", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 96, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "ICL6S8", | |
| "ct": "SRO1Z ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 97, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "GIL+9C", | |
| "ct": "RZO2/4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 98, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "7E D*X", | |
| "ct": "*HJR1N", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 99, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "5NPVH%", | |
| "ct": "UC6TXW", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 100, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "$*-QHE", | |
| "ct": "NOW6NK", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 101, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "CQZOEO", | |
| "ct": "000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 102, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "G59KAI", | |
| "ct": "::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 103, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "E.W%$L", | |
| "ct": "WGGWGG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 104, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "RTI7TE", | |
| "ct": "WGFWGF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 105, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": "rX:RIH", | |
| "ct": "M-X3PE", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 106, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": "XXxRIH", | |
| "ct": "EWKG69", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 107, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": "XX:RI]", | |
| "ct": "060*I ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 108, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6275bc366842c0905a0c5ddc8f5cc675", | |
| "tweak": "3054d0095106f89d", | |
| "msg": ";G$EYK", | |
| "ct": "5MIHTE", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 109, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6275bc366842c0905a0c5ddc8f5cc675", | |
| "tweak": "3054d0095106f89d", | |
| "msg": "NG;EYK", | |
| "ct": "/BNESP", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 110, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6275bc366842c0905a0c5ddc8f5cc675", | |
| "tweak": "3054d0095106f89d", | |
| "msg": "NG$EY;", | |
| "ct": "+VVTY%", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 7, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 111, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "20b2c30d44c72c32a4564541332f45c3", | |
| "tweak": "3de9de4b8736f463", | |
| "msg": "I.-+:SU", | |
| "ct": "-SBYKDA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 112, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "0000000", | |
| "ct": "HQ4O4MB", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 113, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": ":::::::", | |
| "ct": "-5WUO4G", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 114, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "WGGN0SH", | |
| "ct": "+7XDZLO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 115, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "WGFN0SG", | |
| "ct": "3*O:3JL", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 116, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "D.3 6:J", | |
| "ct": "995QL9H", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 117, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "YC4CTJ*", | |
| "ct": "C$1N8BL", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 118, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "R6OWA02", | |
| "ct": "29F.%6T", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 119, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "K %5660", | |
| "ct": "HVJI1.7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 120, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "XVM%9YL", | |
| "ct": "$XAM8ZK", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 121, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "KKUBQ4-", | |
| "ct": "+2WR4MO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 122, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": ":Y707.C", | |
| "ct": "RJE$ Q3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 123, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "O-6$N2H", | |
| "ct": "81L%43L", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 124, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "Q%RTH*V", | |
| "ct": "0000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 125, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "R5K%MB7", | |
| "ct": ":::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 126, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "$:-RNRR", | |
| "ct": "WGGN0SH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 127, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "T1 *:/-", | |
| "ct": "WGFN0SG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 128, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "201e2b705bb3de26c1e0ddb0", | |
| "msg": "93Q5MET", | |
| "ct": "MCGY7/O", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 129, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "201e2b705bb3de26c1e0ddb0", | |
| "msg": "M5/CRZ*", | |
| "ct": "1J V6/6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 130, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "201e2b705bb3de26c1e0ddb0", | |
| "msg": "ITDPXF6", | |
| "ct": ".ZMR2$ ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 131, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "201e2b705bb3de26c1e0ddb0", | |
| "msg": "57Y+/Y4", | |
| "ct": "NP-ZHJ$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 132, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "3afc535963b49697df2c85b7", | |
| "msg": "000.M*M", | |
| "ct": "/FOUY%R", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 133, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "3afc535963b49697df2c85b7", | |
| "msg": "001.M*M", | |
| "ct": "VZK1%33", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 134, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "3afc535963b49697df2c85b7", | |
| "msg": "WGG.M*M", | |
| "ct": " %RVC/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": "::/.M*M", | |
| "ct": "T7-I9PU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 136, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "3afc535963b49697df2c85b7", | |
| "msg": ":::.M*M", | |
| "ct": "SR.PQ1G", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 137, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "0cbea0f91324145712ca58ec", | |
| "msg": "0IC*//$", | |
| "ct": "M2/5NJW", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 138, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "0cbea0f91324145712ca58ec", | |
| "msg": ":PRUD$4", | |
| "ct": "0CJ4/UC", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 139, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "0cbea0f91324145712ca58ec", | |
| "msg": "RWKV/X1", | |
| "ct": "DRAQJAA", | |
| "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": ":4TH9H0", | |
| "ct": "1CA/EM%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 141, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "0cbea0f91324145712ca58ec", | |
| "msg": ".79SM$N", | |
| "ct": "LUT3X8A", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 142, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "0cbea0f91324145712ca58ec", | |
| "msg": "8MG249 ", | |
| "ct": "4EXY UL", | |
| "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": "5LGUYDG", | |
| "ct": "YSD6+C+", | |
| "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": "YX8K3VI", | |
| "ct": "YQ/6 XO", | |
| "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": " B7::A8", | |
| "ct": "A4.M**+", | |
| "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": ".*OI3DJ", | |
| "ct": ".*IZC59", | |
| "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": "7GZM-7V", | |
| "ct": "3/EB%IW", | |
| "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": "A72FX4 ", | |
| "ct": "LD:P- Z", | |
| "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": "UISIOG*", | |
| "ct": "G/HI$95", | |
| "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": "S94Z.YX", | |
| "ct": "G:G9GX.", | |
| "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": "Y70T39G", | |
| "ct": "JHP7F6B", | |
| "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": "C1E E%3", | |
| "ct": "WJ*S.D$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 153, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": "]Y%%::R", | |
| "ct": "/7M6/.S", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 154, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": "7Y#%::R", | |
| "ct": "D:+7YSY", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 155, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": "7Y%%::)", | |
| "ct": "T%+*%GX", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 156, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d498a7c0dcc766807071948b25828205", | |
| "tweak": "84718a563f9fee63", | |
| "msg": ";M2Z.-2", | |
| "ct": "A2 4FI.", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 157, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d498a7c0dcc766807071948b25828205", | |
| "tweak": "84718a563f9fee63", | |
| "msg": "IM;Z.-2", | |
| "ct": "+UM3/IQ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 158, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d498a7c0dcc766807071948b25828205", | |
| "tweak": "84718a563f9fee63", | |
| "msg": "IM2Z.-;", | |
| "ct": "R78N7AG", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 8, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 159, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "60d83b209822c0d9b7033dca86444fa1", | |
| "tweak": "23ef05b155a108c4", | |
| "msg": "DABP*4JK", | |
| "ct": "7I6Q7LSX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 160, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "00000000", | |
| "ct": "8PD+R2KY", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 161, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "::::::::", | |
| "ct": "$C0K.POT", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 162, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "N0SHN0SH", | |
| "ct": "AUNOC8N-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 163, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "N0SGN0SG", | |
| "ct": "QUEK%UWU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 164, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "P2TGOSG3", | |
| "ct": "JT8GD$07", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 165, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "XK908F7U", | |
| "ct": "9E6HC+M4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 166, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "2D48TYVM", | |
| "ct": "0.S+318J", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 167, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "M$2OCOHR", | |
| "ct": "H+ K2T-E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 168, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "*61O:/A:", | |
| "ct": "ZWVRYD9O", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 169, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "AN:1J%$H", | |
| "ct": "DBQA9+W/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 170, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "M+ADDC13", | |
| "ct": "+0C785LL", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 171, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": ".HM8HQ38", | |
| "ct": "QJJPYWGL", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 172, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "ZDGLON:2", | |
| "ct": "00000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 173, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "A93T9Y1E", | |
| "ct": "::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 174, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "+UKTL/EG", | |
| "ct": "N0SHN0SH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 175, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "AO8%LZCL", | |
| "ct": "N0SGN0SG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 176, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "4c61c7f5f3817543f7304979", | |
| "msg": "PJZ6:-S%", | |
| "ct": "EZ*WT*U3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 177, | |
| "comment": "y = 0 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "4c61c7f5f3817543f7304979", | |
| "msg": "P6ELASSF", | |
| "ct": "$.8P83F ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 178, | |
| "comment": "y = 0 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "4c61c7f5f3817543f7304979", | |
| "msg": "E:3H8A7$", | |
| "ct": "7+M+HH4T", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 179, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "4c61c7f5f3817543f7304979", | |
| "msg": "JO.VK5GT", | |
| "ct": "Q- WODEA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 180, | |
| "comment": "y = 1 and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "4f82faa928d66b7321540c66", | |
| "msg": "9HP.-8GC", | |
| "ct": "BUL9H%$W", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 181, | |
| "comment": "y = 1 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "4f82faa928d66b7321540c66", | |
| "msg": "FERNQ3C:", | |
| "ct": "CVLPLUGY", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 182, | |
| "comment": "y = 1 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "4f82faa928d66b7321540c66", | |
| "msg": "BM1+JYHA", | |
| "ct": "C.0J+XD:", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 183, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "4f82faa928d66b7321540c66", | |
| "msg": "$Q5W71%2", | |
| "ct": "M6 WN15A", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 184, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "4f82faa928d66b7321540c66", | |
| "msg": "0Z13347R", | |
| "ct": "6T/O*0QQ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 185, | |
| "comment": "y is maximal and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "22f147beadb154631d014430", | |
| "msg": "/RU4 H85", | |
| "ct": "/VA2RL9D", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 186, | |
| "comment": "y is maximal and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "22f147beadb154631d014430", | |
| "msg": "FMBH H5", | |
| "ct": " BODJ4I.", | |
| "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": "X0H3+TSJ", | |
| "ct": "K60U47-A", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 188, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "22f147beadb154631d014430", | |
| "msg": "C7%74%NV", | |
| "ct": "TF02XH$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": "0ZAUPSW8", | |
| "ct": "W7DBTOTP", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 190, | |
| "comment": "y is maximal and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "22f147beadb154631d014430", | |
| "msg": "2U.8.8QC", | |
| "ct": "U:XX:OYC", | |
| "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": "NJ5UG*/L", | |
| "ct": "SWIOVWL5", | |
| "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": "RY-9*A+U", | |
| "ct": "CAK1IN13", | |
| "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*RAURWW", | |
| "ct": "ZTPH7VL8", | |
| "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": "7AK3C.Q7", | |
| "ct": "C6:8-WY*", | |
| "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": "CT3QZQJO", | |
| "ct": " PVH55/W", | |
| "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": "Z90GO66W", | |
| "ct": "*N-U$R%G", | |
| "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": "0L3KCYZT", | |
| "ct": "HY%3::::", | |
| "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": "66W248R6", | |
| "ct": "HY%30000", | |
| "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": "URJD/D1$", | |
| "ct": "HY%3N0SG", | |
| "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": "Y/:6O$ %", | |
| "ct": "HY%3:::/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 201, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": "~QZSV8AL", | |
| "ct": "2UN4E.IS", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 202, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": "SQ\\SV8AL", | |
| "ct": "I%%Q8Z-3", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 203, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": "SQZSV8Ak", | |
| "ct": "Z5218Y96", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 204, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e7f456fff761fdefe1580847ebe4be53", | |
| "tweak": "2cf06a70980a599d", | |
| "msg": ";CO*82SE", | |
| "ct": "J22ELU0Y", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 205, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e7f456fff761fdefe1580847ebe4be53", | |
| "tweak": "2cf06a70980a599d", | |
| "msg": "IC;*82SE", | |
| "ct": ".9 XP87J", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 206, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e7f456fff761fdefe1580847ebe4be53", | |
| "tweak": "2cf06a70980a599d", | |
| "msg": "ICO*82S;", | |
| "ct": "/%5FIPN/", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 9, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 207, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "2215b9528000f5f306fcdfe2969c6785", | |
| "tweak": "0539d85c7b076285", | |
| "msg": "L99*7K$NP", | |
| "ct": "2RHT28ZZD", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 208, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "000000000", | |
| "ct": "WEACCWS:A", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 209, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": ":::::::::", | |
| "ct": "ODVWZH..H", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 210, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "N0SHWW+G8", | |
| "ct": "$1PLO$/.6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 211, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "N0SGWW+G7", | |
| "ct": "P3IGBPH78", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 212, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "YXKRZEWQW", | |
| "ct": "H-RH3$CVS", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 213, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "TO.OH.$+R", | |
| "ct": "9+7//FL*C", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 214, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "GR%+YP-9C", | |
| "ct": "8D%$2HMK6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 215, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "3CY3-34I7", | |
| "ct": "R5 S9O/PB", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 216, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "3*WJKEKOP", | |
| "ct": ".WMMK87JB", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 217, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "-GJGM436T", | |
| "ct": "F0 SS/:JK", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 218, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "8..7WD5F0", | |
| "ct": "B.V.X9DN0", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 219, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "K%XQ1J5HB", | |
| "ct": "-WF::+/D8", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 220, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": ".6628P7:H", | |
| "ct": "000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 221, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "$UBDO8BC$", | |
| "ct": ":::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 222, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "H+790WEOM", | |
| "ct": "N0SHWW+G8", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 223, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "E.FUX.6KF", | |
| "ct": "N0SGWW+G7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 224, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "60d54f3cbf683c9d75476a", | |
| "msg": "000059C2:", | |
| "ct": "-IB86A8.2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 225, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "60d54f3cbf683c9d75476a", | |
| "msg": "000159C2:", | |
| "ct": "W -OC767H", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 226, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "60d54f3cbf683c9d75476a", | |
| "msg": "N0SH59C2:", | |
| "ct": "M5HYHYMCN", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 227, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "60d54f3cbf683c9d75476a", | |
| "msg": "::::59C2:", | |
| "ct": "JLS:IZ5*E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 228, | |
| "comment": "y = 1 and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "9212892b8118aa5b8338a6", | |
| "msg": "W0JHSCCBE", | |
| "ct": "0001LUHY6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 229, | |
| "comment": "y = 1 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "9212892b8118aa5b8338a6", | |
| "msg": "7PAD-5LEX", | |
| "ct": "0002BWHRI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 230, | |
| "comment": "y = 1 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "9212892b8118aa5b8338a6", | |
| "msg": "M4 P4:V22", | |
| "ct": "N0SI19 %L", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 231, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "9212892b8118aa5b8338a6", | |
| "msg": "-+H9KK806", | |
| "ct": "::::MKE:Y", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 232, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "9212892b8118aa5b8338a6", | |
| "msg": ".9:SC+ /3", | |
| "ct": "0000KLNFA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 233, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "cfe58c3c4d06428f07fa9b", | |
| "msg": " EHA$*P8V", | |
| "ct": "SQSMO 9.6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 234, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "cfe58c3c4d06428f07fa9b", | |
| "msg": "WLV930T05", | |
| "ct": "Z/OXHIO$R", | |
| "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": "*THMD%Q95", | |
| "ct": "*A4/Z/7TH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 236, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "cfe58c3c4d06428f07fa9b", | |
| "msg": "W$%T1%GEP", | |
| "ct": " $3SCGY- ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 237, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "cfe58c3c4d06428f07fa9b", | |
| "msg": "%E5NAG-SW", | |
| "ct": "6-CN1JXBT", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 238, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "cfe58c3c4d06428f07fa9b", | |
| "msg": "D6-JAW$:9", | |
| "ct": "FRV -ZV9D", | |
| "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": "4Q68LX.N1", | |
| "ct": "UO1 K8IT4", | |
| "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": "P3RS+.FU1", | |
| "ct": ".24RSLV%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": "V7QCDO*0X", | |
| "ct": "MNBZLVWAU", | |
| "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": "C*9/EZO97", | |
| "ct": "QV2XDBB5 ", | |
| "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": "I:RINH54-", | |
| "ct": "-2Y88$QFM", | |
| "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": "7I8N$VTP6", | |
| "ct": "HJC2-IGT5", | |
| "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": "AWI/P$WOD", | |
| "ct": "OVW*G/UJU", | |
| "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": "BAVY3:-DO", | |
| "ct": "JGNEQX3HS", | |
| "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": "BA45J$7YO", | |
| "ct": "NP 0-I .L", | |
| "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": "V. XO7XWD", | |
| "ct": "L/N-MYH C", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 249, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": "jC%%S-2TL", | |
| "ct": "ZCK +DY:G", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 250, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": "/C%;S-2TL", | |
| "ct": "4V58PKXL$", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 251, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": "/C%%S-2Ty", | |
| "ct": "U/NBF84-M", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 252, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "37c35a878fddc1aa5d5ed500f199b152", | |
| "tweak": "93840fe0f6d9608f", | |
| "msg": ";.Z2IYWF5", | |
| "ct": "IRJVK2W*U", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 253, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "37c35a878fddc1aa5d5ed500f199b152", | |
| "tweak": "93840fe0f6d9608f", | |
| "msg": "W.Z;IYWF5", | |
| "ct": "4+L9KC9*N", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 254, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "37c35a878fddc1aa5d5ed500f199b152", | |
| "tweak": "93840fe0f6d9608f", | |
| "msg": "W.Z2IYWF;", | |
| "ct": "SOFLY83X1", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 10, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 255, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "5474525ca99fb5da2babdbd45c727d16", | |
| "tweak": "f2cb4d9ba04b81f8", | |
| "msg": "FTXHOBML-P", | |
| "ct": "0H$B6TF-%W", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 256, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "0000000000", | |
| "ct": "MLCE/$OR:H", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 257, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "::::::::::", | |
| "ct": "%ZAH%ER/K1", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 258, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "WW+G8WW+G8", | |
| "ct": "OI6DNBNMYJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 259, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "WW+G7WW+G7", | |
| "ct": "T6DI1- K:%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 260, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "7DGVLI+GF+", | |
| "ct": "L9I%BW.D%$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 261, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "2.NH9/J.+Y", | |
| "ct": "SE6KQ$Y0GC", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 262, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "MXSE AA-KR", | |
| "ct": "DC+S -CIS.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 263, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "+$ T0$K7H9", | |
| "ct": "5T0+U2.3G-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 264, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "5Z/KKO/A-V", | |
| "ct": "1-*VRJTM6T", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 265, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "QT67704Q7R", | |
| "ct": "PWQBES$E-F", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 266, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "0PGK%7/T 3", | |
| "ct": "8+OIC.+:NM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 267, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "DD8K*8L+ZQ", | |
| "ct": ":XT$QZJ18F", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 268, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "81DVI5J/TV", | |
| "ct": "0000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 269, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "S4RAOC$YVM", | |
| "ct": "::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 270, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "B2DF0+2 Y5", | |
| "ct": "WW+G8WW+G8", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 271, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "B+WZITAVKS", | |
| "ct": "WW+G7WW+G7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 272, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "ea25b6b10c2ec23b34e30e", | |
| "msg": "6YHKN:XE*Q", | |
| "ct": "-UG5N00000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 273, | |
| "comment": "y = 0 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "ea25b6b10c2ec23b34e30e", | |
| "msg": "% 4F0X+7%R", | |
| "ct": "-UG5N00001", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 274, | |
| "comment": "y = 0 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "ea25b6b10c2ec23b34e30e", | |
| "msg": "$*$23W1:$E", | |
| "ct": "-UG5NWW+G8", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 275, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "ea25b6b10c2ec23b34e30e", | |
| "msg": "FWJMOJA9 T", | |
| "ct": "-UG5N:::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 276, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "6c684bd0c4a60e66343c7a", | |
| "msg": "$978 PI.Y/", | |
| "ct": "Y:7:9GJKXQ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 277, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "6c684bd0c4a60e66343c7a", | |
| "msg": "%KNJ:1G HL", | |
| "ct": "TFE$0VW0T:", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 278, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "6c684bd0c4a60e66343c7a", | |
| "msg": "RN0R83DJ/-", | |
| "ct": "39TA/1N5OQ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 279, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "6c684bd0c4a60e66343c7a", | |
| "msg": "KRDRQ/+LF:", | |
| "ct": "RHBO56HBO0", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 280, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "6c684bd0c4a60e66343c7a", | |
| "msg": "UD9DSL.HWU", | |
| "ct": "3YQSOIMWKM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 281, | |
| "comment": "y is maximal and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "4d4b6612e0f264bbe74331", | |
| "msg": "..9NMHWGN5", | |
| "ct": "%1:7*18WWM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 282, | |
| "comment": "y is maximal and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "4d4b6612e0f264bbe74331", | |
| "msg": "E7F/I.621%", | |
| "ct": "N$A:GA.6M*", | |
| "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": "%GCF$PX -.", | |
| "ct": "OO9VD3K3ZB", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 284, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "4d4b6612e0f264bbe74331", | |
| "msg": "*KLMPK.9-Q", | |
| "ct": "KQIPQN.%-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": "YGP7ES*H++", | |
| "ct": "KXV2US+BI6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 286, | |
| "comment": "y is maximal and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "4d4b6612e0f264bbe74331", | |
| "msg": "JX0HH4S1GH", | |
| "ct": "+BQN2H/6KW", | |
| "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": "SXKM6Y2%J9", | |
| "ct": "8H.AXLVF-H", | |
| "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": "W$1LD+I0D%", | |
| "ct": "3$QTI%2X L", | |
| "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": "69UX4P1SD ", | |
| "ct": "EJFGG9S1AZ", | |
| "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": ".BOO U63 M", | |
| "ct": "L8:OOBTF-:", | |
| "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": "6VX26UPVZV", | |
| "ct": " //9KFODPL", | |
| "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/0W/-3D72", | |
| "ct": "Z%W68VTT.F", | |
| "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": " 4V0BGLG5$", | |
| "ct": "QE9F4FU%XD", | |
| "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": "V45D7I-*LY", | |
| "ct": "LNJ0/M9.L*", | |
| "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": "5G6$VK2D-P", | |
| "ct": "2YH1BHBJY ", | |
| "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": "WGMY17YW4D", | |
| "ct": "IH$B3QFPNU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 297, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": "{RS5H9EGA5", | |
| "ct": "2RL48WD::Z", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 298, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": "KRSuH9EGA5", | |
| "ct": "PVROM9E$6L", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 299, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": "KRS5H9EGAi", | |
| "ct": "EAVTOTR 14", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 300, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7c52c8dc41b1e0238e139df0b6e22296", | |
| "tweak": "296aa8b2d2610836", | |
| "msg": ";UI$NRC41P", | |
| "ct": "LHN4L4%3O0", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 301, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7c52c8dc41b1e0238e139df0b6e22296", | |
| "tweak": "296aa8b2d2610836", | |
| "msg": "1UI;NRC41P", | |
| "ct": "F:UAKJ/IP%", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 302, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7c52c8dc41b1e0238e139df0b6e22296", | |
| "tweak": "296aa8b2d2610836", | |
| "msg": "1UI$NRC41;", | |
| "ct": "*S-Z$TZCY.", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 11, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 303, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "63396f38c44f0c2d97468c4804b5d022", | |
| "tweak": "73068af95fd924fc", | |
| "msg": "8DT -+J++%V", | |
| "ct": "66U:2I.-QKG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 304, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "00000000000", | |
| "ct": "H4G1::R0TK.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 305, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": ":::::::::::", | |
| "ct": "9U3QHZ9-G P", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 306, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "WW+G8NCHVMV", | |
| "ct": "31IPWHX-LDZ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 307, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "WW+G7NCHVMU", | |
| "ct": "KA X$L2E+HE", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 308, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "97$Q-LTHJ+-", | |
| "ct": "DO+SFRZR3C:", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 309, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": " -W57QNU W:", | |
| "ct": "OIIEAEVNUU5", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 310, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "8R4OSP9FX:6", | |
| "ct": "$+DJVXSYF1U", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 311, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "UNRL:H- MWQ", | |
| "ct": "75F1F Z2B6*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 312, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "2.JP+KLOS9.", | |
| "ct": "XHMJ+LJHP+Q", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 313, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "7SSEH1EUOR$", | |
| "ct": "E96W4NKOLH ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 314, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "C1 6PCCG4M5", | |
| "ct": "CD :RRE3KC", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 315, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "6H 72L*7FMV", | |
| "ct": "+-+0OYJAQ :", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 316, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "3P8J6PJ2IK4", | |
| "ct": "00000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 317, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "L*L3N0*KM:.", | |
| "ct": ":::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 318, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "P7YJY:MLEK3", | |
| "ct": "WW+G8NCHVMV", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 319, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "HPBLT4X3:C1", | |
| "ct": "WW+G7NCHVMU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 320, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "43a55de5e200efee416f", | |
| "msg": "X 8:IWTVGYF", | |
| "ct": "I5+:V0QK7%9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 321, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "43a55de5e200efee416f", | |
| "msg": "WRXEBK8XT+-", | |
| "ct": "0-/5F7DQJI.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 322, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "43a55de5e200efee416f", | |
| "msg": "BZ+PL/U2QEZ", | |
| "ct": "3M/1W/L*02:", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 323, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "43a55de5e200efee416f", | |
| "msg": "K4.AAGUSF0M", | |
| "ct": "-E70SMM*9K0", | |
| "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": ".PISMV7BPAZ", | |
| "ct": "AMN4K6:IWTU", | |
| "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": "/T/.CUEG-9B", | |
| "ct": "9GM%OXJ9P8F", | |
| "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": "-VY6LQ%Z.3-", | |
| "ct": "HR6JT9MIYOX", | |
| "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": "C/T2GHTW7OX", | |
| "ct": "9N69: VKJYI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 328, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": "{FE4GJI-C0O", | |
| "ct": "INQPZHXHG02", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 329, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": "$FE@GJI-C0O", | |
| "ct": "-XQ/96N%6A+", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 330, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": "$FE4GJI-C0x", | |
| "ct": ".OOZDE Y8*2", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 331, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d1fe34b4eb69575d1dde27c4820a69dd", | |
| "tweak": "59ece0a0933c3e92", | |
| "msg": ";P%*R-64SFI", | |
| "ct": "X6IFH3$$NLI", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 332, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d1fe34b4eb69575d1dde27c4820a69dd", | |
| "tweak": "59ece0a0933c3e92", | |
| "msg": "WP%;R-64SFI", | |
| "ct": "PCYM-L7/C7$", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 333, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d1fe34b4eb69575d1dde27c4820a69dd", | |
| "tweak": "59ece0a0933c3e92", | |
| "msg": "WP%*R-64SF;", | |
| "ct": "3BTF%.-2 KT", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 12, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 334, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "ddc31fc7751a2bf5c8d2d815035622e8", | |
| "tweak": "0e10628c19795c4e", | |
| "msg": "%IQL2IGS2/4F", | |
| "ct": "-OL5+.7//$V.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 335, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "000000000000", | |
| "ct": "C1RGTH 52+3 ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 336, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "::::::::::::", | |
| "ct": "G9 SP4H9%VB$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 337, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "NCHVMVNCHVMV", | |
| "ct": "UFJ:*+$I7JA1", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 338, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "NCHVMUNCHVMU", | |
| "ct": ".P31T88FW$TM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 339, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "I-8T-5BQR5TK", | |
| "ct": "1K9P7/RY8/.Y", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 340, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "7OP7*LJBJGF+", | |
| "ct": "ZO6GW33EK2OD", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 341, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "2+C*XCW5 2GN", | |
| "ct": "7B4DV8ATN5U4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 342, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "IZ-5:/ZMF-+A", | |
| "ct": "+2:2Q$$GJX00", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 343, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "*G5QXSESDD/C", | |
| "ct": "*11C:N6QDF6S", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 344, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "2A:WR0LTF3MY", | |
| "ct": "X.0E*G%U4$.E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 345, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "Y0%P0TNWQ7IC", | |
| "ct": "8C8K1O0DHBUN", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 346, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "V7KAKK:FU9QI", | |
| "ct": "RWK/ZQZGHF.-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 347, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "TPN.840+8XFJ", | |
| "ct": "000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 348, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "4GTDD1R*1NKZ", | |
| "ct": "::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 349, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "N1Y9ONJ:D%SE", | |
| "ct": "NCHVMVNCHVMV", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 350, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "$L10+./KF4MT", | |
| "ct": "NCHVMUNCHVMU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 351, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "b01f2e2540b75310ed1a", | |
| "msg": "7XNZ.TIY%2F-", | |
| "ct": " /42W-M+$4U3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 352, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "b01f2e2540b75310ed1a", | |
| "msg": "QSW-DL7JIHA*", | |
| "ct": "0TD-9OJ9.S5G", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 353, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "b01f2e2540b75310ed1a", | |
| "msg": "ZRZUOFK%8-.F", | |
| "ct": "LP8*8MOTSASE", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 354, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "b01f2e2540b75310ed1a", | |
| "msg": "JHG-$90X BNF", | |
| "ct": "PMV6IJ6FMM1G", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 355, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": "\\E7IMA/77L/1", | |
| "ct": "8-FMX+C:ZD7%", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 356, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": "BE7I(A/77L/1", | |
| "ct": "FK40 :%-%D3U", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 357, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": "BE7IMA/77L/y", | |
| "ct": "T+X-IZO$CUEN", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 358, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f2dfe189b78220db3bb5c3573f76c0b7", | |
| "tweak": "6831e4a9327d2df9", | |
| "msg": ";6FICHIW$I6J", | |
| "ct": "QS+7I8GFW9T1", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 359, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f2dfe189b78220db3bb5c3573f76c0b7", | |
| "tweak": "6831e4a9327d2df9", | |
| "msg": "Q6FI;HIW$I6J", | |
| "ct": "VJ1Y420LB9%T", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 360, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f2dfe189b78220db3bb5c3573f76c0b7", | |
| "tweak": "6831e4a9327d2df9", | |
| "msg": "Q6FICHIW$I6;", | |
| "ct": "77%-W-HH/BYW", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 13, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 361, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "d5e6c882f005525ce577f704ef6b525d", | |
| "tweak": "7ce1a7a4e6508c83", | |
| "msg": "D:/SSWYDJ9N$N", | |
| "ct": "RDGCFKT4W+DBJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 362, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "0000000000000", | |
| "ct": "1+JP0ZHF740Q8", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 363, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": ":::::::::::::", | |
| "ct": "75*6KJ4/KK//Z", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 364, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "NCHVMVX4S7 C4", | |
| "ct": "Y*K+T2WCM5.CI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 365, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "NCHVMUX4S7 C3", | |
| "ct": "ZHZT-OM2G7K+J", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 366, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "-J-38U7/2$/L7", | |
| "ct": "J16Y$S*G144V9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 367, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "/Y51B-G7MDAEU", | |
| "ct": " EDN:K8$E$596", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 368, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "ISUY:VYJ2ZH72", | |
| "ct": "7PU5HW0VYL.TB", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 369, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "O6IF.8H+/-$ZT", | |
| "ct": "S+VQ5 6Q1WPO$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 370, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "H7UA$LLOVFUS.", | |
| "ct": "5O/%ILZURULGD", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 371, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "9J.K+U :M9VLV", | |
| "ct": "** 5Z*DHBL43M", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 372, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "G4I58X$S641RS", | |
| "ct": "PD4YG$U:I+ZY*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 373, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": ":K8X43%NI-50 ", | |
| "ct": ".G4TUWXON0N$/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 374, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": ".1+/61Z80.CU3", | |
| "ct": "0000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 375, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "9J0+-51M85/WJ", | |
| "ct": ":::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 376, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "U-%OFXH4KX*KJ", | |
| "ct": "NCHVMVX4S7 C4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 377, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "FM+:+%%BD 0Q6", | |
| "ct": "NCHVMUX4S7 C3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 378, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9a1726d1a00c9691131b", | |
| "msg": "000000-B69F.K", | |
| "ct": "2+G874HY2319X", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 379, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9a1726d1a00c9691131b", | |
| "msg": "000001-B69F.K", | |
| "ct": "UB+N*-66 1JBJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 380, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9a1726d1a00c9691131b", | |
| "msg": "NCHVMV-B69F.K", | |
| "ct": "PIKO+AS QGJC0", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 381, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9a1726d1a00c9691131b", | |
| "msg": "::::::-B69F.K", | |
| "ct": "8 IN7U$TWMP/7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 382, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "702a2ab3229e572c05dc", | |
| "msg": "DY+28M+ H%RQG", | |
| "ct": "R%M$W:6S2R+79", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 383, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "702a2ab3229e572c05dc", | |
| "msg": "04BAVED1VS E.", | |
| "ct": "C:V/XXPGWKFTL", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 384, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "702a2ab3229e572c05dc", | |
| "msg": "WAB7EUHJLJ1$B", | |
| "ct": "UHV+:GXK97-A$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 385, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "702a2ab3229e572c05dc", | |
| "msg": "3H UXP$DW9-RZ", | |
| "ct": "AHT4WTD0DZV+U", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 386, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "702a2ab3229e572c05dc", | |
| "msg": ".PO.E-CSQMP0R", | |
| "ct": "+M%18URBHXW9S", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 387, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "19d71108fc68a16e314d", | |
| "msg": "-Y$-.S-:*GBF:", | |
| "ct": "C%RK-UXP697WP", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 388, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "19d71108fc68a16e314d", | |
| "msg": "*7CZ3D9K7K8/%", | |
| "ct": "7RKYYJ.8:1 GA", | |
| "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": "SLNVEJ 8%UOU0", | |
| "ct": "1J$RF7W9-3XMF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 390, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "19d71108fc68a16e314d", | |
| "msg": "4Q 60B89JZ4U5", | |
| "ct": "H+O7$/YHLQBN4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 391, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "19d71108fc68a16e314d", | |
| "msg": "AL%XJRY20X.VG", | |
| "ct": "-XYLUYJBF::WE", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 392, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "19d71108fc68a16e314d", | |
| "msg": "QVK:LD5/$/-MU", | |
| "ct": "SJQ BU4FTKE7R", | |
| "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": "OKOMKYHLT4/88", | |
| "ct": "$3E.QE%PM0*E*", | |
| "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": "GY*CV%.AW$C2:", | |
| "ct": "EPNH65I :4.JI", | |
| "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": "FC-UMGC*2 A7.", | |
| "ct": "-O9$LGTX3UYE2", | |
| "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": "+YXINRAY93: $", | |
| "ct": "QQEL6UPVD6 :O", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 397, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": "pF3ZNCSEDG AV", | |
| "ct": "$P7$4ZL.YHK5:", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 398, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": "UF3ZxCSEDG AV", | |
| "ct": "MGZYJLJ$W4TMY", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 399, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": "UF3ZNCSEDG A)", | |
| "ct": "USQC$B+8L21FF", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 400, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e37831f92c42223c1763494e71d23064", | |
| "tweak": "d65aaf3ddfc3426d", | |
| "msg": ";J0WBJJ4327J6", | |
| "ct": "UFWQLZ:.W%:QJ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 401, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e37831f92c42223c1763494e71d23064", | |
| "tweak": "d65aaf3ddfc3426d", | |
| "msg": "8J0W;JJ4327J6", | |
| "ct": "XQGX2VUD XV0K", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 402, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e37831f92c42223c1763494e71d23064", | |
| "tweak": "d65aaf3ddfc3426d", | |
| "msg": "8J0WBJJ4327J;", | |
| "ct": "*E3NSX++WFSR7", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 14, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 403, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "7a1122636a4417351c97156308d4f6aa", | |
| "tweak": "a9508e64d1ab8e34", | |
| "msg": "TA4GRVQT4UJYA:", | |
| "ct": "7XW21I.JKKKQ$3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 404, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "00000000000000", | |
| "ct": " 6H0WRUVN06HDR", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 405, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "::::::::::::::", | |
| "ct": ". YG+RRXKBJG71", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 406, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "X4S7 C4X4S7 C4", | |
| "ct": "1G0UNZGWCFV8$5", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 407, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "X4S7 C3X4S7 C3", | |
| "ct": ":O LN*/NQ8MNCK", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 408, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "VD*CH9:8$GGYV*", | |
| "ct": "VGVQGR5XNYH%BA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 409, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "QHQOM7DI3QN0:.", | |
| "ct": "WFEIVG8JVGCQX2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 410, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "AQ4/UCYAMO8$0D", | |
| "ct": "HCQN-/ET73MUMX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 411, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "1I/8Z$R+45RB+:", | |
| "ct": "LOP5D68QJ.I4I+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 412, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "RPB5V14FP20G9L", | |
| "ct": "SV10.A4AATYY01", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 413, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "3.T%EVZQ1*ZGQP", | |
| "ct": " 6:WR2LKUVNRK0", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 414, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "SYJN-+ OEN3S-P", | |
| "ct": "Y6$A+:J%5B3S60", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 415, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": " VRBRX3J.O+6D7", | |
| "ct": "24L L%675YG4J4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 416, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "T/67B7O9+Z7R7V", | |
| "ct": "00000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 417, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "4:V0HV:6C91IG7", | |
| "ct": "::::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 418, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "+PFWOB7KFPX/CR", | |
| "ct": "X4S7 C4X4S7 C4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 419, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "/J-S9YV+K80WI2", | |
| "ct": "X4S7 C3X4S7 C3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 420, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "872ed4c2e49cbceef15b", | |
| "msg": "07SP4ED*P7HY6I", | |
| "ct": "0000000TJE+KVA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 421, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "872ed4c2e49cbceef15b", | |
| "msg": "S01G9Y:KFEQ3J/", | |
| "ct": "0000001K/M24/1", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 422, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "872ed4c2e49cbceef15b", | |
| "msg": "4XFFTVV0I/$7UR", | |
| "ct": "X4S7 C4NEVNX1M", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 423, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "872ed4c2e49cbceef15b", | |
| "msg": "YAYZ5HLXYIKHR0", | |
| "ct": ":::::::S*0VU58", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 424, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "1a2250edef66c9202c4d", | |
| "msg": "Q6E.DVVJEBGZ0/", | |
| "ct": "ABTS14HHK4+G:2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 425, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "1a2250edef66c9202c4d", | |
| "msg": "ERP-T$GE-E+L/F", | |
| "ct": "$B64J:5ZW*7QFJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 426, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "1a2250edef66c9202c4d", | |
| "msg": "AU F9J4- 9A0+Z", | |
| "ct": "5OPKPNRMBC LT6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 427, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "1a2250edef66c9202c4d", | |
| "msg": "S0LAPDDRGTG7/-", | |
| "ct": "Q6VQ2PN8:VN-KE", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 428, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "1a2250edef66c9202c4d", | |
| "msg": "KYLE6A7QU2M%Z ", | |
| "ct": "OO9.PS*T79T/T*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 429, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "79c995768318ef3b61b6", | |
| "msg": "D062VB/QE-*S9D", | |
| "ct": " PDOL.TCU3BJ5G", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 430, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "79c995768318ef3b61b6", | |
| "msg": "--+R/I47:OJ3TC", | |
| "ct": "F$84BGO*7+9CW-", | |
| "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": "I1CQPGMIA/KAG:", | |
| "ct": "3MNM2H2%S*DZ2A", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 432, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "79c995768318ef3b61b6", | |
| "msg": "E7UTKZ2$B++WSP", | |
| "ct": "VPVSU+3AG$V*CO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 433, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "79c995768318ef3b61b6", | |
| "msg": "02NF46UOU3U%I%", | |
| "ct": "3LRMOM0 WR1MM4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 434, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "79c995768318ef3b61b6", | |
| "msg": "C4M0P :OMZAQ/4", | |
| "ct": "E387MCNLIS6SV8", | |
| "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": "XHMS /K0DL%0:+", | |
| "ct": "SN8FBR*YC/*2+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.XUA:X79JNMI ", | |
| "ct": "OW489HYP0VQQ7%", | |
| "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": "P7T500J5TSIJ G", | |
| "ct": "6E1-PYHF+P/6VH", | |
| "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": "W74P0BBOZQ8XR-", | |
| "ct": "2M$OROSB/ASXP.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 439, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": "g-TKJKU1VFT49*", | |
| "ct": "L2FDIAMJRF-J7R", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 440, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": "B-TK@KU1VFT49*", | |
| "ct": "*9:M8:XBLMQ3DA", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 441, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": "B-TKJKU1VFT49t", | |
| "ct": "NI4T6LBIFUK%7M", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 442, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a443e7dbf5f32c71f2a669daf1c5f324", | |
| "tweak": "1406f1f4cec3bb21", | |
| "msg": ";-J4-XX99$EP9R", | |
| "ct": "*$$64UMF7YYG-P", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 443, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a443e7dbf5f32c71f2a669daf1c5f324", | |
| "tweak": "1406f1f4cec3bb21", | |
| "msg": " -J4;XX99$EP9R", | |
| "ct": "DX$T+S50R.ZC T", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 444, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a443e7dbf5f32c71f2a669daf1c5f324", | |
| "tweak": "1406f1f4cec3bb21", | |
| "msg": " -J4-XX99$EP9;", | |
| "ct": "*9ZDRS4WH$XF%I", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 15, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 445, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "7b0c5d430ef9383b04b2691ce3402a9a", | |
| "tweak": "ec71532112064259", | |
| "msg": "SRTH3VHOT$VWO6R", | |
| "ct": "5: .S/PGK BJ/OF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 446, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "000000000000000", | |
| "ct": "CEX:O/PVJ6 JNJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 447, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": ":::::::::::::::", | |
| "ct": "..91YX 0+YF33%.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 448, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "X4S7 C4NOD1OZQ%", | |
| "ct": "-T7RC1DWI3P%JL5", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 449, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "X4S7 C3NOD1OZQ$", | |
| "ct": "U44:1VA1.TAE%L5", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 450, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "MD56EX: *6EN$F", | |
| "ct": "O-+ Z6A9ECWFZON", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 451, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "CNA5OZ-X6IBKR9G", | |
| "ct": "1R*3R/EHM1Z5INY", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 452, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "/Z-$:22J5N8C3YC", | |
| "ct": "W:4TJD0FH6:R$2E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 453, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "U3+XU6KMD3526/A", | |
| "ct": ".F.*C+918D-SO$6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 454, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "$MK4-IP7OGU :XR", | |
| "ct": "2I./0GQIUD3UM5 ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 455, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "Q4YZ7**Q..S6/9W", | |
| "ct": "GOX$7-DJFPWZPYJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 456, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "GG4Y/H:.XF.M5C ", | |
| "ct": "$JV+H3K6M/8RO:3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 457, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "7LTZ53M$33+ADTA", | |
| "ct": "$9DG:%U4A$V6CNM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 458, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "5C2CN7$Q35IEFNE", | |
| "ct": "000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 459, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "8V9CHS:H QHYOO$", | |
| "ct": ":::::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 460, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "*TE3V6NG3HP9H0B", | |
| "ct": "X4S7 C4NOD1OZQ%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 461, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "QCQ.1IQH4:0UGWT", | |
| "ct": "X4S7 C3NOD1OZQ$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 462, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "0fa4c68977dc465a49", | |
| "msg": "9 GXH*W9+4QC2HR", | |
| "ct": "M:S+JD3 8OVM6T", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 463, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "0fa4c68977dc465a49", | |
| "msg": "13OORQ..Y*SM88X", | |
| "ct": "CUR33$96.E-I+E%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 464, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "0fa4c68977dc465a49", | |
| "msg": "ECQT-241O6S:QO%", | |
| "ct": "EKT4K4L*TC++ELO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 465, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "0fa4c68977dc465a49", | |
| "msg": "DQLTP:7SY2T0:/G", | |
| "ct": "2C9PJUU*9:$CAH/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 466, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "0fa4c68977dc465a49", | |
| "msg": "GQ3QELCOV3:H-19", | |
| "ct": "UF46FB*-+/C45N-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 467, | |
| "comment": "y is maximal and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "70eaeaa03f5848a406", | |
| "msg": ":%JB%.E3R*.Q10E", | |
| "ct": "9DOGJTJS-W:58Q*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 468, | |
| "comment": "y is maximal and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "70eaeaa03f5848a406", | |
| "msg": "UW/*ZRGQOI.H4S$", | |
| "ct": "A5Y65.3%2+BF$SE", | |
| "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": "4FQCO2V0$.$X7EI", | |
| "ct": "QJH 68VS2ZQT:4:", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 470, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "70eaeaa03f5848a406", | |
| "msg": "N7SM B6.1PLGF20", | |
| "ct": "L BX%83LIC++P-B", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 471, | |
| "comment": "y is maximal and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "70eaeaa03f5848a406", | |
| "msg": "K:U+%/SB*%JEQJ:", | |
| "ct": "TM2J4ZH7HA8NFS8", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 472, | |
| "comment": "y is maximal and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "70eaeaa03f5848a406", | |
| "msg": "K50K615$:F+G*5N", | |
| "ct": "+KM7JR3TBTLTGPR", | |
| "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": "180T*NC386NN EE", | |
| "ct": "9GG1B57ZTQ.TH:A", | |
| "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": "Z1MK8GWG3PSZLQF", | |
| "ct": "V21IE:32G9OSWTB", | |
| "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": "16E-98BUEM:C:8I", | |
| "ct": "IKY9P/.J2Q-B$SL", | |
| "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": "7GEHCPJFAO-4:D.", | |
| "ct": "LNVGP BEEV4ZTG%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 477, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": "@BA:MICKHFP$DR7", | |
| "ct": "WM0Z+8H:I.LAER3", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 478, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": "0BA:McCKHFP$DR7", | |
| "ct": "C15UZ97JNV%M6JJ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 479, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": "0BA:MICKHFP$DRz", | |
| "ct": "LCXUZT/X5YJ F66", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 480, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9d2677076a9dd2d9591887739b3d9a51", | |
| "tweak": "b4453b7ab98bcff1", | |
| "msg": ";60XYWXFBAD90$M", | |
| "ct": "WE6P1JZK-YI6HZN", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 481, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9d2677076a9dd2d9591887739b3d9a51", | |
| "tweak": "b4453b7ab98bcff1", | |
| "msg": "Y60XY;XFBAD90$M", | |
| "ct": "5BM$:BUM:5JFP87", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 482, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9d2677076a9dd2d9591887739b3d9a51", | |
| "tweak": "b4453b7ab98bcff1", | |
| "msg": "Y60XYWXFBAD90$;", | |
| "ct": "-6I./6QK1J:30S2", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 16, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 483, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "48f0d03e41cc55c4b58f737b5acdea32", | |
| "tweak": "30944debca89ca90", | |
| "msg": "I5SEFYN5H6U.AO44", | |
| "ct": "M89ZL.5R8*VACHSJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 484, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "0000000000000000", | |
| "ct": "Q*Q/ G0C7U6*XZ K", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 485, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "::::::::::::::::", | |
| "ct": "P4F%$%FXPQA0GHQB", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 486, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "NOD1OZQ%NOD1OZQ%", | |
| "ct": "O+V+0U0Y03BO+5NI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 487, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "NOD1OZQ$NOD1OZQ$", | |
| "ct": "UO+MAXPA+JY-W1-A", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 488, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "XP Q8YHL%3$0U./G", | |
| "ct": "V53TITSFGKPX33D7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 489, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "PG%CN98TD+Z9QVA7", | |
| "ct": "7+4+CONPHTE1+HVT", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 490, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "X%PV7ME $LK.D*Q4", | |
| "ct": "40DRG/*.SE$4AV7E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 491, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "LLR3WMLUHXJ796SB", | |
| "ct": "GES$O-2+BN01I$Z/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 492, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "LKXR*O9:X5.BKW4P", | |
| "ct": "4WR8.GK+ALY63W ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 493, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "A CEJKS%E25L$WHD", | |
| "ct": "K3D.ACIQ3*WCING7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 494, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "JOZDU4Y6 0-BOYIP", | |
| "ct": "8QUS:0+6S%PAWED6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 495, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": ".ZFNV15X50S99RR1", | |
| "ct": "KGQ+39Z8-C8RKV9:", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 496, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "+YKZCX83W3BICFQX", | |
| "ct": "0000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 497, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "+XE QE3TAAAC$RP.", | |
| "ct": "::::::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 498, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "4INWG SB9BP4WY9R", | |
| "ct": "NOD1OZQ%NOD1OZQ%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 499, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "D72P*3-0:$K1HB7M", | |
| "ct": "NOD1OZQ$NOD1OZQ$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 500, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "61d141834f206c0129", | |
| "msg": "1D:WU3647*CTM476", | |
| "ct": "/Q0 M960$.ED388D", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 501, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "61d141834f206c0129", | |
| "msg": "VPAK%Y%K*TQS%%+O", | |
| "ct": "7*BFYV/1+9 TS+/K", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 502, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "61d141834f206c0129", | |
| "msg": "RVJ.6SD9/5F8S $D", | |
| "ct": "9GYKWQ-0DYUAVQFI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 503, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "61d141834f206c0129", | |
| "msg": "1C+.6*AYC$WJD+F4", | |
| "ct": "LW4.LXQX-RVV75ZV", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 504, | |
| "comment": "y = 1 and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "e8ee376ca7dd4e5055", | |
| "msg": " *AF:*I$MH%/ NKL", | |
| "ct": "UZD-8YVEE4Z5*HBG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 505, | |
| "comment": "y = 1 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "e8ee376ca7dd4e5055", | |
| "msg": "*6+X-*0J 4P18QPN", | |
| "ct": "$48G423X+P5KE3YY", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 506, | |
| "comment": "y = 1 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "e8ee376ca7dd4e5055", | |
| "msg": "/%G9.$T7DMVMZUM1", | |
| "ct": "TUJQKZ7IJ:5K7R9*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 507, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "e8ee376ca7dd4e5055", | |
| "msg": "R0WBUS/TW7T4TJVM", | |
| "ct": "9RYD9X7VZVQICIED", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 508, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "e8ee376ca7dd4e5055", | |
| "msg": "5NMTM0WQ PQ+%PHI", | |
| "ct": "JI+NYKKN69+0-EQC", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 509, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "f006d7e58ad5b2fc42", | |
| "msg": "VM7K7PEJ6/OWE%/B", | |
| "ct": "8FLKXPZICYL*6I--", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 510, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "f006d7e58ad5b2fc42", | |
| "msg": "MEGP7Y5BIZZ7ZDY%", | |
| "ct": "AFFR7. P.J:LGLES", | |
| "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": "Z0Q H4H6RIJ K704", | |
| "ct": "AR8 IH82+G.YUJ/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": "TCBHJ/R091C8FF8T", | |
| "ct": "ZVD2WDP9BDB:O12U", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 513, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "f006d7e58ad5b2fc42", | |
| "msg": "OXI52. 8HHRJYE1$", | |
| "ct": "8U*6V$$QX%RUPN.V", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 514, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "f006d7e58ad5b2fc42", | |
| "msg": "PBCVY4WDV1L$0HMB", | |
| "ct": "6JWF.X.FV8Q$.W85", | |
| "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": "- CS$4G88D8S1H:*", | |
| "ct": "$GP/:NAE+8NARSIW", | |
| "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": "98-3S.:2$13.OPYT", | |
| "ct": "Q61Q8FA$YNM5L.IP", | |
| "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": "HY26QFWPHS$$ZTZ ", | |
| "ct": "3*: EN2JAP.*WBVL", | |
| "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": "XBVE/6*4N%I63S6*", | |
| "ct": "Z7/9TJW8E3%Z/T8/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 519, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": "h/6.FB1$MQMZKP6%", | |
| "ct": "7Q2DXE6IL*AXQQP*", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 520, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": "2/6.F[1$MQMZKP6%", | |
| "ct": "9G3Z8IA7XHQB6%$T", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 521, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": "2/6.FB1$MQMZKP6[", | |
| "ct": ":134 HDAPYTH22IN", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 522, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4ac35c0a88b95eb28bed982a826d6027", | |
| "tweak": "98915153bbd117f7", | |
| "msg": ";FL%GUBO1T--P8J*", | |
| "ct": "CKYG4YAI+7O8GYC$", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 523, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4ac35c0a88b95eb28bed982a826d6027", | |
| "tweak": "98915153bbd117f7", | |
| "msg": "TFL%G;BO1T--P8J*", | |
| "ct": "A 8:W$BG*K.I.N+5", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 524, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4ac35c0a88b95eb28bed982a826d6027", | |
| "tweak": "98915153bbd117f7", | |
| "msg": "TFL%GUBO1T--P8J;", | |
| "ct": ".PD-BZ*%IKJDMYR4", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 17, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 525, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "22351a53774415942eb879b483eda9a2", | |
| "tweak": "b4a5dce9958d53fc", | |
| "msg": "1 VFV$-P7XY8:ALPW", | |
| "ct": "I%E4TWBCSU6.S/3O*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 526, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "00000000000000000", | |
| "ct": "M6$.MUNXT607BLTW*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 527, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": ":::::::::::::::::", | |
| "ct": "5N*1ONTQ.E5V55GCH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 528, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "NOD1OZQ%XLOO9BS82", | |
| "ct": "QYJF%K3GL$GOVWTL$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 529, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "NOD1OZQ$XLOO9BS81", | |
| "ct": "ATYXZII.6QVYB/CM/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 530, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "9B 5KI2H5O83QEHGG", | |
| "ct": "JYF0BB/.B%D*NC:XP", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 531, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "4+YX*QS-CT9CMI*T6", | |
| "ct": "S**%Q-Z76Y+2804*I", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 532, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "3O3TG*PX RTX95GK5", | |
| "ct": "CQTO1QR*TZT%4N5H6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 533, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "*PN13%H9-L8XG*+0I", | |
| "ct": ":F3*VS/+I%KGY%:.-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 534, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "PQV:26I R*ENN*MZN", | |
| "ct": "YDV59Y.CJY%:HY8BX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 535, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "//QF3WL:F4 26KIU0", | |
| "ct": "I28+:J+E.. $2IGRG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 536, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "* 9*9.VI%Z9RO$YVO", | |
| "ct": "$8DRT3*.Y /$8*2WO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 537, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "M Z%LI J$TUUC3KBN", | |
| "ct": "WO6GPJX9+-QLTY24E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 538, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "JL2OH8P52+PM-JG7/", | |
| "ct": "00000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 539, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "7S9C7*CZC9QQ%N8G-", | |
| "ct": ":::::::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 540, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "QGKY:+THRX$ZQX%UJ", | |
| "ct": "NOD1OZQ%XLOO9BS82", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 541, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "LUZ2BMYYJCIJ*4Z.P", | |
| "ct": "NOD1OZQ$XLOO9BS81", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 542, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b2d4d05adc482bb5", | |
| "msg": "12U2XKRKOVQ12J7:K", | |
| "ct": "D4T57CO/U%+QXT%IV", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 543, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b2d4d05adc482bb5", | |
| "msg": " 62*0-N0OME0P4IBQ", | |
| "ct": "BN/NCHDBU4 BW%Q5L", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 544, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b2d4d05adc482bb5", | |
| "msg": "E+AI7DTU5:5F.YKGH", | |
| "ct": "ER1-H2C64U%EI0M2%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 545, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b2d4d05adc482bb5", | |
| "msg": "A6F4RX.0L6V2QTLWU", | |
| "ct": "5L1FVT4/AB6G7J38/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 546, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b2d4d05adc482bb5", | |
| "msg": "D3XMD8OHH.ZN3QK9X", | |
| "ct": "PH754P3/31+M1OXWS", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 547, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": "@+5-B$M$A %68Q%AL", | |
| "ct": "A/IP6XEDZW%UN8O.Q", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 548, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": "$+5-BrM$A %68Q%AL", | |
| "ct": "7SLS%JZ0QX5QKPAX5", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 549, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": "$+5-B$M$A %68Q%Am", | |
| "ct": ".4$211NM/4+6V/V%6", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 550, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "adc12c7c7029b534fe1a0e52f1ebbac1", | |
| "tweak": "4ad5e6209c68e566", | |
| "msg": ";REDFZKAU9ZT4DM4%", | |
| "ct": "NDC.5QEK8$HYTJWO5", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 551, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "adc12c7c7029b534fe1a0e52f1ebbac1", | |
| "tweak": "4ad5e6209c68e566", | |
| "msg": "FREDF;KAU9ZT4DM4%", | |
| "ct": "D0/7YCB0R 5TQ*U 3", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 552, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "adc12c7c7029b534fe1a0e52f1ebbac1", | |
| "tweak": "4ad5e6209c68e566", | |
| "msg": "FREDFZKAU9ZT4DM4;", | |
| "ct": "S*1RR8Y:UVOQ98R12", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 18, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 553, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "40dcd7ccae73e5e9bba5523fbab77a3c", | |
| "tweak": "60ddd7c8df1437cf", | |
| "msg": "SL7MTHIIT-GVN+4OMT", | |
| "ct": "HW71UB17X:UV/X*345", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 554, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "000000000000000000", | |
| "ct": "Z-V8Q0Z9U/PD5KUCIR", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 555, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "::::::::::::::::::", | |
| "ct": "I4BUV6X15BFCSF7CQ0", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 556, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "XLOO9BS82XLOO9BS82", | |
| "ct": "G3GCUM EKCG%UYA.-9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 557, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "XLOO9BS81XLOO9BS81", | |
| "ct": "$%*A4DFHQR05SRJQ7-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 558, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "QMIGKMW4EKVFW6G5KR", | |
| "ct": "D01:C9FN.-OQQXVT4$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 559, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": ":NCQN-X B92AKCBQVW", | |
| "ct": "QVAL$6*G7U3PQ8D.GA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 560, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "%7*S +P9C9/P%VJPWL", | |
| "ct": "0AE:ETCSC WC9OO8/U", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 561, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "4J1-Y01EO911G77M+R", | |
| "ct": "RR1M%PSE6-YH8IZQ*O", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 562, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "J88DC47Z2C1K: CTK6", | |
| "ct": "1N/KM7RT$B6Y4$O2A8", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 563, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "M6.R+7UXRN8WZOL25O", | |
| "ct": "U3 ZOXEMBMFO-KWWE7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 564, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "QL%.DWDAZWJ5ZWDPZE", | |
| "ct": "EXNLE8N72P4TWM:1Y%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 565, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "-GYD%-TPJ$CCYOB8PZ", | |
| "ct": "Q*T*G6.U QOI6ZR/:.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 566, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "YZ6L..HMOPJ$OJ%SY-", | |
| "ct": "000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 567, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "VI2DIH$SGOR.0HAONN", | |
| "ct": "::::::::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 568, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "ISSXFCQAGD-%/PNOL0", | |
| "ct": "XLOO9BS82XLOO9BS82", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 569, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "*50ZD080STOV2EA2AM", | |
| "ct": "XLOO9BS81XLOO9BS81", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 570, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4b39174b084a7cc4", | |
| "msg": "0U707YG8BVWH$WL%ET", | |
| "ct": "4E9D1W/8JS NG LJ+Z", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 571, | |
| "comment": "y = 0 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4b39174b084a7cc4", | |
| "msg": "/C0E2O2:6ICW+NBV+E", | |
| "ct": "39$/UXSD19CP95GD.+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 572, | |
| "comment": "y = 0 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4b39174b084a7cc4", | |
| "msg": "ON8H$52R6KSA1AJ:X2", | |
| "ct": "W2+B5 ZV.VDZXL03/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": "J8UN.9QAU6.2 QSUWF", | |
| "ct": " YEMMCA%PWBMBSM0K5", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 574, | |
| "comment": "y = 1 and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "7f71f7719113f59e", | |
| "msg": "M0MH YP.1000000000", | |
| "ct": "1E:I:388.NSAHC29XQ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 575, | |
| "comment": "y = 1 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "7f71f7719113f59e", | |
| "msg": "YI$7V3QJX000000001", | |
| "ct": "E4$2 UR+H/X*W%3DGY", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 576, | |
| "comment": "y = 1 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "7f71f7719113f59e", | |
| "msg": "LXN5*73.GXLOO9BS82", | |
| "ct": "JKH7B$DMG3YBFXX0E6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 577, | |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "7f71f7719113f59e", | |
| "msg": "OWO.L-0+U::::::::/", | |
| "ct": "K+74+G.*KTONL-SV5D", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 578, | |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "7f71f7719113f59e", | |
| "msg": "E%WR*KP2W:::::::::", | |
| "ct": "X4D+O-%JCA E/%L61Q", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 579, | |
| "comment": "y is maximal and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4202b9454c349be0", | |
| "msg": "QN.G5:$84U5FCKN$6E", | |
| "ct": "+K/8VT YZW./8-36OV", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 580, | |
| "comment": "y is maximal and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4202b9454c349be0", | |
| "msg": "BHG UVGP O:QWW0/EB", | |
| "ct": "ING/4CVCQIFEM 0TSI", | |
| "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": "S2F+JIWZ5WT NHGRB/", | |
| "ct": "PGAVM4DCH%8 YTHNZX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 582, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4202b9454c349be0", | |
| "msg": "EFQ8/.UCDT:OW64B%C", | |
| "ct": ".KZ0WE.7VMO1%F01ZG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 583, | |
| "comment": "y is maximal and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4202b9454c349be0", | |
| "msg": "-H67ZWU47XCZBB%W8:", | |
| "ct": "JF6DVH$H9/BO1ZJWZ6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 584, | |
| "comment": "y is maximal and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "4202b9454c349be0", | |
| "msg": "-%L-K2 F:KYV7**GO/", | |
| "ct": " OV7:L6CW OP+:BGY$", | |
| "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": " AO QOMIM/IN 5R %6", | |
| "ct": ":::::::::NA:F1 53Z", | |
| "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": "3MWQTR+CD$%91L1..E", | |
| "ct": "000000000L/W3QL-P7", | |
| "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": "Q0ZO2LVGBV63:4H29.", | |
| "ct": "XLOO9BS811FI$F . V", | |
| "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": "71R8K5 V9$ PA4+Z3J", | |
| "ct": "::::::::/+8JVK1IW6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 589, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": "yR2/G1ABSMX0SZZR:Q", | |
| "ct": "FG1I6N8FL-9L%U9S/.", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 590, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": "UR2/G1#BSMX0SZZR:Q", | |
| "ct": "YO0J0L512-$TYI2ZO+", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 591, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": "UR2/G1ABSMX0SZZR:#", | |
| "ct": "FUPDC/04Q$L8F4QGD+", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 592, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "511ae5a0d88e7bea92f350e586408d9b", | |
| "tweak": "736e578a7f3a7d3b", | |
| "msg": ";0ZECSNR/0QC2HAVW2", | |
| "ct": "XI19MZH+W8NB8BYSD5", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 593, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "511ae5a0d88e7bea92f350e586408d9b", | |
| "tweak": "736e578a7f3a7d3b", | |
| "msg": "X0ZECS;R/0QC2HAVW2", | |
| "ct": "*YV6G3KPXX HVYE60A", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 594, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "511ae5a0d88e7bea92f350e586408d9b", | |
| "tweak": "736e578a7f3a7d3b", | |
| "msg": "X0ZECSNR/0QC2HAVW;", | |
| "ct": "B%DRF5/767BH92EMGF", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 19, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 595, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "3591cc97af4a5d1492305f87269ee691", | |
| "tweak": "13786144a50ef10a", | |
| "msg": "P9EVO-I TDU WVXG2A0", | |
| "ct": "G/XOVRL2VM/H:2H $QT", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 596, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "0000000000000000000", | |
| "ct": "JQLOE9Z/BNBY+ECDETA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 597, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": ":::::::::::::::::::", | |
| "ct": "0Q.T8IQ$K3J6GVW11$T", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 598, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "XLOO9BS82N EK9QC1WJ", | |
| "ct": "7FD+XUO5LXLX2P6+ZHY", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 599, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "XLOO9BS81N EK9QC1WI", | |
| "ct": "INRK5ICD$0T4VOGA*Z7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 600, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "9UVT4/WPIFH3H1GT*E0", | |
| "ct": "L8BD2*P X:38PP:Z$H4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 601, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "H40 S7:S/ND0+Z.IDGW", | |
| "ct": "$4G:3ZFWWYJ1$RZ$2S*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 602, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "0U45VIF:J/O4ML*GFK ", | |
| "ct": "3CXK1M%DI+*XI %V*D$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 603, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "IUCH5$KKW:MRA8L3KAJ", | |
| "ct": "KE+QQ$9+ECTX%3GB2KN", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 604, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "KR-I+G108A4%J0HHG0J", | |
| "ct": "RLRP-TBNG$+Z6QU8U2P", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 605, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "/W1*GY-UA$JIWRBY0VO", | |
| "ct": "PYZCPQM-$/NSLZF99.P", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 606, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "E7/9N3ZK+7%5YT/T3EZ", | |
| "ct": "$5ZX25EZFAT C/K .YJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 607, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "WI5VNMIPFFE$UBA:*KN", | |
| "ct": "QR9M6$3VE 1VZ.+WE.K", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 608, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "SW$AB85ST/J8ZWSRQTS", | |
| "ct": "0000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 609, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "D%XP7H%DZFMN+EA8L+K", | |
| "ct": ":::::::::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 610, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "EW%6B1POB/43$+JWMH9", | |
| "ct": "XLOO9BS82N EK9QC1WJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 611, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "LOQFDM%-LUGDK86SGMP", | |
| "ct": "XLOO9BS81N EK9QC1WI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 612, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "e6172636cafffd1b", | |
| "msg": "000000000 98KPR$2R*", | |
| "ct": "7V9:6Y/Z4P651%KSP:I", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 613, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "e6172636cafffd1b", | |
| "msg": "000000001 98KPR$2R*", | |
| "ct": "5O+* +8PY%12$AOKNOH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 614, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "e6172636cafffd1b", | |
| "msg": "XLOO9BS82 98KPR$2R*", | |
| "ct": "EF7.BMQ3PLQ/7K9$$5$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 615, | |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "e6172636cafffd1b", | |
| "msg": "::::::::: 98KPR$2R*", | |
| "ct": "NGH0O5VRNMJ%MMUM R2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 616, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "90be37fb3a945f52", | |
| "msg": "000000000GGOU44C81 ", | |
| "ct": "+3/L62 WTUY6KQ5P$.W", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 617, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "90be37fb3a945f52", | |
| "msg": "000000001GGOU44C81 ", | |
| "ct": "*V%IJ7G4FB2830VX+RP", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 618, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "90be37fb3a945f52", | |
| "msg": "XLOO9BS82GGOU44C81 ", | |
| "ct": "1E%ZT%U.C7DV4/67V$R", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 619, | |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "90be37fb3a945f52", | |
| "msg": "::::::::/GGOU44C81 ", | |
| "ct": "E3CU60.UTB32BU9KP -", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 620, | |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "90be37fb3a945f52", | |
| "msg": ":::::::::GGOU44C81 ", | |
| "ct": "*S*:2E-P0::EY+4 H11", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 621, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "201238a2323dc218", | |
| "msg": "38UJFCS85OGIYATFJ I", | |
| "ct": "KSGNH7EZ7.SN5-$0QQJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 622, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "201238a2323dc218", | |
| "msg": "6MCC0WI:N+0PV32KCN8", | |
| "ct": "/.CPK4AM YDX:Y.7+O0", | |
| "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": "A8.**S/0CS1YL$ JGYI", | |
| "ct": ":H%FBEYSUKA62V4C%5$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 624, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "201238a2323dc218", | |
| "msg": "Q$H4F DAXNRFCUZR+KF", | |
| "ct": "-JRO3KN4X+6Z7EKJ-HJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 625, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "201238a2323dc218", | |
| "msg": "*4.2U-T*K*/SO00J15Z", | |
| "ct": "/DWKLKW%.W+*BX:VCJC", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 626, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "522debdfba3b6828bb97848da895884a", | |
| "tweak": "201238a2323dc218", | |
| "msg": "Z%5CADHOBCKAR+6Q3WE", | |
| "ct": "X+490L:V6E.LVY.FYI0", | |
| "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": "768AH*F0.W/F.WLOJW8", | |
| "ct": "PEKL2YT18+:WVEEYQ-R", | |
| "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-HM/KT0VI.PCDEA6Y5", | |
| "ct": "XBM95J4E+S$4M*6XHEE", | |
| "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": "G$58AAQYJO FN$NN25%", | |
| "ct": "VU81$MOBIWCQ0/BWXZQ", | |
| "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": "Z9HWJ%7F9S*VQ00P8 Y", | |
| "ct": "78N*.*N$LDIUPD0 A$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 631, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": ">G7FB4Q796$FAL9RG+W", | |
| "ct": "Y4C:MUPBYI MBJ5 V3N", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 632, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": "%G7FB4)796$FAL9RG+W", | |
| "ct": "%4D NM433.CIK75T$52", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 633, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": "%G7FB4Q796$FAL9RG+c", | |
| "ct": "SUCGF0:5K+N950%6T:C", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 634, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c93c6acd30de07623899bc847e179373", | |
| "tweak": "29b7928ecb4ee5b2", | |
| "msg": ";N*SBW9VC*9NEX4E3RC", | |
| "ct": "-E+CMHBWBAJL%QT2%WE", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 635, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c93c6acd30de07623899bc847e179373", | |
| "tweak": "29b7928ecb4ee5b2", | |
| "msg": "+N*SBW;VC*9NEX4E3RC", | |
| "ct": "91F0OEWDOQF/BP7S7FA", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 636, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c93c6acd30de07623899bc847e179373", | |
| "tweak": "29b7928ecb4ee5b2", | |
| "msg": "+N*SBW9VC*9NEX4E3R;", | |
| "ct": "+BW68F**C$U0UR*R*3E", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 20, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 637, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "ccdf8f792a48fd841d49e060315b0c3d", | |
| "tweak": "508c6ff22207dc5b", | |
| "msg": "FAMN96P6742P:XLK25XN", | |
| "ct": "U D C1LD/PG3:G1H/D8.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 638, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "00000000000000000000", | |
| "ct": "FOIAD*X-JETDDPC%JL+P", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 639, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "::::::::::::::::::::", | |
| "ct": "F*V0RCD1XJXTA01MYI%U", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 640, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "N EK9QC1WJN EK9QC1WJ", | |
| "ct": "SL3MT-V85XC-:/VEM6IE", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 641, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "N EK9QC1WIN EK9QC1WI", | |
| "ct": "KM5+LV6S8K7NBIV7NE V", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 642, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "7D%0:96K9$8O$S38Q7T1", | |
| "ct": "40TJ Y6DVH$$8VC0YBQ1", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 643, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "UA:E0505$EK.%2T%++6S", | |
| "ct": "XWZ6G5YJJ2:+Y*ATCEO%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 644, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "V4OR$S47:I-H9**HOO6J", | |
| "ct": "ZBW%KN/4OR2HBSIIP0%1", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 645, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "2JY6:8QBW+.9BLV.CZ-.", | |
| "ct": "*RV:J239IRT-YLGWIL8X", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 646, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "IDS-8J*6T%.8I%VD-$6C", | |
| "ct": "A2YS8 -SWV7WCTZYLUY+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 647, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "APYKKEBTADV CPQ*8+6-", | |
| "ct": "D67ROTHRLM+*/G2/5E:M", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 648, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "CE*Q:RK92Q7/RE-$VYW+", | |
| "ct": "XG3LQ95GVQTCJ*D6-DY0", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 649, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "18TTOF$K:WP*9BCYKUFB", | |
| "ct": "LTF+3GRV%.232X222C3L", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 650, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "3A%QCI8-7-960*WET2*D", | |
| "ct": "00000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 651, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "5G/*NJKGOLQBL0K*T+U:", | |
| "ct": "::::::::::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 652, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "R1EUZ54U7- XLRPE$CR2", | |
| "ct": "N EK9QC1WJN EK9QC1WJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 653, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "RP80KJOC1NO*9:Y7AG$:", | |
| "ct": "N EK9QC1WIN EK9QC1WI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 654, | |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "6a02f1603c8aca6f", | |
| "msg": "C15-%3P79EJB7B$:SJZN", | |
| "ct": "OUVU6K BB%QMCG6NOJ6%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 655, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "6a02f1603c8aca6f", | |
| "msg": "D5V9Q*AL1NP 7I:UD4LU", | |
| "ct": "AQY-MKADJ$63H+ZP2J6B", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 656, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "6a02f1603c8aca6f", | |
| "msg": "MTI7I/XE7GIDVX9$/R1$", | |
| "ct": "-JH4/NG0Y:Z1+V%4CTZN", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 657, | |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "6a02f1603c8aca6f", | |
| "msg": "3M0L%L0.CNOJRU9IHNAY", | |
| "ct": "NBMY7VRI2AVXB30WZRIZ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 658, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "f61da227f909139f", | |
| "msg": "R*3*KWBZKT UPT+18HFJ", | |
| "ct": "8L9O+:H%ZF7C.$9FP8$X", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 659, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "f61da227f909139f", | |
| "msg": "U K9VVUA225P7Z1ZRUJR", | |
| "ct": "ZZ3YQKABYLNZNQRBQG-R", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 660, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "f61da227f909139f", | |
| "msg": "O/*SQEFY0SK4G1+54K1H", | |
| "ct": "2/2V$AMVQ+SJYW+$B9E.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 661, | |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "f61da227f909139f", | |
| "msg": "%Q*HSV-*T27PEK+E3RAH", | |
| "ct": "9JGW2NU+OTLF4M/MWU8/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 662, | |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "f61da227f909139f", | |
| "msg": "HOI2DWEIHS3SLSV1M*0Z", | |
| "ct": "1EOUJUQBB4DFWFB09S8E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 663, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "3f950929d9c4a7ff", | |
| "msg": "0000000000B%ZO+%0F51", | |
| "ct": "ZV657H8TW201+%NT87IX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 664, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "3f950929d9c4a7ff", | |
| "msg": "0000000001B%ZO+%0F51", | |
| "ct": "FF::90S7-$XK68*DD-IO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 665, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "3f950929d9c4a7ff", | |
| "msg": "N EK9QC1WJB%ZO+%0F51", | |
| "ct": "9QBSMA07TKJ5*XV4V:0R", | |
| "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": "+DK05IB0 :B%ZO+%0F51", | |
| "ct": "WY9X-OEXT*G0%6NGDX5E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 667, | |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "3f950929d9c4a7ff", | |
| "msg": "+DK05IB0$0B%ZO+%0F51", | |
| "ct": "VI71V.:7TDX4+/*WB4ZW", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 668, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "3f950929d9c4a7ff", | |
| "msg": "::::::::::B%ZO+%0F51", | |
| "ct": "%QHFS D:7Y+GI4YNMZTH", | |
| "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": "MBB2D 4F+235ZI7%4.IA", | |
| "ct": "::::::::::OE$9KU7%H-", | |
| "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": "UFJ*Q2LHHHXB7T0E:4CN", | |
| "ct": "0000000000BZ24L6PR4+", | |
| "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": "5NHT66$54Z*S$UQS%VQ2", | |
| "ct": "N EK9QC1WIG2AKJ--1DQ", | |
| "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": "N6HSXC%8UMZ-GID.DOI*", | |
| "ct": ":::::::::/91K$KIOT//", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 673, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", | |
| "tweak": "76f494b34dbcd3bc", | |
| "msg": ")GGUGOW1WVT2HYVKJ/:M", | |
| "ct": "Y.TI1A32-U-W38KOOS+V", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 674, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", | |
| "tweak": "76f494b34dbcd3bc", | |
| "msg": "DGGUGOx1WVT2HYVKJ/:M", | |
| "ct": "32S+K026GNR+ 3 KE.4*", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 675, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", | |
| "tweak": "76f494b34dbcd3bc", | |
| "msg": "DGGUGOW1WVT2HYVKJ/:k", | |
| "ct": "6 :L/TDHSZSU8HT+FNS8", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 676, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c9d8c668d2aa71277fca9f0f74c6247f", | |
| "tweak": "c705c93d16454fea", | |
| "msg": ";GI2QBU0S83ZRK$O5%2*", | |
| "ct": "N4C93WX99*HEGV-GE$Z ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 677, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c9d8c668d2aa71277fca9f0f74c6247f", | |
| "tweak": "c705c93d16454fea", | |
| "msg": "VGI2QB;0S83ZRK$O5%2*", | |
| "ct": "*9/LT1FPMGLU2YYGO%HG", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 678, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c9d8c668d2aa71277fca9f0f74c6247f", | |
| "tweak": "c705c93d16454fea", | |
| "msg": "VGI2QBU0S83ZRK$O5%2;", | |
| "ct": " :65:JCL.WAVSGKHXNTO", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 21, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 679, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "c0e4c4a9b86c17e4efe9a12733e7aff4", | |
| "tweak": "f71b48c8172125d4", | |
| "msg": "U:25Q5YETP0+JY19NVMQC", | |
| "ct": "/M7+$9ID457QKP3E%4+CR", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 680, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "000000000000000000000", | |
| "ct": "S7R5N2GS062NO:5LE*DVH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 681, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": ":::::::::::::::::::::", | |
| "ct": "D-12VH*U8APZJL1QU8YT7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 682, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "N EK9QC1WJX%TOXSG5K51", | |
| "ct": "1B2MR39 A14YH786KMFOF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 683, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "N EK9QC1WIX%TOXSG5K50", | |
| "ct": "A86H8B1OMEX: B9M75-7K", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 684, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "-U53JNPIBA6+JDJ$GPDN8", | |
| "ct": "Q*/0E6K/JH:HYNEC+PW8O", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 685, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "CSLPPE46+.IJR$%R4+IG3", | |
| "ct": "3Y6JZS5CI77..58MZ:X0-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 686, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "KE7YU5E-PH/CZWTT EB2T", | |
| "ct": "JLLP*H3HFYWJT/N86I-63", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 687, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "VB8G.DJRIAPT--ZBG EF$", | |
| "ct": "CA9DU-IW$NQB+J4MGWYA$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 688, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "T7PH5E01UMU.SFD3$K*4D", | |
| "ct": ":FWIF/ :PK2 KS113WCBS", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 689, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "YEMSFUVF*4N8TX0 --X. ", | |
| "ct": "M8YC MRHBIZ M-G: HNNA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 690, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "F%UFVE2V4-0M+FVCX0$+7", | |
| "ct": "JRH85MAL2WY2S P5-07BN", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 691, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": ".W-B*S$9.PVDNP.Q%$-AL", | |
| "ct": "AR:ZC2RASN8K1/B$-B126", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 692, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "%GGJD2S23M/ VK2.*/LEI", | |
| "ct": "000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 693, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "ZH:IZ-W-IWXV2.NZ49PG%", | |
| "ct": ":::::::::::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 694, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": ":4NA5O6SLD3C1N$0271C%", | |
| "ct": "N EK9QC1WJX%TOXSG5K51", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 695, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": ".H.Y$8UXX98M6M6.Z.YGO", | |
| "ct": "N EK9QC1WIX%TOXSG5K50", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 696, | |
| "comment": "y = 1 and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "456df8086f52ef", | |
| "msg": "OQX G4V%30YEU39JCW0O6", | |
| "ct": "0000000001.E:.T..H7TK", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 697, | |
| "comment": "y = 1 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "456df8086f52ef", | |
| "msg": "EFYCE5-2507PF:ZG8F2M9", | |
| "ct": "0000000002:F$BIWQ799Q", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 698, | |
| "comment": "y = 1 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "456df8086f52ef", | |
| "msg": "MM*SO6Z%NQAZ8UG/OF9D:", | |
| "ct": "N EK9QC1WK ZCNORL3 XU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 699, | |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "456df8086f52ef", | |
| "msg": "$XR.R6M06EUZ*OJX/$8KR", | |
| "ct": "::::::::::6 .CQDEPP*W", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 700, | |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "456df8086f52ef", | |
| "msg": "2:84*PKZ47 I4U5TU68Y$", | |
| "ct": "0000000000BJ$AJGM3/27", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 701, | |
| "comment": "y is maximal and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "6b56f15c5df909", | |
| "msg": "-XHEXG%TD4L5 MAVT6TX%", | |
| "ct": "4VO:*QX:80V21BIQP2AU3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 702, | |
| "comment": "y is maximal and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "6b56f15c5df909", | |
| "msg": "GW4/ZQK-FTX-$KD3PG5X+", | |
| "ct": "4VO:*QX:81.92S4BJPAN%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 703, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "6b56f15c5df909", | |
| "msg": "++3S5 7RWQYV2P54$ANPZ", | |
| "ct": "SM*K4810+JTPL2S/3U.W5", | |
| "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": "WWRUK3A4EQ/KA8RS/+S74", | |
| "ct": "::::::::::Q F/E:HYZ4O", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 705, | |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "6b56f15c5df909", | |
| "msg": "X$3/M4KHSU4+12*-K7L/8", | |
| "ct": "0000000000O9QM6XSTZWU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 706, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "6b56f15c5df909", | |
| "msg": "KNZ3CGHXN%3FMNS1CAPYN", | |
| "ct": "4VO:*QX:7:84/YR J3O5*", | |
| "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": "P-RO.O2KY/W7$ZYTLV-$Y", | |
| "ct": "Y8*OUVQ2.CC.GJ*:N% :D", | |
| "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": " %K$DER8SW4-V/FWOO1V.", | |
| "ct": "/9Y0I:ISB30PPQU+*XR+*", | |
| "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": "5B-$F2:V4P9/*-+SD-A60", | |
| "ct": "P%UPDD+JD.FGETIB.2$AO", | |
| "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": "$:KO+3*QQHXDTB3MOHN*H", | |
| "ct": "H9YHRD8AZH0PEV VA*+3B", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 711, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", | |
| "tweak": "d0a005b45247f038", | |
| "msg": "]TBAH:7PF6SO1FY.C+MJI", | |
| "ct": "+1 1L QZYVFV/K5KVYF2 ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 712, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", | |
| "tweak": "d0a005b45247f038", | |
| "msg": "STBAH:7{F6SO1FY.C+MJI", | |
| "ct": "PFVDFPMC 5V8S6BOPMO$2", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 713, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", | |
| "tweak": "d0a005b45247f038", | |
| "msg": "STBAH:7PF6SO1FY.C+MJl", | |
| "ct": "6+8A3W*SRBL2IMXQU%E.9", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 714, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7121fd1b9f6e04cdc921cde8e7747fda", | |
| "tweak": "df3b3b0f29b2b503", | |
| "msg": ";*$88N*98+ O+FV7DF3HF", | |
| "ct": "SCO7G +KGFWHP+:MA84/I", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 715, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7121fd1b9f6e04cdc921cde8e7747fda", | |
| "tweak": "df3b3b0f29b2b503", | |
| "msg": "D*$88N*;8+ O+FV7DF3HF", | |
| "ct": "FEJO EUX:NMXN1K0-9.OB", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 716, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7121fd1b9f6e04cdc921cde8e7747fda", | |
| "tweak": "df3b3b0f29b2b503", | |
| "msg": "D*$88N*98+ O+FV7DF3H;", | |
| "ct": "$6BOE%6Q0/LFPKK4G6S-X", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 22, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 717, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "9ed2a54df9219a3d61b5f1758b73bda6", | |
| "tweak": "5ecd852b587b8148", | |
| "msg": "W2PJD5$M0B2NEP2ME*5GE/", | |
| "ct": "VHM.M.I:APZMLKVBVH9+BM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 718, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "0000000000000000000000", | |
| "ct": "L9JIS1SRPOF9DV:FDFDQ3+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 719, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "::::::::::::::::::::::", | |
| "ct": "P:W5BNO/HJ5YRFPCZVE8RH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 720, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "X%TOXSG5K51X%TOXSG5K51", | |
| "ct": "SL9UNEMBIHQ%3IMYKUZTNG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 721, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "X%TOXSG5K50X%TOXSG5K50", | |
| "ct": "ODDAFF6S0T8N3H.2AD-I1%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 722, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "0Y:1.7MOT2V7.G2.LMN2DN", | |
| "ct": "-4XW01L/CIEH1.0+O-L19N", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 723, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "HLOV-QAKEB%ZRU1Y/KTC24", | |
| "ct": "ILGN2TZ6FCJ3U.396UIDE2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 724, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "WT+ $YG.Z7*Y2P.QYCKY 5", | |
| "ct": "3GLW2HDLR:R33AH.SG765*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 725, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "$3Q-JXMF-%I7PJ7SC8DLS5", | |
| "ct": "T4P79V49Y9%8PLN$5EL602", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 726, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "C$JIR.+8LZ2G+JOL22JG3A", | |
| "ct": "NSO-YB+FV5DPJFPZ$VND.2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 727, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "$N.65NVC6.ZTQU:D3GMZGR", | |
| "ct": "2GE7+7-7LOTVK*F96JL4W/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 728, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": " MOMIPWSY 7RQ.SP4CHWGV", | |
| "ct": "ND KNRUBMY1IO/YID+HK 9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 729, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "454KGKCT$XP1+5$Y3R*N+-", | |
| "ct": "U:Q4+S0JCP3GYL866+ 2M5", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 730, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "IO90YJ5JZDM9JUYCI0F/W:", | |
| "ct": "0000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 731, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": " GE47P8WJ$MT6IW+KSI+J9", | |
| "ct": "::::::::::::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 732, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "9:7BVOKFGE%V K5LR77URM", | |
| "ct": "X%TOXSG5K51X%TOXSG5K51", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 733, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "C1%NMV-J83/-+BNT2FHNO9", | |
| "ct": "X%TOXSG5K50X%TOXSG5K50", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 734, | |
| "comment": "y = 0 and (y + a) % radix**11 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "a2bdb9c242da6c", | |
| "msg": "UKTVS7J-1F-+ IX94MK-G/", | |
| "ct": "00000000000UVB2HTJFUZI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 735, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "a2bdb9c242da6c", | |
| "msg": " 3CZZBJY4JEA5RY$A91W6J", | |
| "ct": "00000000001FF-+JJAO1V*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 736, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "a2bdb9c242da6c", | |
| "msg": "*AM1T-8UBJZ.*D47JVH-- ", | |
| "ct": "X%TOXSG5K511*.SN$:896P", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 737, | |
| "comment": "y = 0 and (y + a) % radix**11 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "a2bdb9c242da6c", | |
| "msg": "KHRB LRM*KPMML3HVEPQSK", | |
| "ct": ":::::::::::6A3FS$4H4VI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 738, | |
| "comment": "y = 1 and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "80d0ec6bde66a4", | |
| "msg": ":SG8$I VSR:EMAWGW3QPTS", | |
| "ct": "%45CBZ2IR/CWFM%UJAU1*O", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 739, | |
| "comment": "y = 1 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "80d0ec6bde66a4", | |
| "msg": "MGZB7FQ.VQ021TQCPOY+L3", | |
| "ct": "I*VNN+IYZP9AKJXE5H$+V+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 740, | |
| "comment": "y = 1 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "80d0ec6bde66a4", | |
| "msg": ".JFJL+XXPED-BFXRAOXWYI", | |
| "ct": "5F39OSX17EE5/G:W:$%PYJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 741, | |
| "comment": "y = 1 and (y + a) % radix**11 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "80d0ec6bde66a4", | |
| "msg": "OR3/W7TLF1*UVQ$7ISHIPN", | |
| "ct": "CGJLSV*$.:OK LH0MOC:G6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 742, | |
| "comment": "y = 1 and (y + a) % radix**11 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "80d0ec6bde66a4", | |
| "msg": "*64BWZ*VYZO3-BBGM.O8E2", | |
| "ct": "Z2EKDGB7*/C*1LQ2/%U$VH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 743, | |
| "comment": "y is maximal and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "611ecdb6886b87", | |
| "msg": "6NLXP.38H MILG86 D+YF3", | |
| "ct": "C4VO:*QX:80CCK-W$ZLA1Y", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 744, | |
| "comment": "y is maximal and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "611ecdb6886b87", | |
| "msg": "O5*9OZ192O5S*TSEY+K.+%", | |
| "ct": "C4VO:*QX:815HELO+*-8/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": "J4BSPLOGIDT:I5+*R$1JD5", | |
| "ct": ":::::::::::OHFHNS9VOYM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 746, | |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "611ecdb6886b87", | |
| "msg": "6HC5WJR3SV4O:+U:/G%X6D", | |
| "ct": "00000000000Y25*GWV4GGL", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 747, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "611ecdb6886b87", | |
| "msg": "+X%OTK:ND7EW8F8J7E8MMU", | |
| "ct": "0/G4XM.*JD150TZH6:XXI/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 748, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "611ecdb6886b87", | |
| "msg": "W1+IF3O%-C652KM5$J3LFZ", | |
| "ct": "C4VO:*QX:7:5X:-J3:ZJQL", | |
| "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": "Z:$.U3Y00T6IQV/T2NP:X2", | |
| "ct": ":::::::::::/O:7WHWTDOD", | |
| "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": "Z2Z0AC9BYK6OZ/KWQ5$7C%", | |
| "ct": "00000000000QW1G EC3:FR", | |
| "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": "SBNDFYES2BGU32D4JJB$NR", | |
| "ct": "X%TOXSG5K507$JOU:PG1$R", | |
| "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": "RFH:G.6 I%OT$*$QF-CLN%", | |
| "ct": "::::::::::/*EZJ3 YQCT2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 753, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1a09b8fb562701a282ce28747f0b0a52", | |
| "tweak": "ec1b2b9ede1b38ea", | |
| "msg": "nWAZO3YM$ 5-J7OL%AUEPC", | |
| "ct": "1HS5%39%HL21QL%RA795I7", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 754, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1a09b8fb562701a282ce28747f0b0a52", | |
| "tweak": "ec1b2b9ede1b38ea", | |
| "msg": "-WAZO3Y{$ 5-J7OL%AUEPC", | |
| "ct": "B0KSV1-0JV%0IDGMT8$BAC", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 755, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1a09b8fb562701a282ce28747f0b0a52", | |
| "tweak": "ec1b2b9ede1b38ea", | |
| "msg": "-WAZO3YM$ 5-J7OL%AUEPl", | |
| "ct": "H$L4L%O:*-1GT$NB+7LIED", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 756, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4076db2118f1d5626625b8681adb0526", | |
| "tweak": "52389ca07eb64e78", | |
| "msg": ";3K%OXE86:D%XUEY9HXPE9", | |
| "ct": ":%0J5ZI/A.N2Y98CRMJ%*A", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 757, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4076db2118f1d5626625b8681adb0526", | |
| "tweak": "52389ca07eb64e78", | |
| "msg": "H3K%OXE;6:D%XUEY9HXPE9", | |
| "ct": "T0-DBL/:+MY/QJU3D:*5-J", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 758, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4076db2118f1d5626625b8681adb0526", | |
| "tweak": "52389ca07eb64e78", | |
| "msg": "H3K%OXE86:D%XUEY9HXPE;", | |
| "ct": "6240CV136T2CAXV$V9$LFY", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 128, | |
| "msgSize": 23, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 759, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "b9259b7f8c36246e73802b650cec0f3a", | |
| "tweak": "338104fb3b076bc4", | |
| "msg": "8VP66PL%.X*21** 8+U83K7", | |
| "ct": "2MA1YM2.3 LWF3Z784L06L3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 760, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "00000000000000000000000", | |
| "ct": "-PIGJV.9M744+I%E%NLPGL3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 761, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": ":::::::::::::::::::::::", | |
| "ct": "Y:OEVOEYEPJFX*E%Z$9U4V$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 762, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "X%TOXSG5K51O3M0Q-7K*DPW", | |
| "ct": "IO$9XCI-P:AM01Y-%QIV/D2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 763, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "X%TOXSG5K50O3M0Q-7K*DPV", | |
| "ct": "LXHA1WP*F*ZJ/3K72T43OCI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 764, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "WS6ULP2K0OMO*WFDJ2KJ/IZ", | |
| "ct": "A*XD.BQEKE+VOI*K%JZB*M9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 765, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "++JPQU 5L/U7FGTZZFDWZ2C", | |
| "ct": "BUU2RB*7/119TYJEXDCAGCR", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 766, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "Q11V54/C2+JF:UFZHKGT9/N", | |
| "ct": "U4N6S2+$Q2P3%DQ/ZQO+3P9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 767, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "XRW$F+4C/L+:Y5BOXTYO/V%", | |
| "ct": "M%U-C/6OQIDI-/.2V+W4R 0", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 768, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": " %1VBSN5VE3B3D*72*9*VCW", | |
| "ct": "W:G/8DYMP-0ODAM.I-C-1 N", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 769, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "6TEK2F9W2Q3IJV.-ZH LM94", | |
| "ct": "S42ZYDTZQKAU0/FKT0%JMFK", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 770, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "2*T1U*M1WZ+J5KVII*JV.$8", | |
| "ct": "T*7W4L/0 29EL5Q DMET06B", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 771, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "BC6QF+HBDC*70QI7%I0PZ5A", | |
| "ct": "DD2VWOCIN87+6UQQK/1 K6U", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 772, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "N82 KTR $EDU9N671QA0G6$", | |
| "ct": "00000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 773, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "Q9$J+*19YXH4PKSM591QRJT", | |
| "ct": ":::::::::::::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 774, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "7YSK-ZDV8W-UZ7E79T/VA6Y", | |
| "ct": "X%TOXSG5K51O3M0Q-7K*DPW", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 775, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "8+ONRUMSU3MF.TC90H31D+Z", | |
| "ct": "X%TOXSG5K50O3M0Q-7K*DPV", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 776, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "3cd18517338e4e5612756ae0d21e239e9e58e23c763b", | |
| "msg": "4HYC66B$:HJ06-% U/$C8BS", | |
| "ct": "02SS2$86:*OPW7/8I*YYWEE", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 777, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "3cd18517338e4e5612756ae0d21e239e9e58e23c763b", | |
| "msg": "AM+WBCX3:VAZ9:W+MTGBE-I", | |
| "ct": "J6KQBS1NXF2:SPJL .%Q S:", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 778, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "3cd18517338e4e5612756ae0d21e239e9e58e23c763b", | |
| "msg": "B% GHRPPHS.KQUYO%$LX:MP", | |
| "ct": "8ZSP5%+U6L$L+4L*ZY/E0-Q", | |
| "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": "WYP%NRIKZJ$4.ZM2SLUXYTL", | |
| "ct": ":UTGBQP/Y1BC D 8268-88J", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 780, | |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "3cd18517338e4e5612756ae0d21e239e9e58e23c763b", | |
| "msg": "SQNNY7CNDLUWJXA8GD3KX:L", | |
| "ct": "BH0--TO3QI+7XN. O1U WVI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 781, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "3cd18517338e4e5612756ae0d21e239e9e58e23c763b", | |
| "msg": "+XLH7:PKT3*TGH JL0B+M.H", | |
| "ct": "BVV0HKUS/U *A7IEN/*P.EY", | |
| "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": "T/X1SULKEPS+E0:ZZMH-6-N", | |
| "ct": "W /. GPW/JS06ELWFWSUVK:", | |
| "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": "FLKF7F3%Y7V10V3F2U/RJ8K", | |
| "ct": "4*K$2SEA*C82W5U.+6PVVO6", | |
| "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": ":9IBOJ6HM 1IC EO6FQUE*C", | |
| "ct": "QHL*Z9XSI7EB 4%VC22$3.:", | |
| "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": "1D4UTNIU.JG Z3E4C*7*77K", | |
| "ct": "JS82*IM%X*O06R YI6U VY2", | |
| "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": "BE54YJN$XY::X 8 BMJ:FFS", | |
| "ct": "ZO65IL9E.G63NM8*TWXG2*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": ".TI-A16Z1UJCWE%C3OS32TI", | |
| "ct": "%F: 2ATBHBPTFQC /V21R$E", | |
| "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": "+5%JXSH5XPAHFO$Q 85K-3C", | |
| "ct": ":::::::::::UO-EZB66E. V", | |
| "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": "V.16F0%BS$+5:WTSEGS- 1A", | |
| "ct": "0000000000057/-QWA$U-Z.", | |
| "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": "MVQZ1:T:.$0/TXTW0RQE:C$", | |
| "ct": "X%TOXSG5K50BNUX NMC2U8Z", | |
| "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": "D/TQL/JAVHT6Z-KA3A8O1K1", | |
| "ct": "::::::::::/ADR4/4.PZYP*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 792, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "44610a63e9615101e6bea82a9c0eda30", | |
| "tweak": "b324bd04bb45a149", | |
| "msg": "d/SY9B%CPJ2EWH3IFLK-HXJ", | |
| "ct": "TKUXF$T.-HF3E CCTVA5F+%", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 793, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "44610a63e9615101e6bea82a9c0eda30", | |
| "tweak": "b324bd04bb45a149", | |
| "msg": "R/SY9B%uPJ2EWH3IFLK-HXJ", | |
| "ct": "PI163J%O2U:XU2NZEYY7290", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 794, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "44610a63e9615101e6bea82a9c0eda30", | |
| "tweak": "b324bd04bb45a149", | |
| "msg": "R/SY9B%CPJ2EWH3IFLK-HX_", | |
| "ct": "-NIXJS7.UU37* FCQ321U$R", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 795, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b5ba64d77327f757def108c6cb5a4b63", | |
| "tweak": "ad40e08175c8d13b", | |
| "msg": ";BW.YO:S123.5BTJMAM$:-4", | |
| "ct": "$C+4Y3$V5ITQA$:DN-Q2NUA", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 796, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b5ba64d77327f757def108c6cb5a4b63", | |
| "tweak": "ad40e08175c8d13b", | |
| "msg": "VBW.YO:;123.5BTJMAM$:-4", | |
| "ct": "2L/AV0K28XM$-.KZ.-GN75O", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 797, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b5ba64d77327f757def108c6cb5a4b63", | |
| "tweak": "ad40e08175c8d13b", | |
| "msg": "VBW.YO:S123.5BTJMAM$:-;", | |
| "ct": "MD/::KZ4KXWGB3- /3 L8 L", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 4, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 798, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f9626066827656fe088a7bf737c1cc1a3a3adc7015ffee7f", | |
| "tweak": "bc6d9ff72c250366", | |
| "msg": "YZ0D", | |
| "ct": "-1M9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 799, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "0000", | |
| "ct": "J%LE", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 800, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "::::", | |
| "ct": "RFBK", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 801, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "MYMY", | |
| "ct": "%8CM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 802, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "MXMX", | |
| "ct": "LD06", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 803, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "IWWO", | |
| "ct": "TCIR", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 804, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": " MZ1", | |
| "ct": "OZL+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 805, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "ZXOE", | |
| "ct": "M-JF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 806, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "D3G ", | |
| "ct": "4DXR", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 807, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "25$A", | |
| "ct": "B6:*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 808, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "K$FG", | |
| "ct": "VQ.9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 809, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "NVTL", | |
| "ct": "1W*G", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 810, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "6QWR", | |
| "ct": "14NL", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 811, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "GO4G", | |
| "ct": "0000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 812, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": ":6S%", | |
| "ct": "::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 813, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "8A:P", | |
| "ct": "MYMY", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 814, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "449d31bba4be09dfd5a4523610236b6c80775dfa965a70dc", | |
| "tweak": "f7e902be3a607c1c", | |
| "msg": "M.+1", | |
| "ct": "MXMX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 815, | |
| "comment": "y = 1 and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "f21426a4a445c711a1fba73281", | |
| "msg": "1B4M", | |
| "ct": "W%01", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 816, | |
| "comment": "y = 1 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "f21426a4a445c711a1fba73281", | |
| "msg": "GIQG", | |
| "ct": "W%02", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 817, | |
| "comment": "y = 1 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "f21426a4a445c711a1fba73281", | |
| "msg": "EQ4/", | |
| "ct": "W%MZ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 818, | |
| "comment": "y = 1 and (y + a) % radix**2 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "f21426a4a445c711a1fba73281", | |
| "msg": "UG75", | |
| "ct": "W%::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 819, | |
| "comment": "y = 1 and (y + a) % radix**2 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "f21426a4a445c711a1fba73281", | |
| "msg": "SXBM", | |
| "ct": "W%00", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 820, | |
| "comment": "y is maximal and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "e9df1ff8a09a1a2307630324b4", | |
| "msg": "BOJZ", | |
| "ct": "HX%A", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 821, | |
| "comment": "y is maximal and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "e9df1ff8a09a1a2307630324b4", | |
| "msg": "W3LD", | |
| "ct": "NZ8O", | |
| "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": "33HI", | |
| "ct": "PW5*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 823, | |
| "comment": "y is maximal and (y + a) % radix**2 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "e9df1ff8a09a1a2307630324b4", | |
| "msg": "YQFL", | |
| "ct": "P:IY", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 824, | |
| "comment": "y is maximal and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "e9df1ff8a09a1a2307630324b4", | |
| "msg": "8QGR", | |
| "ct": "SC/9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 825, | |
| "comment": "y is maximal and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "cc15ff8fc1e35214d16a3a58278c62123d56a1b8b87fc1b3", | |
| "tweak": "e9df1ff8a09a1a2307630324b4", | |
| "msg": "%H59", | |
| "ct": "PUGD", | |
| "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": "MM11", | |
| "ct": "Z02C", | |
| "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": "Z6NK", | |
| "ct": "Z15G", | |
| "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": "XTLO", | |
| "ct": "::U4", | |
| "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": "6X3R", | |
| "ct": "00E1", | |
| "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": "URLP", | |
| "ct": "CY4:", | |
| "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": "DPDQ", | |
| "ct": "Y:JX", | |
| "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": "C9TO", | |
| "ct": "D2PE", | |
| "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": "5A6P", | |
| "ct": "W35F", | |
| "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": "$LP4", | |
| "ct": "+0P1", | |
| "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": "KQ7+", | |
| "ct": ".S1Y", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 836, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", | |
| "tweak": "2cd30b0db6e83292", | |
| "msg": "]1ZW", | |
| "ct": "4323", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 837, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", | |
| "tweak": "2cd30b0db6e83292", | |
| "msg": "Y}ZW", | |
| "ct": "WU0 ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 838, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ecd2c32bd1b77097a477742649b384243714a567a0f67eb9", | |
| "tweak": "2cd30b0db6e83292", | |
| "msg": "Y1Zu", | |
| "ct": "K8/$", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 839, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9773849cccdfd3e4ff200e6f4b65dc917ee554f4dfb39a53", | |
| "tweak": "2f99863bb4ef26f5", | |
| "msg": ";VKT", | |
| "ct": "1VB ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 840, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9773849cccdfd3e4ff200e6f4b65dc917ee554f4dfb39a53", | |
| "tweak": "2f99863bb4ef26f5", | |
| "msg": "O;KT", | |
| "ct": "LFP3", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 841, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "9773849cccdfd3e4ff200e6f4b65dc917ee554f4dfb39a53", | |
| "tweak": "2f99863bb4ef26f5", | |
| "msg": "OVK;", | |
| "ct": " AEX", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 5, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 842, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "a6c055a8cba4718f411d1a3d9c9e2051261ce3e369b2fa13", | |
| "tweak": "c5d9512a52de22b7", | |
| "msg": "1XUG8", | |
| "ct": " Z9D6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 843, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "00000", | |
| "ct": ".EIKR", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 844, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": ":::::", | |
| "ct": "BF6CA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 845, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "MYWGG", | |
| "ct": ":9%08", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 846, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "MXWGF", | |
| "ct": "ER0D2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 847, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "0IUYM", | |
| "ct": "TRG4X", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 848, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "WAGPM", | |
| "ct": "DFO20", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 849, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "ADBTU", | |
| "ct": "GK+8E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 850, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "77M:+", | |
| "ct": "3C8NF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 851, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "*TK*V", | |
| "ct": "P$4AB", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 852, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "8CJP+", | |
| "ct": "P/IPO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 853, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "Q%%:Z", | |
| "ct": "22O0-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 854, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "FZJ40", | |
| "ct": "%.XE-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 855, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "H5W%/", | |
| "ct": "00000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 856, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "6.%J4", | |
| "ct": ":::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 857, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": ":1UB/", | |
| "ct": "MYWGG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 858, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "96fc2e2e2fba26508b73927dea1a42c8edcaa1e9d752f84e", | |
| "tweak": "bdbf3377d69e6a6e", | |
| "msg": "5F8F-", | |
| "ct": "MXWGF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 859, | |
| "comment": "y = 0 and (y + a) % radix**2 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "853d77f7aab3c32c4fc86978", | |
| "msg": "O-ERX", | |
| "ct": "9B6F3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 860, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "853d77f7aab3c32c4fc86978", | |
| "msg": "$:1AZ", | |
| "ct": "C9%RK", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 861, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "853d77f7aab3c32c4fc86978", | |
| "msg": "SRB4I", | |
| "ct": ".G.R%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 862, | |
| "comment": "y = 0 and (y + a) % radix**2 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47ba0d5030df62cede1d0ed4f4e86b418ad54d330cb37894", | |
| "tweak": "853d77f7aab3c32c4fc86978", | |
| "msg": "FVT--", | |
| "ct": "TFMZJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 863, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", | |
| "tweak": "2ae737de3b2aa4b0", | |
| "msg": "<S4FT", | |
| "ct": "$28SC", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 864, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", | |
| "tweak": "2ae737de3b2aa4b0", | |
| "msg": "Vt4FT", | |
| "ct": "-I6GW", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 865, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7d1dd7c87db4b2ad95137c34ca1baac73b195c0ede42becd", | |
| "tweak": "2ae737de3b2aa4b0", | |
| "msg": "VS4F^", | |
| "ct": "-UQ*-", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 866, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b9278cf08138cfdca14af4b83f3e43157a41f60c360079ef", | |
| "tweak": "a9ed0cd53016ac0f", | |
| "msg": ";5D6 ", | |
| "ct": "E%CCU", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 867, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b9278cf08138cfdca14af4b83f3e43157a41f60c360079ef", | |
| "tweak": "a9ed0cd53016ac0f", | |
| "msg": "P;D6 ", | |
| "ct": "7B:ZR", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 868, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b9278cf08138cfdca14af4b83f3e43157a41f60c360079ef", | |
| "tweak": "a9ed0cd53016ac0f", | |
| "msg": "P5D6;", | |
| "ct": "/ OS2", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 6, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 869, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "4d7429ddc83d27457a152d4981aab3ddf56dd2410647ad47", | |
| "tweak": "ada060734534dfa1", | |
| "msg": "N33QMT", | |
| "ct": "P2L4OX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 870, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "000000", | |
| "ct": "GJSGVC", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 871, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "::::::", | |
| "ct": ".KR%TW", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 872, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "WGGWGG", | |
| "ct": "57/L2%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 873, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "WGFWGF", | |
| "ct": "AV69. ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 874, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "T*ATEU", | |
| "ct": "ML+M X", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 875, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "ODNOSR", | |
| "ct": "114*YP", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 876, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "2O69JF", | |
| "ct": "JIJ.-+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 877, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "N F2W%", | |
| "ct": ":W%6GB", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 878, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "1:F$UA", | |
| "ct": "U:1R6Z", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 879, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "1XXI1P", | |
| "ct": "SXEUV%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 880, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "WR08K-", | |
| "ct": "-XGK:N", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 881, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "2QP*-.", | |
| "ct": "C3Y 2S", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 882, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "DZPEH9", | |
| "ct": "000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 883, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "RK K+U", | |
| "ct": "::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 884, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "+5KGY0", | |
| "ct": "WGGWGG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 885, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", | |
| "tweak": "94045aa1a1f8fef4", | |
| "msg": "TSLBXT", | |
| "ct": "WGFWGF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 886, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "a0cde5496211bca606d31a94", | |
| "msg": "U:-000", | |
| "ct": "1FR%YF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 887, | |
| "comment": "y = 0 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "a0cde5496211bca606d31a94", | |
| "msg": "0EK001", | |
| "ct": "/*VZ3D", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 888, | |
| "comment": "y = 0 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "a0cde5496211bca606d31a94", | |
| "msg": "TYXWGG", | |
| "ct": "9YRV1S", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 889, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", | |
| "tweak": "a0cde5496211bca606d31a94", | |
| "msg": "C 9:::", | |
| "ct": "8-O2G3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 890, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", | |
| "tweak": "c0b22a647b59d5ca", | |
| "msg": "(5Z4GJ", | |
| "ct": "LDS:HL", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 891, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", | |
| "tweak": "c0b22a647b59d5ca", | |
| "msg": "15>4GJ", | |
| "ct": "NSQOE ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 892, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", | |
| "tweak": "c0b22a647b59d5ca", | |
| "msg": "15Z4Gj", | |
| "ct": "QNGTWK", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 893, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "77a69fd4e8b4d54a035f3ca4d3a9b9af6ef477e3982d8500", | |
| "tweak": "83fcf70b68668834", | |
| "msg": ";9-G4A", | |
| "ct": "KVA98T", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 894, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "77a69fd4e8b4d54a035f3ca4d3a9b9af6ef477e3982d8500", | |
| "tweak": "83fcf70b68668834", | |
| "msg": "*9;G4A", | |
| "ct": "$4PM9Z", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 895, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "77a69fd4e8b4d54a035f3ca4d3a9b9af6ef477e3982d8500", | |
| "tweak": "83fcf70b68668834", | |
| "msg": "*9-G4;", | |
| "ct": "1WH34C", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 7, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 896, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "87f7c60d04f5313cff17a4e7fad56c33b0afb439939c1ab5", | |
| "tweak": "20e854d3f367ab8e", | |
| "msg": "SHLHRU*", | |
| "ct": "1YY*Y0W", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 897, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "0000000", | |
| "ct": "YE4JTYX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 898, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": ":::::::", | |
| "ct": "2R9GCI-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 899, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "WGGN0SH", | |
| "ct": "%0BQ06 ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 900, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "WGFN0SG", | |
| "ct": "Z4QSXXL", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 901, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "O:8X5U-", | |
| "ct": "$Y12P*L", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 902, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "+RC-B47", | |
| "ct": "1EEWLVV", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 903, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "S.IB$-/", | |
| "ct": "%2R8Y-D", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 904, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "GV0 9WX", | |
| "ct": " X7GXZZ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 905, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "UUQ7O67", | |
| "ct": "5PDI.T1", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 906, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "3RHXV6A", | |
| "ct": "QZW-WC*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 907, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "Q67PO.O", | |
| "ct": "86%:CEP", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 908, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "% XDZE4", | |
| "ct": "XQ1Z**8", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 909, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "SPS R+S", | |
| "ct": "0000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 910, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "G5O3085", | |
| "ct": ":::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 911, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "$6UGXXU", | |
| "ct": "WGGN0SH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 912, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", | |
| "tweak": "b08eb74eb083e732", | |
| "msg": "8T*WZOB", | |
| "ct": "WGFN0SG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 913, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "8cc4054f3cc7767df23e034f", | |
| "msg": ":/6PC0L", | |
| "ct": "%U+*+D$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 914, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "8cc4054f3cc7767df23e034f", | |
| "msg": "8CMYLQR", | |
| "ct": "7-TEC9B", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 915, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "8cc4054f3cc7767df23e034f", | |
| "msg": "3-YT 2B", | |
| "ct": "T5P3:J%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 916, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "8cc4054f3cc7767df23e034f", | |
| "msg": "BTZ704R", | |
| "ct": "AXV3+AM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 917, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "b92b21bc4fd8e3e17dc27824", | |
| "msg": "F4B$1WJ", | |
| "ct": "$S07EO*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 918, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "b92b21bc4fd8e3e17dc27824", | |
| "msg": ".0-CSFF", | |
| "ct": "YFI/K3U", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 919, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "b92b21bc4fd8e3e17dc27824", | |
| "msg": "6NDGPHK", | |
| "ct": "LT/1.NH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 920, | |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "b92b21bc4fd8e3e17dc27824", | |
| "msg": "TLD/FAY", | |
| "ct": "78NQ7ET", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 921, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "b92b21bc4fd8e3e17dc27824", | |
| "msg": "4QQPWGK", | |
| "ct": "VXQP:S-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 922, | |
| "comment": "y is maximal and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "1004af3e1ecf6780a051b5a1", | |
| "msg": "GXZK6$P", | |
| "ct": "MNP.%US", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 923, | |
| "comment": "y is maximal and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "1004af3e1ecf6780a051b5a1", | |
| "msg": "9$B88/I", | |
| "ct": "74RE37W", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 924, | |
| "comment": "y is maximal and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "1004af3e1ecf6780a051b5a1", | |
| "msg": " D/L182", | |
| "ct": "GXY2MK$", | |
| "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": "CKQ384T", | |
| "ct": "ONIT05Y", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 926, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "1004af3e1ecf6780a051b5a1", | |
| "msg": "RYS5G$D", | |
| "ct": "T29SJH-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 927, | |
| "comment": "y is maximal and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", | |
| "tweak": "1004af3e1ecf6780a051b5a1", | |
| "msg": "RMRWQ*M", | |
| "ct": "GPZC5CM", | |
| "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": "U59Q4C3", | |
| "ct": "AFOL7D-", | |
| "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:XUT6B", | |
| "ct": "-:+6A*U", | |
| "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": "G2QL+X:", | |
| "ct": "QTPB6-A", | |
| "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": "A9-MZB$", | |
| "ct": "BGMZ2+U", | |
| "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": "GFRR9R ", | |
| "ct": "LZXOUOK", | |
| "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": "%BDMRZJ", | |
| "ct": "V MMCQJ", | |
| "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": "2VXIGQ ", | |
| "ct": "32G/.5*", | |
| "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": "VG-66%H", | |
| "ct": "$Z/2SRJ", | |
| "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": "J *4WGY", | |
| "ct": ":1G $LE", | |
| "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 N1Y/1", | |
| "ct": "6:$:A87", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 938, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", | |
| "tweak": "60ffe987c829b479", | |
| "msg": "m0KNPMK", | |
| "ct": "HW*%:35", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 939, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", | |
| "tweak": "60ffe987c829b479", | |
| "msg": "S0rNPMK", | |
| "ct": "ND5:DNQ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 940, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", | |
| "tweak": "60ffe987c829b479", | |
| "msg": "S0KNPMd", | |
| "ct": ":DADT*V", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 941, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f8d104bc080796c9e1b7082f65f4f85fb754831e8f752b64", | |
| "tweak": "769271d16f0eba31", | |
| "msg": ";/QI6AM", | |
| "ct": "3-13O:3", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 942, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f8d104bc080796c9e1b7082f65f4f85fb754831e8f752b64", | |
| "tweak": "769271d16f0eba31", | |
| "msg": "O/;I6AM", | |
| "ct": " 9: T0O", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 943, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f8d104bc080796c9e1b7082f65f4f85fb754831e8f752b64", | |
| "tweak": "769271d16f0eba31", | |
| "msg": "O/QI6A;", | |
| "ct": "A %2CEH", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 8, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 944, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "92a79c3f030f2aba3096f2537c9d47403d9f4b2ede166d87", | |
| "tweak": "3146e53b9e1162f2", | |
| "msg": "1SP%*MEY", | |
| "ct": "3VAQ/G.Y", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 945, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "00000000", | |
| "ct": "S83X7SIK", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 946, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "::::::::", | |
| "ct": "JX-PG$K4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 947, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "N0SHN0SH", | |
| "ct": ".$51HQAO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 948, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "N0SGN0SG", | |
| "ct": "KFO03/25", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 949, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "2G4O--0*", | |
| "ct": "CRKX7VM%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 950, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "SZRXM0-1", | |
| "ct": "JUQ*.%ND", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 951, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "WK-+V2LW", | |
| "ct": "5A4:4MPJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 952, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "1A*G5MD ", | |
| "ct": ":CEQYUNX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 953, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "VUIB+7 Q", | |
| "ct": "-KCX8AVU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 954, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "-/5MTV:U", | |
| "ct": "IV15WC59", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 955, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "/M9.Z7G:", | |
| "ct": "-0/3EP*-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 956, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "MCI Q.0R", | |
| "ct": "Y1M+8ZGF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 957, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "H/.VD/7C", | |
| "ct": "00000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 958, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "-BC$JO28", | |
| "ct": "::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 959, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "HW9XVS/R", | |
| "ct": "N0SHN0SH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 960, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", | |
| "tweak": "b8519119f55eeaa7", | |
| "msg": "6EF8B-HW", | |
| "ct": "N0SGN0SG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 961, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "3182e4f1ca5c44dd9f8b08a0", | |
| "msg": "H.ER0000", | |
| "ct": "%.W*%J6+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 962, | |
| "comment": "y = 0 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "3182e4f1ca5c44dd9f8b08a0", | |
| "msg": "ISX/0001", | |
| "ct": "K:86QN/A", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 963, | |
| "comment": "y = 0 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "3182e4f1ca5c44dd9f8b08a0", | |
| "msg": "%8HXN0SH", | |
| "ct": "TSFQ$+.Q", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 964, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "3182e4f1ca5c44dd9f8b08a0", | |
| "msg": "V6$X::::", | |
| "ct": "PMMKU%.A", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 965, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "e6e044c1b514bc6d6c16bae9", | |
| "msg": "MF%0R:4K", | |
| "ct": "O*-ZPGYH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 966, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "e6e044c1b514bc6d6c16bae9", | |
| "msg": "6MKYZGZF", | |
| "ct": "AE/W39%Y", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 967, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "e6e044c1b514bc6d6c16bae9", | |
| "msg": "1PTK5MN0", | |
| "ct": "TU3X.7/U", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 968, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "e6e044c1b514bc6d6c16bae9", | |
| "msg": ":-8XTU+J", | |
| "ct": "PQEEJ2P-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 969, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "e6e044c1b514bc6d6c16bae9", | |
| "msg": "17*WAFZ1", | |
| "ct": "YCG/I3ZW", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 970, | |
| "comment": "y is maximal and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "d63c250a5825c2a4d8f03963", | |
| "msg": "S-QVTT/2", | |
| "ct": "OGPWZY:Q", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 971, | |
| "comment": "y is maximal and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "d63c250a5825c2a4d8f03963", | |
| "msg": "+P0+HOW0", | |
| "ct": "R./I.P5A", | |
| "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": "LE085M90", | |
| "ct": " I5++JJQ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 973, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "d63c250a5825c2a4d8f03963", | |
| "msg": " /0X9 C2", | |
| "ct": "1UC%.JWU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 974, | |
| "comment": "y is maximal and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "d63c250a5825c2a4d8f03963", | |
| "msg": "N5B09-+.", | |
| "ct": "CDB-$592", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 975, | |
| "comment": "y is maximal and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", | |
| "tweak": "d63c250a5825c2a4d8f03963", | |
| "msg": "RK4XBY29", | |
| "ct": "NLKDW+1G", | |
| "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": "T%L:QZ8+", | |
| "ct": "JA8GI2Y7", | |
| "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": "MMLDEH+L", | |
| "ct": "-62OODQS", | |
| "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": "*$U+MCLT", | |
| "ct": "DY5.Y$P.", | |
| "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": "$E687YB:", | |
| "ct": ".GF/ER7U", | |
| "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": "B01752K:", | |
| "ct": "NO7LA4TA", | |
| "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*4-3/TL", | |
| "ct": "6WYT41$F", | |
| "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": " A0WXK4O", | |
| "ct": "WY4:6KMX", | |
| "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": "6N0ST/-6", | |
| "ct": "GO020QNN", | |
| "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": "CVM:R/.A", | |
| "ct": "59ZQKSBW", | |
| "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": "PX%%L-NN", | |
| "ct": "FJ %J*%S", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 986, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", | |
| "tweak": "1a7d6192c4daa46f", | |
| "msg": "\\.9UZZ.T", | |
| "ct": " GIRMG5C", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 987, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", | |
| "tweak": "1a7d6192c4daa46f", | |
| "msg": "F.;UZZ.T", | |
| "ct": "KJ.%6C6Q", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 988, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", | |
| "tweak": "1a7d6192c4daa46f", | |
| "msg": "F.9UZZ.<", | |
| "ct": "X9JPLUT9", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 989, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d11edc52eabe01145fd9a4ea7976f7f1898d004d659bc310", | |
| "tweak": "107e506c2723adf9", | |
| "msg": ";-9P5400", | |
| "ct": ".H1MAWW+", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 990, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d11edc52eabe01145fd9a4ea7976f7f1898d004d659bc310", | |
| "tweak": "107e506c2723adf9", | |
| "msg": "S-;P5400", | |
| "ct": "3U9R2CE9", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 991, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d11edc52eabe01145fd9a4ea7976f7f1898d004d659bc310", | |
| "tweak": "107e506c2723adf9", | |
| "msg": "S-9P540;", | |
| "ct": "HCL:/GSJ", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 9, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 992, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "c5fa236ae679d3c1d533758578e3a5c48752179eb298ac0e", | |
| "tweak": "72ac4fc84f5bc825", | |
| "msg": "QT DR+9//", | |
| "ct": "N8$5L$NPD", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 993, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "000000000", | |
| "ct": "+AC EB670", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 994, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": ":::::::::", | |
| "ct": "%T%03UENX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 995, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "N0SHWW+G8", | |
| "ct": "6GF-CLKIX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 996, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "N0SGWW+G7", | |
| "ct": "DR8FYA:6V", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 997, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "VBEQB/%5H", | |
| "ct": "MK07V-BL6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 998, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": ": +3.$QY.", | |
| "ct": "TEO37$:HM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 999, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "3V%KJA18E", | |
| "ct": "D-URS$G.W", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1000, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "TWRGQKM%N", | |
| "ct": "*Y1RX Q L", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1001, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "O PJ*B/H8", | |
| "ct": "$R4U9B+6V", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1002, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "YAKJ7NW7F", | |
| "ct": " W-*KA+ZM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1003, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "2XO/T*$T1", | |
| "ct": " -GO91 G9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1004, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "GBHSWY7JH", | |
| "ct": "JRHGB.Y$Y", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1005, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "//E%67Y97", | |
| "ct": "000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1006, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "4:FVL0/W.", | |
| "ct": ":::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1007, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "40PWPUI-J", | |
| "ct": "N0SHWW+G8", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1008, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", | |
| "tweak": "2f9eb9835c605c21", | |
| "msg": "-7AAD5.RF", | |
| "ct": "N0SGWW+G7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1009, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "1f3e407c82ac82ced32a61", | |
| "msg": "L0:FZ Y21", | |
| "ct": "M-0KSSXVJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1010, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "1f3e407c82ac82ced32a61", | |
| "msg": "6GVXJF27P", | |
| "ct": "BXU02XO:K", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1011, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "1f3e407c82ac82ced32a61", | |
| "msg": "%DD/WWMAZ", | |
| "ct": "AJN3B:4G ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1012, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "1f3e407c82ac82ced32a61", | |
| "msg": "Z2A%O/486", | |
| "ct": "BK7H:*HYC", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1013, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "c678fa6efdfb88fdbba98d03c72a400b55e24a9240b493c0", | |
| "tweak": "1f3e407c82ac82ced32a61", | |
| "msg": "D3024TYX6", | |
| "ct": ".WE4-%M91", | |
| "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": "S Z1T5*WF", | |
| "ct": "1$+0QF4LG", | |
| "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": "KWO4U$NWE", | |
| "ct": "BLTO.ZKSC", | |
| "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": "93F59/+A5", | |
| "ct": "$9IR0FTPS", | |
| "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": "KZ8XR8N3D", | |
| "ct": "A*JU N4O ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1018, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", | |
| "tweak": "2f4481b579f8a5f8", | |
| "msg": "&6F03B:H/", | |
| "ct": ":MH3F.GIV", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1019, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", | |
| "tweak": "2f4481b579f8a5f8", | |
| "msg": "36F\\3B:H/", | |
| "ct": "5JC0E%1ES", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1020, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", | |
| "tweak": "2f4481b579f8a5f8", | |
| "msg": "36F03B:H}", | |
| "ct": "RHUFAF:TC", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1021, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2b19ad166fd91d72ae7b22207034f373517d33f808a65f6b", | |
| "tweak": "b174d0cfd933086c", | |
| "msg": ";%Z1F9.Y:", | |
| "ct": "R83Y53.G$", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1022, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2b19ad166fd91d72ae7b22207034f373517d33f808a65f6b", | |
| "tweak": "b174d0cfd933086c", | |
| "msg": "G%Z;F9.Y:", | |
| "ct": "M-AD+QN2L", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1023, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2b19ad166fd91d72ae7b22207034f373517d33f808a65f6b", | |
| "tweak": "b174d0cfd933086c", | |
| "msg": "G%Z1F9.Y;", | |
| "ct": "KTK68$8*W", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 10, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1024, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "8cf0a0e458eba1cc12ed18041ba331835519346134d0e908", | |
| "tweak": "ea8c0ae555bb05ce", | |
| "msg": "8QR$30X%0M", | |
| "ct": "1R:2VABF8W", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1025, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "0000000000", | |
| "ct": "UK4GZIQPF ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1026, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "::::::::::", | |
| "ct": "8NED8K/YMP", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1027, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "WW+G8WW+G8", | |
| "ct": "YQ+%C$7HX.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1028, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "WW+G7WW+G7", | |
| "ct": "6F484WS31Q", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1029, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "-U5-14C 7D", | |
| "ct": "U:XE-K-D4P", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1030, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "T$UB%1R0S.", | |
| "ct": ":KD0D9EP*C", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1031, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "EHSR+ 3Z0C", | |
| "ct": "*YL6.E9VF:", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1032, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "FO6F1VAD$0", | |
| "ct": "H:JY1*ELN/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1033, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": ": 9P37IN9V", | |
| "ct": "5927.%7UWJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1034, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "TA$*4Y1NS-", | |
| "ct": "-*K2446:V*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1035, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "+5IV/$PWK*", | |
| "ct": "-0MZF.E$YI", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1036, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "-FOUKINJRI", | |
| "ct": "15A7OV-XOZ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1037, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "SJA8Y7Q4.9", | |
| "ct": "0000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1038, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "29NYS%H%X7", | |
| "ct": "::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1039, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "L8/%1P%7 3", | |
| "ct": "WW+G8WW+G8", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1040, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", | |
| "tweak": "6652c929f1c728b2", | |
| "msg": "%P5EEX$.CI", | |
| "ct": "WW+G7WW+G7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1041, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "ae6fb62641db187777b7aa", | |
| "msg": "JQHT+W.OW7", | |
| "ct": "X GS*GRZVQ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1042, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "ae6fb62641db187777b7aa", | |
| "msg": "45I.FKT4S*", | |
| "ct": ":I68G7N63E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1043, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "ae6fb62641db187777b7aa", | |
| "msg": "%P0*Z4 H:W", | |
| "ct": "G2.3:%.398", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1044, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "ae6fb62641db187777b7aa", | |
| "msg": "VZR$P/W$2C", | |
| "ct": "+KH6ZI*5ML", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1045, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "4bd33d425ad2d7c7bd6445", | |
| "msg": "CO5GO*K*GO", | |
| "ct": "U/7YQ*YUS0", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1046, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "4bd33d425ad2d7c7bd6445", | |
| "msg": "-PAOBFA+OF", | |
| "ct": "UBM1T.Q31X", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1047, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "4bd33d425ad2d7c7bd6445", | |
| "msg": "C/6DR*Y+U9", | |
| "ct": "7JT/4PSGKX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1048, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "4bd33d425ad2d7c7bd6445", | |
| "msg": "A.A2LFWQYU", | |
| "ct": "1%TN25.2YD", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1049, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "4bd33d425ad2d7c7bd6445", | |
| "msg": "KXL 5BTW+0", | |
| "ct": "IF0783.Y.E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1050, | |
| "comment": "y is maximal and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "aaf7a986299783a4744cef", | |
| "msg": "MF5A8VYP*7", | |
| "ct": "9R3RD9D%5J", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1051, | |
| "comment": "y is maximal and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "aaf7a986299783a4744cef", | |
| "msg": "IRG%A.E5VB", | |
| "ct": "9Q8PBJKGV*", | |
| "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": "GN9SLLU*/+", | |
| "ct": "OJ.QW*CJJ9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1053, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "aaf7a986299783a4744cef", | |
| "msg": "4N L%-R58T", | |
| "ct": "R%0+3509.T", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1054, | |
| "comment": "y is maximal and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "aaf7a986299783a4744cef", | |
| "msg": ": LG0.S6H/", | |
| "ct": "GD6E2VB6:2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1055, | |
| "comment": "y is maximal and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", | |
| "tweak": "aaf7a986299783a4744cef", | |
| "msg": "-O+2VW/FD3", | |
| "ct": "T6X7UA%DHE", | |
| "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": "00000* H%5", | |
| "ct": "HF1F9Z6.PN", | |
| "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": "00001* H%5", | |
| "ct": "-I$P1VNE+$", | |
| "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": "C2%9:* H%5", | |
| "ct": "+55L../09Z", | |
| "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": "C2%A0* H%5", | |
| "ct": "U+J.SJ UK ", | |
| "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": "WW+G8* H%5", | |
| "ct": "1.TVPKZ*72", | |
| "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": ":::::* H%5", | |
| "ct": "JPT4G97FOV", | |
| "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": "L OB2AOXZJ", | |
| "ct": "RG/:/AQBCN", | |
| "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": "I$75.NVC93", | |
| "ct": "13HZVB196*", | |
| "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": "NS4RK4::US", | |
| "ct": "TZ4%37J /F", | |
| "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": "ONZXI:5GN$", | |
| "ct": "8MA0GH.JG%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1066, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", | |
| "tweak": "4343b0033d260a29", | |
| "msg": ">%TKKDNENM", | |
| "ct": "KC%CE90YOB", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1067, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", | |
| "tweak": "4343b0033d260a29", | |
| "msg": "A%TwKDNENM", | |
| "ct": "H3J1MJ%+.C", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1068, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", | |
| "tweak": "4343b0033d260a29", | |
| "msg": "A%TKKDNENx", | |
| "ct": "G7Q/1-Z9G%", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1069, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a7986975126c37109d8386de336e78a843f35ebab447021", | |
| "tweak": "40d4ea0dbde2cb11", | |
| "msg": ";QGJZ20VR1", | |
| "ct": "JZU:Q9Q0SK", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1070, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a7986975126c37109d8386de336e78a843f35ebab447021", | |
| "tweak": "40d4ea0dbde2cb11", | |
| "msg": "9QG;Z20VR1", | |
| "ct": "HOFO2A/LMH", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1071, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a7986975126c37109d8386de336e78a843f35ebab447021", | |
| "tweak": "40d4ea0dbde2cb11", | |
| "msg": "9QGJZ20VR;", | |
| "ct": "M9AX$L2WC.", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 11, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1072, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f8a4cc9863b4aa6eb5b16e9401b0b83e25dd78a96abe6870", | |
| "tweak": "8d5a3a9b130e7bad", | |
| "msg": "**7H68BC.-Z", | |
| "ct": "*ZN7TFW63HG", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1073, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "00000000000", | |
| "ct": "-0R46J KUYW", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1074, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": ":::::::::::", | |
| "ct": "P/BMY3B7++V", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1075, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "WW+G8NCHVMV", | |
| "ct": "6WIB7NA%EHB", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1076, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "WW+G7NCHVMU", | |
| "ct": "TJ+L%VZ6M0%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1077, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "0JBC19SN4Q2", | |
| "ct": "3P0+T3//M$2", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1078, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "E:PSM4B2JT+", | |
| "ct": "ZX4G7D6.:-X", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1079, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "C2ACA%IBYSH", | |
| "ct": "*L E*A KXJX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1080, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "/YDK41NGR:V", | |
| "ct": "P+E9YHM54TU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1081, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "I4C.X*FBVA/", | |
| "ct": ".87EZEDP9YA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1082, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "YA4*B% PLY5", | |
| "ct": "/K+O64LC:1O", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1083, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "/.Y%22+$O%K", | |
| "ct": "P/ 7Q-//PB*", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1084, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "OIGEG6$VUX+", | |
| "ct": "Q*:2.Z+E29$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1085, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "9E+295FO1IF", | |
| "ct": "00000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1086, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "94GHED968Q8", | |
| "ct": ":::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1087, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "I%VN5OJ12RG", | |
| "ct": "WW+G8NCHVMV", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1088, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", | |
| "tweak": "60ba1190480fd9b7", | |
| "msg": "Y VL4RANR-I", | |
| "ct": "WW+G7NCHVMU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1089, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", | |
| "tweak": "d0d85e79b79f69f7", | |
| "msg": "mH%70G*.CC1", | |
| "ct": "IC7JX4RCX$T", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1090, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", | |
| "tweak": "d0d85e79b79f69f7", | |
| "msg": "0H%?0G*.CC1", | |
| "ct": "CR*EJFBSI6Q", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1091, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", | |
| "tweak": "d0d85e79b79f69f7", | |
| "msg": "0H%70G*.CC~", | |
| "ct": ".99R4MB$+HF", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1092, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "40f7dd1a0b3419579dbb03ffbcdd53b43677c64ce006a57f", | |
| "tweak": "b185095829b5e200", | |
| "msg": ";V++NKL87X%", | |
| "ct": "OSL4-Q$VJPP", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1093, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "40f7dd1a0b3419579dbb03ffbcdd53b43677c64ce006a57f", | |
| "tweak": "b185095829b5e200", | |
| "msg": "/V+;NKL87X%", | |
| "ct": "8INESFUH5EG", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1094, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "40f7dd1a0b3419579dbb03ffbcdd53b43677c64ce006a57f", | |
| "tweak": "b185095829b5e200", | |
| "msg": "/V++NKL87X;", | |
| "ct": "Y+EZZI-M9N-", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 12, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1095, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "f095a5d39f0b499cef0130b4eb3bfae90253a1f30270efb5", | |
| "tweak": "36b5ea2cee9c08d6", | |
| "msg": "GR%KI$Y1XRQV", | |
| "ct": "9:.H:EEHM9T$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1096, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "000000000000", | |
| "ct": "Z%CZSTL*RGI+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1097, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "::::::::::::", | |
| "ct": "YKDUM0QCJ./.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1098, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "NCHVMVNCHVMV", | |
| "ct": "10-NN:-$2XMJ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1099, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "NCHVMUNCHVMU", | |
| "ct": "%29IEIJ/6OT+", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1100, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "Y056W232Z3$Z", | |
| "ct": "WT13WLSGRXXF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1101, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": ".OSCP:CSUO/*", | |
| "ct": "S$N$%*P4E.ZZ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1102, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "/JQDALZ9N$N0", | |
| "ct": "H:YMC4H$HKTQ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1103, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "D3ZD958GBI Z", | |
| "ct": ".QL9BB7-P%IW", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1104, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "Y0PP**:A H%3", | |
| "ct": "RH66TWS ETRQ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1105, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "+ACPJOV/+QS1", | |
| "ct": "C9*U5MUIY%$H", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1106, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "7OA%UU2 JOWM", | |
| "ct": ".X6ZSI3C DFA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1107, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "395%/5W96434", | |
| "ct": ".UV032-$S3VU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1108, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "FT27R37QDUKX", | |
| "ct": "000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1109, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "6 */4G8RZ0Y:", | |
| "ct": "::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1110, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "IXY7LA-KNK2E", | |
| "ct": "NCHVMVNCHVMV", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1111, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", | |
| "tweak": "8f5a4485255e9e7a", | |
| "msg": "9Y*I8JYQN9.6", | |
| "ct": "NCHVMUNCHVMU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1112, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "0f2439f2e52db108f664", | |
| "msg": "1D9OTVR%BQMX", | |
| "ct": "4C8SIIX1/JO5", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1113, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "0f2439f2e52db108f664", | |
| "msg": "Q8FQ/+OUXIYK", | |
| "ct": "4JA0DX%9RK*H", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1114, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "0f2439f2e52db108f664", | |
| "msg": "/PYS4:3I:EA6", | |
| "ct": "5-Q4B+$40G4L", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1115, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "0f2439f2e52db108f664", | |
| "msg": "JOAN.W49*G*E", | |
| "ct": "VRMP*$%%Y5*6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1116, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "8152191c5fa6b8d5b27d", | |
| "msg": "OTJPA-IYS/3P", | |
| "ct": "9K37AOOHXYBF", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1117, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "8152191c5fa6b8d5b27d", | |
| "msg": "YJ54C8.$G$F+", | |
| "ct": "PPQLOEE6QR+J", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1118, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "8152191c5fa6b8d5b27d", | |
| "msg": "O7QKQ/A.6*SW", | |
| "ct": "K2HMGAHJRR0P", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1119, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "8152191c5fa6b8d5b27d", | |
| "msg": "DSW.821AL6PR", | |
| "ct": "$8W+/HH-4JOA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1120, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "8152191c5fa6b8d5b27d", | |
| "msg": "SHPL I-R624 ", | |
| "ct": "K8-CHF*.5WNE", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1121, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "a9690853e42f94be642d", | |
| "msg": "Z7R6AVT*8JO ", | |
| "ct": "E8K0MR5EDJK8", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1122, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "a9690853e42f94be642d", | |
| "msg": "R5VV-A:X8EKG", | |
| "ct": " TTUML.JL1T", | |
| "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": "A/YCW/CTKKY7", | |
| "ct": "Y4PCN3EUKMIV", | |
| "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-XNHQ SS5RA", | |
| "ct": "$HM82/IL%XY.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1125, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "a9690853e42f94be642d", | |
| "msg": "7D59*G6$%%+U", | |
| "ct": ":2LKW$5VQ+QT", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1126, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", | |
| "tweak": "a9690853e42f94be642d", | |
| "msg": "9U/39+1VMJO1", | |
| "ct": "J.7U %T$: FZ", | |
| "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": "FYVT:*JSM-IQ", | |
| "ct": "WSNI09::::::", | |
| "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": "R*$.C6.0GWKV", | |
| "ct": "WSNI09000000", | |
| "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": "MU.X5I479$NK", | |
| "ct": "WSNI09NCHVMU", | |
| "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": "+HA R:1IZS1J", | |
| "ct": "WSNI09:::::/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1131, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", | |
| "tweak": "1f8dcd3dd4e01cbd", | |
| "msg": "hWK%WZF2T6G ", | |
| "ct": "+LVFG5$:G%X1", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1132, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", | |
| "tweak": "1f8dcd3dd4e01cbd", | |
| "msg": "RWK%nZF2T6G ", | |
| "ct": ":%%O4-QA6FPE", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1133, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", | |
| "tweak": "1f8dcd3dd4e01cbd", | |
| "msg": "RWK%WZF2T6Gz", | |
| "ct": "XS2V+ NN9J6P", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1134, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e0c0fee1d24e1b854f1d134593589383bbb6a41a4e4e0fe2", | |
| "tweak": "c8c7a234cbe4bf21", | |
| "msg": ";NR64I$$P3GH", | |
| "ct": " $.DD*9*03/V", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1135, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e0c0fee1d24e1b854f1d134593589383bbb6a41a4e4e0fe2", | |
| "tweak": "c8c7a234cbe4bf21", | |
| "msg": "+NR6;I$$P3GH", | |
| "ct": " O6ZJ43ZGRR7", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1136, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e0c0fee1d24e1b854f1d134593589383bbb6a41a4e4e0fe2", | |
| "tweak": "c8c7a234cbe4bf21", | |
| "msg": "+NR64I$$P3G;", | |
| "ct": "FSX962OP$4$R", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 13, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1137, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "2b36e8a149dbee09bdfc43feaab6aa2d22f6b46b5a967013", | |
| "tweak": "506f5152883327d6", | |
| "msg": "9/:05H4C73IRE", | |
| "ct": "LUNJY3$MHHOA$", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1138, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "0000000000000", | |
| "ct": "UWJ*14NE+--X7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1139, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": ":::::::::::::", | |
| "ct": "O KOB1WLLENTT", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1140, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "NCHVMVX4S7 C4", | |
| "ct": "VJXDUFAMK79IL", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1141, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "NCHVMUX4S7 C3", | |
| "ct": "V2O*PP7KTG1YP", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1142, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "J%8SQ:0WVN$L4", | |
| "ct": "DBI7L-48XP5CK", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1143, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "NKN %RR+:XILW", | |
| "ct": "1/XZIAWK$+H 1", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1144, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "L0UW/T/*+G*34", | |
| "ct": "I5JVZ4 7964IX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1145, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "LG3*WN%3771IK", | |
| "ct": "%F8E::3YKE9G4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1146, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "4I+Y-WTVQ-MG8", | |
| "ct": "3A5NBXTS-52N%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1147, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "QH%W-R7LM9J+7", | |
| "ct": "JFJ7WD67NAP9.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1148, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "C$2Q8EA3$K*D6", | |
| "ct": "ZBLWL*Z$ 54JM", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1149, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "83JJ$VS74XL+ ", | |
| "ct": "TKVL5QB5C P1B", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1150, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "QUWFRAW8/LPA ", | |
| "ct": "0000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1151, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "*F.SQ.6X+XRU.", | |
| "ct": ":::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1152, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": ":8-QJ%OJMYA- ", | |
| "ct": "NCHVMVX4S7 C4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1153, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", | |
| "tweak": "6512674893abe1ba", | |
| "msg": "-F7/.A0DG*7G:", | |
| "ct": "NCHVMUX4S7 C3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1154, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "8b79605fa18d4c2be581", | |
| "msg": " *EUR40000000", | |
| "ct": "3D8CUU/JRQ+O:", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1155, | |
| "comment": "y = 0 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "8b79605fa18d4c2be581", | |
| "msg": ":+C5820000001", | |
| "ct": "W7O6FO AO+M A", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1156, | |
| "comment": "y = 0 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "8b79605fa18d4c2be581", | |
| "msg": "PPO.86X4S7 C4", | |
| "ct": "UD5SL2X2N11Z9", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1157, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "8b79605fa18d4c2be581", | |
| "msg": "BU1+RV:::::::", | |
| "ct": "MMB/RBSX/ Y:M", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1158, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "28205bdb5293dbd82094", | |
| "msg": "000000$$CLNY-", | |
| "ct": "23YITSBBESB2T", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1159, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "28205bdb5293dbd82094", | |
| "msg": "000001$$CLNY-", | |
| "ct": "*82L-KGCH3SG4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1160, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "28205bdb5293dbd82094", | |
| "msg": "NCHVMV$$CLNY-", | |
| "ct": "/RFDDA9IU6BOU", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1161, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "28205bdb5293dbd82094", | |
| "msg": ":::::/$$CLNY-", | |
| "ct": "S9FYRYCP0J0ZH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1162, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "28205bdb5293dbd82094", | |
| "msg": "::::::$$CLNY-", | |
| "ct": "-3XF9$06717P/", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1163, | |
| "comment": "y is maximal and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "3232240bd9b8d6153fe2", | |
| "msg": "%RPGYC57XGWKO", | |
| "ct": "*QX:801Z%IU$7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1164, | |
| "comment": "y is maximal and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "3232240bd9b8d6153fe2", | |
| "msg": "5W15BZQVLF4A*", | |
| "ct": "*QX:81H* GQ*I", | |
| "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": "+TDCHLYJPW2N6", | |
| "ct": "::::::H+A.V6K", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1166, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "3232240bd9b8d6153fe2", | |
| "msg": "CKMJA4:C6+C+J", | |
| "ct": "000000%YA7Q5P", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1167, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "3232240bd9b8d6153fe2", | |
| "msg": "387.FGUPR1GAV", | |
| "ct": "H*6UUV67:57:6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1168, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", | |
| "tweak": "3232240bd9b8d6153fe2", | |
| "msg": "E9GSRM GM7+42", | |
| "ct": "*QX:7:IR%K$3Y", | |
| "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": "9R%WRNTW8D2P7", | |
| "ct": "::::::*/M3DT/", | |
| "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": "SWJDI5LY:2LW0", | |
| "ct": "0000008FQ7BRM", | |
| "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": "ISO6N7 L7+U8J", | |
| "ct": "NCHVMU-B/Q%I4", | |
| "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": "O28ABV+8P1D9Y", | |
| "ct": ":::::/3XP6V4V", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1173, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", | |
| "tweak": "bd80cf69edccc86d", | |
| "msg": ",ODVRCM2Q695C", | |
| "ct": "%3U7. M -X%HQ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1174, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", | |
| "tweak": "bd80cf69edccc86d", | |
| "msg": "%ODV,CM2Q695C", | |
| "ct": "28VTG3+93DE5.", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1175, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", | |
| "tweak": "bd80cf69edccc86d", | |
| "msg": "%ODVRCM2Q695v", | |
| "ct": "X4G811S-J8T9V", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1176, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ca9701aef88e89f026a049bba4347f33083b727c7e8287bc", | |
| "tweak": "f79967c363f95cff", | |
| "msg": ";JV*Q23+Q1IEO", | |
| "ct": "5MDCD7FU7M3SE", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1177, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ca9701aef88e89f026a049bba4347f33083b727c7e8287bc", | |
| "tweak": "f79967c363f95cff", | |
| "msg": "YJV*;23+Q1IEO", | |
| "ct": "P$5S MDA6SOJA", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1178, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ca9701aef88e89f026a049bba4347f33083b727c7e8287bc", | |
| "tweak": "f79967c363f95cff", | |
| "msg": "YJV*Q23+Q1IE;", | |
| "ct": ":B7$-0-:H$5B%", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 14, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1179, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "4a9421ed0d8105f41f06225c61a861adc98d34d2700dfd63", | |
| "tweak": "6f60cf632424685f", | |
| "msg": "383%RY$K 29+D4", | |
| "ct": "+WTX5 091GTWQB", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1180, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "00000000000000", | |
| "ct": "IZPGQF3%X/I.09", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1181, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "::::::::::::::", | |
| "ct": ".5ERITO1.JOJUH", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1182, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "X4S7 C4X4S7 C4", | |
| "ct": "EO+3Z8X$P$1XF-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1183, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "X4S7 C3X4S7 C3", | |
| "ct": "$*2D7.J1Q0L09G", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1184, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "O01B489-HZB8RF", | |
| "ct": "MX903QFSHEIO7-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1185, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "AV-$4G./QY3I6G", | |
| "ct": "DYLSK6ZTUN$OZ4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1186, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "A5YM4F:FZ3S4ZK", | |
| "ct": "BR0/0IT*VUNAB.", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1187, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "-J*HWT.ZYQ7HHJ", | |
| "ct": "63W511%D/X69J7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1188, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "R01TP*OR -2 /E", | |
| "ct": "%DVFLSSM+CV HO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1189, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "6VSO36-Q++I$P3", | |
| "ct": "+%*-W9/HJJ7U4H", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1190, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "LVM N5 SM5E$5D", | |
| "ct": "2F+3AW9MT1+DME", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1191, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "V0 CFITA/14OKF", | |
| "ct": "G15+EQH/48*G$U", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1192, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "0Q6X%:0G4*0Z.V", | |
| "ct": "00000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1193, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "45GNTFU$7N49+9", | |
| "ct": "::::::::::::::", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1194, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "JG19HFGUVV5ZVW", | |
| "ct": "X4S7 C4X4S7 C4", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1195, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", | |
| "tweak": "78ed1f1221af7407", | |
| "msg": "62D9V+4J1NSJVL", | |
| "ct": "X4S7 C3X4S7 C3", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1196, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "93fe0f0e0b442bdaf91a", | |
| "msg": "%FO6ZNJ1DEQTA4", | |
| "ct": "F1D:4T.G41.S+7", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1197, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "93fe0f0e0b442bdaf91a", | |
| "msg": "9F$++AGNYD9CMA", | |
| "ct": "6%SZA/:TOWZVP%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1198, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "93fe0f0e0b442bdaf91a", | |
| "msg": "GXP.ANN*AL9YQJ", | |
| "ct": "+4D3KW9BH9JR. ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1199, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "93fe0f0e0b442bdaf91a", | |
| "msg": "PU9R.%YGQW/M/S", | |
| "ct": ":ZKKLXPI GMG3P", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1200, | |
| "comment": "y = 1 and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "c08ad4ae01428b99d1f8", | |
| "msg": "P*B2LRX0000000", | |
| "ct": "-8OMKYK.NEJC5E", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1201, | |
| "comment": "y = 1 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "c08ad4ae01428b99d1f8", | |
| "msg": "RQ9:A. 0000001", | |
| "ct": "*8A8%6BD:WOQBX", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1202, | |
| "comment": "y = 1 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "c08ad4ae01428b99d1f8", | |
| "msg": ":BBQS%*X4S7 C4", | |
| "ct": "P3ZMIWUGM67H R", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1203, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "c08ad4ae01428b99d1f8", | |
| "msg": "D-IWY9T::::::/", | |
| "ct": "8NM4*N7UE%7/JO", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1204, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "c08ad4ae01428b99d1f8", | |
| "msg": "B7ECFOJ:::::::", | |
| "ct": "/2478DSJ9/ LJ5", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1205, | |
| "comment": "y is maximal and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "711c9b48f1fa4f5f75bd", | |
| "msg": ":XNVGHL04+1GAL", | |
| "ct": "FH.Q5B179 I2N6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1206, | |
| "comment": "y is maximal and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "711c9b48f1fa4f5f75bd", | |
| "msg": "EC2DXYVV S3EZQ", | |
| "ct": "57Q 4D3-0K1D/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": "R 7G+9QKYXSNO:", | |
| "ct": "KGSNOGX 4*.EY5", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1208, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "711c9b48f1fa4f5f75bd", | |
| "msg": "I-JZG/MS$DWTSA", | |
| "ct": ":3C-9MQ24++U7T", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1209, | |
| "comment": "y is maximal and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "711c9b48f1fa4f5f75bd", | |
| "msg": "TUR41//.-//H:1", | |
| "ct": "$B+K20CLS1ZNX:", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1210, | |
| "comment": "y is maximal and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", | |
| "tweak": "711c9b48f1fa4f5f75bd", | |
| "msg": "M-DZ%NRHC+OE8 ", | |
| "ct": "J 7.C6W1QWSMM8", | |
| "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": "DM:HTJF0000000", | |
| "ct": "*+X5.57F6 +G3$", | |
| "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": "R+BV+9Z0000001", | |
| "ct": "2+/FDK87EGCDXP", | |
| "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": "%C38TPEX4S7 C4", | |
| "ct": "KDBN8-/U/CU3A3", | |
| "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": "G+-QI4D:::::::", | |
| "ct": "EO--26% ECDT6J", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1215, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", | |
| "tweak": "9a07b801ec3e37d6", | |
| "msg": "@:49V +K GPGU0", | |
| "ct": "HTDIOSYNJG.WY$", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1216, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", | |
| "tweak": "9a07b801ec3e37d6", | |
| "msg": "*:49^ +K GPGU0", | |
| "ct": ".BPYIU2.V.1+XA", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1217, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", | |
| "tweak": "9a07b801ec3e37d6", | |
| "msg": "*:49V +K GPGU_", | |
| "ct": "AR7F7:9ZPNL.2S", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1218, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f912a6f7fe68a530c16481d69d64001fee436bd2719d3106", | |
| "tweak": "40376feb356f6445", | |
| "msg": ";84A.51+2XF8P5", | |
| "ct": "/I:9%9-2B0BZTZ", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1219, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f912a6f7fe68a530c16481d69d64001fee436bd2719d3106", | |
| "tweak": "40376feb356f6445", | |
| "msg": "C84A;51+2XF8P5", | |
| "ct": "6:95T0O+SKHKDW", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1220, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "f912a6f7fe68a530c16481d69d64001fee436bd2719d3106", | |
| "tweak": "40376feb356f6445", | |
| "msg": "C84A.51+2XF8P;", | |
| "ct": "6ZVFJJKN%Z3V9H", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", | |
| "keySize": 192, | |
| "msgSize": 15, | |
| "radix": 45, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1221, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "38c2d6d8d1717f48e8e7bc3d54820ee7de2cecf0fc6f167b", | |
| "tweak": "7a3ce6a3066b2e0b", | |
| "msg": "4*0UOAB.YDS7+97", | |
| "ct": "Q/I-MD+QENDNL5%", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1222, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": "000000000000000", | |
| "ct": ".K.D/EZRKQI6.1S", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1223, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": ":::::::::::::::", | |
| "ct": "%Y7V8-.OC$FEE12", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1224, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": "X4S7 C4NOD1OZQ%", | |
| "ct": "0.Q%AUT$UIJZBPA", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1225, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": "X4S7 C3NOD1OZQ$", | |
| "ct": "TBS3ER2/9D:D+F6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1226, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": " 61+V93Z4+JIP$K", | |
| "ct": "9UEQN-NM4TBENQ ", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1227, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": "FK6G7P3IZ1VME0U", | |
| "ct": "J$TXQ8$5J+E3Z*I", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1228, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": "MAT*8YW6Y6GUGEK", | |
| "ct": "./2/N5IQAU447J-", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1229, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": ".8%XQA.48%OE+8M", | |
| "ct": "0BD*EWQN6/OQXC6", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1230, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": "M7/:MIAB65/.JDD", | |
| "ct": "GOOV8W8GKFE*O.A", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1231, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": "I*N*V8NP*K7OMIV", | |
| "ct": "IR.-R5GMAR39*/1", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1232, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": "5CS949:LPML1LW*", | |
| "ct": "+HK49Q2W1NTB1XR", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1233, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", | |
| "tweak": "19c77fee40ebf48e", | |
| "msg": "$ I-HK4+ PJ.O4", | |
| "ct": "0R8J9B:QV%TWFBK", | |