| { | |
| "algorithm": "AES-FF1", | |
| "generatorVersion": "0.9rc5", | |
| "numberOfTests": 3845, | |
| "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": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 0, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "fb9fc869af3e4828da6efa18b5fa71a0", | |
| "tweak": "379f81cab6ed2517", | |
| "msg": "", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 1, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 2, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "7325733095d90aff456a1e00fa977365", | |
| "tweak": "a5f8950069a56f6c", | |
| "msg": "6", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 192, | |
| "msgSize": 0, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 3, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "af2463f51df63a015178e30edcf25dacbeb2abbc5144d0a6", | |
| "tweak": "5d9c3dfb797c952a", | |
| "msg": "", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 192, | |
| "msgSize": 1, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 4, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "e9e279f5fad3e7fd7922e838cf07da528ddcc5387f6145bf", | |
| "tweak": "a25989a2e4360bae", | |
| "msg": "9", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 256, | |
| "msgSize": 0, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 5, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "f25e816c4d42629a428e48f2d48a31f79d6b1e8ef47e5ed3e7e5bbdf37f1806d", | |
| "tweak": "42dbc8913a275520", | |
| "msg": "", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 256, | |
| "msgSize": 1, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 6, | |
| "comment": "Invalid message size", | |
| "flags": [ | |
| "InvalidMessageSize" | |
| ], | |
| "key": "b8c800bed3286920bd1d9ad89a78808e9f815ec638663a725f256cc7078fdaf0", | |
| "tweak": "90120912eba3c19c", | |
| "msg": "3", | |
| "ct": "", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 2, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 7, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "ad65778960d778c614e2673dee073acb", | |
| "tweak": "4505f45a8fa30b90", | |
| "msg": "91", | |
| "ct": "19", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 3, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 8, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "aa6f23f573da39b110f4e155c418ba1f", | |
| "tweak": "8402018f66fd2cb9", | |
| "msg": "261", | |
| "ct": "217", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 4, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 9, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "5dd5899794ff9b5007b4481aaa97f882", | |
| "tweak": "742f7f8b2ab0dc48", | |
| "msg": "1768", | |
| "ct": "4675", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 5, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 10, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "0319599d6c7ca301230ec2b06c681097", | |
| "tweak": "125fd8f86c787e2d", | |
| "msg": "63738", | |
| "ct": "42819", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 192, | |
| "msgSize": 2, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 11, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "911c9e0a87977587050ebb48f4f9e199fde8472781ecaf7a", | |
| "tweak": "cf98ea96ef005bc6", | |
| "msg": "34", | |
| "ct": "85", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 192, | |
| "msgSize": 3, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 12, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "3c453964f4e42587db3a6de5de00673ede7e17672a4deb84", | |
| "tweak": "fe6290783f11946c", | |
| "msg": "181", | |
| "ct": "952", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 192, | |
| "msgSize": 4, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 13, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "f9626066827656fe088a7bf737c1cc1a3a3adc7015ffee7f", | |
| "tweak": "bc6d9ff72c250366", | |
| "msg": "4508", | |
| "ct": "6647", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 192, | |
| "msgSize": 5, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 14, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "a6c055a8cba4718f411d1a3d9c9e2051261ce3e369b2fa13", | |
| "tweak": "c5d9512a52de22b7", | |
| "msg": "18018", | |
| "ct": "80483", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 256, | |
| "msgSize": 2, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 15, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "d05ae6e3819e2dcdd218be7c62465e8f1474f1fec8e79a1a3f7b88040d0f4160", | |
| "tweak": "823988f1ffb8ce23", | |
| "msg": "93", | |
| "ct": "24", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 256, | |
| "msgSize": 3, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 16, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "1399758fa1ebf7cfda5f601c643443adaea4f4f8c19fc8772c5d5e3cc0cc6955", | |
| "tweak": "8c5a263a91b7cb4f", | |
| "msg": "334", | |
| "ct": "724", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 256, | |
| "msgSize": 4, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 17, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "c4acbec2544b6a08d8b24841fc55fccf7450bfd64169fa7dbea965ccae52ac13", | |
| "tweak": "427713fa26fac273", | |
| "msg": "6698", | |
| "ct": "6645", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 256, | |
| "msgSize": 5, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 18, | |
| "comment": "small message size", | |
| "flags": [ | |
| "SmallMessageSize" | |
| ], | |
| "key": "7b533301e6a7ac808d56cba45eb385cafec081eac871832d6936e40dfdac432e", | |
| "tweak": "3a8c315a81fe2e71", | |
| "msg": "92531", | |
| "ct": "32770", | |
| "result": "valid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 6, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 19, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "474bbf2aff5c252419c49a07d50e2bdf", | |
| "tweak": "d64296c362368a3d", | |
| "msg": "302141", | |
| "ct": "166088", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 20, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "000000", | |
| "ct": "894813", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 21, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "999999", | |
| "ct": "851002", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 22, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "512512", | |
| "ct": "543335", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 23, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "511511", | |
| "ct": "671811", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 24, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "481001", | |
| "ct": "833412", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 25, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "218807", | |
| "ct": "404917", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 26, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "738187", | |
| "ct": "843916", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 27, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "275876", | |
| "ct": "437809", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 28, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "179989", | |
| "ct": "199952", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 29, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "072368", | |
| "ct": "252253", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 30, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "315291", | |
| "ct": "689185", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 31, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "744654", | |
| "ct": "328746", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 32, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "133768", | |
| "ct": "000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 33, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "688697", | |
| "ct": "999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 34, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "043564", | |
| "ct": "512512", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 35, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "26dbd1998c3a046ac3ff11937079c034", | |
| "tweak": "5e551c3daad7e5fa", | |
| "msg": "208583", | |
| "ct": "511511", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 36, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "f1b16e197bfc4cb00d20eddf77", | |
| "msg": "554060", | |
| "ct": "960862", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 37, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "f1b16e197bfc4cb00d20eddf77", | |
| "msg": "596859", | |
| "ct": "720642", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 38, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "f1b16e197bfc4cb00d20eddf77", | |
| "msg": "852030", | |
| "ct": "525457", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 39, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "f1b16e197bfc4cb00d20eddf77", | |
| "msg": "473570", | |
| "ct": "025564", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 40, | |
| "comment": "y = 1 and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "de9acccaff7df6d42e97af60df", | |
| "msg": "327000", | |
| "ct": "781070", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 41, | |
| "comment": "y = 1 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "de9acccaff7df6d42e97af60df", | |
| "msg": "276001", | |
| "ct": "186417", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 42, | |
| "comment": "y = 1 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "de9acccaff7df6d42e97af60df", | |
| "msg": "443512", | |
| "ct": "905310", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 43, | |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "de9acccaff7df6d42e97af60df", | |
| "msg": "869998", | |
| "ct": "155155", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 44, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "de9acccaff7df6d42e97af60df", | |
| "msg": "860999", | |
| "ct": "236631", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 45, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "6405712c28922813b63f6c1a54", | |
| "msg": "583338", | |
| "ct": "078216", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 46, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "6405712c28922813b63f6c1a54", | |
| "msg": "203817", | |
| "ct": "401053", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 47, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "6405712c28922813b63f6c1a54", | |
| "msg": "586817", | |
| "ct": "883626", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 48, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "6405712c28922813b63f6c1a54", | |
| "msg": "547494", | |
| "ct": "924955", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 49, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "6405712c28922813b63f6c1a54", | |
| "msg": "525989", | |
| "ct": "147497", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 50, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "6405712c28922813b63f6c1a54", | |
| "msg": "435344", | |
| "ct": "894185", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 51, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "9483782945553da6585f1a0ef4", | |
| "msg": "824296", | |
| "ct": "866278", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 52, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "9483782945553da6585f1a0ef4", | |
| "msg": "347780", | |
| "ct": "912415", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 53, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "9483782945553da6585f1a0ef4", | |
| "msg": "886796", | |
| "ct": "401984", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 54, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6a24278db37f29768c4263256ffbd956", | |
| "tweak": "9483782945553da6585f1a0ef4", | |
| "msg": "594017", | |
| "ct": "753129", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 55, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": "R84237", | |
| "ct": "329770", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 56, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": "88Q237", | |
| "ct": "671491", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 57, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ed4561abc903a9e722ddb8aa94cc662d", | |
| "tweak": "975f6d7701e004f7", | |
| "msg": "88423=", | |
| "ct": "903634", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 58, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8508e1466120dc26244bd837242f1a06", | |
| "tweak": "44b0efa05cff805e", | |
| "msg": ":27666", | |
| "ct": "640937", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 59, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8508e1466120dc26244bd837242f1a06", | |
| "tweak": "44b0efa05cff805e", | |
| "msg": "02:666", | |
| "ct": "648616", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 60, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8508e1466120dc26244bd837242f1a06", | |
| "tweak": "44b0efa05cff805e", | |
| "msg": "02766:", | |
| "ct": "575622", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 7, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 61, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "20b2c30d44c72c32a4564541332f45c3", | |
| "tweak": "3de9de4b8736f463", | |
| "msg": "3760980", | |
| "ct": "3949765", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 62, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "0000000", | |
| "ct": "0937637", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 63, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "9999999", | |
| "ct": "9956160", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 64, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "5128192", | |
| "ct": "4749744", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 65, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "5118191", | |
| "ct": "7095978", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 66, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "0162436", | |
| "ct": "2531815", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 67, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "5774461", | |
| "ct": "3498805", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 68, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "1799810", | |
| "ct": "3681016", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 69, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "5641563", | |
| "ct": "1260421", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 70, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "2386366", | |
| "ct": "3558902", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 71, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "9826400", | |
| "ct": "2534856", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 72, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "2711431", | |
| "ct": "6145814", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 73, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "9202718", | |
| "ct": "7558033", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 74, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "5415341", | |
| "ct": "0000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 75, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "7352123", | |
| "ct": "9999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 76, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "8717562", | |
| "ct": "5128192", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 77, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "53b43d40c44c62982d5123e5716d25db", | |
| "tweak": "c34af5583d26dacc", | |
| "msg": "9337533", | |
| "ct": "5118191", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 78, | |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "b610620bb92f76cf9513d71295", | |
| "msg": "8778438", | |
| "ct": "6841818", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 79, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "b610620bb92f76cf9513d71295", | |
| "msg": "9123513", | |
| "ct": "5249605", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 80, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "b610620bb92f76cf9513d71295", | |
| "msg": "9781466", | |
| "ct": "8050961", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 81, | |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "b610620bb92f76cf9513d71295", | |
| "msg": "9453463", | |
| "ct": "9537816", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 82, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "6afd94875ef13fb77107d55a12", | |
| "msg": "7080078", | |
| "ct": "7548604", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 83, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "6afd94875ef13fb77107d55a12", | |
| "msg": "2895685", | |
| "ct": "7175316", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 84, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "6afd94875ef13fb77107d55a12", | |
| "msg": "3170187", | |
| "ct": "4183226", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 85, | |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "6afd94875ef13fb77107d55a12", | |
| "msg": "2289413", | |
| "ct": "0914112", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 86, | |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "6afd94875ef13fb77107d55a12", | |
| "msg": "0851241", | |
| "ct": "2943989", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 87, | |
| "comment": "y is maximal and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "598a0f65b83e315b435b2c154e", | |
| "msg": "6609770", | |
| "ct": "6153525", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 88, | |
| "comment": "y is maximal and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "598a0f65b83e315b435b2c154e", | |
| "msg": "1573336", | |
| "ct": "6166109", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 89, | |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "598a0f65b83e315b435b2c154e", | |
| "msg": "3481525", | |
| "ct": "9996290", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 90, | |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "598a0f65b83e315b435b2c154e", | |
| "msg": "6953499", | |
| "ct": "0006395", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 91, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "598a0f65b83e315b435b2c154e", | |
| "msg": "6675141", | |
| "ct": "1270763", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 92, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "598a0f65b83e315b435b2c154e", | |
| "msg": "3997126", | |
| "ct": "6146884", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 93, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "ac0a2c85d2f9ac8b5f6452c32f", | |
| "msg": "5023790", | |
| "ct": "3313208", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 94, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "ac0a2c85d2f9ac8b5f6452c32f", | |
| "msg": "9841730", | |
| "ct": "9995776", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 95, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "ac0a2c85d2f9ac8b5f6452c32f", | |
| "msg": "7643511", | |
| "ct": "9966498", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 96, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "ac0a2c85d2f9ac8b5f6452c32f", | |
| "msg": "8158751", | |
| "ct": "9736715", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 97, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "ac0a2c85d2f9ac8b5f6452c32f", | |
| "msg": "4775486", | |
| "ct": "0673967", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 98, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "ac0a2c85d2f9ac8b5f6452c32f", | |
| "msg": "0811378", | |
| "ct": "5411679", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 99, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "7b7c8b15f8be673e391757bf1e", | |
| "msg": "5490779", | |
| "ct": "3699115", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 100, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "7b7c8b15f8be673e391757bf1e", | |
| "msg": "7039045", | |
| "ct": "4419499", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 101, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "7b7c8b15f8be673e391757bf1e", | |
| "msg": "3880876", | |
| "ct": "4858366", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 102, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ad837c09903b33e60eecfa1d04308e32", | |
| "tweak": "7b7c8b15f8be673e391757bf1e", | |
| "msg": "6125274", | |
| "ct": "1103867", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 103, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": "+433942", | |
| "ct": "1950387", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 104, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": "24Q3942", | |
| "ct": "0933186", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 105, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ea35a8f24783be82abd93cc74e4944cb", | |
| "tweak": "a704f808982bb10f", | |
| "msg": "243394r", | |
| "ct": "5593350", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 106, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "15193223b84a2701b6cd545ef9326c5f", | |
| "tweak": "228c040918161aa4", | |
| "msg": ":530924", | |
| "ct": "4213162", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 107, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "15193223b84a2701b6cd545ef9326c5f", | |
| "tweak": "228c040918161aa4", | |
| "msg": "85:0924", | |
| "ct": "0976327", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 108, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "15193223b84a2701b6cd545ef9326c5f", | |
| "tweak": "228c040918161aa4", | |
| "msg": "853092:", | |
| "ct": "3185604", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 8, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 109, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "60d83b209822c0d9b7033dca86444fa1", | |
| "tweak": "23ef05b155a108c4", | |
| "msg": "30154445", | |
| "ct": "84198835", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 110, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "00000000", | |
| "ct": "49820083", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 111, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "99999999", | |
| "ct": "18090578", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 112, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "81928192", | |
| "ct": "35005940", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 113, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "81918191", | |
| "ct": "04605603", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 114, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "38715442", | |
| "ct": "00786455", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 115, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "72587744", | |
| "ct": "90275343", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 116, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "29402987", | |
| "ct": "97296194", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 117, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "69860375", | |
| "ct": "44904994", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 118, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "95625710", | |
| "ct": "52918326", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 119, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "15029104", | |
| "ct": "75654523", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 120, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "92938212", | |
| "ct": "39435569", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 121, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "69014925", | |
| "ct": "38739853", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 122, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "86465930", | |
| "ct": "00000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 123, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "60809728", | |
| "ct": "99999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 124, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "57005559", | |
| "ct": "81928192", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 125, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3bfee9ab1eadaa8cff5b05281fcb0140", | |
| "tweak": "2024d5e34b3ba6a0", | |
| "msg": "43821850", | |
| "ct": "81918191", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 126, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "948769fd57118ed7026cf9bb89", | |
| "msg": "52573978", | |
| "ct": "77358628", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 127, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "948769fd57118ed7026cf9bb89", | |
| "msg": "90789090", | |
| "ct": "98472351", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 128, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "948769fd57118ed7026cf9bb89", | |
| "msg": "33421084", | |
| "ct": "93974069", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 129, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "948769fd57118ed7026cf9bb89", | |
| "msg": "11138295", | |
| "ct": "86645759", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 130, | |
| "comment": "y = 1 and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "680768ea23812265e2cd177394", | |
| "msg": "91885290", | |
| "ct": "47309073", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 131, | |
| "comment": "y = 1 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "680768ea23812265e2cd177394", | |
| "msg": "75116230", | |
| "ct": "79132638", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 132, | |
| "comment": "y = 1 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "680768ea23812265e2cd177394", | |
| "msg": "54983554", | |
| "ct": "55473538", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 133, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "680768ea23812265e2cd177394", | |
| "msg": "03162638", | |
| "ct": "60633534", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 134, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "680768ea23812265e2cd177394", | |
| "msg": "15750628", | |
| "ct": "44107063", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 135, | |
| "comment": "y is maximal and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "18c521ac825ce84e805b05a7a2", | |
| "msg": "78703359", | |
| "ct": "40415432", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 136, | |
| "comment": "y is maximal and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "18c521ac825ce84e805b05a7a2", | |
| "msg": "12847315", | |
| "ct": "77456844", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 137, | |
| "comment": "y is maximal and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "18c521ac825ce84e805b05a7a2", | |
| "msg": "81673756", | |
| "ct": "15300179", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 138, | |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "18c521ac825ce84e805b05a7a2", | |
| "msg": "13008286", | |
| "ct": "51305516", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 139, | |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "18c521ac825ce84e805b05a7a2", | |
| "msg": "31171503", | |
| "ct": "61180631", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 140, | |
| "comment": "y is maximal and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "18c521ac825ce84e805b05a7a2", | |
| "msg": "95011521", | |
| "ct": "48082959", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 141, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "747e41601c7cecfd49e56e991d", | |
| "msg": "00006663", | |
| "ct": "86169506", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 142, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "747e41601c7cecfd49e56e991d", | |
| "msg": "00016663", | |
| "ct": "34304787", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 143, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "747e41601c7cecfd49e56e991d", | |
| "msg": "81926663", | |
| "ct": "49409018", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 144, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "747e41601c7cecfd49e56e991d", | |
| "msg": "83896663", | |
| "ct": "32231431", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 145, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "747e41601c7cecfd49e56e991d", | |
| "msg": "83906663", | |
| "ct": "23390944", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 146, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "747e41601c7cecfd49e56e991d", | |
| "msg": "99996663", | |
| "ct": "35530672", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 147, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "8778e31da2c09349654cc259f7", | |
| "msg": "00006564", | |
| "ct": "72806340", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 148, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "8778e31da2c09349654cc259f7", | |
| "msg": "00016564", | |
| "ct": "72963789", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 149, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "8778e31da2c09349654cc259f7", | |
| "msg": "81926564", | |
| "ct": "47152681", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 150, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "475b7573760904fa57ad2cb88ea52f32", | |
| "tweak": "8778e31da2c09349654cc259f7", | |
| "msg": "99996564", | |
| "ct": "19388815", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 151, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": "R1581301", | |
| "ct": "23894773", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 152, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": "81i81301", | |
| "ct": "26499974", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 153, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ebc261665fab01ae2bfe156e54de3006", | |
| "tweak": "5080dd547abdeddd", | |
| "msg": "8158130N", | |
| "ct": "88019234", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 154, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "46d822a781f095d809dde7326d9e8fa4", | |
| "tweak": "fe99b9d9ffc85852", | |
| "msg": ":3940865", | |
| "ct": "19863946", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 155, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "46d822a781f095d809dde7326d9e8fa4", | |
| "tweak": "fe99b9d9ffc85852", | |
| "msg": "33:40865", | |
| "ct": "69400744", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 156, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "46d822a781f095d809dde7326d9e8fa4", | |
| "tweak": "fe99b9d9ffc85852", | |
| "msg": "3394086:", | |
| "ct": "48318213", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 9, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 157, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "2215b9528000f5f306fcdfe2969c6785", | |
| "tweak": "0539d85c7b076285", | |
| "msg": "194420730", | |
| "ct": "035243008", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 158, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "000000000", | |
| "ct": "664625998", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 159, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "999999999", | |
| "ct": "922830786", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 160, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "819265536", | |
| "ct": "651898598", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 161, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "819165535", | |
| "ct": "434026939", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 162, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "690060690", | |
| "ct": "526291559", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 163, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "295520705", | |
| "ct": "046274885", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 164, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "431259875", | |
| "ct": "126421203", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 165, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "063138875", | |
| "ct": "207398168", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 166, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "777394414", | |
| "ct": "215265208", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 167, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "455360908", | |
| "ct": "956793301", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 168, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "918118790", | |
| "ct": "012264086", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 169, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "484385424", | |
| "ct": "520412802", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 170, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "833842664", | |
| "ct": "000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 171, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "131383594", | |
| "ct": "999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 172, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "382354511", | |
| "ct": "819265536", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 173, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "4c00ade3e32b12866bb56e736e18eaf4", | |
| "tweak": "3f0bf1e88240178e", | |
| "msg": "831119537", | |
| "ct": "819165535", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 174, | |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "cd66f4441820c024bad7e3c0", | |
| "msg": "101641060", | |
| "ct": "000066298", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 175, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "cd66f4441820c024bad7e3c0", | |
| "msg": "196500881", | |
| "ct": "000109404", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 176, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "cd66f4441820c024bad7e3c0", | |
| "msg": "117812606", | |
| "ct": "819245074", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 177, | |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "cd66f4441820c024bad7e3c0", | |
| "msg": "234116619", | |
| "ct": "999931397", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 178, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "e45a8b58a2dc6f47304823d0", | |
| "msg": "490192547", | |
| "ct": "331479066", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 179, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "e45a8b58a2dc6f47304823d0", | |
| "msg": "057512322", | |
| "ct": "591589957", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 180, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "e45a8b58a2dc6f47304823d0", | |
| "msg": "133348101", | |
| "ct": "076133841", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 181, | |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "e45a8b58a2dc6f47304823d0", | |
| "msg": "923680072", | |
| "ct": "245630871", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 182, | |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "e45a8b58a2dc6f47304823d0", | |
| "msg": "864638546", | |
| "ct": "326187644", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 183, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "a47f8f6506c48bb33832c45d", | |
| "msg": "850845265", | |
| "ct": "730151679", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 184, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "a47f8f6506c48bb33832c45d", | |
| "msg": "040760993", | |
| "ct": "037215631", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 185, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "a47f8f6506c48bb33832c45d", | |
| "msg": "605030415", | |
| "ct": "184343368", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 186, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "a47f8f6506c48bb33832c45d", | |
| "msg": "744998511", | |
| "ct": "229648538", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 187, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "a47f8f6506c48bb33832c45d", | |
| "msg": "362465431", | |
| "ct": "938717291", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 188, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "36e6ec14d7abaf2fa03904af42244b5f", | |
| "tweak": "a47f8f6506c48bb33832c45d", | |
| "msg": "665755165", | |
| "ct": "813080615", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 189, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": "c73831791", | |
| "ct": "053960605", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 190, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": "873m31791", | |
| "ct": "221698322", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 191, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fd4e71784e95a3dd0b41315a67131d2", | |
| "tweak": "47d48ea4716ab8df", | |
| "msg": "87383179f", | |
| "ct": "729201367", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 192, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a09da428875a478da7f28b008b7d544f", | |
| "tweak": "f50dfcad32f0cfde", | |
| "msg": ":39554673", | |
| "ct": "893081818", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 193, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a09da428875a478da7f28b008b7d544f", | |
| "tweak": "f50dfcad32f0cfde", | |
| "msg": "139:54673", | |
| "ct": "309634036", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 194, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a09da428875a478da7f28b008b7d544f", | |
| "tweak": "f50dfcad32f0cfde", | |
| "msg": "13955467:", | |
| "ct": "201675465", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 10, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 195, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "5474525ca99fb5da2babdbd45c727d16", | |
| "tweak": "f2cb4d9ba04b81f8", | |
| "msg": "5482412660", | |
| "ct": "6540402321", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 196, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "0000000000", | |
| "ct": "9203217404", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 197, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "9999999999", | |
| "ct": "4855474100", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 198, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "6553665536", | |
| "ct": "8871933963", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 199, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "6553565535", | |
| "ct": "8055648330", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 200, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "1725896699", | |
| "ct": "6649461553", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 201, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "8309290782", | |
| "ct": "4363046488", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 202, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "4074327190", | |
| "ct": "0801147115", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 203, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "7079010738", | |
| "ct": "5550290323", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 204, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "8644974075", | |
| "ct": "3003336802", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 205, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "3057739416", | |
| "ct": "5725346932", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 206, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "7097959570", | |
| "ct": "7126801748", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 207, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "0239128717", | |
| "ct": "4872014145", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 208, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "4894752143", | |
| "ct": "0000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 209, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "6019601132", | |
| "ct": "9999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 210, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "4105919196", | |
| "ct": "6553665536", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 211, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3e7ffa3f410e329464ad1d205799b3d5", | |
| "tweak": "0d5a58b58855ef5a", | |
| "msg": "7154565358", | |
| "ct": "6553565535", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 212, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "0e3bc2eebdc8392ce00ec9d3", | |
| "msg": "2431700000", | |
| "ct": "0662766454", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 213, | |
| "comment": "y = 0 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "0e3bc2eebdc8392ce00ec9d3", | |
| "msg": "3383400001", | |
| "ct": "3913406294", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 214, | |
| "comment": "y = 0 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "0e3bc2eebdc8392ce00ec9d3", | |
| "msg": "4638065536", | |
| "ct": "7337358948", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 215, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "0e3bc2eebdc8392ce00ec9d3", | |
| "msg": "1199599999", | |
| "ct": "3698811909", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 216, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "a4481b043bb7ddf8d2a26b33", | |
| "msg": "3786587996", | |
| "ct": "6020164357", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 217, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "a4481b043bb7ddf8d2a26b33", | |
| "msg": "1142256173", | |
| "ct": "6331329996", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 218, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "a4481b043bb7ddf8d2a26b33", | |
| "msg": "9122012467", | |
| "ct": "9589893893", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 219, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "a4481b043bb7ddf8d2a26b33", | |
| "msg": "1807222506", | |
| "ct": "4725987596", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 220, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "a4481b043bb7ddf8d2a26b33", | |
| "msg": "0132466711", | |
| "ct": "0757316009", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 221, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "a4481b043bb7ddf8d2a26b33", | |
| "msg": "6025973178", | |
| "ct": "6372856511", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 222, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "de08361f797a77a9fd1223d3", | |
| "msg": "1256358175", | |
| "ct": "4099711950", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 223, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "de08361f797a77a9fd1223d3", | |
| "msg": "2186758594", | |
| "ct": "9468023183", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 224, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "de08361f797a77a9fd1223d3", | |
| "msg": "8493584115", | |
| "ct": "2460782965", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 225, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "7b64450714b0a262376044de6e260f0a", | |
| "tweak": "de08361f797a77a9fd1223d3", | |
| "msg": "0908007834", | |
| "ct": "1871236374", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 226, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": "<235799150", | |
| "ct": "9732700287", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 227, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": "523M799150", | |
| "ct": "1463587652", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 228, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c2153daac19904cf16ea81dbc73a58dc", | |
| "tweak": "38b7196a238d3892", | |
| "msg": "523579915_", | |
| "ct": "0336359878", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 229, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4ec7b96887b36a6655ab356229bd4674", | |
| "tweak": "74be6093b48cbbba", | |
| "msg": ":533839326", | |
| "ct": "1298445131", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 230, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4ec7b96887b36a6655ab356229bd4674", | |
| "tweak": "74be6093b48cbbba", | |
| "msg": "353:839326", | |
| "ct": "9123439945", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 231, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4ec7b96887b36a6655ab356229bd4674", | |
| "tweak": "74be6093b48cbbba", | |
| "msg": "353383932:", | |
| "ct": "6553854920", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 11, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 232, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "63396f38c44f0c2d97468c4804b5d022", | |
| "tweak": "73068af95fd924fc", | |
| "msg": "83411540036", | |
| "ct": "94486345714", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 233, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "00000000000", | |
| "ct": "42772090496", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 234, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "99999999999", | |
| "ct": "89999359252", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 235, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "65536524288", | |
| "ct": "07175993960", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 236, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "65535524287", | |
| "ct": "58504384738", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 237, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "31713698349", | |
| "ct": "47105187063", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 238, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "30917192577", | |
| "ct": "63231172747", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 239, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "54442129499", | |
| "ct": "69923979949", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 240, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "67905832098", | |
| "ct": "22540024653", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 241, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "75884168496", | |
| "ct": "76795311703", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 242, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "57325083484", | |
| "ct": "79212779150", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 243, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "08478820603", | |
| "ct": "54099876257", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 244, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "26053757473", | |
| "ct": "05320931345", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 245, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "96770948057", | |
| "ct": "00000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 246, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "80807523976", | |
| "ct": "99999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 247, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "58464413532", | |
| "ct": "65536524288", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 248, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd69e5d5444781e0645ba24b2a32dee8", | |
| "tweak": "e1310d099e8e72c6", | |
| "msg": "71706600901", | |
| "ct": "65535524287", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 249, | |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "6a35fc64d6af3e3da85db819", | |
| "msg": "12905730688", | |
| "ct": "52770670729", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 250, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "6a35fc64d6af3e3da85db819", | |
| "msg": "98646604357", | |
| "ct": "69828851520", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 251, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "6a35fc64d6af3e3da85db819", | |
| "msg": "98378063837", | |
| "ct": "39015365397", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 252, | |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "6a35fc64d6af3e3da85db819", | |
| "msg": "89000598262", | |
| "ct": "81474711984", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 253, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "8c604a0bc01d9b588f2d75c2", | |
| "msg": "16526052011", | |
| "ct": "86441999771", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 254, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "8c604a0bc01d9b588f2d75c2", | |
| "msg": "02139620216", | |
| "ct": "05952123899", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 255, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "8c604a0bc01d9b588f2d75c2", | |
| "msg": "59648411149", | |
| "ct": "12516622932", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 256, | |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "8c604a0bc01d9b588f2d75c2", | |
| "msg": "16080422950", | |
| "ct": "50373358053", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 257, | |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "8c604a0bc01d9b588f2d75c2", | |
| "msg": "62172603655", | |
| "ct": "75279669574", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 258, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "c3445acf67be8117bb70faae", | |
| "msg": "14590221917", | |
| "ct": "38945993622", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 259, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "c3445acf67be8117bb70faae", | |
| "msg": "36331521648", | |
| "ct": "37759454477", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 260, | |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "c3445acf67be8117bb70faae", | |
| "msg": "14163886616", | |
| "ct": "67660820813", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 261, | |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "c3445acf67be8117bb70faae", | |
| "msg": "04582923589", | |
| "ct": "80306941881", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 262, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "c3445acf67be8117bb70faae", | |
| "msg": "91772213138", | |
| "ct": "79545561428", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 263, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "c3445acf67be8117bb70faae", | |
| "msg": "64815638732", | |
| "ct": "45075260625", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 264, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "98ac19ba9d30d4b8fef659da", | |
| "msg": "52783531433", | |
| "ct": "62956699477", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 265, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "98ac19ba9d30d4b8fef659da", | |
| "msg": "45239069925", | |
| "ct": "61503025570", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 266, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "98ac19ba9d30d4b8fef659da", | |
| "msg": "59607442958", | |
| "ct": "44416365024", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 267, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "6c6ec910e1fcdff2f0df935de10d0560", | |
| "tweak": "98ac19ba9d30d4b8fef659da", | |
| "msg": "16671804433", | |
| "ct": "83245431713", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 268, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": "N0496436709", | |
| "ct": "44290122587", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 269, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": "204P6436709", | |
| "ct": "19535245906", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 270, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0b55b77a1d06778b795b541037eabb26", | |
| "tweak": "3e26f18ba99add01", | |
| "msg": "2049643670R", | |
| "ct": "23810837895", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 271, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b541e9d867d43d48ff0bee27ea5b3c4d", | |
| "tweak": "08b433c2c2a87bae", | |
| "msg": ":8049248509", | |
| "ct": "51742468057", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 272, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b541e9d867d43d48ff0bee27ea5b3c4d", | |
| "tweak": "08b433c2c2a87bae", | |
| "msg": "680:9248509", | |
| "ct": "39518981534", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 273, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b541e9d867d43d48ff0bee27ea5b3c4d", | |
| "tweak": "08b433c2c2a87bae", | |
| "msg": "6804924850:", | |
| "ct": "46007295777", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 12, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 274, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "ddc31fc7751a2bf5c8d2d815035622e8", | |
| "tweak": "0e10628c19795c4e", | |
| "msg": "331173687345", | |
| "ct": "840596333876", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 275, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "000000000000", | |
| "ct": "401049745835", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 276, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "999999999999", | |
| "ct": "666955122201", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 277, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "524288524288", | |
| "ct": "795078393758", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 278, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "524287524287", | |
| "ct": "743453622173", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 279, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "179946377235", | |
| "ct": "627081964386", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 280, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "055060796490", | |
| "ct": "585847485464", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 281, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "792368182683", | |
| "ct": "909863204170", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 282, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "147182564000", | |
| "ct": "220921311042", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 283, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "619467390327", | |
| "ct": "674352266729", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 284, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "414733412736", | |
| "ct": "836474056465", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 285, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "920661575864", | |
| "ct": "993649794287", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 286, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "519126708045", | |
| "ct": "126886326679", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 287, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "901321223972", | |
| "ct": "000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 288, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "576818080272", | |
| "ct": "999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 289, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "084388345757", | |
| "ct": "524288524288", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 290, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "d954ee3f3fabdcd92a2ad30b675ef74d", | |
| "tweak": "bb3a5b86df3e19bc", | |
| "msg": "661796393811", | |
| "ct": "524287524287", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 291, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "ca9d5938774acc9f65f11f20", | |
| "msg": "320522438379", | |
| "ct": "425061000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 292, | |
| "comment": "y = 0 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "ca9d5938774acc9f65f11f20", | |
| "msg": "393650204706", | |
| "ct": "425061000001", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 293, | |
| "comment": "y = 0 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "ca9d5938774acc9f65f11f20", | |
| "msg": "740054896011", | |
| "ct": "425061524288", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 294, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "ca9d5938774acc9f65f11f20", | |
| "msg": "618098469655", | |
| "ct": "425061999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 295, | |
| "comment": "y = 1 and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "011a495b89d6987b2c95d336", | |
| "msg": "258634477269", | |
| "ct": "628302632955", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 296, | |
| "comment": "y = 1 and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "011a495b89d6987b2c95d336", | |
| "msg": "404125580137", | |
| "ct": "645223662104", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 297, | |
| "comment": "y = 1 and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "011a495b89d6987b2c95d336", | |
| "msg": "367747989527", | |
| "ct": "380433462001", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 298, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "011a495b89d6987b2c95d336", | |
| "msg": "814148884973", | |
| "ct": "971200605346", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 299, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "011a495b89d6987b2c95d336", | |
| "msg": "827836461248", | |
| "ct": "646891340813", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 300, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "5c3dce5bb0d6d9102421c569", | |
| "msg": "000000859848", | |
| "ct": "013574967244", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 301, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "5c3dce5bb0d6d9102421c569", | |
| "msg": "000001859848", | |
| "ct": "501323873788", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 302, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "5c3dce5bb0d6d9102421c569", | |
| "msg": "448384859848", | |
| "ct": "914601530876", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 303, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "5c3dce5bb0d6d9102421c569", | |
| "msg": "448385859848", | |
| "ct": "153400370684", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 304, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "5c3dce5bb0d6d9102421c569", | |
| "msg": "524288859848", | |
| "ct": "736273281858", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 305, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "5c3dce5bb0d6d9102421c569", | |
| "msg": "999999859848", | |
| "ct": "958297659270", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 306, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "cb3907881d3cbafed89f1bb3", | |
| "msg": "694817552079", | |
| "ct": "624194009623", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 307, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "cb3907881d3cbafed89f1bb3", | |
| "msg": "295449449165", | |
| "ct": "413248605912", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 308, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "cb3907881d3cbafed89f1bb3", | |
| "msg": "748441310171", | |
| "ct": "332313119829", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 309, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "cb3907881d3cbafed89f1bb3", | |
| "msg": "620074121543", | |
| "ct": "818967361798", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 310, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "cb3907881d3cbafed89f1bb3", | |
| "msg": "462275349557", | |
| "ct": "752139171603", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 311, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "cb3907881d3cbafed89f1bb3", | |
| "msg": "531810868221", | |
| "ct": "249215874410", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 312, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "f19ab0b56e6780ee243f4359", | |
| "msg": "965075244075", | |
| "ct": "043971999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 313, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "f19ab0b56e6780ee243f4359", | |
| "msg": "908771450339", | |
| "ct": "043971000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 314, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "f19ab0b56e6780ee243f4359", | |
| "msg": "635673921880", | |
| "ct": "043971524287", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 315, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "a3e590e923e5c47a216ec271e9da8180", | |
| "tweak": "f19ab0b56e6780ee243f4359", | |
| "msg": "228368101771", | |
| "ct": "043971999998", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 316, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": "e47875872131", | |
| "ct": "815177681270", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 317, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": "6478]5872131", | |
| "ct": "859664996547", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 318, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "dbac185fba36fe7028184de1a577dbaa", | |
| "tweak": "6ba28735b4acc0ff", | |
| "msg": "64787587213Y", | |
| "ct": "530236372137", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 319, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "40e9d7951e50c1c202201a8c97ec3338", | |
| "tweak": "655059b7b7612c1a", | |
| "msg": ":43997302958", | |
| "ct": "245147849497", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 320, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "40e9d7951e50c1c202201a8c97ec3338", | |
| "tweak": "655059b7b7612c1a", | |
| "msg": "0439:7302958", | |
| "ct": "297188132088", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 321, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "40e9d7951e50c1c202201a8c97ec3338", | |
| "tweak": "655059b7b7612c1a", | |
| "msg": "04399730295:", | |
| "ct": "945280397011", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 13, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 322, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "d5e6c882f005525ce577f704ef6b525d", | |
| "tweak": "7ce1a7a4e6508c83", | |
| "msg": "3433329844323", | |
| "ct": "9837428001808", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 323, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "0000000000000", | |
| "ct": "8645160298372", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 324, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "9999999999999", | |
| "ct": "6196483554746", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 325, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "5242888388608", | |
| "ct": "5803256309854", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 326, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "5242878388607", | |
| "ct": "3625932576979", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 327, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "1191763011772", | |
| "ct": "9580546689686", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 328, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "9305531537941", | |
| "ct": "7538898713081", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 329, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "2162199793364", | |
| "ct": "8757938788485", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 330, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "2524274689470", | |
| "ct": "2726365856907", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 331, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "8139379252648", | |
| "ct": "8127910191791", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 332, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "7613936958977", | |
| "ct": "3853740400162", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 333, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "3297575759055", | |
| "ct": "2617460388984", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 334, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "4759765335733", | |
| "ct": "2538868741358", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 335, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "1237207726552", | |
| "ct": "0000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 336, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "9961835161405", | |
| "ct": "9999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 337, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "9260059465406", | |
| "ct": "5242888388608", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 338, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bb7ca258d353deb4a4f52b08290ab6a1", | |
| "tweak": "a211ccbb8d59238e", | |
| "msg": "2942019634586", | |
| "ct": "5242878388607", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 339, | |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9f4fd73ab98e58643220e50f", | |
| "msg": "8748539050001", | |
| "ct": "5444470481322", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 340, | |
| "comment": "y = 0 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9f4fd73ab98e58643220e50f", | |
| "msg": "8665551371747", | |
| "ct": "6836277006516", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 341, | |
| "comment": "y = 0 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9f4fd73ab98e58643220e50f", | |
| "msg": "5739709176461", | |
| "ct": "3359368861353", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 342, | |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "9f4fd73ab98e58643220e50f", | |
| "msg": "2633412243122", | |
| "ct": "3731610969290", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 343, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "5eb7666e1c142a022889a2f7", | |
| "msg": "0000004666580", | |
| "ct": "4519549190218", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 344, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "5eb7666e1c142a022889a2f7", | |
| "msg": "0000014666580", | |
| "ct": "4224423189874", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 345, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "5eb7666e1c142a022889a2f7", | |
| "msg": "5242884666580", | |
| "ct": "7365871409785", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 346, | |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "5eb7666e1c142a022889a2f7", | |
| "msg": "9999984666580", | |
| "ct": "7621919593189", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 347, | |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "5eb7666e1c142a022889a2f7", | |
| "msg": "9999994666580", | |
| "ct": "2936040331851", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 348, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "40af2109496a9ea9603212b7", | |
| "msg": "2009199790483", | |
| "ct": "2753696940884", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 349, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "40af2109496a9ea9603212b7", | |
| "msg": "5796179861338", | |
| "ct": "0815338249346", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 350, | |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "40af2109496a9ea9603212b7", | |
| "msg": "2637893120118", | |
| "ct": "5309114421036", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 351, | |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "40af2109496a9ea9603212b7", | |
| "msg": "0511277604819", | |
| "ct": "9635987238694", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 352, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "40af2109496a9ea9603212b7", | |
| "msg": "6821868760716", | |
| "ct": "8309576166048", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 353, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "40af2109496a9ea9603212b7", | |
| "msg": "5507918070843", | |
| "ct": "9854400470412", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 354, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "493e7076dcf987d7931af530", | |
| "msg": "0182592209983", | |
| "ct": "5516102253153", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 355, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "493e7076dcf987d7931af530", | |
| "msg": "4534766677015", | |
| "ct": "5516119975218", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 356, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "493e7076dcf987d7931af530", | |
| "msg": "6701294415361", | |
| "ct": "9999997447739", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 357, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "493e7076dcf987d7931af530", | |
| "msg": "2381889427046", | |
| "ct": "0000001432423", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 358, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "493e7076dcf987d7931af530", | |
| "msg": "8688747781958", | |
| "ct": "0758986285945", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 359, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "493e7076dcf987d7931af530", | |
| "msg": "2893914486810", | |
| "ct": "5516098090199", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 360, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "92b6bbde7b66faec721cd37d", | |
| "msg": "9808988259567", | |
| "ct": "7318239999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 361, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "92b6bbde7b66faec721cd37d", | |
| "msg": "2966141673673", | |
| "ct": "7318230000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 362, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "92b6bbde7b66faec721cd37d", | |
| "msg": "6574907732306", | |
| "ct": "7318238388607", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 363, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "002d4f865568a9c32a7edeb2b39d73d7", | |
| "tweak": "92b6bbde7b66faec721cd37d", | |
| "msg": "3813864419257", | |
| "ct": "7318239999998", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 364, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": "^030323986651", | |
| "ct": "4591014586952", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 365, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": "5030I23986651", | |
| "ct": "4436015853482", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 366, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b8d9b3c80209587bbe3c0f7125eed049", | |
| "tweak": "522499e28e9e7712", | |
| "msg": "503032398665e", | |
| "ct": "4165572532978", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 367, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "50028a1a7504375a8658f68e228498cd", | |
| "tweak": "d70b5ed8568c2990", | |
| "msg": ":504070155931", | |
| "ct": "8803651532671", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 368, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "50028a1a7504375a8658f68e228498cd", | |
| "tweak": "d70b5ed8568c2990", | |
| "msg": "0504:70155931", | |
| "ct": "4436649173926", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 369, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "50028a1a7504375a8658f68e228498cd", | |
| "tweak": "d70b5ed8568c2990", | |
| "msg": "050407015593:", | |
| "ct": "3904947687179", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 14, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 370, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "7a1122636a4417351c97156308d4f6aa", | |
| "tweak": "a9508e64d1ab8e34", | |
| "msg": "40917664459404", | |
| "ct": "13149079816345", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 371, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "00000000000000", | |
| "ct": "91281736969861", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 372, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "99999999999999", | |
| "ct": "00496671345485", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 373, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "83886088388608", | |
| "ct": "33965516963762", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 374, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "83886078388607", | |
| "ct": "82209790078824", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 375, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "97597397389923", | |
| "ct": "79451267326019", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 376, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "72885928928756", | |
| "ct": "96569318763615", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 377, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "51266046867392", | |
| "ct": "72589753043153", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 378, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "50278490354155", | |
| "ct": "86956679244931", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 379, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "54897761174814", | |
| "ct": "14490362671170", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 380, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "49152168866534", | |
| "ct": "40847010240706", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 381, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "06800716996030", | |
| "ct": "15711755960443", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 382, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "35565556687321", | |
| "ct": "99929870326977", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 383, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "15065607878004", | |
| "ct": "00000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 384, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "54716871517760", | |
| "ct": "99999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 385, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "79493798153884", | |
| "ct": "83886088388608", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 386, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "8a9c22148e4fed1fc918f33eba1f06cc", | |
| "tweak": "c37a26d7ade80ea1", | |
| "msg": "82038915397474", | |
| "ct": "83886078388607", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 387, | |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "e63c4aef4149e55c3ea172c0", | |
| "msg": "35726956174020", | |
| "ct": "00000001395457", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 388, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "e63c4aef4149e55c3ea172c0", | |
| "msg": "93246984664588", | |
| "ct": "00000014040488", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 389, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "e63c4aef4149e55c3ea172c0", | |
| "msg": "29289858874027", | |
| "ct": "83886084076238", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 390, | |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "e63c4aef4149e55c3ea172c0", | |
| "msg": "54494972485775", | |
| "ct": "99999994931324", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 391, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "954e431b674fff4a5acbc53e", | |
| "msg": "31676473507031", | |
| "ct": "32943072288593", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 392, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "954e431b674fff4a5acbc53e", | |
| "msg": "17297126773305", | |
| "ct": "28923584524848", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 393, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "954e431b674fff4a5acbc53e", | |
| "msg": "09310826169092", | |
| "ct": "60937235881632", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 394, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "954e431b674fff4a5acbc53e", | |
| "msg": "36531741913030", | |
| "ct": "99600870466359", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 395, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "954e431b674fff4a5acbc53e", | |
| "msg": "00387577322295", | |
| "ct": "74864148006343", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 396, | |
| "comment": "y is maximal and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "2c6268f57340379f9f95a00d", | |
| "msg": "93685270000000", | |
| "ct": "57395100730978", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 397, | |
| "comment": "y is maximal and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "2c6268f57340379f9f95a00d", | |
| "msg": "04539600000001", | |
| "ct": "11285411114391", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 398, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "2c6268f57340379f9f95a00d", | |
| "msg": "77705890448384", | |
| "ct": "87202435470335", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 399, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "2c6268f57340379f9f95a00d", | |
| "msg": "03872630448385", | |
| "ct": "60466924663526", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 400, | |
| "comment": "y is maximal and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "2c6268f57340379f9f95a00d", | |
| "msg": "35238658388608", | |
| "ct": "93211473498230", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 401, | |
| "comment": "y is maximal and a is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "2c6268f57340379f9f95a00d", | |
| "msg": "93744629999999", | |
| "ct": "22090582507784", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 402, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "a8f63f14f467ea7bc197a18d", | |
| "msg": "54198794819268", | |
| "ct": "95516109786497", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 403, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "a8f63f14f467ea7bc197a18d", | |
| "msg": "94572797880478", | |
| "ct": "95516118305748", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 404, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "a8f63f14f467ea7bc197a18d", | |
| "msg": "03794623831650", | |
| "ct": "99999991965747", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 405, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "a8f63f14f467ea7bc197a18d", | |
| "msg": "88360376501976", | |
| "ct": "00000006867094", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 406, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "a8f63f14f467ea7bc197a18d", | |
| "msg": "02809342756995", | |
| "ct": "79402182063908", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 407, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "a8f63f14f467ea7bc197a18d", | |
| "msg": "77333254302047", | |
| "ct": "95516092614279", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 408, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "22b0540509e4f3defe58ce69", | |
| "msg": "98323319906131", | |
| "ct": "74315938714315", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 409, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "22b0540509e4f3defe58ce69", | |
| "msg": "43485091237759", | |
| "ct": "31625494666908", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 410, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "22b0540509e4f3defe58ce69", | |
| "msg": "54345596725543", | |
| "ct": "35059333439579", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 411, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "4dfedd6f97765da94b445cc712ea4e7f", | |
| "tweak": "22b0540509e4f3defe58ce69", | |
| "msg": "94065998571473", | |
| "ct": "86666377257063", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 412, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": "u6904501659449", | |
| "ct": "89103221989055", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 413, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": "6690a501659449", | |
| "ct": "25754435995998", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 414, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "3a6e047dffbfcdaf0ee7e0c93fc4c0e0", | |
| "tweak": "0e5628b6bce472c6", | |
| "msg": "6690450165944F", | |
| "ct": "13220051217044", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 415, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "255280588297f6165b1cdee11cd889c0", | |
| "tweak": "4b5f7aafefa149be", | |
| "msg": ":2441236106743", | |
| "ct": "16271798801459", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 416, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "255280588297f6165b1cdee11cd889c0", | |
| "tweak": "4b5f7aafefa149be", | |
| "msg": "0244:236106743", | |
| "ct": "63890463321664", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 417, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "255280588297f6165b1cdee11cd889c0", | |
| "tweak": "4b5f7aafefa149be", | |
| "msg": "0244123610674:", | |
| "ct": "33227008998777", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 15, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 418, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "7b0c5d430ef9383b04b2691ce3402a9a", | |
| "tweak": "ec71532112064259", | |
| "msg": "874286749217462", | |
| "ct": "611610077044921", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 419, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "000000000000000", | |
| "ct": "383669857320002", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 420, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "999999999999999", | |
| "ct": "434596715702915", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 421, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "838860867108864", | |
| "ct": "799697796810488", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 422, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "838860767108863", | |
| "ct": "601502308247089", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 423, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "086944424993160", | |
| "ct": "679091515688267", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 424, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "838428314316991", | |
| "ct": "261662042476906", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 425, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "342882427029381", | |
| "ct": "175674021646146", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 426, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "950288811064298", | |
| "ct": "024677478721562", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 427, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "342461729628093", | |
| "ct": "436756690282254", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 428, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "663736070645249", | |
| "ct": "014386031941081", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 429, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "065960681666626", | |
| "ct": "365070800444515", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 430, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "893407992694053", | |
| "ct": "656800577967027", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 431, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "301833097320732", | |
| "ct": "000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 432, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "400687467942831", | |
| "ct": "999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 433, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "277023154598708", | |
| "ct": "838860867108864", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 434, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "bd2dc7f87af6e676fa6bf4e92c43f183", | |
| "tweak": "71e1ede1a7e70a42", | |
| "msg": "732286461319457", | |
| "ct": "838860767108863", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 435, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c98beacdd39138a6af9bdd", | |
| "msg": "573887239092525", | |
| "ct": "295174734666743", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 436, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c98beacdd39138a6af9bdd", | |
| "msg": "691829967108558", | |
| "ct": "483596144514946", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 437, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c98beacdd39138a6af9bdd", | |
| "msg": "969448695503383", | |
| "ct": "354153170175132", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 438, | |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c98beacdd39138a6af9bdd", | |
| "msg": "975736196397410", | |
| "ct": "718900399770712", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 439, | |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "c98beacdd39138a6af9bdd", | |
| "msg": "513207119974378", | |
| "ct": "318177562339834", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 440, | |
| "comment": "y is maximal and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "957a315269bf1e6026b0e1", | |
| "msg": "299054340590998", | |
| "ct": "710674421377982", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 441, | |
| "comment": "y is maximal and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "957a315269bf1e6026b0e1", | |
| "msg": "586112521079466", | |
| "ct": "243365852203338", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 442, | |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "957a315269bf1e6026b0e1", | |
| "msg": "806431473516504", | |
| "ct": "400036737052471", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 443, | |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "957a315269bf1e6026b0e1", | |
| "msg": "628952471858879", | |
| "ct": "995470662425154", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 444, | |
| "comment": "y is maximal and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "957a315269bf1e6026b0e1", | |
| "msg": "804224916517694", | |
| "ct": "386573286167125", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 445, | |
| "comment": "y is maximal and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "957a315269bf1e6026b0e1", | |
| "msg": "814993041210879", | |
| "ct": "856332558240472", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 446, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "2fbdee789ede04397ab62c", | |
| "msg": "325670800498100", | |
| "ct": "845804281710968", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 447, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "2fbdee789ede04397ab62c", | |
| "msg": "678448978206315", | |
| "ct": "740820125535699", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 448, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "2fbdee789ede04397ab62c", | |
| "msg": "436192446838075", | |
| "ct": "540879575491342", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 449, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "2fbdee789ede04397ab62c", | |
| "msg": "596767843018347", | |
| "ct": "265589019571962", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 450, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "2fbdee789ede04397ab62c", | |
| "msg": "876714118316465", | |
| "ct": "862408335059706", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 451, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "2fbdee789ede04397ab62c", | |
| "msg": "173162048846119", | |
| "ct": "177349053878208", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 452, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "b660ea9b46b4d03e99d46a", | |
| "msg": "825213272235620", | |
| "ct": "117093712718687", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 453, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "b660ea9b46b4d03e99d46a", | |
| "msg": "877856429829280", | |
| "ct": "580454780500314", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 454, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "b660ea9b46b4d03e99d46a", | |
| "msg": "603270682675210", | |
| "ct": "531462472930283", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 455, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "b4aac83ef6dc59fd0ab9a7692e6ef3c4", | |
| "tweak": "b660ea9b46b4d03e99d46a", | |
| "msg": "801409545749303", | |
| "ct": "916205958716348", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 456, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": "o15428707052377", | |
| "ct": "878364867200397", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 457, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": "51542l707052377", | |
| "ct": "104609846248321", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 458, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "18f316e92e027b0d4d068bb94f8dd864", | |
| "tweak": "17d37026864474b3", | |
| "msg": "51542870705237%", | |
| "ct": "717312997243262", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 459, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e9f88c9a94f0ce8055acaba7bf69316a", | |
| "tweak": "fc986c06cfa4b878", | |
| "msg": ":90252841745677", | |
| "ct": "617796654917538", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 460, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e9f88c9a94f0ce8055acaba7bf69316a", | |
| "tweak": "fc986c06cfa4b878", | |
| "msg": "39025:841745677", | |
| "ct": "939675355128307", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 461, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e9f88c9a94f0ce8055acaba7bf69316a", | |
| "tweak": "fc986c06cfa4b878", | |
| "msg": "39025284174567:", | |
| "ct": "137847026349972", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 16, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 462, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "48f0d03e41cc55c4b58f737b5acdea32", | |
| "tweak": "30944debca89ca90", | |
| "msg": "8034598576075994", | |
| "ct": "8794383088134084", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 463, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "0000000000000000", | |
| "ct": "6555147190952664", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 464, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "9999999999999999", | |
| "ct": "1077605512792482", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 465, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "6710886467108864", | |
| "ct": "6103738883432117", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 466, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "6710886367108863", | |
| "ct": "1572164078442230", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 467, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "8288401120821435", | |
| "ct": "2781101484455822", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 468, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "0007366113615212", | |
| "ct": "2607714919190725", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 469, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "0273234099333249", | |
| "ct": "0175814946122219", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 470, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "8470317977739354", | |
| "ct": "7684600861195137", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 471, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "2006095225635380", | |
| "ct": "3393346684082520", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 472, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "3201670407991181", | |
| "ct": "7466062344579480", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 473, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "4958869954765421", | |
| "ct": "8698155691837438", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 474, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "0772271717147608", | |
| "ct": "5504464440804471", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 475, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "9391985518992864", | |
| "ct": "0000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 476, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "2333380170322031", | |
| "ct": "9999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 477, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "7020635264830567", | |
| "ct": "6710886467108864", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 478, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "58a68a9bf81642540bcff165563af592", | |
| "tweak": "a4a9513e222fab29", | |
| "msg": "0210274312270581", | |
| "ct": "6710886367108863", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 479, | |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "6f6680c05fdfa2674daea5", | |
| "msg": "0000000083980777", | |
| "ct": "7523102249935013", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 480, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "6f6680c05fdfa2674daea5", | |
| "msg": "0000000183980777", | |
| "ct": "9904136635654546", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 481, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "6f6680c05fdfa2674daea5", | |
| "msg": "6710886483980777", | |
| "ct": "4787628677438554", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 482, | |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "6f6680c05fdfa2674daea5", | |
| "msg": "9999999983980777", | |
| "ct": "7190699638166155", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 483, | |
| "comment": "y = 1 and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "c7d91b3c6eb5cac3af8bf7", | |
| "msg": "2906560700000000", | |
| "ct": "7230815429511901", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 484, | |
| "comment": "y = 1 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "c7d91b3c6eb5cac3af8bf7", | |
| "msg": "0907418600000001", | |
| "ct": "6978355108172554", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 485, | |
| "comment": "y = 1 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "c7d91b3c6eb5cac3af8bf7", | |
| "msg": "9751652967108864", | |
| "ct": "3751879518286107", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 486, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "c7d91b3c6eb5cac3af8bf7", | |
| "msg": "0503965299999998", | |
| "ct": "8852089094049921", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 487, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "c7d91b3c6eb5cac3af8bf7", | |
| "msg": "3415842099999999", | |
| "ct": "9794109472649686", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 488, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "60952e402a2a4a125d82d1", | |
| "msg": "0000000093777081", | |
| "ct": "6285723401597140", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 489, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "60952e402a2a4a125d82d1", | |
| "msg": "0000000193777081", | |
| "ct": "6686709106918895", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 490, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "60952e402a2a4a125d82d1", | |
| "msg": "6710886493777081", | |
| "ct": "2834199406214188", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 491, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "60952e402a2a4a125d82d1", | |
| "msg": "9044838493777081", | |
| "ct": "5216578857559290", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 492, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "60952e402a2a4a125d82d1", | |
| "msg": "9044838593777081", | |
| "ct": "5257416350979260", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 493, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "60952e402a2a4a125d82d1", | |
| "msg": "9999999993777081", | |
| "ct": "6480716199821203", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 494, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "786802b7b5b29912f29f8f", | |
| "msg": "6440958233314857", | |
| "ct": "3153279009551610", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 495, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "786802b7b5b29912f29f8f", | |
| "msg": "1998857608316857", | |
| "ct": "3153279009551611", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 496, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "786802b7b5b29912f29f8f", | |
| "msg": "6713694806319049", | |
| "ct": "3153279076660474", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 497, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "786802b7b5b29912f29f8f", | |
| "msg": "7673934482562426", | |
| "ct": "3153279099999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 498, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "786802b7b5b29912f29f8f", | |
| "msg": "5067199321626890", | |
| "ct": "3153279000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 499, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "786802b7b5b29912f29f8f", | |
| "msg": "4706049062663751", | |
| "ct": "3153279009551609", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 500, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "d76042ee2f15d4d6973778", | |
| "msg": "9279211989571830", | |
| "ct": "4058404699999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 501, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "d76042ee2f15d4d6973778", | |
| "msg": "0883191337659472", | |
| "ct": "4058404600000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 502, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "d76042ee2f15d4d6973778", | |
| "msg": "9282795228146064", | |
| "ct": "4058404667108863", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 503, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "ce2295b38289779ad19a532cd6be845b", | |
| "tweak": "d76042ee2f15d4d6973778", | |
| "msg": "6228688746049165", | |
| "ct": "4058404699999998", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 504, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": "E367516771755568", | |
| "ct": "6577469639768264", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 505, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": "23675l6771755568", | |
| "ct": "0531877378156541", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 506, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "c3a8f68c88eeea1a255db6a7e012ec22", | |
| "tweak": "a841e8a1819dfb69", | |
| "msg": "236751677175556t", | |
| "ct": "8537371464968173", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 507, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "75f6e6cbd62340f0afa465ca9c334c6a", | |
| "tweak": "c40212e6b28ad0c0", | |
| "msg": ":516438722158111", | |
| "ct": "5000032757053273", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 508, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "75f6e6cbd62340f0afa465ca9c334c6a", | |
| "tweak": "c40212e6b28ad0c0", | |
| "msg": "95164:8722158111", | |
| "ct": "9395039827712427", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 509, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "75f6e6cbd62340f0afa465ca9c334c6a", | |
| "tweak": "c40212e6b28ad0c0", | |
| "msg": "951643872215811:", | |
| "ct": "9585336549527046", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 17, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 510, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "22351a53774415942eb879b483eda9a2", | |
| "tweak": "b4a5dce9958d53fc", | |
| "msg": "16656715739840102", | |
| "ct": "69899660029036403", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 511, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "00000000000000000", | |
| "ct": "45655184047110290", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 512, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "99999999999999999", | |
| "ct": "22492185582094470", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 513, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "67108864536870912", | |
| "ct": "75868241556695768", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 514, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "67108863536870911", | |
| "ct": "88873269734182585", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 515, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "47022804695388908", | |
| "ct": "54562057731711732", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 516, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "16510552568132871", | |
| "ct": "27093485604398067", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 517, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "11529412795887192", | |
| "ct": "42234232574217063", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 518, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "42114320533982390", | |
| "ct": "48348138481556495", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 519, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "03550797000043634", | |
| "ct": "86572460745016266", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 520, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "63489140806246539", | |
| "ct": "06577432471819146", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 521, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "18399891628783364", | |
| "ct": "50851443894439435", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 522, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "50099545371017678", | |
| "ct": "66430045474849685", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 523, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "87677713716328417", | |
| "ct": "00000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 524, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "60347993564298069", | |
| "ct": "99999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 525, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "37415405620854121", | |
| "ct": "67108864536870912", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 526, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "586c34235df3fd6ed8995a643fd52d41", | |
| "tweak": "c41f1671a352a8fb", | |
| "msg": "00512799453521559", | |
| "ct": "67108863536870911", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 527, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b7a4fb08de69b3739f016a", | |
| "msg": "82405793000000000", | |
| "ct": "90525241871407975", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 528, | |
| "comment": "y = 0 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b7a4fb08de69b3739f016a", | |
| "msg": "65667999000000001", | |
| "ct": "23558270643179219", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 529, | |
| "comment": "y = 0 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b7a4fb08de69b3739f016a", | |
| "msg": "93337389536870912", | |
| "ct": "41233149135158427", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 530, | |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "b7a4fb08de69b3739f016a", | |
| "msg": "64950661999999999", | |
| "ct": "38629489635185022", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 531, | |
| "comment": "y = 1 and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "3dec6f990bfea98c1831e5", | |
| "msg": "60477732940925246", | |
| "ct": "00000001684809532", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 532, | |
| "comment": "y = 1 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "3dec6f990bfea98c1831e5", | |
| "msg": "24528470664834576", | |
| "ct": "00000002077759405", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 533, | |
| "comment": "y = 1 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "3dec6f990bfea98c1831e5", | |
| "msg": "35707018153045339", | |
| "ct": "67108865601912336", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 534, | |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "3dec6f990bfea98c1831e5", | |
| "msg": "97030449864752367", | |
| "ct": "99999999047577001", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 535, | |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "3dec6f990bfea98c1831e5", | |
| "msg": "56289029146583660", | |
| "ct": "00000000764262338", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 536, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "3ddd889a07c21e0922fe25", | |
| "msg": "00000000774160408", | |
| "ct": "34387489746752625", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 537, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "3ddd889a07c21e0922fe25", | |
| "msg": "00000001774160408", | |
| "ct": "67608441664754124", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 538, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "3ddd889a07c21e0922fe25", | |
| "msg": "67108864774160408", | |
| "ct": "93985146450676958", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 539, | |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "3ddd889a07c21e0922fe25", | |
| "msg": "90448384774160408", | |
| "ct": "73229070532699595", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 540, | |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "3ddd889a07c21e0922fe25", | |
| "msg": "90448385774160408", | |
| "ct": "08072896697968278", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 541, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "3ddd889a07c21e0922fe25", | |
| "msg": "99999999774160408", | |
| "ct": "71017050251138040", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 542, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "dea1ec5947bf186774a337", | |
| "msg": "82864381807711453", | |
| "ct": "38212630230981553", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 543, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "dea1ec5947bf186774a337", | |
| "msg": "59637780573134536", | |
| "ct": "72098045056595212", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 544, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "dea1ec5947bf186774a337", | |
| "msg": "76254300779433427", | |
| "ct": "26097758524897530", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 545, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "dea1ec5947bf186774a337", | |
| "msg": "25416572002183808", | |
| "ct": "23621181624228288", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 546, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "dea1ec5947bf186774a337", | |
| "msg": "42730507196526931", | |
| "ct": "29576958159980384", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 547, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "dea1ec5947bf186774a337", | |
| "msg": "54807777413313376", | |
| "ct": "33162815412750750", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 548, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "47642d89c4f3ca4bd15055", | |
| "msg": "13149561494669792", | |
| "ct": "44679763498419886", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 549, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "47642d89c4f3ca4bd15055", | |
| "msg": "72970921276391551", | |
| "ct": "28673315560851843", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 550, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "47642d89c4f3ca4bd15055", | |
| "msg": "35157676724941275", | |
| "ct": "19280564847971256", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 551, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "47b31cab4872b3dfea0ebed259ac5cb7", | |
| "tweak": "47642d89c4f3ca4bd15055", | |
| "msg": "98341106422123335", | |
| "ct": "02613624883068186", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 552, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": ",0561722013681856", | |
| "ct": "35373122066769878", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 553, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": "70561;22013681856", | |
| "ct": "87027854738209250", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 554, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2ec80962dad2bf783abd539d85a7c8d6", | |
| "tweak": "1a36d2cb8088c664", | |
| "msg": "7056172201368185h", | |
| "ct": "50261762188269434", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 555, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "357a3f03004d991f4b31220e41332ab4", | |
| "tweak": "30dbfd607ea53dd7", | |
| "msg": ":5901595586786059", | |
| "ct": "37107083188303358", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 556, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "357a3f03004d991f4b31220e41332ab4", | |
| "tweak": "30dbfd607ea53dd7", | |
| "msg": "55901:95586786059", | |
| "ct": "43390745688175846", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 557, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "357a3f03004d991f4b31220e41332ab4", | |
| "tweak": "30dbfd607ea53dd7", | |
| "msg": "5590159558678605:", | |
| "ct": "11374952916846374", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 18, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 558, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "40dcd7ccae73e5e9bba5523fbab77a3c", | |
| "tweak": "60ddd7c8df1437cf", | |
| "msg": "312792884666359979", | |
| "ct": "123974634082603932", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 559, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "000000000000000000", | |
| "ct": "828284590654193255", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 560, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "999999999999999999", | |
| "ct": "202347655123481654", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 561, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "536870912536870912", | |
| "ct": "921624822334528144", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 562, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "536870911536870911", | |
| "ct": "670503777600074737", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 563, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "965169782741507610", | |
| "ct": "991288218595472598", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 564, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "276027919674891237", | |
| "ct": "902745012851809800", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 565, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "848165807357223418", | |
| "ct": "388985516105100038", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 566, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "569864473062988600", | |
| "ct": "765471701440955764", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 567, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "355659813150377016", | |
| "ct": "128414485288875966", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 568, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "703164673578664261", | |
| "ct": "806980080668570716", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 569, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "524718483943190907", | |
| "ct": "267740000803791424", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 570, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "512084552661679499", | |
| "ct": "551063259154562709", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 571, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "820164798572789324", | |
| "ct": "000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 572, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "940427798755415706", | |
| "ct": "999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 573, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "565629596473070117", | |
| "ct": "536870912536870912", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 574, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "fbe6a74c32f28d6fcb00598b1d6c531a", | |
| "tweak": "308cfb8c6402c842", | |
| "msg": "173509775114386224", | |
| "ct": "536870911536870911", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 575, | |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "ef076bcb9e8df85864592a", | |
| "msg": "308379467437164604", | |
| "ct": "440597649663277898", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 576, | |
| "comment": "y = 0 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "ef076bcb9e8df85864592a", | |
| "msg": "231926623999837269", | |
| "ct": "411172908191887150", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 577, | |
| "comment": "y = 0 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "ef076bcb9e8df85864592a", | |
| "msg": "381834128231415609", | |
| "ct": "134420302916122154", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 578, | |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "ef076bcb9e8df85864592a", | |
| "msg": "117844438464355787", | |
| "ct": "897211823138077136", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 579, | |
| "comment": "y = 1 and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "5491625030d8587492866c", | |
| "msg": "760354647000000000", | |
| "ct": "279707111438794631", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 580, | |
| "comment": "y = 1 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "5491625030d8587492866c", | |
| "msg": "650156099000000001", | |
| "ct": "696323203818319683", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 581, | |
| "comment": "y = 1 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "5491625030d8587492866c", | |
| "msg": "446741262536870912", | |
| "ct": "751060621936090724", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 582, | |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "5491625030d8587492866c", | |
| "msg": "147612120999999998", | |
| "ct": "402068791323906154", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 583, | |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "5491625030d8587492866c", | |
| "msg": "564950694999999999", | |
| "ct": "848476236637835785", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 584, | |
| "comment": "y is maximal and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "ba3298afd2bef5b7a88bae", | |
| "msg": "084024013533276270", | |
| "ct": "318280629908348680", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 585, | |
| "comment": "y is maximal and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "ba3298afd2bef5b7a88bae", | |
| "msg": "938902335101193707", | |
| "ct": "142621390068587343", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 586, | |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "ba3298afd2bef5b7a88bae", | |
| "msg": "756121674724957335", | |
| "ct": "196502478832501548", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 587, | |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "ba3298afd2bef5b7a88bae", | |
| "msg": "160076000932631220", | |
| "ct": "229486321902753823", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 588, | |
| "comment": "y is maximal and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "ba3298afd2bef5b7a88bae", | |
| "msg": "612074526308432519", | |
| "ct": "969575267489411068", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 589, | |
| "comment": "y is maximal and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "ba3298afd2bef5b7a88bae", | |
| "msg": "085826788177747384", | |
| "ct": "913563032632744485", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 590, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "50886ce55e492c20e982b0", | |
| "msg": "398376743000000000", | |
| "ct": "595214684486081030", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 591, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "50886ce55e492c20e982b0", | |
| "msg": "394831521000000001", | |
| "ct": "364115721083436229", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 592, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "50886ce55e492c20e982b0", | |
| "msg": "192074414290448389", | |
| "ct": "477301219420513608", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 593, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "50886ce55e492c20e982b0", | |
| "msg": "182374992290448390", | |
| "ct": "195297209174375988", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 594, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "50886ce55e492c20e982b0", | |
| "msg": "934999422536870912", | |
| "ct": "170697949911107225", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 595, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "50886ce55e492c20e982b0", | |
| "msg": "935731070999999999", | |
| "ct": "575101087068350711", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 596, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "f5de28f293888ff90a3603", | |
| "msg": "880392186651438949", | |
| "ct": "830570294597793350", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 597, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "f5de28f293888ff90a3603", | |
| "msg": "557480652548963405", | |
| "ct": "607728232571854153", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 598, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "f5de28f293888ff90a3603", | |
| "msg": "164583185531864064", | |
| "ct": "328690204793081164", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 599, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "93f59a2f91ad3ca69e10b50b2ada2f7f", | |
| "tweak": "f5de28f293888ff90a3603", | |
| "msg": "629108227919504939", | |
| "ct": "993534030201486144", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 600, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": "v77861068730805791", | |
| "ct": "311769291860507349", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 601, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": "577861T68730805791", | |
| "ct": "959101648958520839", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 602, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8f3a40ed121d763ce94121d1a884ac4f", | |
| "tweak": "5e37cf940f79d378", | |
| "msg": "57786106873080579B", | |
| "ct": "235001394636336303", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 603, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8b71e29911e5e5f71ea9807881497ed7", | |
| "tweak": "129b8bf69fd6a568", | |
| "msg": ":73725684549382718", | |
| "ct": "153674853362890674", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 604, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8b71e29911e5e5f71ea9807881497ed7", | |
| "tweak": "129b8bf69fd6a568", | |
| "msg": "173725:84549382718", | |
| "ct": "028955968882275255", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 605, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "8b71e29911e5e5f71ea9807881497ed7", | |
| "tweak": "129b8bf69fd6a568", | |
| "msg": "17372568454938271:", | |
| "ct": "179563025558243889", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 19, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 606, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "3591cc97af4a5d1492305f87269ee691", | |
| "tweak": "13786144a50ef10a", | |
| "msg": "0991913193062681250", | |
| "ct": "2006094528903703200", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 607, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "0000000000000000000", | |
| "ct": "2041442339158701282", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 608, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "9999999999999999999", | |
| "ct": "2210043229686813875", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 609, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "5368709128589934592", | |
| "ct": "8491433008563164872", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 610, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "5368709118589934591", | |
| "ct": "6800557808780465577", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 611, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "5386390694882051418", | |
| "ct": "2886600224389780614", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 612, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "7879053426254453040", | |
| "ct": "5726114229731229179", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 613, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "1686471482036043445", | |
| "ct": "2548893338190777873", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 614, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "4216636542188476396", | |
| "ct": "1370870045517901398", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 615, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "5684394347310564699", | |
| "ct": "4760244206335457799", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 616, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "3916828638663076511", | |
| "ct": "3259412735329945700", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 617, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "9966732750666662010", | |
| "ct": "5919548893042820336", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 618, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "2090381010578992512", | |
| "ct": "0359815619255402904", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 619, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "0933995779388163611", | |
| "ct": "0000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 620, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "4960645591596307208", | |
| "ct": "9999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 621, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "0220997270238685859", | |
| "ct": "5368709128589934592", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 622, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cd031dce5e1bca3a7e04c997ac13ef2d", | |
| "tweak": "3d906a02e77bcc5c", | |
| "msg": "8345219348704015045", | |
| "ct": "5368709118589934591", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 623, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": "M125696291755697607", | |
| "ct": "7323488674903741100", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 624, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": "812569t291755697607", | |
| "ct": "9699408057074352133", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 625, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1cf89329cac719e6c7544a9303e78801", | |
| "tweak": "169faf154b10cac4", | |
| "msg": "812569629175569760U", | |
| "ct": "7339382956196140868", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 626, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b52f36f2bda28d8e034e8b3b97b54217", | |
| "tweak": "b8324e08c45764eb", | |
| "msg": ":842821101976068387", | |
| "ct": "5296840560158180139", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 627, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b52f36f2bda28d8e034e8b3b97b54217", | |
| "tweak": "b8324e08c45764eb", | |
| "msg": "884282:101976068387", | |
| "ct": "3746470103709120033", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 628, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "b52f36f2bda28d8e034e8b3b97b54217", | |
| "tweak": "b8324e08c45764eb", | |
| "msg": "884282110197606838:", | |
| "ct": "8782356132146473745", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 20, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 629, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "ccdf8f792a48fd841d49e060315b0c3d", | |
| "tweak": "508c6ff22207dc5b", | |
| "msg": "55289601297598657083", | |
| "ct": "13852588211210314733", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 630, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "00000000000000000000", | |
| "ct": "16273010795097569183", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 631, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "99999999999999999999", | |
| "ct": "79534976900315504752", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 632, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "85899345928589934592", | |
| "ct": "47873682903570393369", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 633, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "85899345918589934591", | |
| "ct": "20390655314730588863", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 634, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "93692105713888903986", | |
| "ct": "85174458139898216278", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 635, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "30604269634170756689", | |
| "ct": "56819632294384497638", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 636, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "74270426362209694323", | |
| "ct": "78597397884345242490", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 637, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "85872571618224074411", | |
| "ct": "66477010417712076947", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 638, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "24118837505798068827", | |
| "ct": "21182926215372791324", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 639, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "89353273463934192796", | |
| "ct": "44265201873545985929", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 640, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "99892092560204351220", | |
| "ct": "63639238648522958750", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 641, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "42193075870758700036", | |
| "ct": "38860103531167620500", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 642, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "82220295259642804652", | |
| "ct": "00000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 643, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "12839264466963829837", | |
| "ct": "99999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 644, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "35055256307240728879", | |
| "ct": "85899345928589934592", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 645, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "e957b00cf440abed5e9a5d06cd5f5cdb", | |
| "tweak": "f6fa77d46df38c3b", | |
| "msg": "52950420513056423667", | |
| "ct": "85899345918589934591", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 646, | |
| "comment": "y = 1 and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "568bdab730d738698ec5", | |
| "msg": "48175455230350458762", | |
| "ct": "26571821704148701004", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 647, | |
| "comment": "y = 1 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "568bdab730d738698ec5", | |
| "msg": "96850761080510655372", | |
| "ct": "32072484134217857851", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 648, | |
| "comment": "y = 1 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "568bdab730d738698ec5", | |
| "msg": "83954835388267493155", | |
| "ct": "68362273215855012206", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 649, | |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "568bdab730d738698ec5", | |
| "msg": "21752587391010470373", | |
| "ct": "38359308953949931902", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 650, | |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "568bdab730d738698ec5", | |
| "msg": "14516422708836169390", | |
| "ct": "52337574540267736061", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 651, | |
| "comment": "y is maximal and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "d051f3dc9d2efd167b35", | |
| "msg": "83950142252983329261", | |
| "ct": "99094326254128689574", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 652, | |
| "comment": "y is maximal and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "d051f3dc9d2efd167b35", | |
| "msg": "82824344265074852467", | |
| "ct": "05926482040355265550", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 653, | |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "d051f3dc9d2efd167b35", | |
| "msg": "00751618426978690901", | |
| "ct": "87979135582556730101", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 654, | |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "d051f3dc9d2efd167b35", | |
| "msg": "76940110041096479412", | |
| "ct": "89429750762139743713", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 655, | |
| "comment": "y is maximal and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "d051f3dc9d2efd167b35", | |
| "msg": "52364624807352283605", | |
| "ct": "53897346717761791104", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 656, | |
| "comment": "y is maximal and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "d051f3dc9d2efd167b35", | |
| "msg": "22373469436554908607", | |
| "ct": "47819810771781839959", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 657, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "6c4d683af9019be9543e", | |
| "msg": "06801910838778108393", | |
| "ct": "84508182103231165222", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 658, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "6c4d683af9019be9543e", | |
| "msg": "11767203274859007203", | |
| "ct": "15558214163996994569", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 659, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "6c4d683af9019be9543e", | |
| "msg": "91014214744180250889", | |
| "ct": "14643212718074999047", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 660, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "6c4d683af9019be9543e", | |
| "msg": "16359080777386920734", | |
| "ct": "85895668202382683237", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 661, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "6c4d683af9019be9543e", | |
| "msg": "28701967599013934029", | |
| "ct": "07343171246036768668", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 662, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "6c4d683af9019be9543e", | |
| "msg": "82527284715172478887", | |
| "ct": "71057139842329789876", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 663, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "ea7271d93dfa1384f681", | |
| "msg": "98479460380000000000", | |
| "ct": "43671221559543997031", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 664, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "ea7271d93dfa1384f681", | |
| "msg": "92619616920000000001", | |
| "ct": "60758383032386933210", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 665, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "ea7271d93dfa1384f681", | |
| "msg": "90359062168589934592", | |
| "ct": "42587916141636515888", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 666, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "541d381b9f5c1e6ae2cc1b92e7c7e5e3", | |
| "tweak": "ea7271d93dfa1384f681", | |
| "msg": "27698719489999999999", | |
| "ct": "55431307880065177923", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 667, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", | |
| "tweak": "76f494b34dbcd3bc", | |
| "msg": "o1656426219774104847", | |
| "ct": "35154201267112952020", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 668, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", | |
| "tweak": "76f494b34dbcd3bc", | |
| "msg": "316564q6219774104847", | |
| "ct": "03541532554828468064", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 669, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "4e8c0fdab138c9df8d4a888e6c2df1dd", | |
| "tweak": "76f494b34dbcd3bc", | |
| "msg": "3165642621977410484^", | |
| "ct": "06490357367332497849", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 670, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a651a147307c5f71403bbbb81bb16b70", | |
| "tweak": "9aeac07b967aedb6", | |
| "msg": ":4289828241112983043", | |
| "ct": "31243503091830239972", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 671, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a651a147307c5f71403bbbb81bb16b70", | |
| "tweak": "9aeac07b967aedb6", | |
| "msg": "742898:8241112983043", | |
| "ct": "06523578479324246147", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 672, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a651a147307c5f71403bbbb81bb16b70", | |
| "tweak": "9aeac07b967aedb6", | |
| "msg": "7428982824111298304:", | |
| "ct": "94978982313642829452", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 21, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 673, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "c0e4c4a9b86c17e4efe9a12733e7aff4", | |
| "tweak": "f71b48c8172125d4", | |
| "msg": "097065494500496981262", | |
| "ct": "698507155586707316237", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 674, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "000000000000000000000", | |
| "ct": "411584200744090626147", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 675, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "999999999999999999999", | |
| "ct": "112754212550183376608", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 676, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "858993459268719476736", | |
| "ct": "797336299943703226184", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 677, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "858993459168719476735", | |
| "ct": "242491856158408794596", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 678, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "636541639004359944632", | |
| "ct": "104502850032812580232", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 679, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "664111659661786997885", | |
| "ct": "479178800674165626535", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 680, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "733063099284549281796", | |
| "ct": "967971052945224289531", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 681, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "012770848686822424119", | |
| "ct": "647412074879610190253", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 682, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "202463531680456087201", | |
| "ct": "165529082651850536790", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 683, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "175023719342801312410", | |
| "ct": "914033178080777354993", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 684, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "052600441894394803225", | |
| "ct": "876541441056633517207", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 685, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "230730159419189136928", | |
| "ct": "628143468015921767888", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 686, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "106220242085656748600", | |
| "ct": "000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 687, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "730843936367008493911", | |
| "ct": "999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 688, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "405647721088463099604", | |
| "ct": "858993459268719476736", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 689, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "25d4448872edf13aa8be04f271b3568c", | |
| "tweak": "e243d35dba4fcc44", | |
| "msg": "565819576920885181770", | |
| "ct": "858993459168719476735", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 690, | |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "1e3a581baf26c2afc89d", | |
| "msg": "000000000074303737987", | |
| "ct": "532076721573033902346", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 691, | |
| "comment": "y = 0 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "1e3a581baf26c2afc89d", | |
| "msg": "000000000174303737987", | |
| "ct": "393176281351237616250", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 692, | |
| "comment": "y = 0 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "1e3a581baf26c2afc89d", | |
| "msg": "858993459274303737987", | |
| "ct": "626280971224558667108", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 693, | |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "1e3a581baf26c2afc89d", | |
| "msg": "999999999974303737987", | |
| "ct": "673238712533348254216", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 694, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "2040532af7d16ea26f69", | |
| "msg": "000000000078287104289", | |
| "ct": "466017366848006110414", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 695, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "2040532af7d16ea26f69", | |
| "msg": "000000000178287104289", | |
| "ct": "441475575506104449542", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 696, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "2040532af7d16ea26f69", | |
| "msg": "858993459278287104289", | |
| "ct": "925821641078660086927", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 697, | |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "2040532af7d16ea26f69", | |
| "msg": "999999999878287104289", | |
| "ct": "104199695535331553276", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 698, | |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "2040532af7d16ea26f69", | |
| "msg": "999999999978287104289", | |
| "ct": "097073942200869106778", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 699, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "ba98fc0243c8ea3d8925", | |
| "msg": "000000000018190230496", | |
| "ct": "443383563061597315822", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 700, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "ba98fc0243c8ea3d8925", | |
| "msg": "000000000118190230496", | |
| "ct": "805039684847298929759", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 701, | |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "ba98fc0243c8ea3d8925", | |
| "msg": "645604966418190230496", | |
| "ct": "420531760466940118095", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 702, | |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "ba98fc0243c8ea3d8925", | |
| "msg": "645604966518190230496", | |
| "ct": "352022869268490072507", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 703, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "ba98fc0243c8ea3d8925", | |
| "msg": "858993459218190230496", | |
| "ct": "491770326408038971874", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 704, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "ba98fc0243c8ea3d8925", | |
| "msg": "999999999918190230496", | |
| "ct": "875845621159053861512", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 705, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "0d19090122416d23df10", | |
| "msg": "675499082724766568105", | |
| "ct": "801432312068835293554", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 706, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "0d19090122416d23df10", | |
| "msg": "917211510271465347932", | |
| "ct": "304380965890679973300", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 707, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "0d19090122416d23df10", | |
| "msg": "760952641049089559754", | |
| "ct": "839402115708106133216", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 708, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "0d19090122416d23df10", | |
| "msg": "523787387253596708542", | |
| "ct": "166833459961533186450", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 709, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "0d19090122416d23df10", | |
| "msg": "969349565675608427382", | |
| "ct": "862770168488750321542", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 710, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "0d19090122416d23df10", | |
| "msg": "216773525583617909521", | |
| "ct": "548503028844282793203", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 711, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "44fa145ad6b039c04f88", | |
| "msg": "532343133041644164062", | |
| "ct": "999999999902199734520", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 712, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "44fa145ad6b039c04f88", | |
| "msg": "846550679536995110730", | |
| "ct": "000000000082480582779", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 713, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "44fa145ad6b039c04f88", | |
| "msg": "560754673890826724243", | |
| "ct": "858993459190194512424", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 714, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "54897a7e63855142189bc30a692271dd", | |
| "tweak": "44fa145ad6b039c04f88", | |
| "msg": "944672150683350792915", | |
| "ct": "999999999832205030475", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 715, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", | |
| "tweak": "d0a005b45247f038", | |
| "msg": "b46079750189654770293", | |
| "ct": "405125685182958978727", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 716, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", | |
| "tweak": "d0a005b45247f038", | |
| "msg": "3460797K0189654770293", | |
| "ct": "096649311017364162594", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 717, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fd90f1e9599e12563bf788a1a521d6ab", | |
| "tweak": "d0a005b45247f038", | |
| "msg": "34607975018965477029[", | |
| "ct": "753501987341595816946", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 718, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1ca448e0bbdd64179e1cecadc4281983", | |
| "tweak": "3134ec2cad79837b", | |
| "msg": ":31858278367437688033", | |
| "ct": "622999248384439284721", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 719, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1ca448e0bbdd64179e1cecadc4281983", | |
| "tweak": "3134ec2cad79837b", | |
| "msg": "3318582:8367437688033", | |
| "ct": "797428439595906470075", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 720, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1ca448e0bbdd64179e1cecadc4281983", | |
| "tweak": "3134ec2cad79837b", | |
| "msg": "33185827836743768803:", | |
| "ct": "496271889739579044560", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 22, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 721, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "9ed2a54df9219a3d61b5f1758b73bda6", | |
| "tweak": "5ecd852b587b8148", | |
| "msg": "2709807751789577495693", | |
| "ct": "8073629716260675860172", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 722, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "0000000000000000000000", | |
| "ct": "7163252638380787648671", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 723, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "9999999999999999999999", | |
| "ct": "6645869399187633388263", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 724, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "6871947673668719476736", | |
| "ct": "9823240319351111566773", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 725, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "6871947673568719476735", | |
| "ct": "0395751265159850917325", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 726, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "8164019876726680507171", | |
| "ct": "5082020919617951292117", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 727, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "3272798324067478546747", | |
| "ct": "5986241497623068057485", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 728, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "4984236445671904337322", | |
| "ct": "9243718029125673632391", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 729, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "4175461538166073088977", | |
| "ct": "9875539493441577297857", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 730, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "7645656224981886792686", | |
| "ct": "4762121505759097775981", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 731, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "9466381622617242070133", | |
| "ct": "7067822040021791389297", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 732, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "0909196384687867603247", | |
| "ct": "6126320968926536306878", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 733, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "2090685549978166173807", | |
| "ct": "0551598577300515181001", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 734, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "6932197761287324302336", | |
| "ct": "0000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 735, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "1404737519214929359335", | |
| "ct": "9999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 736, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "5887060822259845621387", | |
| "ct": "6871947673668719476736", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 737, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "97ad828cba00ca3d4ee15115dc5845a7", | |
| "tweak": "695c7692d9cebe71", | |
| "msg": "0363017404225225109680", | |
| "ct": "6871947673568719476735", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 738, | |
| "comment": "y = 0 and (y + a) % radix**11 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "26aae96a8ef1068992bc", | |
| "msg": "5430551179127686361732", | |
| "ct": "8902303259487871026275", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 739, | |
| "comment": "y = 0 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "26aae96a8ef1068992bc", | |
| "msg": "8706192100560336825168", | |
| "ct": "3600924431426070763845", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 740, | |
| "comment": "y = 0 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "26aae96a8ef1068992bc", | |
| "msg": "9672603184542286588315", | |
| "ct": "0716778162637501977671", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 741, | |
| "comment": "y = 0 and (y + a) % radix**11 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "26aae96a8ef1068992bc", | |
| "msg": "8918815008216036866789", | |
| "ct": "1677176968886947674832", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 742, | |
| "comment": "y = 1 and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "fa350c38a91cf60370ef", | |
| "msg": "0000000000039701445469", | |
| "ct": "3194407299156047634248", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 743, | |
| "comment": "y = 1 and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "fa350c38a91cf60370ef", | |
| "msg": "0000000000139701445469", | |
| "ct": "2996020378677726653789", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 744, | |
| "comment": "y = 1 and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "fa350c38a91cf60370ef", | |
| "msg": "6871947673639701445469", | |
| "ct": "4828693916225859949887", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 745, | |
| "comment": "y = 1 and (y + a) % radix**11 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "fa350c38a91cf60370ef", | |
| "msg": "9999999999839701445469", | |
| "ct": "8025838272147078765215", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 746, | |
| "comment": "y = 1 and (y + a) % radix**11 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "fa350c38a91cf60370ef", | |
| "msg": "9999999999939701445469", | |
| "ct": "4486937492624102365577", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 747, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "f2046e07c28888e997dd", | |
| "msg": "0000000000026166614673", | |
| "ct": "5005231505738900761215", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 748, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "f2046e07c28888e997dd", | |
| "msg": "0000000000126166614673", | |
| "ct": "5597428746332423736401", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 749, | |
| "comment": "y is maximal and (y + a) % radix**11 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "f2046e07c28888e997dd", | |
| "msg": "0645604966426166614673", | |
| "ct": "2617050184580986659871", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 750, | |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "f2046e07c28888e997dd", | |
| "msg": "0645604966526166614673", | |
| "ct": "4806338719094437428483", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 751, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "f2046e07c28888e997dd", | |
| "msg": "6871947673626166614673", | |
| "ct": "1506144068585462101879", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 752, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "f2046e07c28888e997dd", | |
| "msg": "9999999999926166614673", | |
| "ct": "0005788825852781392370", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 753, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "34de840c14fd54c13742", | |
| "msg": "5154777559744278629905", | |
| "ct": "6785515874667725612982", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 754, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "34de840c14fd54c13742", | |
| "msg": "9912105515319763575242", | |
| "ct": "7461005526800534984396", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 755, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "34de840c14fd54c13742", | |
| "msg": "9418059335982007928568", | |
| "ct": "7433437950597938572520", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 756, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "34de840c14fd54c13742", | |
| "msg": "2731430448873074517287", | |
| "ct": "6055746198981734706820", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 757, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "34de840c14fd54c13742", | |
| "msg": "3810515006408898762174", | |
| "ct": "8393249048321699746680", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 758, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "34de840c14fd54c13742", | |
| "msg": "7017560424635311539659", | |
| "ct": "8511954856674999315979", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 759, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "2e1d3fc3fc5adbcce5f0", | |
| "msg": "8602651916839824980634", | |
| "ct": "3222752421795876608411", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 760, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "2e1d3fc3fc5adbcce5f0", | |
| "msg": "1532349377493684383141", | |
| "ct": "8008932399564539770465", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 761, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "2e1d3fc3fc5adbcce5f0", | |
| "msg": "4286411916967609323558", | |
| "ct": "9355640611898334584566", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 762, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "42ace51e4cacf58876336222ae9b433e", | |
| "tweak": "2e1d3fc3fc5adbcce5f0", | |
| "msg": "6853071590067686119283", | |
| "ct": "3536100960077275801822", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 763, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1a09b8fb562701a282ce28747f0b0a52", | |
| "tweak": "ec1b2b9ede1b38ea", | |
| "msg": "T700484271014796855457", | |
| "ct": "7653754660078659903587", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 764, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1a09b8fb562701a282ce28747f0b0a52", | |
| "tweak": "ec1b2b9ede1b38ea", | |
| "msg": "6700484a71014796855457", | |
| "ct": "3650071852251172625409", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 765, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "1a09b8fb562701a282ce28747f0b0a52", | |
| "tweak": "ec1b2b9ede1b38ea", | |
| "msg": "670048427101479685545Z", | |
| "ct": "1944062699639648432109", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 766, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0297a8f4c3d74fccf99fd3c459610b57", | |
| "tweak": "f318ab65834d4ae6", | |
| "msg": ":431439473280371583682", | |
| "ct": "8287595324010842658486", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 767, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0297a8f4c3d74fccf99fd3c459610b57", | |
| "tweak": "f318ab65834d4ae6", | |
| "msg": "4431439:73280371583682", | |
| "ct": "3690740160451849646999", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 768, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "0297a8f4c3d74fccf99fd3c459610b57", | |
| "tweak": "f318ab65834d4ae6", | |
| "msg": "443143947328037158368:", | |
| "ct": "2082265115393674997908", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 23, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 769, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "b9259b7f8c36246e73802b650cec0f3a", | |
| "tweak": "338104fb3b076bc4", | |
| "msg": "31066513284214418008802", | |
| "ct": "68840891895436108749044", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 770, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "00000000000000000000000", | |
| "ct": "73697441212696629778232", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 771, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "99999999999999999999999", | |
| "ct": "30127250471351794768247", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 772, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "68719476736549755813888", | |
| "ct": "17567967384628022900854", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 773, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "68719476735549755813887", | |
| "ct": "84757756798704433007136", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 774, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "03188894800997399013803", | |
| "ct": "96115784441575481170164", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 775, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "21751558705586747877621", | |
| "ct": "18031211385165370704698", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 776, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "32715500321483744631999", | |
| "ct": "84750992530194996489936", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 777, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "70229284707213762197096", | |
| "ct": "98387219403373894292148", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 778, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "59594889659127028665703", | |
| "ct": "85027272697410604066876", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 779, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "15274805549894297650586", | |
| "ct": "86904909947081386365133", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 780, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "95272346494161276671843", | |
| "ct": "93200907529671713469035", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 781, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "99753685228664332818812", | |
| "ct": "79057351298723451117171", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 782, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "82439039439576352308442", | |
| "ct": "00000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 783, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "22995979355255547432869", | |
| "ct": "99999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 784, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "96034900460879770823750", | |
| "ct": "68719476736549755813888", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 785, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "54dc637b4efc6ee03d4bd532295d63b8", | |
| "tweak": "cc32b4959acf967c", | |
| "msg": "18743445699810759917989", | |
| "ct": "68719476735549755813887", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 786, | |
| "comment": "y = 0 and (y + a) % radix**12 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "55617d5fcb1ef9007b6c", | |
| "msg": "38589036338718036535173", | |
| "ct": "31578007577591768488259", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 787, | |
| "comment": "y = 0 and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "55617d5fcb1ef9007b6c", | |
| "msg": "62220960376492713554355", | |
| "ct": "76217793908319977270253", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 788, | |
| "comment": "y = 0 and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "55617d5fcb1ef9007b6c", | |
| "msg": "69114664134935471323315", | |
| "ct": "92802203169519272871339", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 789, | |
| "comment": "y = 0 and (y + a) % radix**12 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "55617d5fcb1ef9007b6c", | |
| "msg": "90992397856465168191284", | |
| "ct": "27057017947419885122539", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 790, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "269081179adf5312795d", | |
| "msg": "02191483216632540418974", | |
| "ct": "74634823716408697495959", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 791, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "269081179adf5312795d", | |
| "msg": "15816919265503117490271", | |
| "ct": "51480175994964313996263", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 792, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "269081179adf5312795d", | |
| "msg": "11887845588816600283797", | |
| "ct": "83261071552064493443289", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 793, | |
| "comment": "y = 1 and (y + a) % radix**11 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "269081179adf5312795d", | |
| "msg": "88313265010014707472054", | |
| "ct": "94552362797952074072057", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 794, | |
| "comment": "y = 1 and (y + a) % radix**11 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "269081179adf5312795d", | |
| "msg": "37017591575800240362405", | |
| "ct": "64083341893404702730959", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 795, | |
| "comment": "y is maximal and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "f2cabd495cbc28e2b012", | |
| "msg": "03985391470403853309094", | |
| "ct": "93543950335916658041583", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 796, | |
| "comment": "y is maximal and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "f2cabd495cbc28e2b012", | |
| "msg": "77915017077213158632258", | |
| "ct": "93543950336117544979946", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 797, | |
| "comment": "y is maximal and (y + a) % radix**11 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "f2cabd495cbc28e2b012", | |
| "msg": "18537442434952452910355", | |
| "ct": "99999999999243580451600", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 798, | |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "f2cabd495cbc28e2b012", | |
| "msg": "87416535856118781356965", | |
| "ct": "00000000000579807726744", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 799, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "f2cabd495cbc28e2b012", | |
| "msg": "66898661427965130227649", | |
| "ct": "62263427071234643563380", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 800, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "f2cabd495cbc28e2b012", | |
| "msg": "88697131354340505293601", | |
| "ct": "93543950334635383610185", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 801, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "43e9a69e3b326348e965", | |
| "msg": "82926749031320809976116", | |
| "ct": "44241146405589884243272", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 802, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "43e9a69e3b326348e965", | |
| "msg": "41597131469732535553246", | |
| "ct": "22543582593861491794496", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 803, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "43e9a69e3b326348e965", | |
| "msg": "67557767074891899961902", | |
| "ct": "39766912222198627059184", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 804, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "43e9a69e3b326348e965", | |
| "msg": "36265256489094524984871", | |
| "ct": "48255491986900450986119", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 805, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "43e9a69e3b326348e965", | |
| "msg": "38251193983517085461671", | |
| "ct": "42801737596981531038296", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 806, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "43e9a69e3b326348e965", | |
| "msg": "52811501786252273332561", | |
| "ct": "59695533307363608228239", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 807, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "13acf1fca1c4da48dbe0", | |
| "msg": "44068696649644991622519", | |
| "ct": "24418705242523221400434", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 808, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "13acf1fca1c4da48dbe0", | |
| "msg": "36067782460262324908251", | |
| "ct": "42274121289568901165800", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 809, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "13acf1fca1c4da48dbe0", | |
| "msg": "89994878240642949227199", | |
| "ct": "15832173357788058947990", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 810, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "803b8c7284f7da1e37b0a019e63e34aa", | |
| "tweak": "13acf1fca1c4da48dbe0", | |
| "msg": "81550539178218704846979", | |
| "ct": "73842328344047128227197", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 811, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "44610a63e9615101e6bea82a9c0eda30", | |
| "tweak": "b324bd04bb45a149", | |
| "msg": "t8394182047472880656734", | |
| "ct": "35564147297793479071151", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 812, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "44610a63e9615101e6bea82a9c0eda30", | |
| "tweak": "b324bd04bb45a149", | |
| "msg": "7839418v047472880656734", | |
| "ct": "98191307380612728734176", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 813, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "44610a63e9615101e6bea82a9c0eda30", | |
| "tweak": "b324bd04bb45a149", | |
| "msg": "7839418204747288065673v", | |
| "ct": "86817071398555271311029", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 814, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "25d7157e822dd02f96268394452d7b54", | |
| "tweak": "1a7f9123f68aa239", | |
| "msg": ":6412298797284230236230", | |
| "ct": "83367097706099889490685", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 815, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "25d7157e822dd02f96268394452d7b54", | |
| "tweak": "1a7f9123f68aa239", | |
| "msg": "9641229:797284230236230", | |
| "ct": "28949758753126126284432", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 816, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "25d7157e822dd02f96268394452d7b54", | |
| "tweak": "1a7f9123f68aa239", | |
| "msg": "9641229879728423023623:", | |
| "ct": "12253933744284628307261", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 24, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 817, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "904e573e4691681dc2db245bb369404a", | |
| "tweak": "dc83f04ef1a5fc92", | |
| "msg": "137639866936486434595596", | |
| "ct": "052699349665446979392289", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 818, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "000000000000000000000000", | |
| "ct": "678966305324485524807556", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 819, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "999999999999999999999999", | |
| "ct": "338851983196089747569846", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 820, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "549755813888549755813888", | |
| "ct": "094281013539838818099508", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 821, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "549755813887549755813887", | |
| "ct": "974607461363280616267394", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 822, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "352767792297111729586324", | |
| "ct": "932459297408837290379133", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 823, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "795384512172905821709952", | |
| "ct": "277546994574934815605145", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 824, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "100225929485805948617932", | |
| "ct": "304873610159895652528177", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 825, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "217909760770922512684646", | |
| "ct": "717420851555032686541150", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 826, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "401945015442625693576811", | |
| "ct": "283438236287882972398349", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 827, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "027384429922076759334599", | |
| "ct": "390507041215139031770129", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 828, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "186822661447964244469927", | |
| "ct": "306826499318994862331060", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 829, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "571839460990320906100677", | |
| "ct": "123585366122781999014883", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 830, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "819074764320480845207545", | |
| "ct": "000000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 831, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "418744109153522076240071", | |
| "ct": "999999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 832, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "555005566717871252288227", | |
| "ct": "549755813888549755813888", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 833, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "cc7c241656fbbb47d85dd0963ac63c5b", | |
| "tweak": "de48d09d117319da", | |
| "msg": "198791883315142890592084", | |
| "ct": "549755813887549755813887", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 834, | |
| "comment": "y = 0 and (y + a) % radix**12 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "1e51e9c2679e4cd6951a", | |
| "msg": "819920547134180268140039", | |
| "ct": "551391941794428336636140", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 835, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "1e51e9c2679e4cd6951a", | |
| "msg": "094762465722455126154628", | |
| "ct": "406256761209855570408374", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 836, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "1e51e9c2679e4cd6951a", | |
| "msg": "340838995535424335244627", | |
| "ct": "149903317491514691487445", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 837, | |
| "comment": "y = 0 and (y + a) % radix**12 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "1e51e9c2679e4cd6951a", | |
| "msg": "631774409595708619477054", | |
| "ct": "761567638566326813148888", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 838, | |
| "comment": "y = 1 and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "082cabb181cae05d508f", | |
| "msg": "386435773632248049523818", | |
| "ct": "845758840080730009010782", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 839, | |
| "comment": "y = 1 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "082cabb181cae05d508f", | |
| "msg": "926981357025180458079440", | |
| "ct": "391827139174966504681858", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 840, | |
| "comment": "y = 1 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "082cabb181cae05d508f", | |
| "msg": "349165414692638091253834", | |
| "ct": "743185306499779241090372", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 841, | |
| "comment": "y = 1 and (y + a) % radix**12 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "082cabb181cae05d508f", | |
| "msg": "607481602160182988004907", | |
| "ct": "963940527932132354311705", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 842, | |
| "comment": "y = 1 and (y + a) % radix**12 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "082cabb181cae05d508f", | |
| "msg": "648505322731505929267764", | |
| "ct": "023972018894163877942606", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 843, | |
| "comment": "y is maximal and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "777ee85f27165fb9d116", | |
| "msg": "526683815286071090718023", | |
| "ct": "341698569437475768852179", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 844, | |
| "comment": "y is maximal and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "777ee85f27165fb9d116", | |
| "msg": "911566479693945966773510", | |
| "ct": "944807162581610731156642", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 845, | |
| "comment": "y is maximal and (y + a) % radix**12 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "777ee85f27165fb9d116", | |
| "msg": "942314334067322777898525", | |
| "ct": "414190091016377876482945", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 846, | |
| "comment": "y is maximal and (y + a) % radix**12 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "777ee85f27165fb9d116", | |
| "msg": "389911755803926875165070", | |
| "ct": "453345746239823434964202", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 847, | |
| "comment": "y is maximal and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "777ee85f27165fb9d116", | |
| "msg": "514176843322364920629589", | |
| "ct": "954465995829528413379290", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 848, | |
| "comment": "y is maximal and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "777ee85f27165fb9d116", | |
| "msg": "788105817465334740374221", | |
| "ct": "649267291269483010998322", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 849, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "b9f6325475b974a02e40", | |
| "msg": "000000000000041472892282", | |
| "ct": "540097885761237056701203", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 850, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "b9f6325475b974a02e40", | |
| "msg": "000000000001041472892282", | |
| "ct": "637074762671227914172772", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 851, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "b9f6325475b974a02e40", | |
| "msg": "406456049669041472892282", | |
| "ct": "698816342629059976387548", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 852, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "b9f6325475b974a02e40", | |
| "msg": "406456049670041472892282", | |
| "ct": "656240929110593926640262", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 853, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "b9f6325475b974a02e40", | |
| "msg": "549755813888041472892282", | |
| "ct": "212419182562088068342454", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 854, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "b9f6325475b974a02e40", | |
| "msg": "999999999999041472892282", | |
| "ct": "976769500383765807419848", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 855, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "d2716140d5548df71721", | |
| "msg": "771113766081395334349976", | |
| "ct": "134728965483434313004266", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 856, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "d2716140d5548df71721", | |
| "msg": "899935014123940355082413", | |
| "ct": "303225806808808710989072", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 857, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "d2716140d5548df71721", | |
| "msg": "689773736174566934709122", | |
| "ct": "810786270305530014315958", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 858, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "185afbc592b66b4bf6c87703dfbd4cdf", | |
| "tweak": "d2716140d5548df71721", | |
| "msg": "315360265785799645132356", | |
| "ct": "492500605229838064530274", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 859, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6db335f49453200df662b9d1097a4ea7", | |
| "tweak": "83f4d65d3964c007", | |
| "msg": "m95578338112587847810985", | |
| "ct": "350035708595169929892397", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 860, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6db335f49453200df662b9d1097a4ea7", | |
| "tweak": "83f4d65d3964c007", | |
| "msg": "99557833(112587847810985", | |
| "ct": "974882608692901534749535", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 861, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "6db335f49453200df662b9d1097a4ea7", | |
| "tweak": "83f4d65d3964c007", | |
| "msg": "99557833811258784781098v", | |
| "ct": "226308570279243988371835", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 862, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "cbe85d1ca141da69e40bb863f6e542f4", | |
| "tweak": "a6d4ef5dbdea2cc4", | |
| "msg": ":71438005176105459682286", | |
| "ct": "522130779268746524135363", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 863, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "cbe85d1ca141da69e40bb863f6e542f4", | |
| "tweak": "a6d4ef5dbdea2cc4", | |
| "msg": "87143800:176105459682286", | |
| "ct": "217889796485679425411862", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 864, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "cbe85d1ca141da69e40bb863f6e542f4", | |
| "tweak": "a6d4ef5dbdea2cc4", | |
| "msg": "87143800517610545968228:", | |
| "ct": "524716677967240619785647", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 25, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 865, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "4605865b047c33cafb0c30500253573f", | |
| "tweak": "a8b27f391744d48a", | |
| "msg": "9880266560723032778057485", | |
| "ct": "8598925156730081822320746", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 866, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "0000000000000000000000000", | |
| "ct": "7669820093680712855510508", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 867, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "9999999999999999999999999", | |
| "ct": "9942928342345724011771992", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 868, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "5497558138888796093022208", | |
| "ct": "9618663369573459900954145", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 869, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "5497558138878796093022207", | |
| "ct": "4143891638005861021683464", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 870, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "0306570078789935046274606", | |
| "ct": "6510408347566364181548499", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 871, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "7221837397658593786668478", | |
| "ct": "2667198600431606330903377", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 872, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "2183988544739712586056579", | |
| "ct": "9775706589285128649501460", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 873, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "0761929814126301404535776", | |
| "ct": "7086677884856830338703832", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 874, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "8141967325988950357417750", | |
| "ct": "2429189001532028740667390", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 875, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "3824494464541594560874382", | |
| "ct": "1663360448026999245037690", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 876, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "0263398955204457453502636", | |
| "ct": "2619409668995820976406369", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 877, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "0812893589806473988370376", | |
| "ct": "1294384187667449282015270", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 878, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "6379446899520453228263267", | |
| "ct": "0000000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 879, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "0537478429239041724394155", | |
| "ct": "9999999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 880, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "1383791411173358580770965", | |
| "ct": "5497558138888796093022208", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 881, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "3559556c121b36b3586c6c583f3c2d9c", | |
| "tweak": "9c9dcdb1c0690bea", | |
| "msg": "4879275833734256402297831", | |
| "ct": "5497558138878796093022207", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 882, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "9be06cca5bef27d93a", | |
| "msg": "0994189027560209441941440", | |
| "ct": "9135629240112841459454680", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 883, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "9be06cca5bef27d93a", | |
| "msg": "0622508287955235753812534", | |
| "ct": "4903866804429517164958195", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 884, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "9be06cca5bef27d93a", | |
| "msg": "8118332082873746866908167", | |
| "ct": "3173689105764581956192811", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 885, | |
| "comment": "y = 1 and (y + a) % radix**12 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "9be06cca5bef27d93a", | |
| "msg": "7623166022890375968035913", | |
| "ct": "1002753802653466161801270", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 886, | |
| "comment": "y = 1 and (y + a) % radix**12 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "9be06cca5bef27d93a", | |
| "msg": "8779530230524085847130061", | |
| "ct": "8009413078685106406097058", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 887, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "538194a4c6bb89ba57", | |
| "msg": "0000000000007450113291708", | |
| "ct": "3898827829879080454637866", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 888, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "538194a4c6bb89ba57", | |
| "msg": "0000000000017450113291708", | |
| "ct": "3751348913214250786992622", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 889, | |
| "comment": "y is maximal and (y + a) % radix**12 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "538194a4c6bb89ba57", | |
| "msg": "4064560496647450113291708", | |
| "ct": "7750373944310590595823183", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 890, | |
| "comment": "y is maximal and (y + a) % radix**12 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "538194a4c6bb89ba57", | |
| "msg": "4064560496657450113291708", | |
| "ct": "5595742820220738850160874", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 891, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "538194a4c6bb89ba57", | |
| "msg": "5497558138887450113291708", | |
| "ct": "4425073969027134351171666", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 892, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "538194a4c6bb89ba57", | |
| "msg": "9999999999997450113291708", | |
| "ct": "1987817161446185300398869", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 893, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "4cbcb03f8603c5fd75", | |
| "msg": "6465557575033569847903915", | |
| "ct": "5935439503301849139235084", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 894, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "4cbcb03f8603c5fd75", | |
| "msg": "3608068380761498979253828", | |
| "ct": "5935439503317415683203304", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 895, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "4cbcb03f8603c5fd75", | |
| "msg": "9775301433977823183269289", | |
| "ct": "9999999999998576316715896", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 896, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "4cbcb03f8603c5fd75", | |
| "msg": "8545147364588757857193101", | |
| "ct": "0000000000002937308077077", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 897, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "4cbcb03f8603c5fd75", | |
| "msg": "2516739117142238839252865", | |
| "ct": "1432997642184273995274417", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 898, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "4cbcb03f8603c5fd75", | |
| "msg": "5670473970729119522801908", | |
| "ct": "5935439503291469284511341", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 899, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "d8ab734ac179874ca0", | |
| "msg": "2858459668143110089313047", | |
| "ct": "8386107456132191339710369", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 900, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "d8ab734ac179874ca0", | |
| "msg": "2352902502159845599665445", | |
| "ct": "5561129638010993942360480", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 901, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "d8ab734ac179874ca0", | |
| "msg": "9885167882730457934109603", | |
| "ct": "3618243903575810617702709", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 902, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0526b8cd9181cbe9d29e520aef6d33b9", | |
| "tweak": "d8ab734ac179874ca0", | |
| "msg": "1230156841667931119170291", | |
| "ct": "6033052143841554468918416", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 903, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "757d6cfed88de9a000990ad046202ce4", | |
| "tweak": "97e4070e26277b60", | |
| "msg": ".380744156114775394973707", | |
| "ct": "9314230317884767065580644", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 904, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "757d6cfed88de9a000990ad046202ce4", | |
| "tweak": "97e4070e26277b60", | |
| "msg": "23807441[6114775394973707", | |
| "ct": "6885701154260711398776626", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 905, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "757d6cfed88de9a000990ad046202ce4", | |
| "tweak": "97e4070e26277b60", | |
| "msg": "238074415611477539497370|", | |
| "ct": "3511193917781469299354221", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 906, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "58f638e0570fa4a27a5c2d11b71b17aa", | |
| "tweak": "3bfe8de27ea16194", | |
| "msg": ":090960431241690835790696", | |
| "ct": "5466674552580656047812703", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 907, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "58f638e0570fa4a27a5c2d11b71b17aa", | |
| "tweak": "3bfe8de27ea16194", | |
| "msg": "90909604:1241690835790696", | |
| "ct": "7151238956671798204607371", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 908, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "58f638e0570fa4a27a5c2d11b71b17aa", | |
| "tweak": "3bfe8de27ea16194", | |
| "msg": "909096043124169083579069:", | |
| "ct": "1295487277087126147085010", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 26, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 909, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "0fb1979af3a9860c485e2ef06c6010c3", | |
| "tweak": "60de513786f3f0a6", | |
| "msg": "33096447274254572596267000", | |
| "ct": "58952409008586546733782983", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 910, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "00000000000000000000000000", | |
| "ct": "96029981334333695315780630", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 911, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "99999999999999999999999999", | |
| "ct": "82381519266779054235893426", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 912, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "87960930222088796093022208", | |
| "ct": "10750374714714447940495096", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 913, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "87960930222078796093022207", | |
| "ct": "50299531472340271045859755", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 914, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "14954571673305343379551376", | |
| "ct": "08840559049043487078922592", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 915, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "70233919063974109692227995", | |
| "ct": "23882570526360455149408324", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 916, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "65030607301588088002913714", | |
| "ct": "34459457321445479784051733", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 917, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "99083268107036679230350652", | |
| "ct": "86522938434039273234874352", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 918, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "12703087940799575142330040", | |
| "ct": "87932868328498634544696823", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 919, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "44648605805540060509909417", | |
| "ct": "58102478743816574838836344", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 920, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "10762612636786089744690926", | |
| "ct": "64288166595611644589606710", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 921, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "67313530542326351992160943", | |
| "ct": "64277662402252665942124110", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 922, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "07049332651445304044534390", | |
| "ct": "00000000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 923, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "00648869322911198631782177", | |
| "ct": "99999999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 924, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "43440059781088201765702112", | |
| "ct": "87960930222088796093022208", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 925, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "f8a61228ec1958c89ccf56eeb0f9c568", | |
| "tweak": "845578b42fe2d9a0", | |
| "msg": "14498083524561594622183546", | |
| "ct": "87960930222078796093022207", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 926, | |
| "comment": "y = 0 and (y + a) % radix**13 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "1c36ea7c1090e29bcf", | |
| "msg": "61167579640139646058365109", | |
| "ct": "00000000000007691321172685", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 927, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "1c36ea7c1090e29bcf", | |
| "msg": "91238359840542986067183254", | |
| "ct": "00000000000019977563776792", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 928, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "1c36ea7c1090e29bcf", | |
| "msg": "68835950086844641812768228", | |
| "ct": "87960930222083036135086604", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 929, | |
| "comment": "y = 0 and (y + a) % radix**13 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "1c36ea7c1090e29bcf", | |
| "msg": "86661444164802271095962176", | |
| "ct": "99999999999998498125956790", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 930, | |
| "comment": "y = 1 and a = 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "edb103cfd431230266", | |
| "msg": "68287630661831135387385080", | |
| "ct": "43999233304832588836767998", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 931, | |
| "comment": "y = 1 and a = 1 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "edb103cfd431230266", | |
| "msg": "76858685769958182909201481", | |
| "ct": "35613664015720352245505858", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 932, | |
| "comment": "y = 1 and a has large Hamming weight in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "edb103cfd431230266", | |
| "msg": "10749669250546883342300332", | |
| "ct": "94701705830574398359985102", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 933, | |
| "comment": "y = 1 and (y + a) % radix**13 is maximal in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "edb103cfd431230266", | |
| "msg": "49883531600723966336232250", | |
| "ct": "58843470762436436069323510", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 934, | |
| "comment": "y = 1 and (y + a) % radix**13 == 0 in round 4", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "edb103cfd431230266", | |
| "msg": "68080392374819698723309227", | |
| "ct": "27761209017574844743720406", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 935, | |
| "comment": "y is maximal and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "967a2b2c543238ec94", | |
| "msg": "35731910812837677630400785", | |
| "ct": "75935439503354143300635147", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 936, | |
| "comment": "y is maximal and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "967a2b2c543238ec94", | |
| "msg": "84239496735228247179600673", | |
| "ct": "75935439503367426194492051", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 937, | |
| "comment": "y is maximal and (y + a) % radix**13 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "967a2b2c543238ec94", | |
| "msg": "84038209233867555362066819", | |
| "ct": "99999999999990431566968063", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 938, | |
| "comment": "y is maximal and (y + a) % radix**13 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "967a2b2c543238ec94", | |
| "msg": "55501210360059558616702060", | |
| "ct": "00000000000005240768014360", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 939, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "967a2b2c543238ec94", | |
| "msg": "05156529722896348867269839", | |
| "ct": "63896369725435309467034978", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 940, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "967a2b2c543238ec94", | |
| "msg": "39988426806830631833036096", | |
| "ct": "75935439503341166372685300", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 941, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "854e975ba784c030a2", | |
| "msg": "75866363081695341754435311", | |
| "ct": "05133858270576930651867093", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 942, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "854e975ba784c030a2", | |
| "msg": "21057939656629939307528115", | |
| "ct": "16509712020921670617687708", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 943, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**13 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "854e975ba784c030a2", | |
| "msg": "77635493840759173273724227", | |
| "ct": "62682261026965096129348271", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 944, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**13 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "854e975ba784c030a2", | |
| "msg": "16552677028585734511456571", | |
| "ct": "57337119027517747583091813", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 945, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "854e975ba784c030a2", | |
| "msg": "67698488176944952236040699", | |
| "ct": "20839177732834563407987678", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 946, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "854e975ba784c030a2", | |
| "msg": "53633508799806143070432481", | |
| "ct": "35043452025568229113940545", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 947, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**13 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "b50d060072f1eb96ec", | |
| "msg": "95038270106547766963124810", | |
| "ct": "99999999999995757449273645", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 948, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**13 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "b50d060072f1eb96ec", | |
| "msg": "38006789016753864026019739", | |
| "ct": "00000000000005448980561875", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 949, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "b50d060072f1eb96ec", | |
| "msg": "19186114662209869061292335", | |
| "ct": "87960930222077571531645631", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 950, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "38a92f28cf4f93b374725c5e303829d6", | |
| "tweak": "b50d060072f1eb96ec", | |
| "msg": "15941179435228129034430890", | |
| "ct": "99999999999981590087307686", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 951, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "228e9e3386e948a636d5238ef5a32456", | |
| "tweak": "b297e81e07aeefa2", | |
| "msg": "&0595013030064972303353718", | |
| "ct": "33325160673128014284975545", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 952, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "228e9e3386e948a636d5238ef5a32456", | |
| "tweak": "b297e81e07aeefa2", | |
| "msg": "70595013]30064972303353718", | |
| "ct": "62722322844770604436942867", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 953, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "228e9e3386e948a636d5238ef5a32456", | |
| "tweak": "b297e81e07aeefa2", | |
| "msg": "7059501303006497230335371k", | |
| "ct": "55290761449590701310711747", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 954, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2a7d242d663ce2aa8e191904c7075f2e", | |
| "tweak": "4ee235ec0c445b32", | |
| "msg": ":9510664102302970233324956", | |
| "ct": "42202339618192986364548823", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 955, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2a7d242d663ce2aa8e191904c7075f2e", | |
| "tweak": "4ee235ec0c445b32", | |
| "msg": "59510664:02302970233324956", | |
| "ct": "51790808429728515271714178", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 956, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "2a7d242d663ce2aa8e191904c7075f2e", | |
| "tweak": "4ee235ec0c445b32", | |
| "msg": "5951066410230297023332495:", | |
| "ct": "71670008373362998866973616", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 27, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 957, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "5d9ce920d89d03dcb83a0bf8ba68c9a1", | |
| "tweak": "9b6124a5067acaf1", | |
| "msg": "981052449338339280280176216", | |
| "ct": "204491769825773434919739914", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 958, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "000000000000000000000000000", | |
| "ct": "384374740274745790730585146", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 959, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "999999999999999999999999999", | |
| "ct": "576547959141849539691092600", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 960, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "879609302220870368744177664", | |
| "ct": "677378017691104557790074614", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 961, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "879609302220770368744177663", | |
| "ct": "486981951642158004517568934", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 962, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "998201660450293684974412845", | |
| "ct": "389710509826270704824110314", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 963, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "389739257465779431433591287", | |
| "ct": "542058883105538472562553640", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 964, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "341966139354854837727710705", | |
| "ct": "900707254867184545378108356", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 965, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "866657689604065570547677545", | |
| "ct": "817380626608753171457587637", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 966, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "184738351557974276458042484", | |
| "ct": "803291762412278678625810632", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 967, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "162383168792347167310652948", | |
| "ct": "016010551721105973703068038", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 968, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "646193009111258453505605048", | |
| "ct": "299922519831871229314977421", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 969, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "948852919056866491485927232", | |
| "ct": "613348697699662055425207649", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 970, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "386359921454732288887138900", | |
| "ct": "000000000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 971, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "787518378123935468448838469", | |
| "ct": "999999999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 972, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "941032801608337173184182429", | |
| "ct": "879609302220870368744177664", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 973, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "9b81805cf0423e149b59d74e4e876ccf", | |
| "tweak": "bcdfdd4615295f29", | |
| "msg": "910556837455698101939537298", | |
| "ct": "879609302220770368744177663", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 974, | |
| "comment": "y = 0 and (y + a) % radix**13 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "5a1bc9276aa5a7650d", | |
| "msg": "531398492400295529744782303", | |
| "ct": "135473927261456992261964247", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 975, | |
| "comment": "y = 0 and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "5a1bc9276aa5a7650d", | |
| "msg": "956116359997339970671306754", | |
| "ct": "878395540322658802731975244", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 976, | |
| "comment": "y = 0 and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "5a1bc9276aa5a7650d", | |
| "msg": "777283823782647274261789222", | |
| "ct": "681473242138100245003122674", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 977, | |
| "comment": "y = 0 and (y + a) % radix**13 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "5a1bc9276aa5a7650d", | |
| "msg": "669531694090865954441739539", | |
| "ct": "303946441212122224424776334", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 978, | |
| "comment": "y = 1 and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "ecfccdf5f7e0554f47", | |
| "msg": "306130929875565608726955059", | |
| "ct": "000000000000118284161626185", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 979, | |
| "comment": "y = 1 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "ecfccdf5f7e0554f47", | |
| "msg": "200958171096381046823920365", | |
| "ct": "000000000000230416198598417", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 980, | |
| "comment": "y = 1 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "ecfccdf5f7e0554f47", | |
| "msg": "455904880845308589674821540", | |
| "ct": "879609302220988294500661006", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 981, | |
| "comment": "y = 1 and (y + a) % radix**13 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "ecfccdf5f7e0554f47", | |
| "msg": "593073096619727901781247028", | |
| "ct": "999999999999957519618727760", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 982, | |
| "comment": "y = 1 and (y + a) % radix**13 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "ecfccdf5f7e0554f47", | |
| "msg": "443425326889889988602850011", | |
| "ct": "000000000000050019822259226", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 983, | |
| "comment": "y is maximal and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "b078a6f1e2521dce0a", | |
| "msg": "642909401884100555943540631", | |
| "ct": "759354395033567936010072703", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 984, | |
| "comment": "y is maximal and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "b078a6f1e2521dce0a", | |
| "msg": "738115208226991423682687617", | |
| "ct": "759354395033641718526467949", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 985, | |
| "comment": "y is maximal and (y + a) % radix**13 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "b078a6f1e2521dce0a", | |
| "msg": "604338253790086792991791609", | |
| "ct": "999999999999950231888375946", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 986, | |
| "comment": "y is maximal and (y + a) % radix**13 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "b078a6f1e2521dce0a", | |
| "msg": "990718784484091236887742457", | |
| "ct": "000000000000011459446162850", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 987, | |
| "comment": "y is maximal and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "b078a6f1e2521dce0a", | |
| "msg": "974072510954654303873741821", | |
| "ct": "638963697254359491399923957", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 988, | |
| "comment": "y is maximal and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "b078a6f1e2521dce0a", | |
| "msg": "516206522682830446372147984", | |
| "ct": "759354395033492251127385565", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 989, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "31e5c768653fbc7f7e", | |
| "msg": "256226571141193910877988548", | |
| "ct": "084078959933390645256811143", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 990, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "31e5c768653fbc7f7e", | |
| "msg": "866930869515644389096112825", | |
| "ct": "601231071001048474581956551", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 991, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**13 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "31e5c768653fbc7f7e", | |
| "msg": "815921820899185447395554372", | |
| "ct": "041435894139685786603342906", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 992, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**13 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "31e5c768653fbc7f7e", | |
| "msg": "011135233181954956932884393", | |
| "ct": "691077301140370029607806350", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 993, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "31e5c768653fbc7f7e", | |
| "msg": "650618409399728190138088317", | |
| "ct": "249111563008046920701500680", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 994, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "31e5c768653fbc7f7e", | |
| "msg": "675754132763222713796142840", | |
| "ct": "755300897498246525964720367", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 995, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**13 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "cbfb8a861896399f81", | |
| "msg": "051081249900956476475703028", | |
| "ct": "939238874998741846073513624", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 996, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**13 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "cbfb8a861896399f81", | |
| "msg": "664236298950704707375086048", | |
| "ct": "558804672777722022198523846", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 997, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "cbfb8a861896399f81", | |
| "msg": "507090733165623709076075349", | |
| "ct": "447034320467897635259106241", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 998, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "075ac4ff0713173a300683f9529cb3d6", | |
| "tweak": "cbfb8a861896399f81", | |
| "msg": "215573463534234586026322107", | |
| "ct": "343829918475240108559461716", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 999, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a5b3f7ddc8da53cdc64310c89e4ea717", | |
| "tweak": "5cf37baf9afa4bf9", | |
| "msg": "N13092996546348014904522058", | |
| "ct": "083805661522493992602338111", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1000, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a5b3f7ddc8da53cdc64310c89e4ea717", | |
| "tweak": "5cf37baf9afa4bf9", | |
| "msg": "013092996#46348014904522058", | |
| "ct": "595572718861490379521040517", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1001, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "a5b3f7ddc8da53cdc64310c89e4ea717", | |
| "tweak": "5cf37baf9afa4bf9", | |
| "msg": "01309299654634801490452205U", | |
| "ct": "376775500835191131268078481", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1002, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "52ff1be6262b0d112bf7c6fe0f431c4a", | |
| "tweak": "4eaefcefc69aa116", | |
| "msg": ":27653523102859207695097749", | |
| "ct": "753881332410106837006727640", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1003, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "52ff1be6262b0d112bf7c6fe0f431c4a", | |
| "tweak": "4eaefcefc69aa116", | |
| "msg": "827653523:02859207695097749", | |
| "ct": "385445439473176203587074564", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1004, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "52ff1be6262b0d112bf7c6fe0f431c4a", | |
| "tweak": "4eaefcefc69aa116", | |
| "msg": "82765352310285920769509774:", | |
| "ct": "495664073276165523980640163", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 28, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1005, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "1480e7206367c3365ec5a9b11f61261e", | |
| "tweak": "895ad94343672108", | |
| "msg": "4562199119078246999925320705", | |
| "ct": "9002600737683646425928331539", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1006, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "0000000000000000000000000000", | |
| "ct": "4012855975887211378555298690", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1007, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "9999999999999999999999999999", | |
| "ct": "4571779692573828413800297551", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1008, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "7036874417766470368744177664", | |
| "ct": "9145189350590462797446359940", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1009, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "7036874417766370368744177663", | |
| "ct": "8614072990025786759132162060", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1010, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "8363713578928225522474036302", | |
| "ct": "8642589987633725732767519362", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1011, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "5290518710047047263634218126", | |
| "ct": "7633379825778254507794412075", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1012, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "4047806012624270504501827772", | |
| "ct": "0405338222354279831035551596", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1013, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "8405169287516864772193362968", | |
| "ct": "7407027732780452416650000927", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1014, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "6459940900557262203447101456", | |
| "ct": "4073028496881777368874541188", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1015, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "5956278011462560636787351442", | |
| "ct": "8893201893500851363678182488", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1016, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "6894326441401156264688706255", | |
| "ct": "7211338908347120545847567546", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1017, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "5277129657285628234216357465", | |
| "ct": "8005613408501508000569119458", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1018, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "7974414192413740238452607924", | |
| "ct": "0000000000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1019, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "0042710386644800364035045764", | |
| "ct": "9999999999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1020, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "5057168952948399177099781327", | |
| "ct": "7036874417766470368744177664", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1021, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "6fb5d09b399a2e35b530485a940a011c", | |
| "tweak": "b8b5a93148251334", | |
| "msg": "6845104997953158217342897619", | |
| "ct": "7036874417766370368744177663", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1022, | |
| "comment": "y = 0 and (y + a) % radix**14 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "3ec5d0587505907efe", | |
| "msg": "5379464645423864820297858788", | |
| "ct": "1242113512868974357302296111", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1023, | |
| "comment": "y = 0 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "3ec5d0587505907efe", | |
| "msg": "6474139025917958747407167433", | |
| "ct": "2465503239537932171724212016", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1024, | |
| "comment": "y = 0 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "3ec5d0587505907efe", | |
| "msg": "6746966542748975713979058041", | |
| "ct": "4076745600654901240465357595", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1025, | |
| "comment": "y = 0 and (y + a) % radix**14 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "3ec5d0587505907efe", | |
| "msg": "4691524000330569844391016961", | |
| "ct": "9657400565269810238527837521", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1026, | |
| "comment": "y = 1 and a = 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "27b83ad9ff5a38d13f", | |
| "msg": "0720226254529688860490835631", | |
| "ct": "9980065669449700000000000001", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1027, | |
| "comment": "y = 1 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "27b83ad9ff5a38d13f", | |
| "msg": "9003808511838849245159775855", | |
| "ct": "9980065669449700000000000002", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1028, | |
| "comment": "y = 1 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "27b83ad9ff5a38d13f", | |
| "msg": "9129610921171272549176989640", | |
| "ct": "9980065669449770368744177665", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1029, | |
| "comment": "y = 1 and (y + a) % radix**14 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "27b83ad9ff5a38d13f", | |
| "msg": "1234655187470442967891847750", | |
| "ct": "9980065669449799999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1030, | |
| "comment": "y = 1 and (y + a) % radix**14 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "27b83ad9ff5a38d13f", | |
| "msg": "5339914752578834529518366105", | |
| "ct": "9980065669449700000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1031, | |
| "comment": "y is maximal and a = 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "1be5ae5cb6c3b1d252", | |
| "msg": "4730687206477361111897279816", | |
| "ct": "3335800616439691237713567690", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1032, | |
| "comment": "y is maximal and a = 1 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "1be5ae5cb6c3b1d252", | |
| "msg": "2445948381973257400052978035", | |
| "ct": "2000363653933530000740695985", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1033, | |
| "comment": "y is maximal and (y + a) % radix**14 is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "1be5ae5cb6c3b1d252", | |
| "msg": "7264643872595717453738059806", | |
| "ct": "6139178419502928228277283940", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1034, | |
| "comment": "y is maximal and (y + a) % radix**14 == 0 in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "1be5ae5cb6c3b1d252", | |
| "msg": "2492666643881854187985885105", | |
| "ct": "9171141149945134693208052591", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1035, | |
| "comment": "y is maximal and a has large Hamming weight in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "1be5ae5cb6c3b1d252", | |
| "msg": "4695631762094370963495644377", | |
| "ct": "2070324138835142323464551413", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1036, | |
| "comment": "y is maximal and a is maximal in round 3", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "1be5ae5cb6c3b1d252", | |
| "msg": "6079345795528006292245267062", | |
| "ct": "7214314516094725198973459709", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1037, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "0bdb28939e434184c5", | |
| "msg": "1224863685997222894362459491", | |
| "ct": "3759354395033000964979228765", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1038, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "0bdb28939e434184c5", | |
| "msg": "3484578090937941096735723842", | |
| "ct": "3759354395033158427224085522", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1039, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "0bdb28939e434184c5", | |
| "msg": "9233686425924270425111759522", | |
| "ct": "9999999999999984550849107422", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1040, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "0bdb28939e434184c5", | |
| "msg": "5562655306218508367641921355", | |
| "ct": "0000000000000022307706821408", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1041, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "0bdb28939e434184c5", | |
| "msg": "9009039931822968891346590731", | |
| "ct": "0796228812799482508595312007", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1042, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "0bdb28939e434184c5", | |
| "msg": "5083804000907973017489758187", | |
| "ct": "3759354395032963920323118266", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1043, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**14 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "2250ed1e11ed699d1d", | |
| "msg": "6112886428977748794514389996", | |
| "ct": "8618214220343003643754489446", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1044, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**14 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "2250ed1e11ed699d1d", | |
| "msg": "7679827705729358379667008154", | |
| "ct": "9846590640911088759846576867", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1045, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "2250ed1e11ed699d1d", | |
| "msg": "3425506478926007248673056981", | |
| "ct": "7483867215491292793715412615", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1046, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "76975988cc9da5b325b04f57d9fd13f5", | |
| "tweak": "2250ed1e11ed699d1d", | |
| "msg": "2376856146639175784206830343", | |
| "ct": "2585497360924540440586241935", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1047, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fb5ecce67377d5cf38bf7a6dae791f6", | |
| "tweak": "c476c64619fd600d", | |
| "msg": "k163893927269073027440136158", | |
| "ct": "2522445929442126733257044780", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1048, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fb5ecce67377d5cf38bf7a6dae791f6", | |
| "tweak": "c476c64619fd600d", | |
| "msg": "816389392y269073027440136158", | |
| "ct": "1729342256297957432642234609", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1049, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7fb5ecce67377d5cf38bf7a6dae791f6", | |
| "tweak": "c476c64619fd600d", | |
| "msg": "816389392726907302744013615]", | |
| "ct": "6019071552810481386450068544", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1050, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5a93c5ed7ca21bcb2925208dfe9e780e", | |
| "tweak": "2119585d63ea9e7f", | |
| "msg": ":533785694470668430731388252", | |
| "ct": "5075599206210666838971230777", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1051, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5a93c5ed7ca21bcb2925208dfe9e780e", | |
| "tweak": "2119585d63ea9e7f", | |
| "msg": "053378569:470668430731388252", | |
| "ct": "2184563940302225177211364928", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1052, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5a93c5ed7ca21bcb2925208dfe9e780e", | |
| "tweak": "2119585d63ea9e7f", | |
| "msg": "053378569447066843073138825:", | |
| "ct": "3465559075825907210751150449", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 29, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1053, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "a8ed8a1627e4ea301c4d007a30a7fd71", | |
| "tweak": "dbbf38e615dc2fee", | |
| "msg": "33291281586831514909804923591", | |
| "ct": "44938870934800152847818428193", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1054, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "00000000000000000000000000000", | |
| "ct": "15925009933010978241356926629", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1055, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "99999999999999999999999999999", | |
| "ct": "54983077275556840267754342784", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1056, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "70368744177664562949953421312", | |
| "ct": "77030368219721356647698271548", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1057, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "70368744177663562949953421311", | |
| "ct": "04517934781002277564519360968", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1058, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "21190726679415833815117464587", | |
| "ct": "92687617601032148913333484903", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1059, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "56943503495983971023445857378", | |
| "ct": "95667151676812472135402789124", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1060, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "01376668592869095064061322506", | |
| "ct": "45771028572884139765774263688", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1061, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "24519233970560985702613977018", | |
| "ct": "68473229757980513092480560112", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1062, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "43136355246601533163775309751", | |
| "ct": "79557436415228495058530617239", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1063, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "98550131425825444752228673902", | |
| "ct": "31707780192262326567686677606", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1064, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "36572185827463486217713688959", | |
| "ct": "57152107359245602760667949866", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1065, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "28701276054306359526716151371", | |
| "ct": "13772097438110154582603287071", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1066, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "77945134553465664014871433690", | |
| "ct": "00000000000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1067, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "72027137511313800281118506100", | |
| "ct": "99999999999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1068, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "85825806591870445253008564596", | |
| "ct": "70368744177664562949953421312", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1069, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "ca22f07d7a976a6d3bdf1119294ebd7f", | |
| "tweak": "9e9546b3bfa3137e", | |
| "msg": "06727426695949133459422720954", | |
| "ct": "70368744177663562949953421311", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1070, | |
| "comment": "y = 0 and (y + a) % radix**15 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0f7bd853eeadad4fcb7387d9d5594e14", | |
| "tweak": "89d51891ee62f942", | |
| "msg": "81383439849877000000000000000", | |
| "ct": "88291453675171657905137637645", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1071, | |
| "comment": "y = 0 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0f7bd853eeadad4fcb7387d9d5594e14", | |
| "tweak": "89d51891ee62f942", | |
| "msg": "36660073929751000000000000001", | |
| "ct": "16902496421025230866895195719", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1072, | |
| "comment": "y = 0 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0f7bd853eeadad4fcb7387d9d5594e14", | |
| "tweak": "89d51891ee62f942", | |
| "msg": "38123770965312562949953421312", | |
| "ct": "37985460107870930715545773945", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1073, | |
| "comment": "y = 0 and (y + a) % radix**15 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "0f7bd853eeadad4fcb7387d9d5594e14", | |
| "tweak": "89d51891ee62f942", | |
| "msg": "94332169420458999999999999999", | |
| "ct": "26248979294047564452217457711", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1074, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5472c787687908bd9e0d718769db8f17", | |
| "tweak": "e825d40b4753fcee", | |
| "msg": "q9996792678693741574628741908", | |
| "ct": "58057181298772657283172422398", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1075, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5472c787687908bd9e0d718769db8f17", | |
| "tweak": "e825d40b4753fcee", | |
| "msg": "599967926X8693741574628741908", | |
| "ct": "71102189995186111330932731724", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1076, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "5472c787687908bd9e0d718769db8f17", | |
| "tweak": "e825d40b4753fcee", | |
| "msg": "5999679267869374157462874190$", | |
| "ct": "97159335432638226631577136278", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1077, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "44c5430589ce36a9b2d4231404a6ae35", | |
| "tweak": "0380aea262bb3c9c", | |
| "msg": ":9798053915396301362411798039", | |
| "ct": "12049302921818926339601634099", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1078, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "44c5430589ce36a9b2d4231404a6ae35", | |
| "tweak": "0380aea262bb3c9c", | |
| "msg": "797980539:5396301362411798039", | |
| "ct": "57151611236594474281559925360", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1079, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "44c5430589ce36a9b2d4231404a6ae35", | |
| "tweak": "0380aea262bb3c9c", | |
| "msg": "7979805391539630136241179803:", | |
| "ct": "09202974908600774477360973421", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 30, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1080, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "abbd25e59680efd575c00d24e9fdcad8", | |
| "tweak": "070cffc4a9b88ee7", | |
| "msg": "910045604033744828243511894830", | |
| "ct": "461511362338774759279723515984", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1081, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "000000000000000000000000000000", | |
| "ct": "086860296680047884001895189138", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1082, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "999999999999999999999999999999", | |
| "ct": "930572759891280095120583737547", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1083, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "562949953421312562949953421312", | |
| "ct": "973229375535408930584037049948", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1084, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "562949953421311562949953421311", | |
| "ct": "978994859927748233703358950715", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1085, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "971801530448362748127914344468", | |
| "ct": "081009127084433456582627515201", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1086, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "362319123178800262689018894299", | |
| "ct": "804275225840748567773570570211", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1087, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "020647447660207567162826975147", | |
| "ct": "519353550649394813367937715915", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1088, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "141610671609437221114515483325", | |
| "ct": "303570823521941268698459871867", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1089, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "466558613466382762441439035055", | |
| "ct": "278092293968253870037926482809", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1090, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "242403482621108907899796459199", | |
| "ct": "174587605132018043841954863746", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1091, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "896164493965589718957003175650", | |
| "ct": "719915658798618701987599494972", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1092, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "747943326518958225670330648124", | |
| "ct": "320153419833388688312024830766", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1093, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "832881643839567173774054203808", | |
| "ct": "000000000000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1094, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "496977106823996179941282684581", | |
| "ct": "999999999999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1095, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "293344118677138681095108925223", | |
| "ct": "562949953421312562949953421312", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1096, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "0388b281cce3ba04467f43d39375bee5", | |
| "tweak": "854745fb6c1b3f88", | |
| "msg": "553474471361343718108510483783", | |
| "ct": "562949953421311562949953421311", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1097, | |
| "comment": "y = 0 and (y + a) % radix**15 == 0 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "70112caee92fa54f", | |
| "msg": "034217472427361985564166140189", | |
| "ct": "172893669289893000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1098, | |
| "comment": "y = 0 and a = 1 in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "70112caee92fa54f", | |
| "msg": "702610404570789876930613844716", | |
| "ct": "172893669289893000000000000001", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1099, | |
| "comment": "y = 0 and a has large Hamming weight in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "70112caee92fa54f", | |
| "msg": "397488931984986316360612555344", | |
| "ct": "172893669289893562949953421312", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1100, | |
| "comment": "y = 0 and (y + a) % radix**15 is maximal in round 9", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "70112caee92fa54f", | |
| "msg": "345839695268529377487683792005", | |
| "ct": "172893669289893999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1101, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "e162f14866688735", | |
| "msg": "245747799778173247212830540957", | |
| "ct": "552861327720231086743438010333", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1102, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "e162f14866688735", | |
| "msg": "710380139684695754800618542664", | |
| "ct": "828121212195373864937982027137", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1103, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "e162f14866688735", | |
| "msg": "177571106448192249133775287033", | |
| "ct": "880124771560985859338685579810", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1104, | |
| "comment": "y = 1 and (y + a) % radix**15 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "e162f14866688735", | |
| "msg": "536602388285026077788610586535", | |
| "ct": "255920494969816912538692891974", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1105, | |
| "comment": "y = 1 and (y + a) % radix**15 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "e162f14866688735", | |
| "msg": "480779817664562602284611105213", | |
| "ct": "007439685226430502594881800015", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1106, | |
| "comment": "y is maximal and a = 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "500e5492c48bdc0e", | |
| "msg": "297430435157266429827677393013", | |
| "ct": "249740800547715786338600122919", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1107, | |
| "comment": "y is maximal and a = 1 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "500e5492c48bdc0e", | |
| "msg": "530484158001149124605646261096", | |
| "ct": "599754232778006580316485182883", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1108, | |
| "comment": "y is maximal and a has large Hamming weight in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "500e5492c48bdc0e", | |
| "msg": "612719564349842376808394802467", | |
| "ct": "002762842099100493094116797582", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1109, | |
| "comment": "y is maximal and (y + a) % radix**15 is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "500e5492c48bdc0e", | |
| "msg": "950336101713562919881060251076", | |
| "ct": "497407938540172218721233329588", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1110, | |
| "comment": "y is maximal and (y + a) % radix**15 == 0 in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "500e5492c48bdc0e", | |
| "msg": "995482363314202326741671741702", | |
| "ct": "349933222487614757426334939926", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1111, | |
| "comment": "y is maximal and a is maximal in round 7", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "eba1688538a029a4e92e9835c772ff22", | |
| "tweak": "500e5492c48bdc0e", | |
| "msg": "640177739374876113854852574827", | |
| "ct": "179700335858468461626382130330", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1112, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e5c85c2192739691bf29762cc0c04f81", | |
| "tweak": "9558e2ad30702aa4", | |
| "msg": "?92664867350313501335441385025", | |
| "ct": "891500088084512260078709666042", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1113, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e5c85c2192739691bf29762cc0c04f81", | |
| "tweak": "9558e2ad30702aa4", | |
| "msg": "2926648673&0313501335441385025", | |
| "ct": "934834425837960235534177901038", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1114, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "e5c85c2192739691bf29762cc0c04f81", | |
| "tweak": "9558e2ad30702aa4", | |
| "msg": "29266486735031350133544138502?", | |
| "ct": "659041392259441826418839390998", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1115, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7c67ac98e3d69a0b5349602c9a906fcf", | |
| "tweak": "bef69445f0942244", | |
| "msg": ":77334391723512247002736521799", | |
| "ct": "087872631469500323829151474354", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1116, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7c67ac98e3d69a0b5349602c9a906fcf", | |
| "tweak": "bef69445f0942244", | |
| "msg": "3773343917:3512247002736521799", | |
| "ct": "109139758866191394421040347576", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1117, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "7c67ac98e3d69a0b5349602c9a906fcf", | |
| "tweak": "bef69445f0942244", | |
| "msg": "37733439172351224700273652179:", | |
| "ct": "707310017287324093852084213889", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 31, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1118, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "cb4b74bac0ecce5c21f47f39c22ae70c", | |
| "tweak": "dd1e66e61ea45250", | |
| "msg": "7960686626396592641737141444782", | |
| "ct": "8514181683171407588788208589776", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1119, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "0000000000000000000000000000000", | |
| "ct": "5004725480914208143764919198979", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1120, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "9999999999999999999999999999999", | |
| "ct": "7477680008367673735181230825379", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1121, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "5629499534213129007199254740992", | |
| "ct": "6099498235888802775518207262510", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1122, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "5629499534213119007199254740991", | |
| "ct": "8791684126986857960187936256883", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1123, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "5128616565459315264939597537102", | |
| "ct": "2435694535529923522400325521082", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1124, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "5185921641407062209592160704720", | |
| "ct": "7272302937500266014031768490632", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1125, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "9050110018268976370173145575328", | |
| "ct": "5795130782616504748002784637733", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1126, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "6795930812060574249024465904816", | |
| "ct": "9949436696988328753742999018158", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1127, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "3636591291680544356049486215644", | |
| "ct": "1702159658140274141173889380390", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1128, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "2406965227980900128819652945209", | |
| "ct": "2345405009255345579701803435345", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1129, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "1104595636243421790850380436948", | |
| "ct": "3811512792495247196081799704635", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1130, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "9007438556378804973614644295221", | |
| "ct": "4278630319088040497813444888180", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1131, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "9055429007602716391533471267904", | |
| "ct": "0000000000000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1132, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "4159195177333287493004611902969", | |
| "ct": "9999999999999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1133, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "9818235785701690546442008707573", | |
| "ct": "5629499534213129007199254740992", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1134, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "63a73cd9832510ca28e25754aa8c3162", | |
| "tweak": "6aa0f99e8b3887d4", | |
| "msg": "7306800338958813231456838184285", | |
| "ct": "5629499534213119007199254740991", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1135, | |
| "comment": "y = 0 and (y + a) % radix**15 == 0 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "7cfdd7ac8aa663cb", | |
| "msg": "0987090037060909260477137829724", | |
| "ct": "0000000000000006658425835283945", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1136, | |
| "comment": "y = 0 and a = 1 in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "7cfdd7ac8aa663cb", | |
| "msg": "5892383772010397423634719084722", | |
| "ct": "0000000000000012683042572656751", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1137, | |
| "comment": "y = 0 and a has large Hamming weight in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "7cfdd7ac8aa663cb", | |
| "msg": "2478003575311765287740738595655", | |
| "ct": "5629499534213129165378982966704", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1138, | |
| "comment": "y = 0 and (y + a) % radix**15 is maximal in round 8", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "7cfdd7ac8aa663cb", | |
| "msg": "8896422541828625502660469421505", | |
| "ct": "9999999999999997193469586598282", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1139, | |
| "comment": "y = 1 and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "c723d51cebe2bfd4", | |
| "msg": "2328611891727609956054836038828", | |
| "ct": "6053173280292186714604772435744", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1140, | |
| "comment": "y = 1 and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "c723d51cebe2bfd4", | |
| "msg": "5780387349252367030080485925031", | |
| "ct": "9637264601229045311118154898325", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1141, | |
| "comment": "y = 1 and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "c723d51cebe2bfd4", | |
| "msg": "5853384242455929732027402931547", | |
| "ct": "9306760495926912299930890191295", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1142, | |
| "comment": "y = 1 and (y + a) % radix**15 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "c723d51cebe2bfd4", | |
| "msg": "3823796576343004430387991915794", | |
| "ct": "4228760636694442747337439910287", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1143, | |
| "comment": "y = 1 and (y + a) % radix**15 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "c723d51cebe2bfd4", | |
| "msg": "6265479398360121082948635761922", | |
| "ct": "8026720443299084689113503488374", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1144, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "f8a61bb066bce4bc", | |
| "msg": "0000000000000006286863831143091", | |
| "ct": "2199513769554591388018272631526", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1145, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "f8a61bb066bce4bc", | |
| "msg": "0000000000000016286863831143091", | |
| "ct": "3673261851516653582204331193382", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1146, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "f8a61bb066bce4bc", | |
| "msg": "5629499534213126286863831143091", | |
| "ct": "3047289696189806790388919510654", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1147, | |
| "comment": "y is maximal and (y + a) % radix**15 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "f8a61bb066bce4bc", | |
| "msg": "6624064560496646286863831143091", | |
| "ct": "7075061799525540764386183395742", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1148, | |
| "comment": "y is maximal and (y + a) % radix**15 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "f8a61bb066bce4bc", | |
| "msg": "6624064560496656286863831143091", | |
| "ct": "2846048269535935792145518837765", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1149, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "f8a61bb066bce4bc", | |
| "msg": "9999999999999996286863831143091", | |
| "ct": "0869050370535906690162670985277", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1150, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "2168f9fb08e38959", | |
| "msg": "3382732036765343363374918503202", | |
| "ct": "2737852268727502013456467434247", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1151, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "2168f9fb08e38959", | |
| "msg": "0737399958619431049524953070489", | |
| "ct": "2781724835051841200667096879833", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1152, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "2168f9fb08e38959", | |
| "msg": "2211145546138731724869172233961", | |
| "ct": "7092089152527657100763097862699", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1153, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "2168f9fb08e38959", | |
| "msg": "0792226342645186273057258496326", | |
| "ct": "4910606655464931447515894867055", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1154, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "2168f9fb08e38959", | |
| "msg": "7725404614081132975408842545832", | |
| "ct": "6320218218138392197280903521053", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1155, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "2168f9fb08e38959", | |
| "msg": "1115125518983754814106106572921", | |
| "ct": "4348415964736578090768884253788", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1156, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**15 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "ee89b39a96a90e57", | |
| "msg": "0000000000000008261596549115341", | |
| "ct": "5930556225591396631522708579836", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1157, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**15 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "ee89b39a96a90e57", | |
| "msg": "0000000000000018261596549115341", | |
| "ct": "5121290403841464574891262793646", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1158, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "ee89b39a96a90e57", | |
| "msg": "5629499534213128261596549115341", | |
| "ct": "0814772739876803771111545912644", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1159, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "d2542f2168de7e004273c9caa8353b25", | |
| "tweak": "ee89b39a96a90e57", | |
| "msg": "9999999999999998261596549115341", | |
| "ct": "3791659507138019139922118772011", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1160, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "888d36fd30853a1b8971410a56f939f0", | |
| "tweak": "70ffa82483c6a136", | |
| "msg": "y256052339046055900608344880596", | |
| "ct": "3245525171030739578319178317544", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1161, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "888d36fd30853a1b8971410a56f939f0", | |
| "tweak": "70ffa82483c6a136", | |
| "msg": "0256052339\\46055900608344880596", | |
| "ct": "3597086050163057576235284090333", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1162, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "888d36fd30853a1b8971410a56f939f0", | |
| "tweak": "70ffa82483c6a136", | |
| "msg": "025605233904605590060834488059p", | |
| "ct": "1108496627339910861955467837874", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1163, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d97f2724d026e7b1be7669adb20edcbb", | |
| "tweak": "a41e0ae1f7d9c886", | |
| "msg": ":521880977080438896442648829983", | |
| "ct": "0463365659560785364398131304117", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1164, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d97f2724d026e7b1be7669adb20edcbb", | |
| "tweak": "a41e0ae1f7d9c886", | |
| "msg": "1521880977:80438896442648829983", | |
| "ct": "3754636966381290580579598487096", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1165, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "d97f2724d026e7b1be7669adb20edcbb", | |
| "tweak": "a41e0ae1f7d9c886", | |
| "msg": "152188097708043889644264882998:", | |
| "ct": "8309916209878855561986080582666", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 32, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1166, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "1ee98a204d8de6bc2fb2416fa2efe03f", | |
| "tweak": "302f76d9825d6eb5", | |
| "msg": "83335947795077220566698810002168", | |
| "ct": "43220479714506336199617276859582", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1167, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "00000000000000000000000000000000", | |
| "ct": "89008919455860203271970450151917", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1168, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "99999999999999999999999999999999", | |
| "ct": "71749855756968225141598851938116", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1169, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "90071992547409929007199254740992", | |
| "ct": "68742639582776743806294531039653", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1170, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "90071992547409919007199254740991", | |
| "ct": "99098820215993877233577932232110", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1171, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "99151629450637730630283165358938", | |
| "ct": "52187603693299041837060391775304", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1172, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "90172320897340875809543355279298", | |
| "ct": "80473277261376086749594208761117", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1173, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "63229428546169431010962551905267", | |
| "ct": "09402572027251752385034499654898", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1174, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "12560430571887291833210304208123", | |
| "ct": "32903798694049824995738635087093", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1175, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "23716736111970182946089880022719", | |
| "ct": "14586892401357538145667644084781", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1176, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "16610401941578487929528884554103", | |
| "ct": "92431109501636708290532593186915", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1177, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "47157547942300150975687358536596", | |
| "ct": "95475366403802005389686558469930", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1178, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "45136744947746194026311145951711", | |
| "ct": "69919071107728513416157358999450", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1179, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "55775266646909849323215481618864", | |
| "ct": "00000000000000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1180, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "28784309766571200673396420396925", | |
| "ct": "99999999999999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1181, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "15740089029548672862787765536024", | |
| "ct": "90071992547409929007199254740992", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1182, | |
| "comment": "integers with large hamming weight in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "32a208856ebf6021133b9b7dcf14c862", | |
| "tweak": "a32edf79e6d54898", | |
| "msg": "71128557907732378859054005568515", | |
| "ct": "90071992547409919007199254740991", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1183, | |
| "comment": "y = 0 and (y + a) % radix**16 == 0 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "8fc1f13148ac4802", | |
| "msg": "49782562108103000000000000000000", | |
| "ct": "35774219896445706428959531561507", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1184, | |
| "comment": "y = 0 and a = 1 in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "8fc1f13148ac4802", | |
| "msg": "48443931575394840000000000000001", | |
| "ct": "61648849611569810539508199707401", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1185, | |
| "comment": "y = 0 and a has large Hamming weight in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "8fc1f13148ac4802", | |
| "msg": "01746020302645009007199254740992", | |
| "ct": "73585409638137622893101527849672", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1186, | |
| "comment": "y = 0 and (y + a) % radix**16 is maximal in round 1", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "8fc1f13148ac4802", | |
| "msg": "74633874825295799999999999999999", | |
| "ct": "74521611323792300760103487171089", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1187, | |
| "comment": "y = 1 and a = 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "1403450400c0b0bd", | |
| "msg": "88332967536883125544809939440414", | |
| "ct": "07119381859040125181507781524084", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1188, | |
| "comment": "y = 1 and a = 1 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "1403450400c0b0bd", | |
| "msg": "96352001858519072515319762993598", | |
| "ct": "64564381801583011997374341965596", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1189, | |
| "comment": "y = 1 and a has large Hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "1403450400c0b0bd", | |
| "msg": "47081736125670407180442248869100", | |
| "ct": "01584666754967148277985140802737", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1190, | |
| "comment": "y = 1 and (y + a) % radix**16 is maximal in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "1403450400c0b0bd", | |
| "msg": "70117580983486353633216700195382", | |
| "ct": "78860668978892757938647434345787", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1191, | |
| "comment": "y = 1 and (y + a) % radix**16 == 0 in round 5", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "1403450400c0b0bd", | |
| "msg": "21059010733272243452611988564114", | |
| "ct": "11575001060012043754331105808381", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1192, | |
| "comment": "y is maximal and a = 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "880851aa060e4b9c", | |
| "msg": "00000000000000008064535970648374", | |
| "ct": "61496292017910418407301063141008", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1193, | |
| "comment": "y is maximal and a = 1 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "880851aa060e4b9c", | |
| "msg": "00000000000000018064535970648374", | |
| "ct": "32997580880297578499830789327521", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1194, | |
| "comment": "y is maximal and (y + a) % radix**16 is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "880851aa060e4b9c", | |
| "msg": "56624064560496648064535970648374", | |
| "ct": "45492683295194063519617535382171", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1195, | |
| "comment": "y is maximal and (y + a) % radix**16 == 0 in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "880851aa060e4b9c", | |
| "msg": "56624064560496658064535970648374", | |
| "ct": "56421541679374469481780942365596", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1196, | |
| "comment": "y is maximal and a has large Hamming weight in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "880851aa060e4b9c", | |
| "msg": "90071992547409928064535970648374", | |
| "ct": "14053700766626504545999645067641", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1197, | |
| "comment": "y is maximal and a is maximal in round 0", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "880851aa060e4b9c", | |
| "msg": "99999999999999998064535970648374", | |
| "ct": "16169560620929561201822509682301", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1198, | |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "8e8f84e5743247e1", | |
| "msg": "39058199393185145523447476222911", | |
| "ct": "77064001721278601387037942687698", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1199, | |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "8e8f84e5743247e1", | |
| "msg": "33749166574191993227950472395908", | |
| "ct": "13680774018798876454978642641079", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1200, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**16 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "8e8f84e5743247e1", | |
| "msg": "29176313831831886937857238715480", | |
| "ct": "63089026228346265239545448405622", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1201, | |
| "comment": "y is edge case for modular reduction and (y + a) % radix**16 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "8e8f84e5743247e1", | |
| "msg": "73563550625097762597536007152965", | |
| "ct": "45868506678999240068912506987396", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1202, | |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "8e8f84e5743247e1", | |
| "msg": "80968487268568519337563513841761", | |
| "ct": "36057400259728613461300302231195", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1203, | |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "8e8f84e5743247e1", | |
| "msg": "33917053476463409992996334385869", | |
| "ct": "26973014995160691060827876451032", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1204, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**16 is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "76e993265cb9d1b4", | |
| "msg": "00278988412559443555650646033330", | |
| "ct": "48801394462022346915816464292047", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1205, | |
| "comment": "y is maximal after modular reduction and (y + a) % radix**16 == 0 in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "76e993265cb9d1b4", | |
| "msg": "48372693171621755369834822165317", | |
| "ct": "12208245791673080571752110544696", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1206, | |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "76e993265cb9d1b4", | |
| "msg": "98537927193660829841253669576076", | |
| "ct": "64890625798137032767486722392410", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1207, | |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", | |
| "flags": [ | |
| "EdgeCasePrf" | |
| ], | |
| "key": "f0a4f0f7c55b4f9763e6f071bcca5930", | |
| "tweak": "76e993265cb9d1b4", | |
| "msg": "78784569480050809454763386251130", | |
| "ct": "27295694779294160044024893848930", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1208, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ad37094b233a3db9d271247e8555bef3", | |
| "tweak": "2ed6d72d98ac2efd", | |
| "msg": "j9675919818079005639446324749764", | |
| "ct": "00049563961182948650919937830865", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1209, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ad37094b233a3db9d271247e8555bef3", | |
| "tweak": "2ed6d72d98ac2efd", | |
| "msg": "0967591981r079005639446324749764", | |
| "ct": "62008791472049371810854124414634", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1210, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "ad37094b233a3db9d271247e8555bef3", | |
| "tweak": "2ed6d72d98ac2efd", | |
| "msg": "0967591981807900563944632474976<", | |
| "ct": "73446137359003729048694190129913", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1211, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fec50f94dcbd14d957c5ba9f96160df7", | |
| "tweak": "6f2a228a4e36a2ed", | |
| "msg": ":4883313335721155561066861078293", | |
| "ct": "82954766988206730186206581037768", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1212, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fec50f94dcbd14d957c5ba9f96160df7", | |
| "tweak": "6f2a228a4e36a2ed", | |
| "msg": "2488331333:721155561066861078293", | |
| "ct": "28168382304215209560887868188257", | |
| "result": "invalid" | |
| }, | |
| { | |
| "tcId": 1213, | |
| "comment": "plaintext contains invalid values", | |
| "flags": [ | |
| "InvalidPlaintext" | |
| ], | |
| "key": "fec50f94dcbd14d957c5ba9f96160df7", | |
| "tweak": "6f2a228a4e36a2ed", | |
| "msg": "2488331333572115556106686107829:", | |
| "ct": "59908675073881188169467946148078", | |
| "result": "invalid" | |
| } | |
| ] | |
| }, | |
| { | |
| "alphabet": "0123456789", | |
| "keySize": 128, | |
| "msgSize": 33, | |
| "radix": 10, | |
| "type": "FpeStrTest", | |
| "tests": [ | |
| { | |
| "tcId": 1214, | |
| "comment": "normal message size", | |
| "flags": [ | |
| "NormalMessageSize" | |
| ], | |
| "key": "df76fc71b7d899068b43f16bc5858dbd", | |
| "tweak": "8e55911ef156dfe2", | |
| "msg": "504692389434766061620152404859001", | |
| "ct": "032807412119607177451490152668248", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1215, | |
| "comment": "minimal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "000000000000000000000000000000000", | |
| "ct": "949884820862607798743772719299679", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1216, | |
| "comment": "maximal integer values in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "999999999999999999999999999999999", | |
| "ct": "325977530740713056466320823186147", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1217, | |
| "comment": "powers of two in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "900719925474099272057594037927936", | |
| "ct": "851389500178194492771025884937023", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1218, | |
| "comment": "integers with large hamming weight in plaintext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "900719925474099172057594037927935", | |
| "ct": "431139220806332082537659512975753", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1219, | |
| "comment": "minimal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "085828361301215517598369021182614", | |
| "ct": "300275605189052637508161841516900", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1220, | |
| "comment": "maximal integer values in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "476743740592096838912545368498709", | |
| "ct": "167203939671853433458750021369695", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1221, | |
| "comment": "powers of two in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "589275824078283539410386079429965", | |
| "ct": "615697799863208152663168010717700", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1222, | |
| "comment": "integers with large hamming weight in round 5", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "549982756386515841462376736969759", | |
| "ct": "956130718988967548009048354161316", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1223, | |
| "comment": "minimal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "908268648244645468995674457838767", | |
| "ct": "031796461055781144255846995038749", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1224, | |
| "comment": "maximal integer values in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "630127713541992957282296370530056", | |
| "ct": "907269212108548590609133986089234", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1225, | |
| "comment": "powers of two in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "756241105113718024017809866408765", | |
| "ct": "413502635232469498908801611118296", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1226, | |
| "comment": "integers with large hamming weight in round 6", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "678180370906627396280999414907261", | |
| "ct": "974350013425557206001776165092852", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1227, | |
| "comment": "minimal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "354125574985844364777602970915208", | |
| "ct": "000000000000000000000000000000000", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1228, | |
| "comment": "maximal integer values in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "382221209851904429151289120964593", | |
| "ct": "999999999999999999999999999999999", | |
| "result": "valid" | |
| }, | |
| { | |
| "tcId": 1229, | |
| "comment": "powers of two in ciphertext", | |
| "flags": [ | |
| "EdgeCaseState" | |
| ], | |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", | |
| "tweak": "c681328bedc2348a", | |
| "msg": "686237065543272092038565081863454", | |