| { |
| "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", |
| "ct": "900719925474099272057594037927936", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1230, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f4bf72d1ef39bf25630f78f3731dc8e", |
| "tweak": "c681328bedc2348a", |
| "msg": "345969729537826621933159768919156", |
| "ct": "900719925474099172057594037927935", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1231, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a6fef3af952a69e60878a8bacf189f04", |
| "tweak": "b3ac4562169e178f", |
| "msg": "k07465693283978823049558800019116", |
| "ct": "287598848628783311914193295648166", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1232, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a6fef3af952a69e60878a8bacf189f04", |
| "tweak": "b3ac4562169e178f", |
| "msg": "70746569328>978823049558800019116", |
| "ct": "818504635437113510136444547316934", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1233, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a6fef3af952a69e60878a8bacf189f04", |
| "tweak": "b3ac4562169e178f", |
| "msg": "70746569328397882304955880001911^", |
| "ct": "359185057563947789280511717740530", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1234, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ff51f703f6b785ac34281dcaa13f91bf", |
| "tweak": "ee6f0937bc2edf10", |
| "msg": ":91104502300796601758962345855438", |
| "ct": "873636983411135893694144825629092", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1235, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ff51f703f6b785ac34281dcaa13f91bf", |
| "tweak": "ee6f0937bc2edf10", |
| "msg": "69110450230:796601758962345855438", |
| "ct": "097934253189963241161868737320408", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1236, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ff51f703f6b785ac34281dcaa13f91bf", |
| "tweak": "ee6f0937bc2edf10", |
| "msg": "69110450230079660175896234585543:", |
| "ct": "113001632022623017328452252072107", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 38, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1237, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "1882ed1962852c6fc7c2218ba48d3c58", |
| "tweak": "25e032b39da50d1e", |
| "msg": "52746963796066785628587618707103883210", |
| "ct": "51354715634650695974481486165562178186", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1238, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "00000000000000000000000000000000000000", |
| "ct": "45193631923371671811864871325885923113", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1239, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "99999999999999999999999999999999999999", |
| "ct": "09811074666481121634726571010290271235", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1240, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "92233720368547758089223372036854775808", |
| "ct": "63150352422343223036093611124178769812", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1241, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "92233720368547758079223372036854775807", |
| "ct": "37044542509467236592215972695632022068", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1242, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "58546277049398787112040490818134326026", |
| "ct": "26858244772621197140912809897536752517", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1243, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "23734124430459208673305341291683302234", |
| "ct": "19541695162506156914787173884621456028", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1244, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "53338678980486395241796067147024762135", |
| "ct": "95172248139118311468701069830903970845", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1245, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "71370559512557841348519817549077694162", |
| "ct": "75792526798665545928209567696693831720", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1246, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "22271564788297046874990129357954664526", |
| "ct": "41494949549100035046755755665170829674", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1247, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "57820060275859348656211593485303376118", |
| "ct": "09080294644717953364450865304580516640", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1248, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "04578939974318429831314504004648311784", |
| "ct": "40725104442062487872452084752065670339", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1249, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "02929853811332843580109069320174961049", |
| "ct": "47032237616127028068835647037028044881", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1250, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "96577290329788190389477312883997991002", |
| "ct": "00000000000000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1251, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "61874008812480932491222369748930682227", |
| "ct": "99999999999999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1252, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "03817461340165293092010575608893137232", |
| "ct": "92233720368547758089223372036854775808", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1253, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cd1d0dacdfdf97ab08f6bb0a38b8429b", |
| "tweak": "428e4f66832904d6", |
| "msg": "55929409284033474745138365007605365137", |
| "ct": "92233720368547758079223372036854775807", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1254, |
| "comment": "y = 0 and (y + a) % radix**19 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "15d149c3b2c35e", |
| "msg": "12031040106630599279580988067808667041", |
| "ct": "57705407045662633921878142734184004359", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1255, |
| "comment": "y = 0 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "15d149c3b2c35e", |
| "msg": "85316595366358130365892699664542398340", |
| "ct": "82900553117790657068401978888060883008", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1256, |
| "comment": "y = 0 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "15d149c3b2c35e", |
| "msg": "36788386785670776570300019189561322863", |
| "ct": "74470359357092830777901762673802728914", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1257, |
| "comment": "y = 0 and (y + a) % radix**19 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "15d149c3b2c35e", |
| "msg": "37047497261560535242939546278222052486", |
| "ct": "47040514851269470609393807773564881762", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1258, |
| "comment": "y = 1 and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "5a2c457a303f29", |
| "msg": "36297180661324995524745477310975608738", |
| "ct": "50041498267458429502955417294295891273", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1259, |
| "comment": "y = 1 and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "5a2c457a303f29", |
| "msg": "04542197547840084709212646982782910844", |
| "ct": "51204161126427752671344024552476082206", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1260, |
| "comment": "y = 1 and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "5a2c457a303f29", |
| "msg": "82397496748767296169463467916267767993", |
| "ct": "66278387271305493173272048391160547727", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1261, |
| "comment": "y = 1 and (y + a) % radix**19 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "5a2c457a303f29", |
| "msg": "74364888827144250716689354812659771600", |
| "ct": "50847869964935502013163811500017170624", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1262, |
| "comment": "y = 1 and (y + a) % radix**19 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "5a2c457a303f29", |
| "msg": "54725810175504270977370791544612946222", |
| "ct": "88587541520682595946661101351664441010", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1263, |
| "comment": "y is maximal and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "956f36973369dc", |
| "msg": "61500077857055045199513140539913217311", |
| "ct": "70122971441100211424495176123193743275", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1264, |
| "comment": "y is maximal and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "956f36973369dc", |
| "msg": "88167787415700930020120827248412622588", |
| "ct": "80582725079876577600402269309964223993", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1265, |
| "comment": "y is maximal and (y + a) % radix**19 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "956f36973369dc", |
| "msg": "32445141830863867596464937663870787526", |
| "ct": "10674228806011312375498564479787989896", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1266, |
| "comment": "y is maximal and (y + a) % radix**19 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "956f36973369dc", |
| "msg": "83160370635490463791344431087079018264", |
| "ct": "93783430891308524564804302432424814470", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1267, |
| "comment": "y is maximal and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "956f36973369dc", |
| "msg": "02525881278197084760179825728742293425", |
| "ct": "54022751310727583604135093637818199103", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1268, |
| "comment": "y is maximal and a is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "956f36973369dc", |
| "msg": "46856652784862992033456737196871924443", |
| "ct": "75841872233720573034257569278449688645", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1269, |
| "comment": "y is edge case for modular reduction and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "e1ebecadaebca6", |
| "msg": "14223776931906272702583363435494459621", |
| "ct": "98697905203106557274880593766336911406", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1270, |
| "comment": "y is edge case for modular reduction and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "e1ebecadaebca6", |
| "msg": "28854879441181992540615551263552142251", |
| "ct": "79204887971804793472284811356945811292", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1271, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**19 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "e1ebecadaebca6", |
| "msg": "70394543480804875928744208690682247110", |
| "ct": "07541378656951228618844015064042000712", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1272, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**19 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "e1ebecadaebca6", |
| "msg": "48552729027316108967373399686215696190", |
| "ct": "66865817830771658941794890858870437376", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1273, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "e1ebecadaebca6", |
| "msg": "93710498443556121870117396258606713080", |
| "ct": "81248517493157634757197455820894151044", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1274, |
| "comment": "y is edge case for modular reduction and a is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "e1ebecadaebca6", |
| "msg": "48662903924407069478998843787656913552", |
| "ct": "75294787807704967092665334962960192368", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1275, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**19 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "27f5921f2881a8", |
| "msg": "75719689573562545039058474339740643493", |
| "ct": "99999999999999999995095673931776481756", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1276, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**19 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "27f5921f2881a8", |
| "msg": "89904868725198363212775578838424984050", |
| "ct": "00000000000000000003509491437764749354", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1277, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "27f5921f2881a8", |
| "msg": "15960809777383682567068723603543673583", |
| "ct": "92233720368547758070700814828168229058", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1278, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b7be1e4ce30f84cd385c8f703d0981ab", |
| "tweak": "27f5921f2881a8", |
| "msg": "49942992882713510259658031131083329323", |
| "ct": "99999999999999999989472436314724810856", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1279, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d219b02b6ad4dc93f25b29845a5d379a", |
| "tweak": "d014dadc58d337e3", |
| "msg": "v2634363924447901581301319137049498602", |
| "ct": "05359234461600568839585549769578991712", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1280, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d219b02b6ad4dc93f25b29845a5d379a", |
| "tweak": "d014dadc58d337e3", |
| "msg": "726343639244P7901581301319137049498602", |
| "ct": "70868952385659484658391647442879213862", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1281, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d219b02b6ad4dc93f25b29845a5d379a", |
| "tweak": "d014dadc58d337e3", |
| "msg": "7263436392444790158130131913704949860]", |
| "ct": "77472873056650660452854271985519387013", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1282, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a91af56ef82437c0c6f7bea9e13f732f", |
| "tweak": "60d5f9eec1eee7ef", |
| "msg": ":5586448862682533724748588082819272892", |
| "ct": "31081050583211773935601146772000385240", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1283, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a91af56ef82437c0c6f7bea9e13f732f", |
| "tweak": "60d5f9eec1eee7ef", |
| "msg": "355864488626:2533724748588082819272892", |
| "ct": "25922056282937062672571536263738058049", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1284, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a91af56ef82437c0c6f7bea9e13f732f", |
| "tweak": "60d5f9eec1eee7ef", |
| "msg": "3558644886268253372474858808281927289:", |
| "ct": "49660461798181802125128786884391220804", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 6, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1285, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "4d7429ddc83d27457a152d4981aab3ddf56dd2410647ad47", |
| "tweak": "ada060734534dfa1", |
| "msg": "888629", |
| "ct": "604101", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1286, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "000000", |
| "ct": "492406", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1287, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "999999", |
| "ct": "323090", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1288, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "512512", |
| "ct": "890830", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1289, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "511511", |
| "ct": "173364", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1290, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "728140", |
| "ct": "736318", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1291, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "516375", |
| "ct": "511816", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1292, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "350135", |
| "ct": "935409", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1293, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "019184", |
| "ct": "323263", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1294, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "911612", |
| "ct": "359994", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1295, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "904003", |
| "ct": "902575", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1296, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "012131", |
| "ct": "386753", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1297, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "425242", |
| "ct": "627672", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1298, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "660373", |
| "ct": "000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1299, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "764059", |
| "ct": "999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1300, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "294146", |
| "ct": "512512", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1301, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb11ec30c2d9417c1a8e1484073c1d8e73277b92880ff21e", |
| "tweak": "94045aa1a1f8fef4", |
| "msg": "588656", |
| "ct": "511511", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1302, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "b13df75903667c994a087188f2", |
| "msg": "790849", |
| "ct": "737759", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1303, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "b13df75903667c994a087188f2", |
| "msg": "102381", |
| "ct": "846006", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1304, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "b13df75903667c994a087188f2", |
| "msg": "191153", |
| "ct": "763188", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1305, |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "b13df75903667c994a087188f2", |
| "msg": "933051", |
| "ct": "434598", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1306, |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "b13df75903667c994a087188f2", |
| "msg": "925486", |
| "ct": "170237", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1307, |
| "comment": "y is maximal and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "13ac6f4e504c7d105dc96c809d", |
| "msg": "488590", |
| "ct": "694615", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1308, |
| "comment": "y is maximal and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "13ac6f4e504c7d105dc96c809d", |
| "msg": "368273", |
| "ct": "694616", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1309, |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "13ac6f4e504c7d105dc96c809d", |
| "msg": "581523", |
| "ct": "694999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1310, |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "13ac6f4e504c7d105dc96c809d", |
| "msg": "812738", |
| "ct": "694000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1311, |
| "comment": "y is maximal and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "13ac6f4e504c7d105dc96c809d", |
| "msg": "419820", |
| "ct": "694127", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1312, |
| "comment": "y is maximal and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "13ac6f4e504c7d105dc96c809d", |
| "msg": "917012", |
| "ct": "694614", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1313, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "23e1673b0da03c95825dcd7de5", |
| "msg": "769831", |
| "ct": "551753", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1314, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "23e1673b0da03c95825dcd7de5", |
| "msg": "672860", |
| "ct": "058552", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1315, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "23e1673b0da03c95825dcd7de5", |
| "msg": "992932", |
| "ct": "536247", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1316, |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "554366274f70a25ea36c134016e632c910fb14f397c950ed", |
| "tweak": "23e1673b0da03c95825dcd7de5", |
| "msg": "579871", |
| "ct": "446206", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1317, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", |
| "tweak": "c0b22a647b59d5ca", |
| "msg": "e55469", |
| "ct": "773734", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1318, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", |
| "tweak": "c0b22a647b59d5ca", |
| "msg": "65w469", |
| "ct": "486250", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1319, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88167c8609d65b4d1f5f83c582b079e4ef7079b329a49fda", |
| "tweak": "c0b22a647b59d5ca", |
| "msg": "65546W", |
| "ct": "654636", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1320, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "feebd5b769f886bb7253d04ca863d232a45bc580a5ac30dd", |
| "tweak": "a8e928b64b13cb57", |
| "msg": ":53874", |
| "ct": "637685", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1321, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "feebd5b769f886bb7253d04ca863d232a45bc580a5ac30dd", |
| "tweak": "a8e928b64b13cb57", |
| "msg": "55:874", |
| "ct": "698772", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1322, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "feebd5b769f886bb7253d04ca863d232a45bc580a5ac30dd", |
| "tweak": "a8e928b64b13cb57", |
| "msg": "55387:", |
| "ct": "401741", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 7, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1323, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "87f7c60d04f5313cff17a4e7fad56c33b0afb439939c1ab5", |
| "tweak": "20e854d3f367ab8e", |
| "msg": "8712204", |
| "ct": "3030093", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1324, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "0000000", |
| "ct": "2765283", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1325, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "9999999", |
| "ct": "7178517", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1326, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "5128192", |
| "ct": "7781838", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1327, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "5118191", |
| "ct": "6918598", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1328, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "3780450", |
| "ct": "8534823", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1329, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "6039445", |
| "ct": "4448105", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1330, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "6976390", |
| "ct": "9095914", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1331, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "4452837", |
| "ct": "9906473", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1332, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "9611538", |
| "ct": "7538057", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1333, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "7060228", |
| "ct": "6372470", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1334, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "4239756", |
| "ct": "0519114", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1335, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "0937665", |
| "ct": "2762555", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1336, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "3377690", |
| "ct": "0000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1337, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "6733724", |
| "ct": "9999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1338, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "6501227", |
| "ct": "5128192", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1339, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "75cab941d9824399ade8dd4b38df396804fe8d43296f901c", |
| "tweak": "b08eb74eb083e732", |
| "msg": "8357244", |
| "ct": "5118191", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1340, |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "6d33290ac94835f30ae25eaa89", |
| "msg": "7663494", |
| "ct": "0001503", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1341, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "6d33290ac94835f30ae25eaa89", |
| "msg": "4100313", |
| "ct": "0011150", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1342, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "6d33290ac94835f30ae25eaa89", |
| "msg": "2269170", |
| "ct": "5124195", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1343, |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "6d33290ac94835f30ae25eaa89", |
| "msg": "0467301", |
| "ct": "9993841", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1344, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "3f6772136483af6facf3c44f6f", |
| "msg": "7797097", |
| "ct": "0264238", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1345, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "3f6772136483af6facf3c44f6f", |
| "msg": "2715634", |
| "ct": "7662726", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1346, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "3f6772136483af6facf3c44f6f", |
| "msg": "2443469", |
| "ct": "3613018", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1347, |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "3f6772136483af6facf3c44f6f", |
| "msg": "1197119", |
| "ct": "9252773", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1348, |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "3f6772136483af6facf3c44f6f", |
| "msg": "9351947", |
| "ct": "1047927", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1349, |
| "comment": "y is maximal and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "ebfe98c6a29dc84a5073079e60", |
| "msg": "0882048", |
| "ct": "4231211", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1350, |
| "comment": "y is maximal and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "ebfe98c6a29dc84a5073079e60", |
| "msg": "1328965", |
| "ct": "1356964", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1351, |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "ebfe98c6a29dc84a5073079e60", |
| "msg": "9888865", |
| "ct": "0209211", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1352, |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "ebfe98c6a29dc84a5073079e60", |
| "msg": "1817099", |
| "ct": "9563437", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1353, |
| "comment": "y is maximal and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "ebfe98c6a29dc84a5073079e60", |
| "msg": "5275652", |
| "ct": "4623216", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1354, |
| "comment": "y is maximal and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "ebfe98c6a29dc84a5073079e60", |
| "msg": "0870636", |
| "ct": "0841656", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1355, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "3840f0062d2e3aa16696977763", |
| "msg": "0198179", |
| "ct": "3033014", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1356, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "3840f0062d2e3aa16696977763", |
| "msg": "1615765", |
| "ct": "5387250", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1357, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "3840f0062d2e3aa16696977763", |
| "msg": "1182575", |
| "ct": "1106784", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1358, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**3 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "3840f0062d2e3aa16696977763", |
| "msg": "7082094", |
| "ct": "7243939", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1359, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "3840f0062d2e3aa16696977763", |
| "msg": "3305187", |
| "ct": "9603939", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1360, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "3840f0062d2e3aa16696977763", |
| "msg": "5358089", |
| "ct": "1779587", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1361, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "6e06a972a01d7864d6d6c51be4", |
| "msg": "6779086", |
| "ct": "9999498", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1362, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "6e06a972a01d7864d6d6c51be4", |
| "msg": "2699670", |
| "ct": "0003842", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1363, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "6e06a972a01d7864d6d6c51be4", |
| "msg": "7718586", |
| "ct": "5117756", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1364, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5770c68113fac20abbd419d0c588e7929dd202a9829db695", |
| "tweak": "6e06a972a01d7864d6d6c51be4", |
| "msg": "1655872", |
| "ct": "9984246", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1365, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", |
| "tweak": "60ffe987c829b479", |
| "msg": "}508020", |
| "ct": "3851587", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1366, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", |
| "tweak": "60ffe987c829b479", |
| "msg": "35^8020", |
| "ct": "7671843", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1367, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "feb4107ae457413c5445e8f77175ea0ee1d610dcea97129b", |
| "tweak": "60ffe987c829b479", |
| "msg": "350802h", |
| "ct": "5914982", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1368, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "98aea9bf199424d38857b6cd4b0cf39b8c78a6f2b40c3d45", |
| "tweak": "49868bb832c3fb42", |
| "msg": ":273849", |
| "ct": "5063240", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1369, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "98aea9bf199424d38857b6cd4b0cf39b8c78a6f2b40c3d45", |
| "tweak": "49868bb832c3fb42", |
| "msg": "42:3849", |
| "ct": "0048143", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1370, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "98aea9bf199424d38857b6cd4b0cf39b8c78a6f2b40c3d45", |
| "tweak": "49868bb832c3fb42", |
| "msg": "427384:", |
| "ct": "7228779", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 8, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1371, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "92a79c3f030f2aba3096f2537c9d47403d9f4b2ede166d87", |
| "tweak": "3146e53b9e1162f2", |
| "msg": "68534744", |
| "ct": "02260876", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1372, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "00000000", |
| "ct": "39666243", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1373, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "99999999", |
| "ct": "78040499", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1374, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "81928192", |
| "ct": "05711882", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1375, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "81918191", |
| "ct": "64997739", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1376, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "63205369", |
| "ct": "94165478", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1377, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "78649986", |
| "ct": "44194724", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1378, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "12665047", |
| "ct": "69557609", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1379, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "35239216", |
| "ct": "06603567", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1380, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "63464196", |
| "ct": "05081625", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1381, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "85889238", |
| "ct": "17834161", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1382, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "78320613", |
| "ct": "87964505", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1383, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "66013132", |
| "ct": "16749841", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1384, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "87915158", |
| "ct": "00000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1385, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "06288894", |
| "ct": "99999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1386, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "18067991", |
| "ct": "81928192", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1387, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "51457a1a434804c4b210581136078cce2b56562af03b5e4b", |
| "tweak": "b8519119f55eeaa7", |
| "msg": "71366233", |
| "ct": "81918191", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1388, |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "95120d4f8eb90ce193f0a20144", |
| "msg": "68479811", |
| "ct": "25102753", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1389, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "95120d4f8eb90ce193f0a20144", |
| "msg": "29395314", |
| "ct": "10137419", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1390, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "95120d4f8eb90ce193f0a20144", |
| "msg": "76619148", |
| "ct": "71823422", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1391, |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "95120d4f8eb90ce193f0a20144", |
| "msg": "31746312", |
| "ct": "15983256", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1392, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "415713a1271c08f76ec9b29c17", |
| "msg": "69622832", |
| "ct": "44337077", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1393, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "415713a1271c08f76ec9b29c17", |
| "msg": "54788290", |
| "ct": "76901230", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1394, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "415713a1271c08f76ec9b29c17", |
| "msg": "04291562", |
| "ct": "08157546", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1395, |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "415713a1271c08f76ec9b29c17", |
| "msg": "52463161", |
| "ct": "53865925", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1396, |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "415713a1271c08f76ec9b29c17", |
| "msg": "35173250", |
| "ct": "48278927", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1397, |
| "comment": "y is maximal and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "1bc59db97a3da783348f22fa8b", |
| "msg": "99671909", |
| "ct": "01317112", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1398, |
| "comment": "y is maximal and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "1bc59db97a3da783348f22fa8b", |
| "msg": "78233353", |
| "ct": "37992433", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1399, |
| "comment": "y is maximal and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "1bc59db97a3da783348f22fa8b", |
| "msg": "30764908", |
| "ct": "04777005", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1400, |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "1bc59db97a3da783348f22fa8b", |
| "msg": "58697816", |
| "ct": "54999826", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1401, |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "1bc59db97a3da783348f22fa8b", |
| "msg": "47681787", |
| "ct": "07597175", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1402, |
| "comment": "y is maximal and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "1bc59db97a3da783348f22fa8b", |
| "msg": "12545151", |
| "ct": "69017074", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1403, |
| "comment": "y is edge case for modular reduction and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "c10e11ec79fd5674ace87080ee", |
| "msg": "72569668", |
| "ct": "29794532", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1404, |
| "comment": "y is edge case for modular reduction and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "c10e11ec79fd5674ace87080ee", |
| "msg": "34059492", |
| "ct": "94931589", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1405, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "c10e11ec79fd5674ace87080ee", |
| "msg": "37964432", |
| "ct": "76582112", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1406, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "c10e11ec79fd5674ace87080ee", |
| "msg": "71373790", |
| "ct": "87580935", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1407, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "c10e11ec79fd5674ace87080ee", |
| "msg": "55740132", |
| "ct": "81872230", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1408, |
| "comment": "y is edge case for modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "c10e11ec79fd5674ace87080ee", |
| "msg": "74313627", |
| "ct": "77565413", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1409, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "9557e51de8968ba5e7ca3955fa", |
| "msg": "00006662", |
| "ct": "09434859", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1410, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "9557e51de8968ba5e7ca3955fa", |
| "msg": "00016662", |
| "ct": "79428152", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1411, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "9557e51de8968ba5e7ca3955fa", |
| "msg": "81926662", |
| "ct": "39171034", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1412, |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2b2051b7468176d99a241501f41a390fa53b7b9f88048e81", |
| "tweak": "9557e51de8968ba5e7ca3955fa", |
| "msg": "99996662", |
| "ct": "03324474", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1413, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", |
| "tweak": "1a7d6192c4daa46f", |
| "msg": ".2950079", |
| "ct": "72600782", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1414, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", |
| "tweak": "1a7d6192c4daa46f", |
| "msg": "52y50079", |
| "ct": "39626690", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1415, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "26269e1a26e94d2e2ea71b104dc4b9e1bcd2b0ba346514c9", |
| "tweak": "1a7d6192c4daa46f", |
| "msg": "5295007S", |
| "ct": "72495871", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1416, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a7a80dc60d516ff2fa92c976e419b3a312e97d79fd290773", |
| "tweak": "43d61569292df776", |
| "msg": ":7517069", |
| "ct": "07643647", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1417, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a7a80dc60d516ff2fa92c976e419b3a312e97d79fd290773", |
| "tweak": "43d61569292df776", |
| "msg": "07:17069", |
| "ct": "21033056", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1418, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a7a80dc60d516ff2fa92c976e419b3a312e97d79fd290773", |
| "tweak": "43d61569292df776", |
| "msg": "0751706:", |
| "ct": "17253159", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 9, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1419, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "c5fa236ae679d3c1d533758578e3a5c48752179eb298ac0e", |
| "tweak": "72ac4fc84f5bc825", |
| "msg": "191375438", |
| "ct": "371181796", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1420, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "000000000", |
| "ct": "649057813", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1421, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "999999999", |
| "ct": "067184984", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1422, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "819265536", |
| "ct": "729633171", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1423, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "819165535", |
| "ct": "538211444", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1424, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "072202144", |
| "ct": "602893113", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1425, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "301795302", |
| "ct": "525133923", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1426, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "236577093", |
| "ct": "026281730", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1427, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "763481342", |
| "ct": "055679854", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1428, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "866892595", |
| "ct": "959311431", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1429, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "880172649", |
| "ct": "719681495", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1430, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "870931884", |
| "ct": "645955216", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1431, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "714948416", |
| "ct": "233736385", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1432, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "517822345", |
| "ct": "000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1433, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "024400404", |
| "ct": "999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1434, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "566944778", |
| "ct": "819265536", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1435, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3f923c61df065e0134b869fc00291ad841dc168a6d7a8706", |
| "tweak": "2f9eb9835c605c21", |
| "msg": "104850838", |
| "ct": "819165535", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1436, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", |
| "tweak": "2f4481b579f8a5f8", |
| "msg": "r10531928", |
| "ct": "581033405", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1437, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", |
| "tweak": "2f4481b579f8a5f8", |
| "msg": "810\\31928", |
| "ct": "154007307", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1438, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "88a0eae50953549253b7548d6d10ae9c77957524fe235909", |
| "tweak": "2f4481b579f8a5f8", |
| "msg": "81053192;", |
| "ct": "506701956", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1439, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d791478586f7c0b847f7f1d0307bfbc1c5be928e5b999b74", |
| "tweak": "76a991044699e6c4", |
| "msg": ":96775064", |
| "ct": "536877336", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1440, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d791478586f7c0b847f7f1d0307bfbc1c5be928e5b999b74", |
| "tweak": "76a991044699e6c4", |
| "msg": "096:75064", |
| "ct": "349033089", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1441, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d791478586f7c0b847f7f1d0307bfbc1c5be928e5b999b74", |
| "tweak": "76a991044699e6c4", |
| "msg": "09677506:", |
| "ct": "378323524", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 10, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1442, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "8cf0a0e458eba1cc12ed18041ba331835519346134d0e908", |
| "tweak": "ea8c0ae555bb05ce", |
| "msg": "8172353307", |
| "ct": "5361606625", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1443, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "0000000000", |
| "ct": "5451163899", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1444, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "9999999999", |
| "ct": "1373203821", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1445, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "6553665536", |
| "ct": "1405363550", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1446, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "6553565535", |
| "ct": "8771805763", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1447, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "1563922890", |
| "ct": "4955443532", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1448, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "8296245340", |
| "ct": "1844708801", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1449, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "8072932772", |
| "ct": "7663288072", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1450, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "9360753687", |
| "ct": "7432404038", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1451, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "2333028481", |
| "ct": "5638166963", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1452, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "7958382169", |
| "ct": "2816438861", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1453, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "6577683536", |
| "ct": "9711609134", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1454, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "2997279229", |
| "ct": "8090108182", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1455, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "5668393063", |
| "ct": "0000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1456, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "8327051551", |
| "ct": "9999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1457, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "5771208666", |
| "ct": "6553665536", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1458, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "215232d3b718e6b5faa380fd00ba41ba3a8a900b258c5d46", |
| "tweak": "6652c929f1c728b2", |
| "msg": "7475345948", |
| "ct": "6553565535", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1459, |
| "comment": "y is edge case for modular reduction and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "710dad6c8a3b8413516b0d44", |
| "msg": "4076714361", |
| "ct": "7547588673", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1460, |
| "comment": "y is edge case for modular reduction and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "710dad6c8a3b8413516b0d44", |
| "msg": "1222188306", |
| "ct": "2746399051", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1461, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "710dad6c8a3b8413516b0d44", |
| "msg": "8649952149", |
| "ct": "6714626875", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1462, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "710dad6c8a3b8413516b0d44", |
| "msg": "5405079431", |
| "ct": "6391900908", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1463, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "710dad6c8a3b8413516b0d44", |
| "msg": "9732762026", |
| "ct": "2361143222", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1464, |
| "comment": "y is edge case for modular reduction and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "fea03dae3a5126a20eff79dbfac4d88012f3527cb6b8b91d", |
| "tweak": "710dad6c8a3b8413516b0d44", |
| "msg": "5513073543", |
| "ct": "4058945840", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1465, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", |
| "tweak": "4343b0033d260a29", |
| "msg": "R340083932", |
| "ct": "8924564874", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1466, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", |
| "tweak": "4343b0033d260a29", |
| "msg": "034x083932", |
| "ct": "4687500295", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1467, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3c32e710dccd059569c0914f7c4324e4d8276073fa8634ee", |
| "tweak": "4343b0033d260a29", |
| "msg": "034008393(", |
| "ct": "7615409662", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1468, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "eebfda83d9b7499c225293ab115e6f5aeed28252ff4e8d5b", |
| "tweak": "8b7b4dabfcf1d531", |
| "msg": ":491593907", |
| "ct": "7371990659", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1469, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "eebfda83d9b7499c225293ab115e6f5aeed28252ff4e8d5b", |
| "tweak": "8b7b4dabfcf1d531", |
| "msg": "849:593907", |
| "ct": "2394271704", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1470, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "eebfda83d9b7499c225293ab115e6f5aeed28252ff4e8d5b", |
| "tweak": "8b7b4dabfcf1d531", |
| "msg": "849159390:", |
| "ct": "7505838835", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 11, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1471, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "f8a4cc9863b4aa6eb5b16e9401b0b83e25dd78a96abe6870", |
| "tweak": "8d5a3a9b130e7bad", |
| "msg": "49776367210", |
| "ct": "94612153045", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1472, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "00000000000", |
| "ct": "43092372634", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1473, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "99999999999", |
| "ct": "19827980960", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1474, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "65536524288", |
| "ct": "96712641789", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1475, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "65535524287", |
| "ct": "33221490636", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1476, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "22976743117", |
| "ct": "81589186128", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1477, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "38744285645", |
| "ct": "54802669685", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1478, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "08404022165", |
| "ct": "01808591163", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1479, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "17867118519", |
| "ct": "56965269893", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1480, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "58831799596", |
| "ct": "89687409237", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1481, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "61397470951", |
| "ct": "15861208611", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1482, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "20273587484", |
| "ct": "05154732862", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1483, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "42305672016", |
| "ct": "87214168531", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1484, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "39729770182", |
| "ct": "00000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1485, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "16468423791", |
| "ct": "99999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1486, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "91273867656", |
| "ct": "65536524288", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1487, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2d8a82f408b54773fa16bcaa10478bccda856f1532f55924", |
| "tweak": "60ba1190480fd9b7", |
| "msg": "41087225913", |
| "ct": "65535524287", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1488, |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "117567a5eaf289d2e204a62f", |
| "msg": "25375543342", |
| "ct": "21766354016", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1489, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "117567a5eaf289d2e204a62f", |
| "msg": "66003798106", |
| "ct": "16364450137", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1490, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "117567a5eaf289d2e204a62f", |
| "msg": "17888939635", |
| "ct": "07886327564", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1491, |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "117567a5eaf289d2e204a62f", |
| "msg": "76471029664", |
| "ct": "78593636936", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1492, |
| "comment": "y = 1 and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "662608d6b28cc387a0ca10d9", |
| "msg": "55135758625", |
| "ct": "00001411774", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1493, |
| "comment": "y = 1 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "662608d6b28cc387a0ca10d9", |
| "msg": "54627002651", |
| "ct": "00002327110", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1494, |
| "comment": "y = 1 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "662608d6b28cc387a0ca10d9", |
| "msg": "85139865263", |
| "ct": "65537010536", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1495, |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "662608d6b28cc387a0ca10d9", |
| "msg": "17763386176", |
| "ct": "99999870295", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1496, |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "662608d6b28cc387a0ca10d9", |
| "msg": "92556836823", |
| "ct": "00000836288", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1497, |
| "comment": "y is maximal and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "8ca19751a3bf0b2ca89404b2", |
| "msg": "47721471919", |
| "ct": "51615019402", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1498, |
| "comment": "y is maximal and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "8ca19751a3bf0b2ca89404b2", |
| "msg": "02621851130", |
| "ct": "51616084651", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1499, |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "8ca19751a3bf0b2ca89404b2", |
| "msg": "99667158504", |
| "ct": "99999268057", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1500, |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "8ca19751a3bf0b2ca89404b2", |
| "msg": "54487171541", |
| "ct": "00000545057", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1501, |
| "comment": "y is maximal and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "8ca19751a3bf0b2ca89404b2", |
| "msg": "42107730099", |
| "ct": "17151069409", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1502, |
| "comment": "y is maximal and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "8ca19751a3bf0b2ca89404b2", |
| "msg": "78675998320", |
| "ct": "51614689206", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1503, |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "d90d9e7076194b126df920bd", |
| "msg": "49273772217", |
| "ct": "78774070652", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1504, |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "d90d9e7076194b126df920bd", |
| "msg": "10937414549", |
| "ct": "27791180695", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1505, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "d90d9e7076194b126df920bd", |
| "msg": "49555352920", |
| "ct": "88584127311", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1506, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**5 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "d90d9e7076194b126df920bd", |
| "msg": "36794115189", |
| "ct": "88544882011", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1507, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "d90d9e7076194b126df920bd", |
| "msg": "07833443783", |
| "ct": "36954108244", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1508, |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "d90d9e7076194b126df920bd", |
| "msg": "44468988231", |
| "ct": "53540559842", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1509, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "6670548b6476b75c4690ba73", |
| "msg": "66803059459", |
| "ct": "86528493076", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1510, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "6670548b6476b75c4690ba73", |
| "msg": "68062398651", |
| "ct": "65932326217", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1511, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "6670548b6476b75c4690ba73", |
| "msg": "76456657671", |
| "ct": "98748499714", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1512, |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "092bf9051ef5a50c6b8c6118d4596f2edcbb964daf240aa3", |
| "tweak": "6670548b6476b75c4690ba73", |
| "msg": "99271494662", |
| "ct": "28303127491", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1513, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", |
| "tweak": "d0d85e79b79f69f7", |
| "msg": "#7320642276", |
| "ct": "14485920902", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1514, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", |
| "tweak": "d0d85e79b79f69f7", |
| "msg": "573s0642276", |
| "ct": "61638174612", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1515, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dd81747a21e5de1b0fa9db957426890649f89d790877fe07", |
| "tweak": "d0d85e79b79f69f7", |
| "msg": "5732064227a", |
| "ct": "24686906534", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1516, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "31456eea6e1b58d91d9ddc8e68c2bd7a369c2a925a7154a9", |
| "tweak": "56394daed07e1ca2", |
| "msg": ":8177965311", |
| "ct": "67849291907", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1517, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "31456eea6e1b58d91d9ddc8e68c2bd7a369c2a925a7154a9", |
| "tweak": "56394daed07e1ca2", |
| "msg": "881:7965311", |
| "ct": "98576269300", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1518, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "31456eea6e1b58d91d9ddc8e68c2bd7a369c2a925a7154a9", |
| "tweak": "56394daed07e1ca2", |
| "msg": "8817796531:", |
| "ct": "19787696399", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 12, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1519, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "f095a5d39f0b499cef0130b4eb3bfae90253a1f30270efb5", |
| "tweak": "36b5ea2cee9c08d6", |
| "msg": "128582963761", |
| "ct": "360695718665", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1520, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "000000000000", |
| "ct": "582157198693", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1521, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "999999999999", |
| "ct": "579033828746", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1522, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "524288524288", |
| "ct": "012679899495", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1523, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "524287524287", |
| "ct": "681785075130", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1524, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "632816750227", |
| "ct": "216563720336", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1525, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "094175612630", |
| "ct": "034197598533", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1526, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "187551881511", |
| "ct": "265153327822", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1527, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "312270121173", |
| "ct": "238178334799", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1528, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "489407010444", |
| "ct": "504168279035", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1529, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "548955315451", |
| "ct": "757429633506", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1530, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "581908621798", |
| "ct": "935556557636", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1531, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "885914885431", |
| "ct": "101452476023", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1532, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "751523396235", |
| "ct": "000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1533, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "359732994277", |
| "ct": "999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1534, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "445986503454", |
| "ct": "524288524288", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1535, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c44759a3f9a5010cbb35c7c9c7c470ae5d1aff3dceddeafd", |
| "tweak": "8f5a4485255e9e7a", |
| "msg": "115720356875", |
| "ct": "524287524287", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1536, |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "3414f4cc1f90095f60340541", |
| "msg": "353175563050", |
| "ct": "096115000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1537, |
| "comment": "y = 0 and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "3414f4cc1f90095f60340541", |
| "msg": "239137954259", |
| "ct": "096115000001", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1538, |
| "comment": "y = 0 and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "3414f4cc1f90095f60340541", |
| "msg": "556706704882", |
| "ct": "096115524288", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1539, |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "3414f4cc1f90095f60340541", |
| "msg": "752776089366", |
| "ct": "096115999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1540, |
| "comment": "y = 1 and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "1c34bd23b1831f48a4a67952", |
| "msg": "126169005821", |
| "ct": "000001675090", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1541, |
| "comment": "y = 1 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "1c34bd23b1831f48a4a67952", |
| "msg": "074989315910", |
| "ct": "000002374800", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1542, |
| "comment": "y = 1 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "1c34bd23b1831f48a4a67952", |
| "msg": "468318615565", |
| "ct": "524289383407", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1543, |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "1c34bd23b1831f48a4a67952", |
| "msg": "441640100679", |
| "ct": "999999270174", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1544, |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "1c34bd23b1831f48a4a67952", |
| "msg": "776356314855", |
| "ct": "000000179505", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1545, |
| "comment": "y is maximal and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "27c2599dd332ec8f3f95f06b", |
| "msg": "910134870645", |
| "ct": "722492551615", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1546, |
| "comment": "y is maximal and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "27c2599dd332ec8f3f95f06b", |
| "msg": "573662161534", |
| "ct": "722492551616", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1547, |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "27c2599dd332ec8f3f95f06b", |
| "msg": "265018827078", |
| "ct": "722492999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1548, |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "27c2599dd332ec8f3f95f06b", |
| "msg": "140446376769", |
| "ct": "722492000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1549, |
| "comment": "y is maximal and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "27c2599dd332ec8f3f95f06b", |
| "msg": "338845867794", |
| "ct": "722492075903", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1550, |
| "comment": "y is maximal and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "27c2599dd332ec8f3f95f06b", |
| "msg": "425474200313", |
| "ct": "722492551614", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1551, |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "befd5ae5b186547b9403734e", |
| "msg": "000000753547", |
| "ct": "566104174437", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1552, |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "befd5ae5b186547b9403734e", |
| "msg": "000001753547", |
| "ct": "073309861793", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1553, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "befd5ae5b186547b9403734e", |
| "msg": "448389753547", |
| "ct": "250897057161", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1554, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "befd5ae5b186547b9403734e", |
| "msg": "448390753547", |
| "ct": "070718653727", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1555, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "befd5ae5b186547b9403734e", |
| "msg": "524288753547", |
| "ct": "588056109582", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1556, |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "befd5ae5b186547b9403734e", |
| "msg": "999999753547", |
| "ct": "052286413362", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1557, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "05fb36c277ada51396001c83", |
| "msg": "613129218443", |
| "ct": "328515273052", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1558, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "05fb36c277ada51396001c83", |
| "msg": "012922557237", |
| "ct": "403005060023", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1559, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "05fb36c277ada51396001c83", |
| "msg": "476194928945", |
| "ct": "312488443053", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1560, |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b87921481252dee6c5917131e239a7e970010043b8ef047a", |
| "tweak": "05fb36c277ada51396001c83", |
| "msg": "375690331310", |
| "ct": "645298117882", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1561, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", |
| "tweak": "1f8dcd3dd4e01cbd", |
| "msg": "M75370579111", |
| "ct": "642675910299", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1562, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", |
| "tweak": "1f8dcd3dd4e01cbd", |
| "msg": "7753@0579111", |
| "ct": "817967268379", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1563, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dc7952cb430a0f36a83b3361821e7e3232b8fc5cabd1cf7f", |
| "tweak": "1f8dcd3dd4e01cbd", |
| "msg": "77537057911z", |
| "ct": "296062066061", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1564, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "07ff8e05c50269d749f6c70dc50416b97081d97c9b87cb67", |
| "tweak": "00c423ee70ec6d83", |
| "msg": ":02600354066", |
| "ct": "321657231087", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1565, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "07ff8e05c50269d749f6c70dc50416b97081d97c9b87cb67", |
| "tweak": "00c423ee70ec6d83", |
| "msg": "2026:0354066", |
| "ct": "425297390496", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1566, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "07ff8e05c50269d749f6c70dc50416b97081d97c9b87cb67", |
| "tweak": "00c423ee70ec6d83", |
| "msg": "20260035406:", |
| "ct": "506360220579", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 13, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1567, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "2b36e8a149dbee09bdfc43feaab6aa2d22f6b46b5a967013", |
| "tweak": "506f5152883327d6", |
| "msg": "4340574778829", |
| "ct": "3947226926597", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1568, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "0000000000000", |
| "ct": "4035081688540", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1569, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "9999999999999", |
| "ct": "5071459747574", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1570, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "5242888388608", |
| "ct": "5405239260164", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1571, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "5242878388607", |
| "ct": "1511046111580", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1572, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "1099597282404", |
| "ct": "9273852495713", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1573, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "4182839348121", |
| "ct": "9003747935393", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1574, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "0396150148391", |
| "ct": "4407329533958", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1575, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "7400680677640", |
| "ct": "2725135275939", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1576, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "0253398718157", |
| "ct": "7071657042593", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1577, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "8327103082911", |
| "ct": "6127107267481", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1578, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "1263009867748", |
| "ct": "4332038837958", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1579, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "5784007491628", |
| "ct": "3087727856795", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1580, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "0646576551373", |
| "ct": "0000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1581, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "8293109903575", |
| "ct": "9999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1582, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "2321810106424", |
| "ct": "5242888388608", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1583, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2f585639e28c4f1f5c5aa7ff5302f66893103019eaebcf52", |
| "tweak": "6512674893abe1ba", |
| "msg": "3028316188051", |
| "ct": "5242878388607", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1584, |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "ef0977c0cadced642f7cdfd2", |
| "msg": "2350525138973", |
| "ct": "0000005946606", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1585, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "ef0977c0cadced642f7cdfd2", |
| "msg": "2355579161961", |
| "ct": "0000011649292", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1586, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "ef0977c0cadced642f7cdfd2", |
| "msg": "1525770553173", |
| "ct": "5242880132008", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1587, |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "ef0977c0cadced642f7cdfd2", |
| "msg": "6191217551707", |
| "ct": "9999998823621", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1588, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "19844803572e02ba591d1428", |
| "msg": "3511935160138", |
| "ct": "4887611176442", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1589, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "19844803572e02ba591d1428", |
| "msg": "0376571771179", |
| "ct": "0047701507324", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1590, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "19844803572e02ba591d1428", |
| "msg": "0515428174777", |
| "ct": "6824691402734", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1591, |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "19844803572e02ba591d1428", |
| "msg": "2223426835143", |
| "ct": "5065410815568", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1592, |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "19844803572e02ba591d1428", |
| "msg": "4037371404883", |
| "ct": "1698963569353", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1593, |
| "comment": "y is maximal and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "d4abaa7b9e5ed13cdd35604d", |
| "msg": "0905216036609", |
| "ct": "1396808332310", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1594, |
| "comment": "y is maximal and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "d4abaa7b9e5ed13cdd35604d", |
| "msg": "8733431902679", |
| "ct": "4610975250610", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1595, |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "d4abaa7b9e5ed13cdd35604d", |
| "msg": "0730278022909", |
| "ct": "2470042671651", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1596, |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "d4abaa7b9e5ed13cdd35604d", |
| "msg": "5312328493855", |
| "ct": "5409864425507", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1597, |
| "comment": "y is maximal and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "d4abaa7b9e5ed13cdd35604d", |
| "msg": "1755337343739", |
| "ct": "8574551471082", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1598, |
| "comment": "y is maximal and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "d4abaa7b9e5ed13cdd35604d", |
| "msg": "1832389548707", |
| "ct": "3421088154297", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1599, |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "40cc7e615db8bed91495c1f0", |
| "msg": "2998699984652", |
| "ct": "5516107434544", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1600, |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "40cc7e615db8bed91495c1f0", |
| "msg": "0050852717742", |
| "ct": "5516112217591", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1601, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "40cc7e615db8bed91495c1f0", |
| "msg": "5137564517932", |
| "ct": "9999995632365", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1602, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "40cc7e615db8bed91495c1f0", |
| "msg": "3022740403451", |
| "ct": "0000001685960", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1603, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "40cc7e615db8bed91495c1f0", |
| "msg": "9863781959747", |
| "ct": "0758988386885", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1604, |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "40cc7e615db8bed91495c1f0", |
| "msg": "1508127651463", |
| "ct": "5516098535889", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1605, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "52c95d8c1cbdb2539ee48fdb", |
| "msg": "5761249895585", |
| "ct": "8035444193257", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1606, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "52c95d8c1cbdb2539ee48fdb", |
| "msg": "8127042480019", |
| "ct": "2140654567145", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1607, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "52c95d8c1cbdb2539ee48fdb", |
| "msg": "9445998889610", |
| "ct": "1515540216146", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1608, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "17ffee64e8c82cbf8509c89c1c5f9a5b8a139bf95bfaa728", |
| "tweak": "52c95d8c1cbdb2539ee48fdb", |
| "msg": "6982478781050", |
| "ct": "5304907978011", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1609, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", |
| "tweak": "bd80cf69edccc86d", |
| "msg": "e981272216907", |
| "ct": "3735504924776", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1610, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", |
| "tweak": "bd80cf69edccc86d", |
| "msg": "8981m72216907", |
| "ct": "0685301981406", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1611, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41b66fccbe91dcec1c918f4857177869a5ae99d40d71ab0f", |
| "tweak": "bd80cf69edccc86d", |
| "msg": "898127221690F", |
| "ct": "9692729978099", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1612, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fe11bd9bade9a77d2abc7543ccd06b9237b27d69f6018df5", |
| "tweak": "35ab449cac844248", |
| "msg": ":671809288059", |
| "ct": "8923111428510", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1613, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fe11bd9bade9a77d2abc7543ccd06b9237b27d69f6018df5", |
| "tweak": "35ab449cac844248", |
| "msg": "4671:09288059", |
| "ct": "8789029351583", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1614, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fe11bd9bade9a77d2abc7543ccd06b9237b27d69f6018df5", |
| "tweak": "35ab449cac844248", |
| "msg": "467180928805:", |
| "ct": "0083220274008", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 14, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1615, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "4a9421ed0d8105f41f06225c61a861adc98d34d2700dfd63", |
| "tweak": "6f60cf632424685f", |
| "msg": "88332425124589", |
| "ct": "64425122661711", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1616, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "00000000000000", |
| "ct": "78853248555126", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1617, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "99999999999999", |
| "ct": "03778806899828", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1618, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "83886088388608", |
| "ct": "32401349692726", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1619, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "83886078388607", |
| "ct": "88633017273204", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1620, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "07634461201531", |
| "ct": "40182759809220", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1621, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "28160690750120", |
| "ct": "65651488997104", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1622, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "18954792709523", |
| "ct": "82623762466819", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1623, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "11144966641570", |
| "ct": "89697613061723", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1624, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "82545344018690", |
| "ct": "54440205217059", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1625, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "11755457743421", |
| "ct": "62563234521271", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1626, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "54834775995487", |
| "ct": "58387423911584", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1627, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "21318582712058", |
| "ct": "73449220557502", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1628, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "25290148975126", |
| "ct": "00000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1629, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "89518303162345", |
| "ct": "99999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1630, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "73569702404996", |
| "ct": "83886088388608", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1631, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf06988e3a766872c5eb7df74db8ce8824d4b6ef4fc6613f", |
| "tweak": "78ed1f1221af7407", |
| "msg": "05142774709915", |
| "ct": "83886078388607", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1632, |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "0117376b28856c3a4fc11e0a", |
| "msg": "00000000723546", |
| "ct": "70294646298571", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1633, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "0117376b28856c3a4fc11e0a", |
| "msg": "00000010723546", |
| "ct": "06778424842052", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1634, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "0117376b28856c3a4fc11e0a", |
| "msg": "83886080723546", |
| "ct": "66268122492512", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1635, |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "0117376b28856c3a4fc11e0a", |
| "msg": "99999990723546", |
| "ct": "23875267266419", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1636, |
| "comment": "y = 1 and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "2a43e2fd48c1a9350824e855", |
| "msg": "88326402694368", |
| "ct": "00761138493118", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1637, |
| "comment": "y = 1 and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "2a43e2fd48c1a9350824e855", |
| "msg": "28200245989456", |
| "ct": "76455663300097", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1638, |
| "comment": "y = 1 and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "2a43e2fd48c1a9350824e855", |
| "msg": "40294814557064", |
| "ct": "15122713430203", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1639, |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "2a43e2fd48c1a9350824e855", |
| "msg": "83161923837980", |
| "ct": "61181975534314", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1640, |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "2a43e2fd48c1a9350824e855", |
| "msg": "84711936769244", |
| "ct": "08652974044735", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1641, |
| "comment": "y is maximal and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "6c4bc604aee55daa5ceca1f9", |
| "msg": "94199803936189", |
| "ct": "95516159051583", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1642, |
| "comment": "y is maximal and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "6c4bc604aee55daa5ceca1f9", |
| "msg": "39066238671298", |
| "ct": "95516162901979", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1643, |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "6c4bc604aee55daa5ceca1f9", |
| "msg": "00222334722900", |
| "ct": "99999999574909", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1644, |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "6c4bc604aee55daa5ceca1f9", |
| "msg": "74011753331378", |
| "ct": "00000009902972", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1645, |
| "comment": "y is maximal and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "6c4bc604aee55daa5ceca1f9", |
| "msg": "11290941432570", |
| "ct": "79402237600075", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1646, |
| "comment": "y is maximal and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "6c4bc604aee55daa5ceca1f9", |
| "msg": "10553894812298", |
| "ct": "95516140083123", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1647, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "895310dc02aefe87b02e8b97", |
| "msg": "29509874663158", |
| "ct": "87105651186572", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1648, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "895310dc02aefe87b02e8b97", |
| "msg": "71767155843944", |
| "ct": "69892258867417", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1649, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "895310dc02aefe87b02e8b97", |
| "msg": "58637403164315", |
| "ct": "17580272699850", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1650, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "895310dc02aefe87b02e8b97", |
| "msg": "20303234713294", |
| "ct": "78463943080098", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1651, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "895310dc02aefe87b02e8b97", |
| "msg": "03814594049102", |
| "ct": "05139960711367", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1652, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "895310dc02aefe87b02e8b97", |
| "msg": "74506128930117", |
| "ct": "83552722825480", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1653, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "c69c9c64dfadb4ca5b02af16", |
| "msg": "04424651956101", |
| "ct": "35683506872994", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1654, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "c69c9c64dfadb4ca5b02af16", |
| "msg": "55017634141716", |
| "ct": "95330959822789", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1655, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "c69c9c64dfadb4ca5b02af16", |
| "msg": "43048261937614", |
| "ct": "92718517400004", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1656, |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "dd08ecfede8e6529e397d5659c0cc83b95fa9cf6a024c3fe", |
| "tweak": "c69c9c64dfadb4ca5b02af16", |
| "msg": "17647108919038", |
| "ct": "41445755990796", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1657, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", |
| "tweak": "9a07b801ec3e37d6", |
| "msg": "v4441105660100", |
| "ct": "62237414715426", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1658, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", |
| "tweak": "9a07b801ec3e37d6", |
| "msg": "9444(105660100", |
| "ct": "69727756034982", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1659, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2107bd496fa7845242858b98d22ba4d43c2644fabf0caeb5", |
| "tweak": "9a07b801ec3e37d6", |
| "msg": "9444110566010(", |
| "ct": "97994141052330", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1660, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8d60da76d404702e38094fd64e1a935e1da43763508b388d", |
| "tweak": "ea06479d3a1d08df", |
| "msg": ":7447271501941", |
| "ct": "45582772236988", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1661, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8d60da76d404702e38094fd64e1a935e1da43763508b388d", |
| "tweak": "ea06479d3a1d08df", |
| "msg": "8744:271501941", |
| "ct": "96189025132361", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1662, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "8d60da76d404702e38094fd64e1a935e1da43763508b388d", |
| "tweak": "ea06479d3a1d08df", |
| "msg": "8744727150194:", |
| "ct": "94506877182889", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 15, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1663, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "38c2d6d8d1717f48e8e7bc3d54820ee7de2cecf0fc6f167b", |
| "tweak": "7a3ce6a3066b2e0b", |
| "msg": "445590674332042", |
| "ct": "050471426663482", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1664, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "000000000000000", |
| "ct": "885897427013605", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1665, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "999999999999999", |
| "ct": "326016023147935", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1666, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "838860867108864", |
| "ct": "728054644931010", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1667, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "838860767108863", |
| "ct": "949563456773320", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1668, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "459341877934629", |
| "ct": "953322930524060", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1669, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "265664814591781", |
| "ct": "271762498340597", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1670, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "998125990705454", |
| "ct": "573306569588894", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1671, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "051798633547936", |
| "ct": "455787208787304", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1672, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "798957688263420", |
| "ct": "067874460141144", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1673, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "597532167767859", |
| "ct": "024515984843403", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1674, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "251489782070456", |
| "ct": "700123546756104", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1675, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "314814956911209", |
| "ct": "146471763331677", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1676, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "716186788287791", |
| "ct": "000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1677, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "719000513157082", |
| "ct": "999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1678, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "438439395097462", |
| "ct": "838860867108864", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1679, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "43ab05932af579c659d6070b3378f5fa29ec02a71944c442", |
| "tweak": "19c77fee40ebf48e", |
| "msg": "223437121798082", |
| "ct": "838860767108863", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1680, |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "01c45dda44a4b4604a5740", |
| "msg": "415945992021776", |
| "ct": "102226546922957", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1681, |
| "comment": "y = 0 and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "01c45dda44a4b4604a5740", |
| "msg": "267789781780305", |
| "ct": "437356700734741", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1682, |
| "comment": "y = 0 and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "01c45dda44a4b4604a5740", |
| "msg": "290210707477986", |
| "ct": "996295751038319", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1683, |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "01c45dda44a4b4604a5740", |
| "msg": "389444405214132", |
| "ct": "047161077719739", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1684, |
| "comment": "y = 1 and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "e6a24655bdcc41e49551ee", |
| "msg": "100335770118788", |
| "ct": "000000189247239", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1685, |
| "comment": "y = 1 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "e6a24655bdcc41e49551ee", |
| "msg": "521032814765414", |
| "ct": "000000208424355", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1686, |
| "comment": "y = 1 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "e6a24655bdcc41e49551ee", |
| "msg": "449109065683531", |
| "ct": "838860992303373", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1687, |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "e6a24655bdcc41e49551ee", |
| "msg": "116360856683974", |
| "ct": "999999919691378", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1688, |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "e6a24655bdcc41e49551ee", |
| "msg": "498599854930890", |
| "ct": "000000001263671", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1689, |
| "comment": "y is maximal and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "a3537123102bc632eea24d", |
| "msg": "088224977381769", |
| "ct": "599191194678134", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1690, |
| "comment": "y is maximal and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "a3537123102bc632eea24d", |
| "msg": "424839268054049", |
| "ct": "692712884059584", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1691, |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "a3537123102bc632eea24d", |
| "msg": "336987663290587", |
| "ct": "558908874081992", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1692, |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "a3537123102bc632eea24d", |
| "msg": "344122816884313", |
| "ct": "508137544410983", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1693, |
| "comment": "y is maximal and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "a3537123102bc632eea24d", |
| "msg": "150505636946802", |
| "ct": "835532215256638", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1694, |
| "comment": "y is maximal and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "a3537123102bc632eea24d", |
| "msg": "000850133754252", |
| "ct": "171353843556092", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1695, |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "f758db63c0d0142318c999", |
| "msg": "353507879897018", |
| "ct": "955161064687967", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1696, |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "f758db63c0d0142318c999", |
| "msg": "952496377594925", |
| "ct": "955161181742762", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1697, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "f758db63c0d0142318c999", |
| "msg": "603505431010985", |
| "ct": "999999905628939", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1698, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "f758db63c0d0142318c999", |
| "msg": "526739336042352", |
| "ct": "000000017022907", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1699, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "f758db63c0d0142318c999", |
| "msg": "769624782776319", |
| "ct": "794021871349801", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1700, |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3ca92a1143c2b711b30aa46ca8bf730caefa2d20dd755c5d", |
| "tweak": "f758db63c0d0142318c999", |
| "msg": "424648764370938", |
| "ct": "955160955318298", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1701, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", |
| "tweak": "ba017ceaf04a7470", |
| "msg": "+45219711043662", |
| "ct": "129662821069697", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1702, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", |
| "tweak": "ba017ceaf04a7470", |
| "msg": "94521)711043662", |
| "ct": "004078701397245", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1703, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "537f91a1404831c02aff71525895c914be0f0b626b189c2c", |
| "tweak": "ba017ceaf04a7470", |
| "msg": "94521971104366/", |
| "ct": "176517455387248", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1704, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "599ef9e7e14717a0b8ac8b7ebca4a1b65f843d849f421845", |
| "tweak": "04b63add63b57b56", |
| "msg": ":99453739061610", |
| "ct": "085761428427341", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1705, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "599ef9e7e14717a0b8ac8b7ebca4a1b65f843d849f421845", |
| "tweak": "04b63add63b57b56", |
| "msg": "99945:739061610", |
| "ct": "888701628858165", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1706, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "599ef9e7e14717a0b8ac8b7ebca4a1b65f843d849f421845", |
| "tweak": "04b63add63b57b56", |
| "msg": "99945373906161:", |
| "ct": "283029923022163", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 16, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1707, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "28d8da67806410e5565bcc5a9d7ab9fb357413fa0158378c", |
| "tweak": "63ff6d96b7960f8a", |
| "msg": "9303267703511494", |
| "ct": "6631956329711219", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1708, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "0000000000000000", |
| "ct": "9072391243662117", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1709, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "9999999999999999", |
| "ct": "0627398331634920", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1710, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "6710886467108864", |
| "ct": "8682318681838489", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1711, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "6710886367108863", |
| "ct": "0645823618664571", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1712, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "2084547854301385", |
| "ct": "6280554332038664", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1713, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "7303634180776295", |
| "ct": "6517410323307719", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1714, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "4995747230781720", |
| "ct": "4816370444941490", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1715, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "2868402436967475", |
| "ct": "8249721549669028", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1716, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "6389324668508384", |
| "ct": "6549481587011940", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1717, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "5051797750540314", |
| "ct": "7445472404347825", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1718, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "2326337176930341", |
| "ct": "7382875398701623", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1719, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "3951046948474754", |
| "ct": "7792623451241631", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1720, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "4288909618844656", |
| "ct": "0000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1721, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "2271590520702677", |
| "ct": "9999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1722, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "4002548883862593", |
| "ct": "6710886467108864", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1723, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "2bb7e01d6ad98bb2457d16a95fe117731f3c2bf0f4ab1c36", |
| "tweak": "9fe4a8c4cc889cfa", |
| "msg": "0058348507500932", |
| "ct": "6710886367108863", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1724, |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "c532ebace233425031b5a0", |
| "msg": "8458249793466502", |
| "ct": "9433762022758507", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1725, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "c532ebace233425031b5a0", |
| "msg": "1704106193511261", |
| "ct": "1301805758456825", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1726, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "c532ebace233425031b5a0", |
| "msg": "0166763575153219", |
| "ct": "4514591219520342", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1727, |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "c532ebace233425031b5a0", |
| "msg": "0356980683544629", |
| "ct": "2187520801431166", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1728, |
| "comment": "y = 1 and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "eb7881c59574efe306e832", |
| "msg": "4011706153313405", |
| "ct": "4756674500000001", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1729, |
| "comment": "y = 1 and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "eb7881c59574efe306e832", |
| "msg": "5101026117537071", |
| "ct": "4756674500000002", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1730, |
| "comment": "y = 1 and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "eb7881c59574efe306e832", |
| "msg": "3950277425946096", |
| "ct": "4756674567108865", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1731, |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "eb7881c59574efe306e832", |
| "msg": "9964042502118182", |
| "ct": "4756674599999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1732, |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "eb7881c59574efe306e832", |
| "msg": "9051904953369868", |
| "ct": "4756674500000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1733, |
| "comment": "y is edge case for modular reduction and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "a2db82b9ab77365a7c3517", |
| "msg": "2081772330803205", |
| "ct": "8681458338837708", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1734, |
| "comment": "y is edge case for modular reduction and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "a2db82b9ab77365a7c3517", |
| "msg": "3656632661043607", |
| "ct": "5741148602492359", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1735, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "a2db82b9ab77365a7c3517", |
| "msg": "6618609629278637", |
| "ct": "7420168602036247", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1736, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "a2db82b9ab77365a7c3517", |
| "msg": "2091105068706935", |
| "ct": "5896168952648304", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1737, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "a2db82b9ab77365a7c3517", |
| "msg": "1900432773402447", |
| "ct": "1264099870857873", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1738, |
| "comment": "y is edge case for modular reduction and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "a2db82b9ab77365a7c3517", |
| "msg": "0497880339417455", |
| "ct": "8377005074916483", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1739, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "929264a07bf0865341b2bf", |
| "msg": "8269397131116428", |
| "ct": "8963290897176532", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1740, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "929264a07bf0865341b2bf", |
| "msg": "8169448055605436", |
| "ct": "2346756940228641", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1741, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "929264a07bf0865341b2bf", |
| "msg": "0869056934551331", |
| "ct": "7029785445965867", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1742, |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b05b4d0496ec1b3501c2a0136db871974cebb1f70cc5b2b1", |
| "tweak": "929264a07bf0865341b2bf", |
| "msg": "5911486205019007", |
| "ct": "3563065505649115", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1743, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", |
| "tweak": "81c9e9d9fc6bb6db", |
| "msg": "D803191316776943", |
| "ct": "2461980630611811", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1744, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", |
| "tweak": "81c9e9d9fc6bb6db", |
| "msg": "58031g1316776943", |
| "ct": "2363742301381823", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1745, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "771592477eb1f2cbafd80567f2adaf6625618f2b9c161cb6", |
| "tweak": "81c9e9d9fc6bb6db", |
| "msg": "580319131677694g", |
| "ct": "3258161373852184", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1746, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6db3061b32cbbc52936d28fdc27f6ce811a13c7bdbb0c7b5", |
| "tweak": "825ee85ef44d61a9", |
| "msg": ":056019623595797", |
| "ct": "8762269170523173", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1747, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6db3061b32cbbc52936d28fdc27f6ce811a13c7bdbb0c7b5", |
| "tweak": "825ee85ef44d61a9", |
| "msg": "40560:9623595797", |
| "ct": "4458320583314813", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1748, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6db3061b32cbbc52936d28fdc27f6ce811a13c7bdbb0c7b5", |
| "tweak": "825ee85ef44d61a9", |
| "msg": "405601962359579:", |
| "ct": "3695238384513943", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 17, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1749, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "f620ff36bcd7f62b38ee8dc91b2a1d1ac5645e4c31432921", |
| "tweak": "fedb3a07315c4484", |
| "msg": "17606488587753320", |
| "ct": "67295154822107236", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1750, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "00000000000000000", |
| "ct": "62565000495431144", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1751, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "99999999999999999", |
| "ct": "61866682761769131", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1752, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "67108864536870912", |
| "ct": "41843735395907541", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1753, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "67108863536870911", |
| "ct": "97642629077794348", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1754, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "10115112898864599", |
| "ct": "31882340050380677", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1755, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "31509213070274415", |
| "ct": "66462041946878913", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1756, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "15699500443607348", |
| "ct": "95649153408317973", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1757, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "02298869314422257", |
| "ct": "74547517833093143", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1758, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "14776013459834878", |
| "ct": "86331748452362234", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1759, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "67945160215978129", |
| "ct": "00914317196987734", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1760, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "24596385773842211", |
| "ct": "84352828661518190", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1761, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "58749748898363478", |
| "ct": "97376162581648995", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1762, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "73972787782145976", |
| "ct": "00000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1763, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "84328264420232344", |
| "ct": "99999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1764, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "82831514206297865", |
| "ct": "67108864536870912", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1765, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "de9df32f9a861ddcae277ddad3061ffce4f43582604996e0", |
| "tweak": "13d480958d51fab5", |
| "msg": "47258863546844821", |
| "ct": "67108863536870911", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1766, |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "565b621c48c5b6d960a40d", |
| "msg": "02230226374813427", |
| "ct": "59176572301116943", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1767, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "565b621c48c5b6d960a40d", |
| "msg": "06019468189054251", |
| "ct": "55774484249407961", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1768, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "565b621c48c5b6d960a40d", |
| "msg": "67285545632513019", |
| "ct": "63573159373726340", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1769, |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "565b621c48c5b6d960a40d", |
| "msg": "42682261361486612", |
| "ct": "02962494162373750", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1770, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "480ae0aa9ebdd771d63a62", |
| "msg": "34102693408005806", |
| "ct": "63064074888922551", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1771, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "480ae0aa9ebdd771d63a62", |
| "msg": "78933381088816094", |
| "ct": "96518435167492816", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1772, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "480ae0aa9ebdd771d63a62", |
| "msg": "67686762584196188", |
| "ct": "91032937493890413", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1773, |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "480ae0aa9ebdd771d63a62", |
| "msg": "89191965694461277", |
| "ct": "91270378290901601", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1774, |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "480ae0aa9ebdd771d63a62", |
| "msg": "56366814801994218", |
| "ct": "37376561810469872", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1775, |
| "comment": "y is maximal and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "402d5678f0f32e54aa2f3d", |
| "msg": "16908298367006786", |
| "ct": "75503600991508103", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1776, |
| "comment": "y is maximal and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "402d5678f0f32e54aa2f3d", |
| "msg": "34327319569850330", |
| "ct": "94213390235611546", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1777, |
| "comment": "y is maximal and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "402d5678f0f32e54aa2f3d", |
| "msg": "91501046542921295", |
| "ct": "66596713185920543", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1778, |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "402d5678f0f32e54aa2f3d", |
| "msg": "80302638571827771", |
| "ct": "79823854982627299", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1779, |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "402d5678f0f32e54aa2f3d", |
| "msg": "97605316297914871", |
| "ct": "84305834501274922", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1780, |
| "comment": "y is maximal and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "402d5678f0f32e54aa2f3d", |
| "msg": "40591431920105222", |
| "ct": "98757996730791065", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1781, |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "79c6842e47479f464d0e3c", |
| "msg": "00000000593425242", |
| "ct": "31632899284739441", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1782, |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "79c6842e47479f464d0e3c", |
| "msg": "00000001593425242", |
| "ct": "48219688718897275", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1783, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "79c6842e47479f464d0e3c", |
| "msg": "67108864593425242", |
| "ct": "90786505149655215", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1784, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "79c6842e47479f464d0e3c", |
| "msg": "90448389593425242", |
| "ct": "87885020223947128", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1785, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "79c6842e47479f464d0e3c", |
| "msg": "90448390593425242", |
| "ct": "51831447303464468", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1786, |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "79c6842e47479f464d0e3c", |
| "msg": "99999999593425242", |
| "ct": "93946808496566290", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1787, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "2e4b15184395a802e049d7", |
| "msg": "66850551468854610", |
| "ct": "99999999205251038", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1788, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "2e4b15184395a802e049d7", |
| "msg": "33271278251135798", |
| "ct": "00000000908692108", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1789, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "2e4b15184395a802e049d7", |
| "msg": "32977212961269751", |
| "ct": "67108863968974966", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1790, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c3b02d8febc431681dab0a13b1e082a0891e62ae573ee2b2", |
| "tweak": "2e4b15184395a802e049d7", |
| "msg": "85573673397028981", |
| "ct": "99999998816478090", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1791, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", |
| "tweak": "0284255ddf9a1021", |
| "msg": "{8743241188494016", |
| "ct": "89597504423526842", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1792, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", |
| "tweak": "0284255ddf9a1021", |
| "msg": "58743z41188494016", |
| "ct": "14178072775347007", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1793, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "3cef98a039613df2af2eb3c602a98dace8ce3b905959b872", |
| "tweak": "0284255ddf9a1021", |
| "msg": "5874324118849401~", |
| "ct": "43992054591078129", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1794, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "14ceb7c458a1b964e79ae6f1d68dfe9caffe7f2b60b31566", |
| "tweak": "a940b10d8b6d2bbf", |
| "msg": ":0301272609786013", |
| "ct": "72421121931604861", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1795, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "14ceb7c458a1b964e79ae6f1d68dfe9caffe7f2b60b31566", |
| "tweak": "a940b10d8b6d2bbf", |
| "msg": "10301:72609786013", |
| "ct": "42632256311395769", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1796, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "14ceb7c458a1b964e79ae6f1d68dfe9caffe7f2b60b31566", |
| "tweak": "a940b10d8b6d2bbf", |
| "msg": "1030127260978601:", |
| "ct": "71204451963859828", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 18, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1797, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "47eb4430ea1cb545acc8f09ada1ecc8574d394b5a20e5017", |
| "tweak": "683baf80b9d31daa", |
| "msg": "110233498656773462", |
| "ct": "654950012708030183", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1798, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "000000000000000000", |
| "ct": "215999064487205384", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1799, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "999999999999999999", |
| "ct": "991792816028103706", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1800, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "536870912536870912", |
| "ct": "967109501555847703", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1801, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "536870911536870911", |
| "ct": "134746235044090488", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1802, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "418966096984957514", |
| "ct": "466213974269089649", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1803, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "975392717205801280", |
| "ct": "695917305426536516", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1804, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "400639444796553205", |
| "ct": "876727703736569378", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1805, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "299268168534733478", |
| "ct": "336339617626076549", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1806, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "333621116571170564", |
| "ct": "276370695464809284", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1807, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "083190327640002664", |
| "ct": "185188908896795527", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1808, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "572302064793659128", |
| "ct": "809197433642515588", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1809, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "411979719877365580", |
| "ct": "041559196719126623", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1810, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "407480551253821772", |
| "ct": "000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1811, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "643884339337072547", |
| "ct": "999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1812, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "754292117089163306", |
| "ct": "536870912536870912", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1813, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1d950d20d93140a7d5fa11ba5925c80dfed1cf97e4627f6d", |
| "tweak": "8ef1d4315ed3c68f", |
| "msg": "558842238682333444", |
| "ct": "536870911536870911", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1814, |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "514dc02ba2d4b71d9a29b9", |
| "msg": "583724497954133622", |
| "ct": "296332752561754159", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1815, |
| "comment": "y = 0 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "514dc02ba2d4b71d9a29b9", |
| "msg": "694987770708356590", |
| "ct": "587734992130880766", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1816, |
| "comment": "y = 0 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "514dc02ba2d4b71d9a29b9", |
| "msg": "169778491211641870", |
| "ct": "514623066098629479", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1817, |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "514dc02ba2d4b71d9a29b9", |
| "msg": "260051555331731432", |
| "ct": "998774453162704542", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1818, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "f6fe9589e01eb0f17cc310", |
| "msg": "233695891952065598", |
| "ct": "449425419406376923", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1819, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "f6fe9589e01eb0f17cc310", |
| "msg": "683771743489415370", |
| "ct": "907298304689462462", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1820, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "f6fe9589e01eb0f17cc310", |
| "msg": "640678612856975191", |
| "ct": "966697988015245802", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1821, |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "f6fe9589e01eb0f17cc310", |
| "msg": "743136133363924532", |
| "ct": "424809242002527366", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1822, |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "f6fe9589e01eb0f17cc310", |
| "msg": "889912762969917625", |
| "ct": "629423196801474982", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1823, |
| "comment": "y is maximal and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "537d3d40633a26517676d1", |
| "msg": "172908850855177902", |
| "ct": "760852524709551615", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1824, |
| "comment": "y is maximal and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "537d3d40633a26517676d1", |
| "msg": "834928199805958432", |
| "ct": "760852524709551616", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1825, |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "537d3d40633a26517676d1", |
| "msg": "847419986717966737", |
| "ct": "760852524999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1826, |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "537d3d40633a26517676d1", |
| "msg": "392188930211202404", |
| "ct": "760852524000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1827, |
| "comment": "y is maximal and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "537d3d40633a26517676d1", |
| "msg": "764676680080194781", |
| "ct": "760852524246422527", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1828, |
| "comment": "y is maximal and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "537d3d40633a26517676d1", |
| "msg": "918799879718988721", |
| "ct": "760852524709551614", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1829, |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "fecebec6e926bc11c1300d", |
| "msg": "202642490296932793", |
| "ct": "656263640574713807", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1830, |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "fecebec6e926bc11c1300d", |
| "msg": "691898239312210460", |
| "ct": "236114066957782047", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1831, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "fecebec6e926bc11c1300d", |
| "msg": "353958895282532169", |
| "ct": "114209221836699578", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1832, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "fecebec6e926bc11c1300d", |
| "msg": "363869491310578771", |
| "ct": "963552732859233512", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1833, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "fecebec6e926bc11c1300d", |
| "msg": "004153068940506728", |
| "ct": "718178029231269837", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1834, |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "fecebec6e926bc11c1300d", |
| "msg": "987193143867848502", |
| "ct": "535310164335303470", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1835, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "70b2bf3685c3c92d771eec", |
| "msg": "526209752068016351", |
| "ct": "675401668999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1836, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "70b2bf3685c3c92d771eec", |
| "msg": "483903318149267641", |
| "ct": "675401668000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1837, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "70b2bf3685c3c92d771eec", |
| "msg": "085298904445795611", |
| "ct": "675401668536870911", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1838, |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "22a428a12b3e0997d57269dd636522a55205836e84c76bb6", |
| "tweak": "70b2bf3685c3c92d771eec", |
| "msg": "144786663351019434", |
| "ct": "675401668999999998", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1839, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", |
| "tweak": "8fb4ffb3514c5fcc", |
| "msg": "d38141894681919648", |
| "ct": "958782131389178273", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1840, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", |
| "tweak": "8fb4ffb3514c5fcc", |
| "msg": "038141h94681919648", |
| "ct": "663611807738602723", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1841, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d2f8122f40d9e7abdfdc5533d00861d4c2e02b4f78f9b8f", |
| "tweak": "8fb4ffb3514c5fcc", |
| "msg": "03814189468191964(", |
| "ct": "428855188207405723", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1842, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4440328099baa0655457b9dc75dd0f05f07c13003fc02287", |
| "tweak": "ea508820e9ed378d", |
| "msg": ":07396373395643751", |
| "ct": "611785280732913546", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1843, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4440328099baa0655457b9dc75dd0f05f07c13003fc02287", |
| "tweak": "ea508820e9ed378d", |
| "msg": "407396:73395643751", |
| "ct": "683391415395898094", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1844, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4440328099baa0655457b9dc75dd0f05f07c13003fc02287", |
| "tweak": "ea508820e9ed378d", |
| "msg": "40739637339564375:", |
| "ct": "845594290764767135", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 19, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1845, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "ba47709f6c5147bb5e20ee8869b439706fef5f984862cc0d", |
| "tweak": "1a8494e5274bc2df", |
| "msg": "6863860752750353811", |
| "ct": "5512716678101113030", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1846, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "0000000000000000000", |
| "ct": "8085734763127406533", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1847, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "9999999999999999999", |
| "ct": "2226443829660066523", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1848, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "5368709128589934592", |
| "ct": "5453728763950861568", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1849, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "5368709118589934591", |
| "ct": "9610705683282449091", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1850, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "8620117996089113850", |
| "ct": "3877039489881374545", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1851, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "7721764061680993299", |
| "ct": "3217842298527641732", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1852, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "0421941223494882559", |
| "ct": "8988814020806365646", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1853, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "6772488281114118384", |
| "ct": "4331730613854880861", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1854, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "8969875885564367944", |
| "ct": "9064044415021354305", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1855, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "5497712652577085802", |
| "ct": "1969292033130595123", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1856, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "8900022044300045513", |
| "ct": "6769770994868645404", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1857, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "0098892408526132198", |
| "ct": "5329050716953176771", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1858, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "0488564393403473423", |
| "ct": "0000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1859, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "3612666195960368881", |
| "ct": "9999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1860, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "5745844232447922524", |
| "ct": "5368709128589934592", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1861, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bb0a13e9ed20862fab51dbd134fd658cbf3a610e0100fc78", |
| "tweak": "eb0ec722d32a5563", |
| "msg": "9387526061557784746", |
| "ct": "5368709118589934591", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1862, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", |
| "tweak": "210a87007dcef98c", |
| "msg": "H005772132939341023", |
| "ct": "3598416195433170389", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1863, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", |
| "tweak": "210a87007dcef98c", |
| "msg": "200577i132939341023", |
| "ct": "4336436017059718390", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1864, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "be9a8fba5d4b186c6ccb1e78380a89a9fda592669dcb40b9", |
| "tweak": "210a87007dcef98c", |
| "msg": "200577213293934102=", |
| "ct": "5559135198701987849", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1865, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "901770003517f637edb286fbb45eaa505f0799a5bc91bcd4", |
| "tweak": "91ee9daf02567ee6", |
| "msg": ":548901751666430532", |
| "ct": "2759127926530807052", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1866, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "901770003517f637edb286fbb45eaa505f0799a5bc91bcd4", |
| "tweak": "91ee9daf02567ee6", |
| "msg": "754890:751666430532", |
| "ct": "4397695028120449897", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1867, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "901770003517f637edb286fbb45eaa505f0799a5bc91bcd4", |
| "tweak": "91ee9daf02567ee6", |
| "msg": "754890175166643053:", |
| "ct": "1854586782418117141", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 20, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1868, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "141107e15df419395d338f34ef63f1e80d20b2dad04e5b54", |
| "tweak": "b069e365f5a623ff", |
| "msg": "92817058557198131063", |
| "ct": "97313382234033701459", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1869, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "00000000000000000000", |
| "ct": "46360517135470521316", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1870, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "99999999999999999999", |
| "ct": "88689001774294247132", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1871, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "85899345928589934592", |
| "ct": "01775567120601938806", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1872, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "85899345918589934591", |
| "ct": "24126146562856869694", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1873, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "91604064296918574686", |
| "ct": "34823526129671765135", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1874, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "38251479852369589960", |
| "ct": "24157720098537048426", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1875, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "23724797720667882677", |
| "ct": "70970392988179362662", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1876, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "85266586349909951049", |
| "ct": "71309046379426631196", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1877, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "52175274156061250468", |
| "ct": "94997540786284242913", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1878, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "46519738918513576017", |
| "ct": "81635345044605707680", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1879, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "23488842600106360340", |
| "ct": "25356922780821182071", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1880, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "38082260056397475079", |
| "ct": "80153633768361737137", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1881, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "44366619155967122106", |
| "ct": "00000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1882, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "36507577427007554171", |
| "ct": "99999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1883, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "84140192793192528036", |
| "ct": "85899345928589934592", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1884, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4f62d21aaf56e5b650e7893d04b5d5a05a85db881952f824", |
| "tweak": "769ef53520d6bd5d", |
| "msg": "84021945765448632099", |
| "ct": "85899345918589934591", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1885, |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "ebfe5532ebb97432cf3d", |
| "msg": "21464374730659794517", |
| "ct": "20469539884488393861", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1886, |
| "comment": "y = 0 and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "ebfe5532ebb97432cf3d", |
| "msg": "74388193956618354937", |
| "ct": "10965127667852740703", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1887, |
| "comment": "y = 0 and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "ebfe5532ebb97432cf3d", |
| "msg": "20630729320529486555", |
| "ct": "93996487257990682899", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1888, |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "ebfe5532ebb97432cf3d", |
| "msg": "49958717843088929135", |
| "ct": "97341570172107763830", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1889, |
| "comment": "y is maximal and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "ff6e6b554e9d09f2a4e7", |
| "msg": "41902616401868552710", |
| "ct": "33452919823543950335", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1890, |
| "comment": "y is maximal and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "ff6e6b554e9d09f2a4e7", |
| "msg": "87353393917617711160", |
| "ct": "33452919823543950336", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1891, |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "ff6e6b554e9d09f2a4e7", |
| "msg": "85773769973501597067", |
| "ct": "33452919829999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1892, |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "ff6e6b554e9d09f2a4e7", |
| "msg": "90172734645499051536", |
| "ct": "33452919820000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1893, |
| "comment": "y is maximal and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "ff6e6b554e9d09f2a4e7", |
| "msg": "48275923713859348391", |
| "ct": "33452919822133884927", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1894, |
| "comment": "y is maximal and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "ff6e6b554e9d09f2a4e7", |
| "msg": "96409876747336665883", |
| "ct": "33452919823543950334", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1895, |
| "comment": "y is edge case for modular reduction and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "bddba459e83069b6ba66", |
| "msg": "15993652937497715415", |
| "ct": "00456684413543950330", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1896, |
| "comment": "y is edge case for modular reduction and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "bddba459e83069b6ba66", |
| "msg": "90030805860506211441", |
| "ct": "00456684413543950331", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1897, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "bddba459e83069b6ba66", |
| "msg": "46700636864861136117", |
| "ct": "00456684419999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1898, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "bddba459e83069b6ba66", |
| "msg": "63858968898683320293", |
| "ct": "00456684410000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1899, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "bddba459e83069b6ba66", |
| "msg": "83928472558455183992", |
| "ct": "00456684412133884922", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1900, |
| "comment": "y is edge case for modular reduction and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "bddba459e83069b6ba66", |
| "msg": "17824710499741897959", |
| "ct": "00456684413543950329", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1901, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "4a8008d36bad9f5b36f4", |
| "msg": "44888258696259347291", |
| "ct": "82203548758547631134", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1902, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "4a8008d36bad9f5b36f4", |
| "msg": "75571620306561005683", |
| "ct": "15974957147214815000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1903, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "4a8008d36bad9f5b36f4", |
| "msg": "50155017039676080102", |
| "ct": "78914686465627482980", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1904, |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2315f599cd47eab780ef330b4be3a011b8cbc33412cfd8c1", |
| "tweak": "4a8008d36bad9f5b36f4", |
| "msg": "56023264341055485846", |
| "ct": "96155059769747924031", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1905, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f", |
| "tweak": "25733cf5c0f0d898", |
| "msg": "B3321939580568597457", |
| "ct": "85482440608939693253", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1906, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f", |
| "tweak": "25733cf5c0f0d898", |
| "msg": "033219%9580568597457", |
| "ct": "71390533443658296463", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1907, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "510a5104e7a431e45387c3de2c5d0dc7aaae49907bf72a8f", |
| "tweak": "25733cf5c0f0d898", |
| "msg": "0332193958056859745n", |
| "ct": "89655329895220594472", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1908, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0bc72bc36baa65d2a6f20ea2834ecec72bd6f0166ef1b4da", |
| "tweak": "a5e88b700ae7c4ba", |
| "msg": ":2655715875232109360", |
| "ct": "08562492613248844272", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1909, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0bc72bc36baa65d2a6f20ea2834ecec72bd6f0166ef1b4da", |
| "tweak": "a5e88b700ae7c4ba", |
| "msg": "526557:5875232109360", |
| "ct": "39465182828136695045", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1910, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0bc72bc36baa65d2a6f20ea2834ecec72bd6f0166ef1b4da", |
| "tweak": "a5e88b700ae7c4ba", |
| "msg": "5265571587523210936:", |
| "ct": "03319194436436011251", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 21, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1911, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "c3bb552dddc77917376b930dc911345e533a17542ddbf421", |
| "tweak": "2780a38c74385db3", |
| "msg": "789989128607305842098", |
| "ct": "908042344685308952852", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1912, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "000000000000000000000", |
| "ct": "310003118905156898548", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1913, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "999999999999999999999", |
| "ct": "273009601705014642229", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1914, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "858993459268719476736", |
| "ct": "239002585189844930358", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1915, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "858993459168719476735", |
| "ct": "708981294804317489229", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1916, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "370287310019096524370", |
| "ct": "760718968866841901801", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1917, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "018456124485934042337", |
| "ct": "688216769966574727820", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1918, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "663553949389560463184", |
| "ct": "622528943988405684042", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1919, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "459149214385179582548", |
| "ct": "327500026728770903785", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1920, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "649682136954383411267", |
| "ct": "387095751573284320943", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1921, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "526754851565448475647", |
| "ct": "570365963458881365788", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1922, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "124031203023489668462", |
| "ct": "988709062322558594827", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1923, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "325589593381516871895", |
| "ct": "698122383758915897527", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1924, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "085957569883683032438", |
| "ct": "000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1925, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "188390219176532581544", |
| "ct": "999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1926, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "536917862331879982597", |
| "ct": "858993459268719476736", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1927, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "966abbf85a058a703c37afa2f0ee70d88271cfbdd780f98d", |
| "tweak": "3409bef7dc1e87c7", |
| "msg": "726625155526183826189", |
| "ct": "858993459168719476735", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1928, |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "460f4a7540de14071e1b", |
| "msg": "688432065584046818609", |
| "ct": "962061008958265597727", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1929, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "460f4a7540de14071e1b", |
| "msg": "221307450777760171818", |
| "ct": "555713411878215817886", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1930, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "460f4a7540de14071e1b", |
| "msg": "340289453164428237534", |
| "ct": "393366620167980791811", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1931, |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "460f4a7540de14071e1b", |
| "msg": "217138498885897678269", |
| "ct": "543090294186302616396", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1932, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "57b3038f32d74c0714d4", |
| "msg": "000000000028895880665", |
| "ct": "422222397029380638576", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1933, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "57b3038f32d74c0714d4", |
| "msg": "000000000128895880665", |
| "ct": "156557623161563578284", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1934, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "57b3038f32d74c0714d4", |
| "msg": "858993459228895880665", |
| "ct": "011496061735988278705", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1935, |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "57b3038f32d74c0714d4", |
| "msg": "999999999828895880665", |
| "ct": "553622470530336759431", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1936, |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "57b3038f32d74c0714d4", |
| "msg": "999999999928895880665", |
| "ct": "157040749458655738487", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1937, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "e61dc84dc262c1a9500f", |
| "msg": "000000000051972009913", |
| "ct": "012885268009396787890", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1938, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "e61dc84dc262c1a9500f", |
| "msg": "000000000151972009913", |
| "ct": "727909075860781050072", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1939, |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "e61dc84dc262c1a9500f", |
| "msg": "645604966451972009913", |
| "ct": "930140066597043097074", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1940, |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "e61dc84dc262c1a9500f", |
| "msg": "645604966551972009913", |
| "ct": "495729113331646379930", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1941, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "e61dc84dc262c1a9500f", |
| "msg": "858993459251972009913", |
| "ct": "914031497946777263339", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1942, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "e61dc84dc262c1a9500f", |
| "msg": "999999999951972009913", |
| "ct": "819082875008431089743", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1943, |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "1c6696bf464bfcd6cb8b", |
| "msg": "977310605092237918190", |
| "ct": "354395033053417319371", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1944, |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "1c6696bf464bfcd6cb8b", |
| "msg": "610933223647292787035", |
| "ct": "354395033126167383452", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1945, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "1c6696bf464bfcd6cb8b", |
| "msg": "368080127310002125371", |
| "ct": "999999999975086816958", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1946, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "1c6696bf464bfcd6cb8b", |
| "msg": "299772419515649051453", |
| "ct": "000000000010178892553", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1947, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "1c6696bf464bfcd6cb8b", |
| "msg": "293562525901833561481", |
| "ct": "213388492234827285975", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1948, |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "1c6696bf464bfcd6cb8b", |
| "msg": "181523262449790698014", |
| "ct": "354395032984824914384", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1949, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "63789207505e4d616e7a", |
| "msg": "000000000031318699559", |
| "ct": "961536673551927152910", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1950, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "63789207505e4d616e7a", |
| "msg": "000000000131318699559", |
| "ct": "380187691364029506062", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1951, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "63789207505e4d616e7a", |
| "msg": "858993459231318699559", |
| "ct": "511581382933836099418", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1952, |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cdeaf0103b2bfc86a618371ae54d4333733c3b3eaad0dcb9", |
| "tweak": "63789207505e4d616e7a", |
| "msg": "999999999931318699559", |
| "ct": "502457497191443233564", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1953, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101", |
| "tweak": "08ab087236e7ba87", |
| "msg": "n16444159461038847074", |
| "ct": "014683912555972352703", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1954, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101", |
| "tweak": "08ab087236e7ba87", |
| "msg": "5164441o9461038847074", |
| "ct": "511302795235410709817", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1955, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "33fc3d1cc2a9c7796bf235301792ecc33d9c0d2a1be00101", |
| "tweak": "08ab087236e7ba87", |
| "msg": "51644415946103884707j", |
| "ct": "521648840701573042127", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1956, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "664ad3acb05145ebd083ddd9763aa370123346794316c79d", |
| "tweak": "ebbaa5247947ee43", |
| "msg": ":73563958348335696131", |
| "ct": "685862589924119943667", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1957, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "664ad3acb05145ebd083ddd9763aa370123346794316c79d", |
| "tweak": "ebbaa5247947ee43", |
| "msg": "7735639:8348335696131", |
| "ct": "503585566977579876630", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 1958, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "664ad3acb05145ebd083ddd9763aa370123346794316c79d", |
| "tweak": "ebbaa5247947ee43", |
| "msg": "77356395834833569613:", |
| "ct": "437413335404063589994", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 22, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 1959, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "00bdb5e8b811c9617b0c07c9ed50b6d067ac817cbe06e44a", |
| "tweak": "d92d8fd1572665ab", |
| "msg": "8906846959491503265540", |
| "ct": "5122850261704906465657", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1960, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "0000000000000000000000", |
| "ct": "6634411950358917510340", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1961, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "9999999999999999999999", |
| "ct": "9514451674993090356116", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1962, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "6871947673668719476736", |
| "ct": "8569547391948585516330", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1963, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "6871947673568719476735", |
| "ct": "0615345775002627177323", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1964, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "1420205772899905456364", |
| "ct": "2068909527952209888175", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1965, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "8463880672102250124581", |
| "ct": "4666653467689125709176", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1966, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "8647567051259191770985", |
| "ct": "2619386270749528776478", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1967, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "7485805157252431193271", |
| "ct": "7205059236374680467644", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1968, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "1092643376624897895402", |
| "ct": "9063714193640716640817", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1969, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "5192295216877154761544", |
| "ct": "1272172519157197388336", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1970, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "8559535130251402798888", |
| "ct": "9480136488756410932134", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1971, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "8741309394027663501365", |
| "ct": "8972183611604041775876", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1972, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "7748885423306928794425", |
| "ct": "0000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1973, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "6428213776654581142713", |
| "ct": "9999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1974, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "0938709764536256187471", |
| "ct": "6871947673668719476736", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1975, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6a3e6a8267499a2c2af35f54274f92e2b45625f9b3df2ebd", |
| "tweak": "ff8b7e8bbc7220f5", |
| "msg": "6176870551990829555010", |
| "ct": "6871947673568719476735", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1976, |
| "comment": "y = 0 and (y + a) % radix**11 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "fc1f51e0b703d9dd93aa", |
| "msg": "9553030346096704851635", |
| "ct": "9269691379693881738770", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1977, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "fc1f51e0b703d9dd93aa", |
| "msg": "7397818615819571200034", |
| "ct": "7752804585846108537286", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1978, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "fc1f51e0b703d9dd93aa", |
| "msg": "2275800797224395356321", |
| "ct": "6963932602272513254924", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1979, |
| "comment": "y = 0 and (y + a) % radix**11 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "fc1f51e0b703d9dd93aa", |
| "msg": "3918533219263202735532", |
| "ct": "6877753944486769756274", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1980, |
| "comment": "y = 1 and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a849ec6c592b423069c1", |
| "msg": "0067484916188559572003", |
| "ct": "8442619622700000000001", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1981, |
| "comment": "y = 1 and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a849ec6c592b423069c1", |
| "msg": "1952992557390727090464", |
| "ct": "8442619622700000000002", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1982, |
| "comment": "y = 1 and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a849ec6c592b423069c1", |
| "msg": "4398740852466348395221", |
| "ct": "8442619622768719476737", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1983, |
| "comment": "y = 1 and (y + a) % radix**11 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a849ec6c592b423069c1", |
| "msg": "1564414203510646186104", |
| "ct": "8442619622799999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1984, |
| "comment": "y = 1 and (y + a) % radix**11 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a849ec6c592b423069c1", |
| "msg": "7588190528279163448253", |
| "ct": "8442619622700000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1985, |
| "comment": "y is maximal and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a1b3495a4b9905f9a533", |
| "msg": "6045478005893242339228", |
| "ct": "4269470957484250131170", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1986, |
| "comment": "y is maximal and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a1b3495a4b9905f9a533", |
| "msg": "8894644227330440027635", |
| "ct": "9765871102719066747519", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1987, |
| "comment": "y is maximal and (y + a) % radix**11 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a1b3495a4b9905f9a533", |
| "msg": "8094791723811068730221", |
| "ct": "3418208697493322417530", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1988, |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a1b3495a4b9905f9a533", |
| "msg": "5547596822985024964727", |
| "ct": "1724188406616687828824", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1989, |
| "comment": "y is maximal and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a1b3495a4b9905f9a533", |
| "msg": "8715093616544240250237", |
| "ct": "0976743686579741001385", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1990, |
| "comment": "y is maximal and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "a1b3495a4b9905f9a533", |
| "msg": "8475728867010131134179", |
| "ct": "0530277947334486758147", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1991, |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "7618104a04b552ca8cf9", |
| "msg": "8138827733534363429732", |
| "ct": "1981194391239222867614", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1992, |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "7618104a04b552ca8cf9", |
| "msg": "6124172224686803293893", |
| "ct": "5868513670202925259541", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1993, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "7618104a04b552ca8cf9", |
| "msg": "8805942995956688203381", |
| "ct": "8943031709573005865053", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1994, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "7618104a04b552ca8cf9", |
| "msg": "6121596610927443851645", |
| "ct": "8446179906973721925798", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1995, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "7618104a04b552ca8cf9", |
| "msg": "8657548327398718296925", |
| "ct": "0409263784802450053023", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1996, |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "7618104a04b552ca8cf9", |
| "msg": "2494785989240516660870", |
| "ct": "0870196471411534539722", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1997, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "796517eec88d360aa77e", |
| "msg": "0568857018444848423647", |
| "ct": "9996232311295395291081", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1998, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "796517eec88d360aa77e", |
| "msg": "9095955318506539832070", |
| "ct": "1714944882201375279683", |
| "result": "valid" |
| }, |
| { |
| "tcId": 1999, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "796517eec88d360aa77e", |
| "msg": "5017759566762211735387", |
| "ct": "1994907709663272954482", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2000, |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b5e271373caf4cfad1db047248c28c00dd877b8279980310", |
| "tweak": "796517eec88d360aa77e", |
| "msg": "3594453142236958636652", |
| "ct": "9590781926158575559653", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2001, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8", |
| "tweak": "514738c10c8d12ff", |
| "msg": "L939365481258840098311", |
| "ct": "7752532719595155792413", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2002, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8", |
| "tweak": "514738c10c8d12ff", |
| "msg": "3939365=81258840098311", |
| "ct": "6939910674088684267844", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2003, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c0368c9d6e841c60a9b9b8aa0477341aad026303200de7f8", |
| "tweak": "514738c10c8d12ff", |
| "msg": "393936548125884009831;", |
| "ct": "4185487142228032563388", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2004, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "557dd18cd149970bb0d3c1cb801879f181e7396757f45504", |
| "tweak": "136001ed7ff579a4", |
| "msg": ":172453925380185134637", |
| "ct": "2044768266257251671509", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2005, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "557dd18cd149970bb0d3c1cb801879f181e7396757f45504", |
| "tweak": "136001ed7ff579a4", |
| "msg": "9172453:25380185134637", |
| "ct": "5291876602631641629578", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2006, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "557dd18cd149970bb0d3c1cb801879f181e7396757f45504", |
| "tweak": "136001ed7ff579a4", |
| "msg": "917245392538018513463:", |
| "ct": "5880882237896075123283", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 23, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2007, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "c7697b0dbeb87d7f395505c37c7aa8851539af55cf9ff48d", |
| "tweak": "81c250277f86145e", |
| "msg": "00521791081241896263851", |
| "ct": "98012089138442041629450", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2008, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "00000000000000000000000", |
| "ct": "06489889486299462838935", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2009, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "99999999999999999999999", |
| "ct": "86534891593431572685141", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2010, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "68719476736549755813888", |
| "ct": "23101607255547974190720", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2011, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "68719476735549755813887", |
| "ct": "68603879294311602712845", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2012, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "72150304929819302091218", |
| "ct": "36314094474993046657397", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2013, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "57395395032028531058591", |
| "ct": "13885654344366259096647", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2014, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "21404985838859122929673", |
| "ct": "31431116965172096897232", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2015, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "74920449317795187964145", |
| "ct": "24684241300627169516500", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2016, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "07280337252119201827165", |
| "ct": "97153673604077355839880", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2017, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "02206156158294266289394", |
| "ct": "06449001843306799079703", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2018, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "59439987072235630079562", |
| "ct": "01763678965166548813212", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2019, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "97395188222624860942531", |
| "ct": "05104138376726814264302", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2020, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "16798310773554297325118", |
| "ct": "00000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2021, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "34449279824997319295358", |
| "ct": "99999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2022, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "50790602400023225492198", |
| "ct": "68719476736549755813888", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2023, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "dfc47deca21947b15c0f8216fc7e878decb34d8e57d58a82", |
| "tweak": "64099a9d244cf70c", |
| "msg": "78497071206394759894433", |
| "ct": "68719476735549755813887", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2024, |
| "comment": "y = 0 and (y + a) % radix**11 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "71b8a13cc3c53488e18b", |
| "msg": "29656336973612355308287", |
| "ct": "12542885328818194016150", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2025, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "71b8a13cc3c53488e18b", |
| "msg": "24165942397422121771354", |
| "ct": "87564374972394248357007", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2026, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "71b8a13cc3c53488e18b", |
| "msg": "47095177431238129861560", |
| "ct": "25785980995166015998306", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2027, |
| "comment": "y = 0 and (y + a) % radix**11 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "71b8a13cc3c53488e18b", |
| "msg": "58670631098215430721251", |
| "ct": "77675992575481486156707", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2028, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "656dda0bf5ec8591670f", |
| "msg": "00000000000944923332648", |
| "ct": "98474503390174900977123", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2029, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "656dda0bf5ec8591670f", |
| "msg": "00000000001944923332648", |
| "ct": "86086663199800001884490", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2030, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "656dda0bf5ec8591670f", |
| "msg": "68719476736944923332648", |
| "ct": "81653476460154493140391", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2031, |
| "comment": "y = 1 and (y + a) % radix**11 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "656dda0bf5ec8591670f", |
| "msg": "99999999998944923332648", |
| "ct": "61599222457658631024654", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2032, |
| "comment": "y = 1 and (y + a) % radix**11 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "656dda0bf5ec8591670f", |
| "msg": "99999999999944923332648", |
| "ct": "84930709818817101481066", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2033, |
| "comment": "y is maximal and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "6cf02dc0dbc554c0f15e", |
| "msg": "49482157948963454600675", |
| "ct": "47414694162593543950335", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2034, |
| "comment": "y is maximal and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "6cf02dc0dbc554c0f15e", |
| "msg": "37591828881934842488344", |
| "ct": "47414694162593543950336", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2035, |
| "comment": "y is maximal and (y + a) % radix**12 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "6cf02dc0dbc554c0f15e", |
| "msg": "46997517904755603889116", |
| "ct": "47414694162999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2036, |
| "comment": "y is maximal and (y + a) % radix**12 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "6cf02dc0dbc554c0f15e", |
| "msg": "61048338335695449318352", |
| "ct": "47414694162000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2037, |
| "comment": "y is maximal and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "6cf02dc0dbc554c0f15e", |
| "msg": "18792467732536366055664", |
| "ct": "47414694162143299764223", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2038, |
| "comment": "y is maximal and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "6cf02dc0dbc554c0f15e", |
| "msg": "15043914628485267917743", |
| "ct": "47414694162593543950334", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2039, |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "024e2ebbf6739e68a9c7", |
| "msg": "62667064184115811215066", |
| "ct": "44385622830308373791412", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2040, |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "024e2ebbf6739e68a9c7", |
| "msg": "19582246713612622768007", |
| "ct": "13949837380232454223942", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2041, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "024e2ebbf6739e68a9c7", |
| "msg": "93040266177901768943206", |
| "ct": "92640143631420872231474", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2042, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "024e2ebbf6739e68a9c7", |
| "msg": "05537009444962279098094", |
| "ct": "61176013161333250085807", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2043, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "024e2ebbf6739e68a9c7", |
| "msg": "03714782724795651270930", |
| "ct": "02612897220563432972033", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2044, |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "024e2ebbf6739e68a9c7", |
| "msg": "43558703717806822866349", |
| "ct": "48841338131906480715132", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2045, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "a8c34cd4cad1e298dfa0", |
| "msg": "57614501403441091198793", |
| "ct": "62087002388334482257983", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2046, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "a8c34cd4cad1e298dfa0", |
| "msg": "21894366153423354973289", |
| "ct": "36620873898051726945290", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2047, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "a8c34cd4cad1e298dfa0", |
| "msg": "27405458004948192449913", |
| "ct": "68336433513875471997704", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2048, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "20975b7f2bdb9f1570f665420e8d8d55d38fb33a21e9b114", |
| "tweak": "a8c34cd4cad1e298dfa0", |
| "msg": "73955600542697398717892", |
| "ct": "59872144880782845372190", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2049, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a", |
| "tweak": "3641fc756f1c80d9", |
| "msg": ",9484041031430376307802", |
| "ct": "88735250080390237701741", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2050, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a", |
| "tweak": "3641fc756f1c80d9", |
| "msg": "3948404m031430376307802", |
| "ct": "45904070729224116467559", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2051, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "42eedd322699aa74bc01428c809f266f9360611f6704f59a", |
| "tweak": "3641fc756f1c80d9", |
| "msg": "3948404103143037630780$", |
| "ct": "95095317512554524492428", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2052, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c02c0f7a5116531a0ac39b3842300720e77394a9cb56ce5c", |
| "tweak": "2ed4976770d43565", |
| "msg": ":3169313248857255930189", |
| "ct": "38365076378823119406805", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2053, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c02c0f7a5116531a0ac39b3842300720e77394a9cb56ce5c", |
| "tweak": "2ed4976770d43565", |
| "msg": "7316931:248857255930189", |
| "ct": "48995340519827166150696", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2054, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c02c0f7a5116531a0ac39b3842300720e77394a9cb56ce5c", |
| "tweak": "2ed4976770d43565", |
| "msg": "7316931324885725593018:", |
| "ct": "87863833937699028409228", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 24, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2055, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "ac7947235faeb09f47808bcdb7c28894767149cfe71948d9", |
| "tweak": "f7e5b4f29221b2aa", |
| "msg": "909393930629972904340247", |
| "ct": "443677880054419990840045", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2056, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "000000000000000000000000", |
| "ct": "726339939141839145703965", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2057, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "999999999999999999999999", |
| "ct": "029151053194210911758891", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2058, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "549755813888549755813888", |
| "ct": "545396798424122190771265", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2059, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "549755813887549755813887", |
| "ct": "552964885527717929395804", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2060, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "738835485917041788856198", |
| "ct": "234220673080857072489886", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2061, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "031325474857535690409845", |
| "ct": "246194678093629304840837", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2062, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "415172618940386329272110", |
| "ct": "794522147871663429328821", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2063, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "670307848272107737589318", |
| "ct": "089979347565221530686864", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2064, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "927292545165030891199213", |
| "ct": "032078586136224602776569", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2065, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "370211251573015035911082", |
| "ct": "509113912649615318159211", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2066, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "207027190814970320542277", |
| "ct": "346654945176920740604289", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2067, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "918016342210989875089736", |
| "ct": "191520136598391438540545", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2068, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "270032794683914836561901", |
| "ct": "000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2069, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "187283396576590921200994", |
| "ct": "999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2070, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "788671273488381278566573", |
| "ct": "549755813888549755813888", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2071, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fb45c5d9fc20f82043bad918624be0b48477f796718b2ab8", |
| "tweak": "f69704f1171d8630", |
| "msg": "478923877109899496394353", |
| "ct": "549755813887549755813887", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2072, |
| "comment": "y = 0 and (y + a) % radix**12 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "850a5c2ad804af512ce4", |
| "msg": "171990098667894497858840", |
| "ct": "000000000000371070897079", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2073, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "850a5c2ad804af512ce4", |
| "msg": "853752922488700600775915", |
| "ct": "000000000001444748317951", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2074, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "850a5c2ad804af512ce4", |
| "msg": "432951079066332457761465", |
| "ct": "549755813888702266858538", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2075, |
| "comment": "y = 0 and (y + a) % radix**12 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "850a5c2ad804af512ce4", |
| "msg": "365743529958259837813279", |
| "ct": "999999999999277143303886", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2076, |
| "comment": "y = 1 and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "1d0b3b5243573183fbf3", |
| "msg": "684046677587230628522723", |
| "ct": "000000000001430898582587", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2077, |
| "comment": "y = 1 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "1d0b3b5243573183fbf3", |
| "msg": "197393678759096506474717", |
| "ct": "000000000002501887148903", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2078, |
| "comment": "y = 1 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "1d0b3b5243573183fbf3", |
| "msg": "990145761938597985196389", |
| "ct": "549755813889519559379656", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2079, |
| "comment": "y = 1 and (y + a) % radix**12 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "1d0b3b5243573183fbf3", |
| "msg": "273602854657853315071187", |
| "ct": "999999999999459290485126", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2080, |
| "comment": "y = 1 and (y + a) % radix**12 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "1d0b3b5243573183fbf3", |
| "msg": "936653904435829542101584", |
| "ct": "000000000000265610736170", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2081, |
| "comment": "y is maximal and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "6f815a2cff76a9d4a481", |
| "msg": "301424796678588611432591", |
| "ct": "716286754957012175118094", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2082, |
| "comment": "y is maximal and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "6f815a2cff76a9d4a481", |
| "msg": "462231096932896406738023", |
| "ct": "696335726947381876392864", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2083, |
| "comment": "y is maximal and (y + a) % radix**12 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "6f815a2cff76a9d4a481", |
| "msg": "198869796919398557207276", |
| "ct": "582251098121372604556369", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2084, |
| "comment": "y is maximal and (y + a) % radix**12 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "6f815a2cff76a9d4a481", |
| "msg": "646183843050527142384438", |
| "ct": "093828566961199581659802", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2085, |
| "comment": "y is maximal and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "6f815a2cff76a9d4a481", |
| "msg": "509679382265661162652673", |
| "ct": "049414489684263500094922", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2086, |
| "comment": "y is maximal and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "6f815a2cff76a9d4a481", |
| "msg": "435258179409960556658716", |
| "ct": "179086689326746092845401", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2087, |
| "comment": "y is edge case for modular reduction and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "796d8d2822d7201507cb", |
| "msg": "778651030330187800097295", |
| "ct": "351676828840058518210829", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2088, |
| "comment": "y is edge case for modular reduction and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "796d8d2822d7201507cb", |
| "msg": "754725003757499572184384", |
| "ct": "205719053383485333749655", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2089, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "796d8d2822d7201507cb", |
| "msg": "054151202237152492879658", |
| "ct": "016046174483694322793945", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2090, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "796d8d2822d7201507cb", |
| "msg": "179652428403487989525005", |
| "ct": "797383283938287813958130", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2091, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "796d8d2822d7201507cb", |
| "msg": "531285802792834954725469", |
| "ct": "004068354525117215617416", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2092, |
| "comment": "y is edge case for modular reduction and a is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "796d8d2822d7201507cb", |
| "msg": "656072020731878975199970", |
| "ct": "741279071404077612453684", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2093, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "85cc746a639556c09721", |
| "msg": "580215092855424801401905", |
| "ct": "012863440967999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2094, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "85cc746a639556c09721", |
| "msg": "853106531254392432583766", |
| "ct": "012863440967000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2095, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "85cc746a639556c09721", |
| "msg": "450774485418746880294450", |
| "ct": "012863440967549755813887", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2096, |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7b038ec829af51b037671dc2bd5fa1f64a17fe45c0f4240c", |
| "tweak": "85cc746a639556c09721", |
| "msg": "675307744180491994855188", |
| "ct": "012863440967999999999998", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2097, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9df42cfdf50bb3ae95f501aaa7aae50e8c7f7701322e524a", |
| "tweak": "394f12fdaf9fefef", |
| "msg": ":57610325630803100583547", |
| "ct": "952824424699337934339979", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2098, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9df42cfdf50bb3ae95f501aaa7aae50e8c7f7701322e524a", |
| "tweak": "394f12fdaf9fefef", |
| "msg": "15761032<630803100583547", |
| "ct": "103858383719248498539887", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2099, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9df42cfdf50bb3ae95f501aaa7aae50e8c7f7701322e524a", |
| "tweak": "394f12fdaf9fefef", |
| "msg": "15761032563080310058354h", |
| "ct": "038745531639552648471868", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2100, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e51dab00c556b0438b66736c54952c975d1d4c8c0cf44d78", |
| "tweak": "0aee748b4c4bb84e", |
| "msg": ":05492630241147824644543", |
| "ct": "162578603607552404964884", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2101, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e51dab00c556b0438b66736c54952c975d1d4c8c0cf44d78", |
| "tweak": "0aee748b4c4bb84e", |
| "msg": "20549263:241147824644543", |
| "ct": "414947985259602235908537", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2102, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e51dab00c556b0438b66736c54952c975d1d4c8c0cf44d78", |
| "tweak": "0aee748b4c4bb84e", |
| "msg": "20549263024114782464454:", |
| "ct": "923057046680538005490189", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 25, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2103, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "d3cc660039922e4edf19ee000bf0190aa4a974e2af2df506", |
| "tweak": "c1eb1cd08201924c", |
| "msg": "1257657617185372227256742", |
| "ct": "9000738486550328720079274", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2104, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "0000000000000000000000000", |
| "ct": "4599965414906644887672894", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2105, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "9999999999999999999999999", |
| "ct": "8004521419438557000461917", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2106, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "5497558138888796093022208", |
| "ct": "2696652839508656839102478", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2107, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "5497558138878796093022207", |
| "ct": "0551567927947825749469063", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2108, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "7301588390985525076814512", |
| "ct": "9232068673353789791310399", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2109, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "5040715926620158487137027", |
| "ct": "5285573212543278356095708", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2110, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "5917580923041835130457562", |
| "ct": "0572503932080153752138723", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2111, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "2599132049062531441880933", |
| "ct": "1102020582124126148737963", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2112, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "1514369252048813027376872", |
| "ct": "2795381748731093514153287", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2113, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "7270403823319106381444929", |
| "ct": "6170270102388645968218242", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2114, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "4708242131155975396602277", |
| "ct": "2459327731340734429042630", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2115, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "3042887791952459709623648", |
| "ct": "1348367072261275393292653", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2116, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "9113743176684537599482281", |
| "ct": "0000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2117, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "5827512451615002081745915", |
| "ct": "9999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2118, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "6445218272975511746190477", |
| "ct": "5497558138888796093022208", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2119, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "90296d0093dcc4c632100ce75dc22340c4bcc811b456dbba", |
| "tweak": "798c50257d1a31fc", |
| "msg": "4635320179552220484431939", |
| "ct": "5497558138878796093022207", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2120, |
| "comment": "y = 0 and (y + a) % radix**12 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "3951f16417e873d8eb", |
| "msg": "0000000000001149537602812", |
| "ct": "1653778789288176454867835", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2121, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "3951f16417e873d8eb", |
| "msg": "0000000000011149537602812", |
| "ct": "7592187002811614962951685", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2122, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "3951f16417e873d8eb", |
| "msg": "5497558138881149537602812", |
| "ct": "3939071722721960851062919", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2123, |
| "comment": "y = 0 and (y + a) % radix**12 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "3951f16417e873d8eb", |
| "msg": "9999999999991149537602812", |
| "ct": "5581488776296950000158831", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2124, |
| "comment": "y = 1 and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "58e061225201bfd4dc", |
| "msg": "1080726867122566801366412", |
| "ct": "8154939022893834329042790", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2125, |
| "comment": "y = 1 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "58e061225201bfd4dc", |
| "msg": "7831825731395684603639656", |
| "ct": "0912195138163597102209433", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2126, |
| "comment": "y = 1 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "58e061225201bfd4dc", |
| "msg": "8353889630174554018603177", |
| "ct": "8408799344076036524158961", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2127, |
| "comment": "y = 1 and (y + a) % radix**12 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "58e061225201bfd4dc", |
| "msg": "0423888950973512552609957", |
| "ct": "9418476533773684134310953", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2128, |
| "comment": "y = 1 and (y + a) % radix**12 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "58e061225201bfd4dc", |
| "msg": "3499978252535132838006037", |
| "ct": "4732605198368092058520147", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2129, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "8de43f7a19fdbc93e6", |
| "msg": "8150850504207669639330008", |
| "ct": "9999999999995682665383933", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2130, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "8de43f7a19fdbc93e6", |
| "msg": "0769820033973598285723035", |
| "ct": "0000000000008999817924757", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2131, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "8de43f7a19fdbc93e6", |
| "msg": "8688978706791280927395478", |
| "ct": "5497558138873108987223104", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2132, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c5a981df3ed8de4a042ce9af99d434a9aad655f31addfd05", |
| "tweak": "8de43f7a19fdbc93e6", |
| "msg": "5083900319904188643516171", |
| "ct": "9999999999985786619459187", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2133, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "989c3e6ec86db3b5aeae309cdf63259252ca59dbd1119bf2", |
| "tweak": "a8f9219e0b7563c0", |
| "msg": "k657521819789824139839990", |
| "ct": "6168567623900212307495574", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2134, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "989c3e6ec86db3b5aeae309cdf63259252ca59dbd1119bf2", |
| "tweak": "a8f9219e0b7563c0", |
| "msg": "16575218X9789824139839990", |
| "ct": "0094899125774935821275702", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2135, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "989c3e6ec86db3b5aeae309cdf63259252ca59dbd1119bf2", |
| "tweak": "a8f9219e0b7563c0", |
| "msg": "165752181978982413983999;", |
| "ct": "0302345465210963047919541", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2136, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f4de21f5c1107b123d411d2d3bd7eec2032dfd8990bec6aa", |
| "tweak": "4d81c0e52c6521bd", |
| "msg": ":240270627590134862424110", |
| "ct": "0597200113847397110512587", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2137, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f4de21f5c1107b123d411d2d3bd7eec2032dfd8990bec6aa", |
| "tweak": "4d81c0e52c6521bd", |
| "msg": "62402706:7590134862424110", |
| "ct": "7038981678057430831006973", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2138, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f4de21f5c1107b123d411d2d3bd7eec2032dfd8990bec6aa", |
| "tweak": "4d81c0e52c6521bd", |
| "msg": "624027062759013486242411:", |
| "ct": "2309181434278275056502605", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 26, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2139, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "a08b283fbb882bc35ad665f439ba1ba3cb45faa7ef953e75", |
| "tweak": "a8bad0d760a36482", |
| "msg": "39449319239215074968806769", |
| "ct": "83697499837714771920338422", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2140, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "00000000000000000000000000", |
| "ct": "36557118885756180324050314", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2141, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "99999999999999999999999999", |
| "ct": "87995626995647556693522834", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2142, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "87960930222088796093022208", |
| "ct": "21930457881065733374358726", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2143, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "87960930222078796093022207", |
| "ct": "73714338289618218054790890", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2144, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "67906435386702731037355195", |
| "ct": "19529499584861816683468879", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2145, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "42188039470721815565499641", |
| "ct": "25486681832493074720206627", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2146, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "51173492433528993796188132", |
| "ct": "52504416215632007846096140", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2147, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "38170150989575980749195573", |
| "ct": "14554535114522355125363231", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2148, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "25962651773139151992242420", |
| "ct": "40822965406175818427567597", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2149, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "53826272787536623141687957", |
| "ct": "00959966082122852978911392", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2150, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "55731393291173896003646801", |
| "ct": "47693987542626260815476620", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2151, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "40036601654683157186726286", |
| "ct": "27078823698401728688584442", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2152, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "34431422087898490633402681", |
| "ct": "00000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2153, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "01127006074164808377291743", |
| "ct": "99999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2154, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "83920658692684215681650649", |
| "ct": "87960930222088796093022208", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2155, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "fa1b283970f966c906876a3974388c12faa2779565ec8e71", |
| "tweak": "426b9a1f79d8ed02", |
| "msg": "44101115145982802930399846", |
| "ct": "87960930222078796093022207", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2156, |
| "comment": "y = 0 and (y + a) % radix**13 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "5fdbcf5632f64de22c", |
| "msg": "37681922299540000000000000", |
| "ct": "82196706181605450972056853", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2157, |
| "comment": "y = 0 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "5fdbcf5632f64de22c", |
| "msg": "17879488450720000000000001", |
| "ct": "39282079731737789709935973", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2158, |
| "comment": "y = 0 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "5fdbcf5632f64de22c", |
| "msg": "94400748556018796093022208", |
| "ct": "89853638986979123230024358", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2159, |
| "comment": "y = 0 and (y + a) % radix**13 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "5fdbcf5632f64de22c", |
| "msg": "63424541481889999999999999", |
| "ct": "04323334212607378104011936", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2160, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "81189ca750098eef45", |
| "msg": "00000000000001778912089312", |
| "ct": "67783380998037554574961577", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2161, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "81189ca750098eef45", |
| "msg": "00000000000011778912089312", |
| "ct": "04124717598361660395062827", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2162, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "81189ca750098eef45", |
| "msg": "87960930222081778912089312", |
| "ct": "07945396730877120222147526", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2163, |
| "comment": "y = 1 and (y + a) % radix**13 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "81189ca750098eef45", |
| "msg": "99999999999981778912089312", |
| "ct": "04270884625166238793130792", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2164, |
| "comment": "y = 1 and (y + a) % radix**13 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "81189ca750098eef45", |
| "msg": "99999999999991778912089312", |
| "ct": "19665996603878271165449990", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2165, |
| "comment": "y is maximal and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "93d0d8fe672d5af654", |
| "msg": "62056441702961528172891034", |
| "ct": "79253813850327593543950335", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2166, |
| "comment": "y is maximal and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "93d0d8fe672d5af654", |
| "msg": "49498077812163124887368338", |
| "ct": "79253813850327593543950336", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2167, |
| "comment": "y is maximal and (y + a) % radix**13 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "93d0d8fe672d5af654", |
| "msg": "88839014881055876215570615", |
| "ct": "79253813850329999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2168, |
| "comment": "y is maximal and (y + a) % radix**13 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "93d0d8fe672d5af654", |
| "msg": "47203832934101149259366224", |
| "ct": "79253813850320000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2169, |
| "comment": "y is maximal and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "93d0d8fe672d5af654", |
| "msg": "06206516825871477381409435", |
| "ct": "79253813850326389636972543", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2170, |
| "comment": "y is maximal and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "93d0d8fe672d5af654", |
| "msg": "82359023241561447787206833", |
| "ct": "79253813850327593543950334", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2171, |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "08d0e9354d4433cd9a", |
| "msg": "44129578677176136286149093", |
| "ct": "75935439503303217423347898", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2172, |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "08d0e9354d4433cd9a", |
| "msg": "02100351414049014317815236", |
| "ct": "75935439503312745333376993", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2173, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**13 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "08d0e9354d4433cd9a", |
| "msg": "05733822263348270988201135", |
| "ct": "99999999999998047839623322", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2174, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**13 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "08d0e9354d4433cd9a", |
| "msg": "05290932515950780022133988", |
| "ct": "00000000000008071843367465", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2175, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "08d0e9354d4433cd9a", |
| "msg": "38387214015089814806288854", |
| "ct": "63896369725383565535251867", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2176, |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "08d0e9354d4433cd9a", |
| "msg": "06623923628433666448023607", |
| "ct": "75935439503296469528532676", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2177, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**13 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "b8200ec56a5ef77dd5", |
| "msg": "93743628079130046554028773", |
| "ct": "26899323687115541815143885", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2178, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**13 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "b8200ec56a5ef77dd5", |
| "msg": "96980527808132417039419364", |
| "ct": "76094504150448475360267096", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2179, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "b8200ec56a5ef77dd5", |
| "msg": "69974943146575322215323376", |
| "ct": "63316453187003137537901899", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2180, |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "2f84a18b0b7abce84d7bbff04f9de16eb7d4bd9ffa1a4f1f", |
| "tweak": "b8200ec56a5ef77dd5", |
| "msg": "53456459225581906673510808", |
| "ct": "68538524227385233835675061", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2181, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a0b4aea2221a9c58952786987b6491a1b6531c2d57fc800e", |
| "tweak": "21b6844cc07d6f4f", |
| "msg": "y5587958567613636515687406", |
| "ct": "05008497216114087269743627", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2182, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a0b4aea2221a9c58952786987b6491a1b6531c2d57fc800e", |
| "tweak": "21b6844cc07d6f4f", |
| "msg": "55587958S67613636515687406", |
| "ct": "50045932544677402859454578", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2183, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a0b4aea2221a9c58952786987b6491a1b6531c2d57fc800e", |
| "tweak": "21b6844cc07d6f4f", |
| "msg": "5558795856761363651568740l", |
| "ct": "04018400069567421550925731", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2184, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d7de760ffc4b8d10c1bc5c6f21018de60fa3d4c5e7a7b3fa", |
| "tweak": "a05ed9e87e7ce3c8", |
| "msg": ":6291600572046911147557253", |
| "ct": "34173077950045728976467626", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2185, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d7de760ffc4b8d10c1bc5c6f21018de60fa3d4c5e7a7b3fa", |
| "tweak": "a05ed9e87e7ce3c8", |
| "msg": "76291600:72046911147557253", |
| "ct": "08167931104428329475930893", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2186, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d7de760ffc4b8d10c1bc5c6f21018de60fa3d4c5e7a7b3fa", |
| "tweak": "a05ed9e87e7ce3c8", |
| "msg": "7629160057204691114755725:", |
| "ct": "11378509510746676652706862", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 27, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2187, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "bc8a31cd3bf14b148eb6519268b2bd472de9cce165061efd", |
| "tweak": "f62b70082bb992d2", |
| "msg": "873915294605268258403265211", |
| "ct": "781592696170169763246790903", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2188, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "000000000000000000000000000", |
| "ct": "858610880139257122373156409", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2189, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "999999999999999999999999999", |
| "ct": "387028722971083034246698523", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2190, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "879609302220870368744177664", |
| "ct": "509904942069177003232979134", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2191, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "879609302220770368744177663", |
| "ct": "731063861785276186850816373", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2192, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "938088670479391183584233513", |
| "ct": "281799828706902683882971979", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2193, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "420306620219821649624744629", |
| "ct": "223548444641264030822986565", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2194, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "580821181231543675600765201", |
| "ct": "639839839670716927518240163", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2195, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "999919038634888693393768433", |
| "ct": "141363194906903008549949430", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2196, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "416009788417952476140399743", |
| "ct": "921909170296389042413765297", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2197, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "180789730329030156827164754", |
| "ct": "259329608478348457105060578", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2198, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "979563218451890234685576030", |
| "ct": "048312365509622213581761137", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2199, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "795178115203459068319572947", |
| "ct": "171257617668897325468877495", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2200, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "486546778823761745214986277", |
| "ct": "000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2201, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "406508892703630871421943737", |
| "ct": "999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2202, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "006617180012326768004513701", |
| "ct": "879609302220870368744177664", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2203, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1f30bcaa40cae0bb1fcf27b7cb7aeca3413649e5af87383c", |
| "tweak": "0d5ef9de5db3c525", |
| "msg": "088430268599467015677053371", |
| "ct": "879609302220770368744177663", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2204, |
| "comment": "y = 0 and (y + a) % radix**13 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "6a8dcf633507d51c93", |
| "msg": "316989944886018387096839664", |
| "ct": "916538605964840233453673757", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2205, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "6a8dcf633507d51c93", |
| "msg": "097098538916603377012368919", |
| "ct": "650773568623089013419403758", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2206, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "6a8dcf633507d51c93", |
| "msg": "486211428792757605508712250", |
| "ct": "115287917012014671125072281", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2207, |
| "comment": "y = 0 and (y + a) % radix**13 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "6a8dcf633507d51c93", |
| "msg": "000277279394745398877446275", |
| "ct": "140987302053325097117936432", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2208, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "9248b3c413dfd192c2", |
| "msg": "448877791884328275561322151", |
| "ct": "354018937503801971584395501", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2209, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "9248b3c413dfd192c2", |
| "msg": "835492914859453836443621322", |
| "ct": "986974436080974222569143430", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2210, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "9248b3c413dfd192c2", |
| "msg": "222941506359156875417158857", |
| "ct": "821190212668582258429558006", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2211, |
| "comment": "y = 1 and (y + a) % radix**13 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "9248b3c413dfd192c2", |
| "msg": "533449476169936993939483226", |
| "ct": "864811714448041053831793498", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2212, |
| "comment": "y = 1 and (y + a) % radix**13 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "9248b3c413dfd192c2", |
| "msg": "595671394796530603398108160", |
| "ct": "976764289476825411880888977", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2213, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "07e0a6ce56f34f0cd7", |
| "msg": "000000000000012916333265983", |
| "ct": "960273092005279446736979978", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2214, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "07e0a6ce56f34f0cd7", |
| "msg": "000000000000112916333265983", |
| "ct": "482256200572731281191647837", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2215, |
| "comment": "y is maximal and (y + a) % radix**13 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "07e0a6ce56f34f0cd7", |
| "msg": "240645604966412916333265983", |
| "ct": "878446187908097904387245683", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2216, |
| "comment": "y is maximal and (y + a) % radix**13 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "07e0a6ce56f34f0cd7", |
| "msg": "240645604966512916333265983", |
| "ct": "953411629453457275012512734", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2217, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "07e0a6ce56f34f0cd7", |
| "msg": "879609302220812916333265983", |
| "ct": "714483652008941695056146402", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2218, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "07e0a6ce56f34f0cd7", |
| "msg": "999999999999912916333265983", |
| "ct": "949248149168422763653250354", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2219, |
| "comment": "y is edge case for modular reduction and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "11013693c8f573e1e7", |
| "msg": "041334191120831152448273675", |
| "ct": "837920662973837593543950330", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2220, |
| "comment": "y is edge case for modular reduction and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "11013693c8f573e1e7", |
| "msg": "678753378614877358076939587", |
| "ct": "837920662973837593543950331", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2221, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "11013693c8f573e1e7", |
| "msg": "077699125835025343077850446", |
| "ct": "837920662973899999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2222, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "11013693c8f573e1e7", |
| "msg": "489985957573911631788944222", |
| "ct": "837920662973800000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2223, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "11013693c8f573e1e7", |
| "msg": "360276599572952825649799929", |
| "ct": "837920662973807962288127994", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2224, |
| "comment": "y is edge case for modular reduction and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "11013693c8f573e1e7", |
| "msg": "584784138000813131758849962", |
| "ct": "837920662973837593543950329", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2225, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**13 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "0962f908c75fa69cb5", |
| "msg": "396681418707779563253064654", |
| "ct": "999999999999921898485289474", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2226, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**13 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "0962f908c75fa69cb5", |
| "msg": "826443493815755206666711904", |
| "ct": "000000000000061362122165060", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2227, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "0962f908c75fa69cb5", |
| "msg": "485600271076639454809063315", |
| "ct": "879609302220731631113072440", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2228, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d88c875cd6c37f652a5de0a668572f62286985e0cc84ce6c", |
| "tweak": "0962f908c75fa69cb5", |
| "msg": "510412438546041374194861130", |
| "ct": "999999999999844621707371191", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2229, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4b045564bc802e4646d4658a702cb5c4ec94fb1a2cebad91", |
| "tweak": "8cc7170a8f8d47b6", |
| "msg": "k38685726081546706835315981", |
| "ct": "432328254807695944937986140", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2230, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4b045564bc802e4646d4658a702cb5c4ec94fb1a2cebad91", |
| "tweak": "8cc7170a8f8d47b6", |
| "msg": "438685726<81546706835315981", |
| "ct": "440059503240457721409468532", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2231, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4b045564bc802e4646d4658a702cb5c4ec94fb1a2cebad91", |
| "tweak": "8cc7170a8f8d47b6", |
| "msg": "43868572608154670683531598C", |
| "ct": "361887797461717661743754778", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2232, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1e5348e5605da985a6757ba4174929f24568ed8644bcd4b2", |
| "tweak": "6a62e853c91b7787", |
| "msg": ":33999845490474331643393798", |
| "ct": "800014352331285339125116675", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2233, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1e5348e5605da985a6757ba4174929f24568ed8644bcd4b2", |
| "tweak": "6a62e853c91b7787", |
| "msg": "333999845:90474331643393798", |
| "ct": "991270699644689221648083809", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2234, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1e5348e5605da985a6757ba4174929f24568ed8644bcd4b2", |
| "tweak": "6a62e853c91b7787", |
| "msg": "33399984549047433164339379:", |
| "ct": "002264455584350448418518754", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 28, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2235, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "0c6561b42c5cde205f8ba1b4fe71ac110ff2807958a069d4", |
| "tweak": "1b2ce7022ea31126", |
| "msg": "5834895097772249629653498065", |
| "ct": "7123206903995030768630139579", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2236, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "0000000000000000000000000000", |
| "ct": "7904191297393439027649343259", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2237, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "9999999999999999999999999999", |
| "ct": "3082621974941472949230252082", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2238, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "7036874417766470368744177664", |
| "ct": "8040623315389095475300830490", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2239, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "7036874417766370368744177663", |
| "ct": "7984522312911513707680505389", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2240, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "4708432449640636176772354023", |
| "ct": "4298819817920805984565279629", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2241, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "2289204988167295509920625531", |
| "ct": "2438631579646988820719773424", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2242, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "9836468571212900428617541157", |
| "ct": "5876900544276534239559537435", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2243, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "8333616489038928691808497509", |
| "ct": "6559986789865874653594437946", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2244, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "8221979318029965796349354267", |
| "ct": "1923857080954117032072653518", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2245, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "0514001059892057169487538536", |
| "ct": "2072631242969481724985663060", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2246, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "6847016819530438251319940127", |
| "ct": "1685668424269093660570281141", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2247, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "4815781442706078713494663842", |
| "ct": "7441483675368050997286018802", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2248, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "2357518636601735140538487970", |
| "ct": "0000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2249, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "0286480925595032991984552238", |
| "ct": "9999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2250, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "1803417001088559317015416946", |
| "ct": "7036874417766470368744177664", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2251, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "bf7df540871af558ffe36e72b1bd20327cbb8aa909b1c4c1", |
| "tweak": "bb3d1e655437fa31", |
| "msg": "3316590377529724560704379688", |
| "ct": "7036874417766370368744177663", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2252, |
| "comment": "y = 0 and (y + a) % radix**14 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "7927a94c03180370b7", |
| "msg": "6254558588331300000000000000", |
| "ct": "8304227575460747550685962469", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2253, |
| "comment": "y = 0 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "7927a94c03180370b7", |
| "msg": "0834476632396600000000000001", |
| "ct": "1642711780583805384423626513", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2254, |
| "comment": "y = 0 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "7927a94c03180370b7", |
| "msg": "1218555225337570368744177664", |
| "ct": "7483836595278902076180763308", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2255, |
| "comment": "y = 0 and (y + a) % radix**14 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "7927a94c03180370b7", |
| "msg": "1585168229279999999999999999", |
| "ct": "3547860842727457282298945247", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2256, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "2aba5fcff91bdd7f72", |
| "msg": "0000000000000016593740866221", |
| "ct": "4019897244693224850961380246", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2257, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "2aba5fcff91bdd7f72", |
| "msg": "0000000000000116593740866221", |
| "ct": "1457910870600974178849651320", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2258, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "2aba5fcff91bdd7f72", |
| "msg": "7036874417766416593740866221", |
| "ct": "4073177842818732016905338163", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2259, |
| "comment": "y = 1 and (y + a) % radix**14 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "2aba5fcff91bdd7f72", |
| "msg": "9999999999999816593740866221", |
| "ct": "6157525441259390202896334431", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2260, |
| "comment": "y = 1 and (y + a) % radix**14 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "2aba5fcff91bdd7f72", |
| "msg": "9999999999999916593740866221", |
| "ct": "3331062251261234893780807894", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2261, |
| "comment": "y is maximal and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "f538189d19911e3a34", |
| "msg": "0271649879649979841314752379", |
| "ct": "9710957128317837593543950335", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2262, |
| "comment": "y is maximal and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "f538189d19911e3a34", |
| "msg": "0904217068651377673454959181", |
| "ct": "9710957128317837593543950336", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2263, |
| "comment": "y is maximal and (y + a) % radix**14 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "f538189d19911e3a34", |
| "msg": "1977449867869634563211905679", |
| "ct": "9710957128317899999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2264, |
| "comment": "y is maximal and (y + a) % radix**14 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "f538189d19911e3a34", |
| "msg": "4434200597579720641220869514", |
| "ct": "9710957128317800000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2265, |
| "comment": "y is maximal and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "f538189d19911e3a34", |
| "msg": "0818903913754565003487564694", |
| "ct": "9710957128317807962288127999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2266, |
| "comment": "y is maximal and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "f538189d19911e3a34", |
| "msg": "2448949771467344647699374858", |
| "ct": "9710957128317837593543950334", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2267, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "c07b59d5d224c42911", |
| "msg": "4869715926127676523649369207", |
| "ct": "7104799729984654959277579197", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2268, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "c07b59d5d224c42911", |
| "msg": "3034811100179918180606480267", |
| "ct": "9582277111809336403662862738", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2269, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "c07b59d5d224c42911", |
| "msg": "8085915320498328046527317128", |
| "ct": "5034609166780553211307623635", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2270, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "c07b59d5d224c42911", |
| "msg": "1598150604305821241874660121", |
| "ct": "3091783058330394205163262359", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2271, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "c07b59d5d224c42911", |
| "msg": "7729457194545910991253313462", |
| "ct": "5795317456116104882139246007", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2272, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "c07b59d5d224c42911", |
| "msg": "2702120702147850349740640185", |
| "ct": "6746521899001043384164715911", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2273, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**14 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "06521cae470dd23af4", |
| "msg": "8896394848769482589166127366", |
| "ct": "9334758867569870406757666001", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2274, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**14 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "06521cae470dd23af4", |
| "msg": "5838782782970098163550801368", |
| "ct": "8818939375935729317581918593", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2275, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "06521cae470dd23af4", |
| "msg": "9529416445045230343861868563", |
| "ct": "1424932842815263303650357760", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2276, |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6fa9eb1460659ffe88e4bbc0888c950c41d73fa15525238c", |
| "tweak": "06521cae470dd23af4", |
| "msg": "1240375086283320855834030053", |
| "ct": "7060200530887860894213717334", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2277, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "74b580380baf910a47e59cf522380458a6427c18f0d56137", |
| "tweak": "503c5871f02ddf75", |
| "msg": "n071370256777628013754112199", |
| "ct": "8206661898474984384024664330", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2278, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "74b580380baf910a47e59cf522380458a6427c18f0d56137", |
| "tweak": "503c5871f02ddf75", |
| "msg": "107137025~777628013754112199", |
| "ct": "4408174658408095740877530195", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2279, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "74b580380baf910a47e59cf522380458a6427c18f0d56137", |
| "tweak": "503c5871f02ddf75", |
| "msg": "107137025677762801375411219+", |
| "ct": "0108313027395191102822758970", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2280, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d043cf4e6bdff58fed477db2c306005c2099397570783aa", |
| "tweak": "b8e9850d9ad2ae4a", |
| "msg": ":755409687974550686102325303", |
| "ct": "3463928000827506219767574093", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2281, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d043cf4e6bdff58fed477db2c306005c2099397570783aa", |
| "tweak": "b8e9850d9ad2ae4a", |
| "msg": "075540968:974550686102325303", |
| "ct": "5619545934422558184492458365", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2282, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7d043cf4e6bdff58fed477db2c306005c2099397570783aa", |
| "tweak": "b8e9850d9ad2ae4a", |
| "msg": "075540968797455068610232530:", |
| "ct": "3238742283272480462219149989", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 29, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2283, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "4e08042735575708e4a9a0df5ae920c4fd181e38e731eb2e", |
| "tweak": "36502a1e0aeca248", |
| "msg": "35502086731453292733061516498", |
| "ct": "83554668825124151905530322583", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2284, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "00000000000000000000000000000", |
| "ct": "31104519408407766999596679558", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2285, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "99999999999999999999999999999", |
| "ct": "18947204757074693432723785173", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2286, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "70368744177664562949953421312", |
| "ct": "24990341370591589315381573065", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2287, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "70368744177663562949953421311", |
| "ct": "95703267760455892423780551748", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2288, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "71104945226016696208938203284", |
| "ct": "79669198030929436772659817960", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2289, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "76093208141826101056809779417", |
| "ct": "12219858811360245237214735912", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2290, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "62379356326129545533441317294", |
| "ct": "17528497425490751702326688003", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2291, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "57706669604148589270990636029", |
| "ct": "03526247112913659561510953262", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2292, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "00252750051922121760999959500", |
| "ct": "77942687999284476381802000885", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2293, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "79893061339143144384294592383", |
| "ct": "27180734283030606527084259439", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2294, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "74459196435230702617658001214", |
| "ct": "71797279931365777626034447028", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2295, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "58019074302908843911929225307", |
| "ct": "87641160972970711645926960113", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2296, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "87825843017010088322206161536", |
| "ct": "00000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2297, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "21750885992063782164957935575", |
| "ct": "99999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2298, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "19277722170788828456553701672", |
| "ct": "70368744177664562949953421312", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2299, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "98a6a7a98d430c7853a8e2103103ab98ecf1bf3471b50091", |
| "tweak": "9d1c32834c129f57", |
| "msg": "54919815080614451865624996120", |
| "ct": "70368744177663562949953421311", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2300, |
| "comment": "y = 0 and (y + a) % radix**14 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e", |
| "tweak": "9547270b8a390875", |
| "msg": "85837876752574589186515911313", |
| "ct": "32979892843297640036770688312", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2301, |
| "comment": "y = 0 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e", |
| "tweak": "9547270b8a390875", |
| "msg": "09201007821609768772888554171", |
| "ct": "25706692347378166569342648201", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2302, |
| "comment": "y = 0 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e", |
| "tweak": "9547270b8a390875", |
| "msg": "34303253982320706679069096664", |
| "ct": "33646527288916541392621141370", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2303, |
| "comment": "y = 0 and (y + a) % radix**14 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e", |
| "tweak": "9547270b8a390875", |
| "msg": "44170840967140257790917191162", |
| "ct": "90549901162655303641929593038", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2304, |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e", |
| "tweak": "3b8e5d3352138e9b", |
| "msg": "01403492220491140984895844447", |
| "ct": "37593543950330338911750205188", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2305, |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e", |
| "tweak": "3b8e5d3352138e9b", |
| "msg": "39296507341892783406270586452", |
| "ct": "37593543950331795295609151005", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2306, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e", |
| "tweak": "3b8e5d3352138e9b", |
| "msg": "94364633180223538902029736332", |
| "ct": "99999999999999372419194954889", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2307, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e", |
| "tweak": "3b8e5d3352138e9b", |
| "msg": "20611884474046536980859849951", |
| "ct": "00000000000000820880843258966", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2308, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e", |
| "tweak": "3b8e5d3352138e9b", |
| "msg": "75724483812386307402400723763", |
| "ct": "07962288127994802323391818056", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2309, |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e2aa4ae5506dd14f6587cc75359a7a3738bc523d0445c04e", |
| "tweak": "3b8e5d3352138e9b", |
| "msg": "67736071913261889322679650615", |
| "ct": "37593543950329200787195678040", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2310, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7bf1a173ad0aeff1b614594735175778a1819d4e06c111b3", |
| "tweak": "e5594ea2536203b4", |
| "msg": "j4168478560695495640706708968", |
| "ct": "89816168611837323699438854825", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2311, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7bf1a173ad0aeff1b614594735175778a1819d4e06c111b3", |
| "tweak": "e5594ea2536203b4", |
| "msg": "741684785}0695495640706708968", |
| "ct": "73417215449972189589292115204", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2312, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7bf1a173ad0aeff1b614594735175778a1819d4e06c111b3", |
| "tweak": "e5594ea2536203b4", |
| "msg": "7416847856069549564070670896.", |
| "ct": "16090866231246316316339165100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2313, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d3920fe7cc53be84f7dc26891de725fdf11a8b008b508c38", |
| "tweak": "fc72f209a1277601", |
| "msg": ":4885283326878317613029962978", |
| "ct": "58226056598043159301676047002", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2314, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d3920fe7cc53be84f7dc26891de725fdf11a8b008b508c38", |
| "tweak": "fc72f209a1277601", |
| "msg": "248852833:6878317613029962978", |
| "ct": "21478596063489452072035439272", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2315, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d3920fe7cc53be84f7dc26891de725fdf11a8b008b508c38", |
| "tweak": "fc72f209a1277601", |
| "msg": "2488528332687831761302996297:", |
| "ct": "93157572308149465144010204438", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 30, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2316, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "5fd8e11413d7659bc1b0be8e8febf6d6342060aa9a91d63d", |
| "tweak": "f249815599506c40", |
| "msg": "675015190334134023359143916427", |
| "ct": "850699883601359021506834694798", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2317, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "000000000000000000000000000000", |
| "ct": "861995461073403706775032198649", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2318, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "999999999999999999999999999999", |
| "ct": "272649256885944897016538554115", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2319, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "562949953421312562949953421312", |
| "ct": "031350260455570449385586379420", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2320, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "562949953421311562949953421311", |
| "ct": "516004631567227858900013999186", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2321, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "555351875761101599612676866488", |
| "ct": "432094080099907186706940114770", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2322, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "322575534718595389800104509189", |
| "ct": "849996677344443680603133258668", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2323, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "181976173146080953675598886897", |
| "ct": "898468856841187013487729183902", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2324, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "089763094918870772701718166233", |
| "ct": "553973797957448023321539816659", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2325, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "846678686864350511982637657365", |
| "ct": "977785374124467268539344672428", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2326, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "376854943245772298581956010371", |
| "ct": "530798621682608842488646589632", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2327, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "484944071566909673092517829643", |
| "ct": "323522384705541075109668788369", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2328, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "433673151039364681013711169095", |
| "ct": "502362137255803815773000865798", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2329, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "088874698964636551564108556809", |
| "ct": "000000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2330, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "156230850756600835161694111699", |
| "ct": "999999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2331, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "749794952347179398155143405452", |
| "ct": "562949953421312562949953421312", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2332, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d704417a51ba538f47dc1e4b1e379309b9560b356483a5da", |
| "tweak": "a7e9dcbb14888b9c", |
| "msg": "524554319980358929614157606683", |
| "ct": "562949953421311562949953421311", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2333, |
| "comment": "y = 0 and (y + a) % radix**15 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "eba71754a6954daf", |
| "msg": "104457502413564306148128976715", |
| "ct": "622811609463780096892660538109", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2334, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "eba71754a6954daf", |
| "msg": "709481629804430976928985559978", |
| "ct": "454030277346431457023139471272", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2335, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "eba71754a6954daf", |
| "msg": "323202863134088622708537918816", |
| "ct": "636662451919660516481731361214", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2336, |
| "comment": "y = 0 and (y + a) % radix**15 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "eba71754a6954daf", |
| "msg": "554133252272853217542471643528", |
| "ct": "270523247900668364856770208786", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2337, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "9812fa91faf98884", |
| "msg": "360686048451177018716699720735", |
| "ct": "213404638971583470452717936304", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2338, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "9812fa91faf98884", |
| "msg": "052072075039826001615196342272", |
| "ct": "939017055355569629458006160428", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2339, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "9812fa91faf98884", |
| "msg": "893880193181700618913726917640", |
| "ct": "273420491017956482856626814389", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2340, |
| "comment": "y = 1 and (y + a) % radix**15 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "9812fa91faf98884", |
| "msg": "286366192727708274998470331534", |
| "ct": "372824605963118236486292061354", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2341, |
| "comment": "y = 1 and (y + a) % radix**15 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "9812fa91faf98884", |
| "msg": "370889755032858225806497075141", |
| "ct": "373667105418471119645232697700", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2342, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "a1caacbccb66144a", |
| "msg": "789542347328014051729015563279", |
| "ct": "380271444936303580321785950626", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2343, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "a1caacbccb66144a", |
| "msg": "464116945112665558411661707499", |
| "ct": "709855275974403494388615182497", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2344, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "a1caacbccb66144a", |
| "msg": "325794098758639494683825168215", |
| "ct": "685137327986238182877109924349", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2345, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "a1caacbccb66144a", |
| "msg": "774129509606536191450412828196", |
| "ct": "282952169531055313013026387108", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2346, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "a1caacbccb66144a", |
| "msg": "425551001635700979492330721691", |
| "ct": "038450154691404352974402553307", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2347, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "a1caacbccb66144a", |
| "msg": "484177242357556714252465813558", |
| "ct": "928012377453684995657823981298", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2348, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**15 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "58b6037179c5e4e0", |
| "msg": "822114385406846409432968671554", |
| "ct": "545484994107841005901287882586", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2349, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**15 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "58b6037179c5e4e0", |
| "msg": "445705102019735275030745833635", |
| "ct": "314561678577460113727642352129", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2350, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "58b6037179c5e4e0", |
| "msg": "843057298758162408730033761185", |
| "ct": "340536449586980800527639482942", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2351, |
| "comment": "y is maximal after modular reduction and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "83287e1824dca1376f915b8fbd85c150242c332579f827a5", |
| "tweak": "58b6037179c5e4e0", |
| "msg": "053009451590181323990179218255", |
| "ct": "482615478965261377597988897916", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2352, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "76449a7c27b069b33678384e96f8bf7151bdae73c038d7fa", |
| "tweak": "9efb1ff8ad862889", |
| "msg": "$71361082054764150328537287007", |
| "ct": "936590800225932602145989627449", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2353, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "76449a7c27b069b33678384e96f8bf7151bdae73c038d7fa", |
| "tweak": "9efb1ff8ad862889", |
| "msg": "9713610820=4764150328537287007", |
| "ct": "081637384224141065975589425274", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2354, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "76449a7c27b069b33678384e96f8bf7151bdae73c038d7fa", |
| "tweak": "9efb1ff8ad862889", |
| "msg": "97136108205476415032853728700N", |
| "ct": "543467985183814553268460102696", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2355, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ce835c60ae00c9b6be7d5263fb86da0b2e64e9796eb3d018", |
| "tweak": "ba0f4c460026bef2", |
| "msg": ":37002068174336208354943367061", |
| "ct": "028987372630261995536100960136", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2356, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ce835c60ae00c9b6be7d5263fb86da0b2e64e9796eb3d018", |
| "tweak": "ba0f4c460026bef2", |
| "msg": "3370020681:4336208354943367061", |
| "ct": "032190704654329014169596303276", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2357, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ce835c60ae00c9b6be7d5263fb86da0b2e64e9796eb3d018", |
| "tweak": "ba0f4c460026bef2", |
| "msg": "33700206817433620835494336706:", |
| "ct": "544456093064690002639290289181", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 31, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2358, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "77b5e0675cc0ecffd9a187798870ce49ce4a9b6807e14b2b", |
| "tweak": "dc5996a3061cff92", |
| "msg": "8467800007068224051449599060786", |
| "ct": "8864287196670861861734408121623", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2359, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "0000000000000000000000000000000", |
| "ct": "5298048406864759221672266787005", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2360, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "9999999999999999999999999999999", |
| "ct": "0874299729775811828428705664113", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2361, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "5629499534213129007199254740992", |
| "ct": "5949598296416295960650182573377", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2362, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "5629499534213119007199254740991", |
| "ct": "4871819020043237745514352992657", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2363, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "3628372484888036889987325201585", |
| "ct": "9545153915133252802612384911346", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2364, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "8837879977976877061224812582118", |
| "ct": "9721519121677188414506168683414", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2365, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "8193150974232931614271767973729", |
| "ct": "7860171018836025655594876817427", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2366, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "7915885013084380969986079143791", |
| "ct": "9513708662620697586032820504567", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2367, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "8853498295555725868850663428389", |
| "ct": "7418008805420034989643014684175", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2368, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "3910931074299349602480518702177", |
| "ct": "4004057777831262125492275398741", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2369, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "7423342658189915125410428838479", |
| "ct": "7481299650015344608536442140860", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2370, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "4511122051300907526200066235651", |
| "ct": "6540135915533030149145811482481", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2371, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "5540160888467004827196094378166", |
| "ct": "0000000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2372, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "5582684066138917201439588353964", |
| "ct": "9999999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2373, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "3142290401740500897384956262582", |
| "ct": "5629499534213129007199254740992", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2374, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "4fcf59eaa701cee65916c3b24bda665647d578cfaa737d5a", |
| "tweak": "315fa89f9537aa44", |
| "msg": "3885594292141257545987180697979", |
| "ct": "5629499534213119007199254740991", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2375, |
| "comment": "y = 0 and (y + a) % radix**15 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "0751e59edccbfc95", |
| "msg": "9933315782552673370754680439402", |
| "ct": "6605732713306956072188589487027", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2376, |
| "comment": "y = 0 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "0751e59edccbfc95", |
| "msg": "3985878693665772407762044794559", |
| "ct": "2452659676195636122036491791099", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2377, |
| "comment": "y = 0 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "0751e59edccbfc95", |
| "msg": "2394109972731318584930994171616", |
| "ct": "7842632561433547300235634238817", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2378, |
| "comment": "y = 0 and (y + a) % radix**15 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "0751e59edccbfc95", |
| "msg": "5563552270026635497903921461901", |
| "ct": "5556597301710671646689282300752", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2379, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "dd45aef939971788", |
| "msg": "0000000000000000869617619399920", |
| "ct": "6420411879678839922428330623694", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2380, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "dd45aef939971788", |
| "msg": "0000000000000010869617619399920", |
| "ct": "6721172531087957092097058125463", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2381, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "dd45aef939971788", |
| "msg": "5629499534213120869617619399920", |
| "ct": "3457204451161433867516420827115", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2382, |
| "comment": "y = 1 and (y + a) % radix**15 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "dd45aef939971788", |
| "msg": "9999999999999980869617619399920", |
| "ct": "0222472188504507260673654664572", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2383, |
| "comment": "y = 1 and (y + a) % radix**15 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "dd45aef939971788", |
| "msg": "9999999999999990869617619399920", |
| "ct": "2959109831657857599091220498324", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2384, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "88633e9984cca8e2", |
| "msg": "0000000000000002335883405654505", |
| "ct": "7279666171344521178534974295423", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2385, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "88633e9984cca8e2", |
| "msg": "0000000000000012335883405654505", |
| "ct": "3298317007704699625914327532307", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2386, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "88633e9984cca8e2", |
| "msg": "5629499534213122335883405654505", |
| "ct": "5152524238826478064250747756871", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2387, |
| "comment": "y is maximal and (y + a) % radix**15 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "88633e9984cca8e2", |
| "msg": "6624064560496642335883405654505", |
| "ct": "2818929939253321667077220630863", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2388, |
| "comment": "y is maximal and (y + a) % radix**15 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "88633e9984cca8e2", |
| "msg": "6624064560496652335883405654505", |
| "ct": "0039343312407440425121160642177", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2389, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "88633e9984cca8e2", |
| "msg": "9999999999999992335883405654505", |
| "ct": "2808028939419311671587658084744", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2390, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "e288f5f5190f4a2c", |
| "msg": "4021625363309245022371351523833", |
| "ct": "9798981991251188822416178759372", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2391, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "e288f5f5190f4a2c", |
| "msg": "4423985201861597898013534726516", |
| "ct": "0667186475958429827440349258981", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2392, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "e288f5f5190f4a2c", |
| "msg": "4754047617678657651962755658942", |
| "ct": "4616979049109748957426421365455", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2393, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "e288f5f5190f4a2c", |
| "msg": "1717404750539480576119190777810", |
| "ct": "7397606317795948166911475108670", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2394, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "e288f5f5190f4a2c", |
| "msg": "4343302431744850363573188832775", |
| "ct": "9817806736500689480417703637042", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2395, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "e288f5f5190f4a2c", |
| "msg": "6079397531890994137428922227021", |
| "ct": "1390826558250411396708671202390", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2396, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**15 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "fc7b2aa5c2a4725e", |
| "msg": "2349802901195987240830017113979", |
| "ct": "7697010633139699841229935276964", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2397, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**15 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "fc7b2aa5c2a4725e", |
| "msg": "0802506721242199124874197037120", |
| "ct": "7082915240964186508525084171880", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2398, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "fc7b2aa5c2a4725e", |
| "msg": "5564415859801651830408087677067", |
| "ct": "8968272333378029327966321750315", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2399, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6350fd65437d0134347a365323f230083d7d7fb07cd79d1d", |
| "tweak": "fc7b2aa5c2a4725e", |
| "msg": "0761752518227091748281362014486", |
| "ct": "0624526311716541322514196551789", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2400, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "364984930c7a7dbafe67f0a6398ad68d3b643423f7421aeb", |
| "tweak": "e432f1926c6d0ff8", |
| "msg": "{743726556313491099499153351009", |
| "ct": "6347018457219320764745483885668", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2401, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "364984930c7a7dbafe67f0a6398ad68d3b643423f7421aeb", |
| "tweak": "e432f1926c6d0ff8", |
| "msg": "1743726556%13491099499153351009", |
| "ct": "0812185830767715773627142158561", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2402, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "364984930c7a7dbafe67f0a6398ad68d3b643423f7421aeb", |
| "tweak": "e432f1926c6d0ff8", |
| "msg": "174372655631349109949915335100B", |
| "ct": "5333474543612286191893428135297", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2403, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "67bd4654cb706a8ab9d134b22484fe5fb0b0e8994e9f64ba", |
| "tweak": "ad6397d83e3a4cf3", |
| "msg": ":327385423051321031608117884654", |
| "ct": "3439337341771260535372789799724", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2404, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "67bd4654cb706a8ab9d134b22484fe5fb0b0e8994e9f64ba", |
| "tweak": "ad6397d83e3a4cf3", |
| "msg": "4327385423:51321031608117884654", |
| "ct": "5073142674476882558757549855215", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2405, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "67bd4654cb706a8ab9d134b22484fe5fb0b0e8994e9f64ba", |
| "tweak": "ad6397d83e3a4cf3", |
| "msg": "432738542305132103160811788465:", |
| "ct": "7147372961212674984646906391539", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 32, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2406, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "51bc85303caaaad311ecfdbad7b6d390f51de4de32beeb24", |
| "tweak": "5ba80100c8ec15b3", |
| "msg": "78653633690291379458840907809047", |
| "ct": "03923907631453810525881417281309", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2407, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "00000000000000000000000000000000", |
| "ct": "74080792281771883145809072664901", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2408, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "99999999999999999999999999999999", |
| "ct": "53396094865405565476873581799956", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2409, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "90071992547409929007199254740992", |
| "ct": "24112627801203396802414200204708", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2410, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "90071992547409919007199254740991", |
| "ct": "62027745008770351771949274440317", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2411, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "71898607589962312987291262178725", |
| "ct": "53493229868574700039419848437299", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2412, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "75395529398042086806046117761851", |
| "ct": "49017482798701301428137312464991", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2413, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "32644228344252195566907690682043", |
| "ct": "18271190238252663323831210952334", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2414, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "01647910785647402700888458360441", |
| "ct": "27475342831197657201393898701981", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2415, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "92506719013000619167522960721588", |
| "ct": "43182326203357591571859359588123", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2416, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "99158278080104317999589348589813", |
| "ct": "86722980073222200149851655446260", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2417, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "06315577332381389199821447732305", |
| "ct": "69061244869434827119417076601561", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2418, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "82582561742512014643262114494990", |
| "ct": "75567108246279834566888591281426", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2419, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "84019747813407788343460743953972", |
| "ct": "00000000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2420, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "13804818389344137611266793968937", |
| "ct": "99999999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2421, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "05238778080806465474047759599784", |
| "ct": "90071992547409929007199254740992", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2422, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "65d8cc1b75b411ca6d11cedcf41fb22848f33a0a865fe650", |
| "tweak": "1fb9049b7804720b", |
| "msg": "00820958215508070295180280882884", |
| "ct": "90071992547409919007199254740991", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2423, |
| "comment": "y = 0 and (y + a) % radix**16 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "1377d53f8018837f", |
| "msg": "21698436161414332391751580695787", |
| "ct": "06116078097006074594801356279320", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2424, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "1377d53f8018837f", |
| "msg": "63742552659399490228259289449649", |
| "ct": "23957651930064341995603572863022", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2425, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "1377d53f8018837f", |
| "msg": "39019004932173944345328855570647", |
| "ct": "66110335444745222563125509106881", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2426, |
| "comment": "y = 0 and (y + a) % radix**16 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "1377d53f8018837f", |
| "msg": "61509963782666792524160005524492", |
| "ct": "92744336109306483752211254608295", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2427, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "c12aaba8c836310d", |
| "msg": "00000000000000000753665341905760", |
| "ct": "83478084298658226450236756337850", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2428, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "c12aaba8c836310d", |
| "msg": "00000000000000010753665341905760", |
| "ct": "37991179049176330010257297908290", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2429, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "c12aaba8c836310d", |
| "msg": "90071992547409920753665341905760", |
| "ct": "44640501109873536582746776862171", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2430, |
| "comment": "y = 1 and (y + a) % radix**16 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "c12aaba8c836310d", |
| "msg": "99999999999999980753665341905760", |
| "ct": "56020616663190552526199000888544", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2431, |
| "comment": "y = 1 and (y + a) % radix**16 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "c12aaba8c836310d", |
| "msg": "99999999999999990753665341905760", |
| "ct": "06436606496390936333192621271508", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2432, |
| "comment": "y is maximal and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "676c5ee0f290c5ca", |
| "msg": "66691916803889854123265071748644", |
| "ct": "17382624064690714337593543950335", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2433, |
| "comment": "y is maximal and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "676c5ee0f290c5ca", |
| "msg": "08591033520763285577422857162183", |
| "ct": "17382624064690714337593543950336", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2434, |
| "comment": "y is maximal and (y + a) % radix**16 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "676c5ee0f290c5ca", |
| "msg": "16697617696705973953324829648855", |
| "ct": "17382624064690719999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2435, |
| "comment": "y is maximal and (y + a) % radix**16 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "676c5ee0f290c5ca", |
| "msg": "31247390027030681020969528676856", |
| "ct": "17382624064690710000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2436, |
| "comment": "y is maximal and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "676c5ee0f290c5ca", |
| "msg": "54528333127259286954995024141844", |
| "ct": "17382624064690713344792798691327", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2437, |
| "comment": "y is maximal and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "676c5ee0f290c5ca", |
| "msg": "65621918414220763615016767144384", |
| "ct": "17382624064690714337593543950334", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2438, |
| "comment": "y is edge case for modular reduction and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "74d144f4657c0eac", |
| "msg": "94330813764962537842528703885011", |
| "ct": "32838152533942223868956520163235", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2439, |
| "comment": "y is edge case for modular reduction and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "74d144f4657c0eac", |
| "msg": "78696573072961538789797693336159", |
| "ct": "23791047920461025585798586124056", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2440, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**16 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "74d144f4657c0eac", |
| "msg": "76200591834411487100991895073576", |
| "ct": "65602460292468245794566244001285", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2441, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**16 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "74d144f4657c0eac", |
| "msg": "79296344626822837254291023917525", |
| "ct": "87039308065493809488797660014299", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2442, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "74d144f4657c0eac", |
| "msg": "99725476510635511470996022414908", |
| "ct": "37842726495525922669858466746720", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2443, |
| "comment": "y is edge case for modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "74d144f4657c0eac", |
| "msg": "46601855678650483241901530561037", |
| "ct": "44917435385022143720767106260870", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2444, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**16 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "962eb8f5b859121f", |
| "msg": "31053657054227690631833480564068", |
| "ct": "57407376319156585767129162538140", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2445, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**16 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "962eb8f5b859121f", |
| "msg": "03872112845255985541864217966370", |
| "ct": "30751533135834920398386027057832", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2446, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "962eb8f5b859121f", |
| "msg": "38613313057217090694125214664643", |
| "ct": "75562882616141356392091044187353", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2447, |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "64fd9663a97f664bdba750027f493bf32d6dd19848e4c085", |
| "tweak": "962eb8f5b859121f", |
| "msg": "70464099162333521304446342849320", |
| "ct": "79796457827866711119417748665459", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2448, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b7cf2923ee46df51f5adb4b3e3f95fd973ce88550592934f", |
| "tweak": "bec66b014709b6e2", |
| "msg": "}7364349355109622865954148256860", |
| "ct": "51387234378147646742965136248552", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2449, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b7cf2923ee46df51f5adb4b3e3f95fd973ce88550592934f", |
| "tweak": "bec66b014709b6e2", |
| "msg": "4736434935<109622865954148256860", |
| "ct": "86557837833598405604315291905177", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2450, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b7cf2923ee46df51f5adb4b3e3f95fd973ce88550592934f", |
| "tweak": "bec66b014709b6e2", |
| "msg": "4736434935510962286595414825686<", |
| "ct": "23545510307037042757938044475846", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2451, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ff5a8cb9cb91612d9eb49a1ed630106896a39bb0bf97875d", |
| "tweak": "daede9ed17034ec2", |
| "msg": ":9914227102260334430370225354894", |
| "ct": "90184053334756172267927071370725", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2452, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ff5a8cb9cb91612d9eb49a1ed630106896a39bb0bf97875d", |
| "tweak": "daede9ed17034ec2", |
| "msg": "4991422710:260334430370225354894", |
| "ct": "19569968627615604560439513515451", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2453, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ff5a8cb9cb91612d9eb49a1ed630106896a39bb0bf97875d", |
| "tweak": "daede9ed17034ec2", |
| "msg": "4991422710226033443037022535489:", |
| "ct": "94276375515863401090723200978574", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 33, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2454, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "c873cf24452bb6d1ac26d53a77387c345eb0d8567f49d5ea", |
| "tweak": "b46136fc98b7e9f8", |
| "msg": "376324468332070358955062411814505", |
| "ct": "592843898882809594435378864207318", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2455, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "000000000000000000000000000000000", |
| "ct": "219993121531181679340587903394997", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2456, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "999999999999999999999999999999999", |
| "ct": "871841537740947400194277614930688", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2457, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "900719925474099272057594037927936", |
| "ct": "331463341812288743398159808857652", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2458, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "900719925474099172057594037927935", |
| "ct": "610688519318351176472050895158926", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2459, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "029518863841881976679624024184699", |
| "ct": "132896424849424459829303792829903", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2460, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "748837064936856512188086207591251", |
| "ct": "816121875435780265049262135440385", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2461, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "298234352218020312777699651697277", |
| "ct": "953476402470007863385966929136067", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2462, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "678196396385001753168875928343072", |
| "ct": "476314256171787459853851039299825", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2463, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "549255676965242553884303705107882", |
| "ct": "699751873310605485287712541460661", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2464, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "054795568010631121861336460146128", |
| "ct": "049582857755889981068094071256796", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2465, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "590090393670813961014657199883317", |
| "ct": "558796820624482263121718945712671", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2466, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "362513462387155469125628657382551", |
| "ct": "485668161255436198394766311189736", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2467, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "562777420118980889018093085285862", |
| "ct": "000000000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2468, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "852768372289866391750219022872705", |
| "ct": "999999999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2469, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "730611234554421791517351766339628", |
| "ct": "900719925474099272057594037927936", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2470, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3c6d9803cb1d037a4dd40ad29a24bda0ad8ff6b6c66ae2e9", |
| "tweak": "699fe67da72de739", |
| "msg": "604136796996829067551551633897878", |
| "ct": "900719925474099172057594037927935", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2471, |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "004890ef9e3d6986a31f346e8eed6bbbe0670f432835740e", |
| "tweak": "0e7c32361be5aa", |
| "msg": "000000000000000025795513686118805", |
| "ct": "272062974766591283826157581889097", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2472, |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "004890ef9e3d6986a31f346e8eed6bbbe0670f432835740e", |
| "tweak": "0e7c32361be5aa", |
| "msg": "000000000000000125795513686118805", |
| "ct": "510014219526565507493646440744043", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2473, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**16 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "004890ef9e3d6986a31f346e8eed6bbbe0670f432835740e", |
| "tweak": "0e7c32361be5aa", |
| "msg": "566240645604966925795513686118805", |
| "ct": "764743682569021202463469717704549", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2474, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**16 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "004890ef9e3d6986a31f346e8eed6bbbe0670f432835740e", |
| "tweak": "0e7c32361be5aa", |
| "msg": "566240645604967025795513686118805", |
| "ct": "589249401277990933213064976680447", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2475, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "004890ef9e3d6986a31f346e8eed6bbbe0670f432835740e", |
| "tweak": "0e7c32361be5aa", |
| "msg": "900719925474099225795513686118805", |
| "ct": "577326245977538094817701547890513", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2476, |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "004890ef9e3d6986a31f346e8eed6bbbe0670f432835740e", |
| "tweak": "0e7c32361be5aa", |
| "msg": "999999999999999925795513686118805", |
| "ct": "101409059027367330606612082915618", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2477, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a901092eaf7d948de68609d306d81910db25903918f93b8c", |
| "tweak": "c0c8efbd14f6ce8f", |
| "msg": ":31015172267901547927013856721777", |
| "ct": "545441412873456754476752502813841", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2478, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a901092eaf7d948de68609d306d81910db25903918f93b8c", |
| "tweak": "c0c8efbd14f6ce8f", |
| "msg": "83101517226#901547927013856721777", |
| "ct": "494921831972061898517840129613015", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2479, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "a901092eaf7d948de68609d306d81910db25903918f93b8c", |
| "tweak": "c0c8efbd14f6ce8f", |
| "msg": "83101517226790154792701385672177A", |
| "ct": "076346474338985113187986449056677", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2480, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "68d1220f5c159bd1f92cc8dcede43ba1e7603113b191e147", |
| "tweak": "010fe95bae074775", |
| "msg": ":99966516198963004026936070820426", |
| "ct": "973256811261122893244799439475013", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2481, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "68d1220f5c159bd1f92cc8dcede43ba1e7603113b191e147", |
| "tweak": "010fe95bae074775", |
| "msg": "79996651619:963004026936070820426", |
| "ct": "486163690119663511168021519227910", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2482, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "68d1220f5c159bd1f92cc8dcede43ba1e7603113b191e147", |
| "tweak": "010fe95bae074775", |
| "msg": "79996651619896300402693607082042:", |
| "ct": "695758294008015172436485701402876", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 38, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2483, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "53604548a0e8efc31ac3036e9cd142b0d201fff86faa3a4a", |
| "tweak": "d8aca824d25129ed", |
| "msg": "50794571102608332775537921274058151448", |
| "ct": "20502440914908968177008377247521358567", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2484, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "00000000000000000000000000000000000000", |
| "ct": "16049192516893978381017433514305336828", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2485, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "99999999999999999999999999999999999999", |
| "ct": "52595452271687196987074329792964681353", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2486, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "92233720368547758089223372036854775808", |
| "ct": "83448472306238849343346294898468811090", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2487, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "92233720368547758079223372036854775807", |
| "ct": "04018172022867283757807614447427285146", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2488, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "32109875424681345319281128573753845947", |
| "ct": "75394790755008945110302289016929752666", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2489, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "97814330298867399702519128267125215272", |
| "ct": "66257367696634755700474257906936610961", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2490, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "98799335497045726401838021878589682184", |
| "ct": "99724197224976974527676511593854487562", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2491, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "70473013071036932291575150382972599813", |
| "ct": "23327581274836233985784511843420287191", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2492, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "35422616933303382950264288298731423126", |
| "ct": "08414159647872240345666881390650585613", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2493, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "09655746221697232970732111204298702524", |
| "ct": "48708956954741181519116919529530759911", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2494, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "70110123892016700013188042607947608417", |
| "ct": "96439007111720453309753807999517918580", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2495, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "72275036977471124750289848049774477083", |
| "ct": "23231898851927000857177496565454586937", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2496, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "55026028654777596247969998601711349005", |
| "ct": "00000000000000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2497, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "34961456778282626475882686585680385091", |
| "ct": "99999999999999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2498, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "78400587767719599962189061720926352772", |
| "ct": "92233720368547758089223372036854775808", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2499, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "a4656c19173b53801c741ae9a070926c35383f4682af53ae", |
| "tweak": "19016637ccbddc43", |
| "msg": "05568430040666112982383848082243497399", |
| "ct": "92233720368547758079223372036854775807", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2500, |
| "comment": "y = 0 and (y + a) % radix**19 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "c1cb62fd42bc9a", |
| "msg": "34380389272815378463217622139022689661", |
| "ct": "82852071692059238789763818391795050038", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2501, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "c1cb62fd42bc9a", |
| "msg": "11134992629911123776276084592656754216", |
| "ct": "18931408379356619602723397786472417506", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2502, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "c1cb62fd42bc9a", |
| "msg": "95117184157646365970996954726310313746", |
| "ct": "32896780417458882736905525405782209269", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2503, |
| "comment": "y = 0 and (y + a) % radix**19 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "c1cb62fd42bc9a", |
| "msg": "59222795116190476402678913942350049600", |
| "ct": "94562068899900831685786115549443524300", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2504, |
| "comment": "y = 1 and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "3ea7aa6a0a8661", |
| "msg": "77551253633744927121481635561583099099", |
| "ct": "00000000000000000014572792230309075113", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2505, |
| "comment": "y = 1 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "3ea7aa6a0a8661", |
| "msg": "80241370373794951406893963610088271887", |
| "ct": "00000000000000000021636357485060357380", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2506, |
| "comment": "y = 1 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "3ea7aa6a0a8661", |
| "msg": "78135410510628242852010950663355801010", |
| "ct": "92233720368547758097531804149908901587", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2507, |
| "comment": "y = 1 and (y + a) % radix**19 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "3ea7aa6a0a8661", |
| "msg": "33313761159190623829533213443829480001", |
| "ct": "99999999999999999997138929471358055961", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2508, |
| "comment": "y = 1 and (y + a) % radix**19 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "3ea7aa6a0a8661", |
| "msg": "19976110028688992198855243706803458317", |
| "ct": "00000000000000000003878928086716969994", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2509, |
| "comment": "y is maximal and a = 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "5e9c34f6f776a3", |
| "msg": "38339132890001473600000000000000000000", |
| "ct": "79738501282289963777484510000396734986", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2510, |
| "comment": "y is maximal and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "5e9c34f6f776a3", |
| "msg": "98816370712932361600000000000000000001", |
| "ct": "67342325989781900862074231792591103817", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2511, |
| "comment": "y is maximal and (y + a) % radix**19 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "5e9c34f6f776a3", |
| "msg": "82669715133937589495735662406456049664", |
| "ct": "49834097731263199640960640912034485491", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2512, |
| "comment": "y is maximal and (y + a) % radix**19 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "5e9c34f6f776a3", |
| "msg": "39892336187292516245735662406456049665", |
| "ct": "26031740141803355461300704136069121526", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2513, |
| "comment": "y is maximal and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "5e9c34f6f776a3", |
| "msg": "40598411749369855549223372036854775808", |
| "ct": "42597349531970890147977367114116585905", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2514, |
| "comment": "y is maximal and a is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "5e9c34f6f776a3", |
| "msg": "70477609275090635919999999999999999999", |
| "ct": "15346865748009058653986951663636986620", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2515, |
| "comment": "y is edge case for modular reduction and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "99bbfbe6159384", |
| "msg": "90369831042331506479344440679128922362", |
| "ct": "47252936783337857954264337593543950330", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2516, |
| "comment": "y is edge case for modular reduction and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "99bbfbe6159384", |
| "msg": "18015956246580407524381463534120117729", |
| "ct": "47252936783337857954264337593543950331", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2517, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**19 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "99bbfbe6159384", |
| "msg": "97561506798506724008873609095235592790", |
| "ct": "47252936783337857959999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2518, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**19 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "99bbfbe6159384", |
| "msg": "79957138489110575735471139830532690107", |
| "ct": "47252936783337857950000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2519, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "99bbfbe6159384", |
| "msg": "21655294225234164467419007070633272866", |
| "ct": "47252936783337857953487709630398726138", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2520, |
| "comment": "y is edge case for modular reduction and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "99bbfbe6159384", |
| "msg": "94301440267695393036103947489153184651", |
| "ct": "47252936783337857954264337593543950329", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2521, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**19 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "06a959ce3b4df5", |
| "msg": "07588794367754759630351693386889179008", |
| "ct": "38355905023518935469999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2522, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**19 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "06a959ce3b4df5", |
| "msg": "00658772080066040710651797625516649991", |
| "ct": "38355905023518935460000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2523, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "06a959ce3b4df5", |
| "msg": "32751632122776091019060082997557168336", |
| "ct": "38355905023518935469223372036854775807", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2524, |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8e4c0607fbc9573c042529f01f58cf013499f1259ad8efbf", |
| "tweak": "06a959ce3b4df5", |
| "msg": "46411178835285265968147361151508933999", |
| "ct": "38355905023518935469999999999999999998", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2525, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1fa604ea018858617ad90bed27da8ac3933fa7feced3071f", |
| "tweak": "50fb280c7b4ca49c", |
| "msg": "k1281747994048090575694770561235311359", |
| "ct": "54622101983902918967362101532895288367", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2526, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1fa604ea018858617ad90bed27da8ac3933fa7feced3071f", |
| "tweak": "50fb280c7b4ca49c", |
| "msg": "912817479940g8090575694770561235311359", |
| "ct": "29706274696764030897674051099573026449", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2527, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1fa604ea018858617ad90bed27da8ac3933fa7feced3071f", |
| "tweak": "50fb280c7b4ca49c", |
| "msg": "9128174799404809057569477056123531135b", |
| "ct": "49340563475355458958521774330751540512", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2528, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "25d373042be9ca05f2ad025e6184530fc4ef3735289e31db", |
| "tweak": "7f3feb603874e8ac", |
| "msg": ":4467420053081187364255983904673302076", |
| "ct": "96925360806958312705102170081254752148", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2529, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "25d373042be9ca05f2ad025e6184530fc4ef3735289e31db", |
| "tweak": "7f3feb603874e8ac", |
| "msg": "044674200530:1187364255983904673302076", |
| "ct": "40742081882194743170341672699421278413", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2530, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "25d373042be9ca05f2ad025e6184530fc4ef3735289e31db", |
| "tweak": "7f3feb603874e8ac", |
| "msg": "0446742005308118736425598390467330207:", |
| "ct": "77924051916095646249260842955656137656", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 6, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2531, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "d82810eea883aa693dafbad9520a23919e6d5eadef78b28226daca2af64a68e5", |
| "tweak": "44bbec52bad40a55", |
| "msg": "317330", |
| "ct": "987554", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2532, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "000000", |
| "ct": "440219", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2533, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "999999", |
| "ct": "327283", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2534, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "512512", |
| "ct": "336925", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2535, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "511511", |
| "ct": "626555", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2536, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "935715", |
| "ct": "089186", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2537, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "346666", |
| "ct": "401758", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2538, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "292554", |
| "ct": "549897", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2539, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "068185", |
| "ct": "289953", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2540, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "214943", |
| "ct": "619084", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2541, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "242879", |
| "ct": "435281", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2542, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "243801", |
| "ct": "377345", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2543, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "241116", |
| "ct": "302991", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2544, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "484237", |
| "ct": "000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2545, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "201327", |
| "ct": "999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2546, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "415533", |
| "ct": "512512", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2547, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "8376c44cb6d0dbc1928bdbf5754ca32aaeace6298b45174f86c3f7151475d2fd", |
| "tweak": "9342a88d4b672bbb", |
| "msg": "903012", |
| "ct": "511511", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2548, |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "2bbec2e4626859d07ca0c21a0c", |
| "msg": "512687", |
| "ct": "509992", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2549, |
| "comment": "y = 0 and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "2bbec2e4626859d07ca0c21a0c", |
| "msg": "023581", |
| "ct": "551266", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2550, |
| "comment": "y = 0 and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "2bbec2e4626859d07ca0c21a0c", |
| "msg": "006093", |
| "ct": "832630", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2551, |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "2bbec2e4626859d07ca0c21a0c", |
| "msg": "231923", |
| "ct": "463563", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2552, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "c5e9e95bf10d4da13abe06992c", |
| "msg": "042910", |
| "ct": "779437", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2553, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "c5e9e95bf10d4da13abe06992c", |
| "msg": "360864", |
| "ct": "283706", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2554, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "c5e9e95bf10d4da13abe06992c", |
| "msg": "297672", |
| "ct": "412042", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2555, |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "c5e9e95bf10d4da13abe06992c", |
| "msg": "346371", |
| "ct": "798244", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2556, |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "c5e9e95bf10d4da13abe06992c", |
| "msg": "864987", |
| "ct": "883452", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2557, |
| "comment": "y is maximal and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "c06f9db3aa0869177a92ca1bf4", |
| "msg": "074243", |
| "ct": "384676", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2558, |
| "comment": "y is maximal and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "c06f9db3aa0869177a92ca1bf4", |
| "msg": "343226", |
| "ct": "067569", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2559, |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "c06f9db3aa0869177a92ca1bf4", |
| "msg": "218384", |
| "ct": "891720", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2560, |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "c06f9db3aa0869177a92ca1bf4", |
| "msg": "436137", |
| "ct": "525367", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2561, |
| "comment": "y is maximal and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "c06f9db3aa0869177a92ca1bf4", |
| "msg": "311211", |
| "ct": "991730", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2562, |
| "comment": "y is maximal and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "c06f9db3aa0869177a92ca1bf4", |
| "msg": "568042", |
| "ct": "220937", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2563, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "af06d3c95cfede6654242fe27d", |
| "msg": "569000", |
| "ct": "450777", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2564, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "af06d3c95cfede6654242fe27d", |
| "msg": "487001", |
| "ct": "580306", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2565, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "af06d3c95cfede6654242fe27d", |
| "msg": "564512", |
| "ct": "455271", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2566, |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "6cb7812f674f83701cb4913833d58fc7abd8a11f077e921eee6a1b0da918fc59", |
| "tweak": "af06d3c95cfede6654242fe27d", |
| "msg": "934999", |
| "ct": "244277", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2567, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", |
| "tweak": "bf692e602f57a277", |
| "msg": "M70891", |
| "ct": "374518", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2568, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", |
| "tweak": "bf692e602f57a277", |
| "msg": "47+891", |
| "ct": "697591", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2569, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "80089d3b3a0bcf1159ca4f8cb20cd7e24fcbaab8c28d228ffcd22259d3000215", |
| "tweak": "bf692e602f57a277", |
| "msg": "47089S", |
| "ct": "171043", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2570, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e3dc944540dbfe55a017a01fe0e5f8e6d0e8b2d55ec48499828975bd311dc7b7", |
| "tweak": "43d2c98b38d70e32", |
| "msg": ":32856", |
| "ct": "599682", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2571, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e3dc944540dbfe55a017a01fe0e5f8e6d0e8b2d55ec48499828975bd311dc7b7", |
| "tweak": "43d2c98b38d70e32", |
| "msg": "23:856", |
| "ct": "147366", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2572, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e3dc944540dbfe55a017a01fe0e5f8e6d0e8b2d55ec48499828975bd311dc7b7", |
| "tweak": "43d2c98b38d70e32", |
| "msg": "23285:", |
| "ct": "076086", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 7, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2573, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "647b69567516a585377f3fc9a8129c255431b0b5ab6792f9aa3fd646f3146b13", |
| "tweak": "39774b45a4fdd85b", |
| "msg": "9678752", |
| "ct": "6719870", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2574, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "0000000", |
| "ct": "4638036", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2575, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "9999999", |
| "ct": "5565198", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2576, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "5128192", |
| "ct": "3207340", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2577, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "5118191", |
| "ct": "2751168", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2578, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "2868184", |
| "ct": "6919543", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2579, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "3972795", |
| "ct": "6824990", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2580, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "8581287", |
| "ct": "0112134", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2581, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "3075657", |
| "ct": "8250186", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2582, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "3296404", |
| "ct": "8978007", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2583, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "6338045", |
| "ct": "0528745", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2584, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "1439453", |
| "ct": "7677717", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2585, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "2752547", |
| "ct": "4954908", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2586, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "3016156", |
| "ct": "0000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2587, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "5955180", |
| "ct": "9999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2588, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "9355060", |
| "ct": "5128192", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2589, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "7cfa15764604e2f793ec841c54933cda7c15604e96501c2c19a7495c2ca124c2", |
| "tweak": "85e4782f20e0178c", |
| "msg": "7949273", |
| "ct": "5118191", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2590, |
| "comment": "y = 0 and (y + a) % radix**3 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "a857c6fbbe80903c418f2e5774", |
| "msg": "1609289", |
| "ct": "0009025", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2591, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "a857c6fbbe80903c418f2e5774", |
| "msg": "8853101", |
| "ct": "0012739", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2592, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "a857c6fbbe80903c418f2e5774", |
| "msg": "0118135", |
| "ct": "5122087", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2593, |
| "comment": "y = 0 and (y + a) % radix**3 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "a857c6fbbe80903c418f2e5774", |
| "msg": "9946832", |
| "ct": "9998705", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2594, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "d1195aad73387f786e9e126b72", |
| "msg": "0943508", |
| "ct": "5662268", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2595, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "d1195aad73387f786e9e126b72", |
| "msg": "5550603", |
| "ct": "8234539", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2596, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "d1195aad73387f786e9e126b72", |
| "msg": "2001536", |
| "ct": "9484561", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2597, |
| "comment": "y = 1 and (y + a) % radix**3 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "d1195aad73387f786e9e126b72", |
| "msg": "3317049", |
| "ct": "3706862", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2598, |
| "comment": "y = 1 and (y + a) % radix**3 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "d1195aad73387f786e9e126b72", |
| "msg": "3634707", |
| "ct": "9111803", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2599, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "0d80ef2ff6b835aa4aed104c59", |
| "msg": "0005608", |
| "ct": "3055174", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2600, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "0d80ef2ff6b835aa4aed104c59", |
| "msg": "0015608", |
| "ct": "5490486", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2601, |
| "comment": "y is maximal and (y + a) % radix**3 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "0d80ef2ff6b835aa4aed104c59", |
| "msg": "3845608", |
| "ct": "6337415", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2602, |
| "comment": "y is maximal and (y + a) % radix**3 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "0d80ef2ff6b835aa4aed104c59", |
| "msg": "3855608", |
| "ct": "1661492", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2603, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "0d80ef2ff6b835aa4aed104c59", |
| "msg": "5125608", |
| "ct": "2447767", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2604, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "0d80ef2ff6b835aa4aed104c59", |
| "msg": "9995608", |
| "ct": "4471839", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2605, |
| "comment": "y is edge case for modular reduction and a = 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "063aaccb004d66d68f47e1de4e", |
| "msg": "7650000", |
| "ct": "7661280", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2606, |
| "comment": "y is edge case for modular reduction and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "063aaccb004d66d68f47e1de4e", |
| "msg": "2900001", |
| "ct": "6968069", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2607, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "063aaccb004d66d68f47e1de4e", |
| "msg": "9088192", |
| "ct": "4529660", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2608, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "063aaccb004d66d68f47e1de4e", |
| "msg": "0288389", |
| "ct": "1792859", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2609, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "063aaccb004d66d68f47e1de4e", |
| "msg": "4318390", |
| "ct": "7865611", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2610, |
| "comment": "y is edge case for modular reduction and a is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "063aaccb004d66d68f47e1de4e", |
| "msg": "2429999", |
| "ct": "4502482", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2611, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "ccb739498e39bf806f8f4865e5", |
| "msg": "5135498", |
| "ct": "6976970", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2612, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**3 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "ccb739498e39bf806f8f4865e5", |
| "msg": "1404330", |
| "ct": "0556042", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2613, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "ccb739498e39bf806f8f4865e5", |
| "msg": "4426908", |
| "ct": "9616853", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2614, |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "1058920be115e85e503e04f634a36836428f3086a0387788447be8e1162e14b5", |
| "tweak": "ccb739498e39bf806f8f4865e5", |
| "msg": "1852786", |
| "ct": "3019644", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2615, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", |
| "tweak": "c5df6cad17b46d67", |
| "msg": "D909756", |
| "ct": "2739512", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2616, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", |
| "tweak": "c5df6cad17b46d67", |
| "msg": "39v9756", |
| "ct": "9378631", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2617, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d77ad296a3a7ac7aaa296912b462b6ae77b8ac6af9e1f213711e989e461e3fac", |
| "tweak": "c5df6cad17b46d67", |
| "msg": "390975U", |
| "ct": "8809322", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2618, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b77d2307ec3d6abba6e740f88b8f667aeea00fe86ac098dd8745acb9bd8a7fda", |
| "tweak": "3db7699e236d6657", |
| "msg": ":154933", |
| "ct": "8753955", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2619, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b77d2307ec3d6abba6e740f88b8f667aeea00fe86ac098dd8745acb9bd8a7fda", |
| "tweak": "3db7699e236d6657", |
| "msg": "21:4933", |
| "ct": "1373280", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2620, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b77d2307ec3d6abba6e740f88b8f667aeea00fe86ac098dd8745acb9bd8a7fda", |
| "tweak": "3db7699e236d6657", |
| "msg": "215493:", |
| "ct": "2579655", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 8, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2621, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "066c6a83fd826a5fa7f3b4025bb9c833befa12044d3fbed87280a4c7a0435b03", |
| "tweak": "80650ae5bc5e1bb1", |
| "msg": "54087574", |
| "ct": "01022339", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2622, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "00000000", |
| "ct": "12413554", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2623, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "99999999", |
| "ct": "97149462", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2624, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "81928192", |
| "ct": "56456078", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2625, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "81918191", |
| "ct": "08665047", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2626, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "69596012", |
| "ct": "88013485", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2627, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "68459141", |
| "ct": "08482100", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2628, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "15973180", |
| "ct": "65191285", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2629, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "05417565", |
| "ct": "49934430", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2630, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "27403743", |
| "ct": "30987993", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2631, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "46797933", |
| "ct": "69742994", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2632, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "03123934", |
| "ct": "66734654", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2633, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "99483838", |
| "ct": "54495705", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2634, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "53233777", |
| "ct": "00000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2635, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "45065492", |
| "ct": "99999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2636, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "34168541", |
| "ct": "81928192", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2637, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "54130fa0aa69ad9d15eb6b41ce1bc81da5abbf8091152caa37ee107d1a47aff9", |
| "tweak": "6b79eea9265e4ccf", |
| "msg": "95888976", |
| "ct": "81918191", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2638, |
| "comment": "y = 0 and (y + a) % radix**4 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "29b4c248e37b544aff911bfeff", |
| "msg": "26353421", |
| "ct": "14041104", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2639, |
| "comment": "y = 0 and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "29b4c248e37b544aff911bfeff", |
| "msg": "25484627", |
| "ct": "64819839", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2640, |
| "comment": "y = 0 and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "29b4c248e37b544aff911bfeff", |
| "msg": "83073906", |
| "ct": "05751600", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2641, |
| "comment": "y = 0 and (y + a) % radix**4 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "29b4c248e37b544aff911bfeff", |
| "msg": "73371963", |
| "ct": "12951557", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2642, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "980373a7b661aa196b5cce2f8e", |
| "msg": "42714451", |
| "ct": "59519073", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2643, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "980373a7b661aa196b5cce2f8e", |
| "msg": "40684578", |
| "ct": "83532289", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2644, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "980373a7b661aa196b5cce2f8e", |
| "msg": "14836251", |
| "ct": "52970877", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2645, |
| "comment": "y = 1 and (y + a) % radix**4 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "980373a7b661aa196b5cce2f8e", |
| "msg": "45267178", |
| "ct": "38145938", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2646, |
| "comment": "y = 1 and (y + a) % radix**4 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "980373a7b661aa196b5cce2f8e", |
| "msg": "75768620", |
| "ct": "70480142", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2647, |
| "comment": "y is maximal and a = 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "725c6120c58aad0cb433869ed5", |
| "msg": "58160000", |
| "ct": "32523389", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2648, |
| "comment": "y is maximal and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "725c6120c58aad0cb433869ed5", |
| "msg": "24340001", |
| "ct": "55319619", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2649, |
| "comment": "y is maximal and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "725c6120c58aad0cb433869ed5", |
| "msg": "50958192", |
| "ct": "43158617", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2650, |
| "comment": "y is maximal and (y + a) % radix**4 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "725c6120c58aad0cb433869ed5", |
| "msg": "71128384", |
| "ct": "91970161", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2651, |
| "comment": "y is maximal and (y + a) % radix**4 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "725c6120c58aad0cb433869ed5", |
| "msg": "64668385", |
| "ct": "06910349", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2652, |
| "comment": "y is maximal and a is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "725c6120c58aad0cb433869ed5", |
| "msg": "03609999", |
| "ct": "78499006", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2653, |
| "comment": "y is edge case for modular reduction and a = 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "c303edf54ee4f456bde40e0958", |
| "msg": "08300000", |
| "ct": "28602947", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2654, |
| "comment": "y is edge case for modular reduction and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "c303edf54ee4f456bde40e0958", |
| "msg": "96720001", |
| "ct": "99101791", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2655, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "c303edf54ee4f456bde40e0958", |
| "msg": "33818192", |
| "ct": "28910107", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2656, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "c303edf54ee4f456bde40e0958", |
| "msg": "97288389", |
| "ct": "97455590", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2657, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**4 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "c303edf54ee4f456bde40e0958", |
| "msg": "58648390", |
| "ct": "91870387", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2658, |
| "comment": "y is edge case for modular reduction and a is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "c303edf54ee4f456bde40e0958", |
| "msg": "72069999", |
| "ct": "55427150", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2659, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "1957c4b386f544a9a3fdeb5c70", |
| "msg": "68896634", |
| "ct": "99922207", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2660, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "1957c4b386f544a9a3fdeb5c70", |
| "msg": "43098560", |
| "ct": "73712183", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2661, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "1957c4b386f544a9a3fdeb5c70", |
| "msg": "63362745", |
| "ct": "07795271", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2662, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "891cf5ab57f8b6e98407b266bc6e34e6000b7a96e77f1dacb4652ad2be83955a", |
| "tweak": "1957c4b386f544a9a3fdeb5c70", |
| "msg": "49119053", |
| "ct": "24691788", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2663, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", |
| "tweak": "55d9bf63cd98d552", |
| "msg": "o9836457", |
| "ct": "25212426", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2664, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", |
| "tweak": "55d9bf63cd98d552", |
| "msg": "59l36457", |
| "ct": "99944619", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2665, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6290d1209766dbedd27fcce9e0b5c8eac570b78df90cf7ac15c2a6b13f414882", |
| "tweak": "55d9bf63cd98d552", |
| "msg": "5983645I", |
| "ct": "08022281", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2666, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "22344f94914f02f22d6b09f363bf180e27f1b16d9af73837055253f4e3cd254c", |
| "tweak": "ed8edc53729fda9b", |
| "msg": ":9824280", |
| "ct": "87084403", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2667, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "22344f94914f02f22d6b09f363bf180e27f1b16d9af73837055253f4e3cd254c", |
| "tweak": "ed8edc53729fda9b", |
| "msg": "59:24280", |
| "ct": "39325170", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2668, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "22344f94914f02f22d6b09f363bf180e27f1b16d9af73837055253f4e3cd254c", |
| "tweak": "ed8edc53729fda9b", |
| "msg": "5982428:", |
| "ct": "14929044", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 9, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2669, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "f44f1e998316e5fe6f5c6f8d89919428d692d931130409c41ba4955dfc4c8c14", |
| "tweak": "387c0277bb97fa8e", |
| "msg": "136024984", |
| "ct": "152459823", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2670, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "000000000", |
| "ct": "861344626", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2671, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "999999999", |
| "ct": "575077261", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2672, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "819265536", |
| "ct": "475801366", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2673, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "819165535", |
| "ct": "486684586", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2674, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "061793637", |
| "ct": "043699406", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2675, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "065573001", |
| "ct": "102922798", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2676, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "922321586", |
| "ct": "651157476", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2677, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "879042680", |
| "ct": "323772469", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2678, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "928275848", |
| "ct": "549151373", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2679, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "555499161", |
| "ct": "519580727", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2680, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "918626517", |
| "ct": "225912516", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2681, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "507727271", |
| "ct": "220172621", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2682, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "232883012", |
| "ct": "000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2683, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "066420337", |
| "ct": "999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2684, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "062956197", |
| "ct": "819265536", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2685, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ca2edd5c1402d6ecb3e52e4619dbbdc800571019507f861c102f7c44ce406119", |
| "tweak": "0f79bdd51e894679", |
| "msg": "847790894", |
| "ct": "819165535", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2686, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "cf8ea7f0000d38f872d6b45a", |
| "msg": "367090322", |
| "ct": "859578811", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2687, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**4 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "cf8ea7f0000d38f872d6b45a", |
| "msg": "084144133", |
| "ct": "886285206", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2688, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "cf8ea7f0000d38f872d6b45a", |
| "msg": "183139373", |
| "ct": "021007347", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2689, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "84fff86e7dd22bd4b3bf53279ff7c696568bb9fa6067e40a1354e3a77fdb6b31", |
| "tweak": "cf8ea7f0000d38f872d6b45a", |
| "msg": "327795894", |
| "ct": "676322853", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2690, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", |
| "tweak": "5aa849326a17e15a", |
| "msg": "%89834014", |
| "ct": "209949183", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2691, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", |
| "tweak": "5aa849326a17e15a", |
| "msg": "989R34014", |
| "ct": "632688790", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2692, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "5f5d8e441c7e92c8d4f15740b5e79a73d2b90fa0e8acdbc0517f4b039bab0dc0", |
| "tweak": "5aa849326a17e15a", |
| "msg": "98983401S", |
| "ct": "990005363", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2693, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e337d09d4c28341df20ae71802df5f3509df9d95e4a426da8d586e8aa89bb6df", |
| "tweak": "da6752408f54794e", |
| "msg": ":33206320", |
| "ct": "004143122", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2694, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e337d09d4c28341df20ae71802df5f3509df9d95e4a426da8d586e8aa89bb6df", |
| "tweak": "da6752408f54794e", |
| "msg": "133:06320", |
| "ct": "863318788", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2695, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e337d09d4c28341df20ae71802df5f3509df9d95e4a426da8d586e8aa89bb6df", |
| "tweak": "da6752408f54794e", |
| "msg": "13320632:", |
| "ct": "382455289", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 10, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2696, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "267c361cd190db6be369183a3b1a71601103f958cd6b791112928244c9402939", |
| "tweak": "d00249da9e347109", |
| "msg": "4691125163", |
| "ct": "9396686766", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2697, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "0000000000", |
| "ct": "1295737606", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2698, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "9999999999", |
| "ct": "2534012751", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2699, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "6553665536", |
| "ct": "7411703060", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2700, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "6553565535", |
| "ct": "9885901796", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2701, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "1600841706", |
| "ct": "0720720207", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2702, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "6265456281", |
| "ct": "8906534066", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2703, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "5553487333", |
| "ct": "4773519730", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2704, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "6174275640", |
| "ct": "9949650351", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2705, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "1622744163", |
| "ct": "8015919552", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2706, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "5407149414", |
| "ct": "2441065313", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2707, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "7304461246", |
| "ct": "3285803236", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2708, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "9184778698", |
| "ct": "5388859492", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2709, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "6432756323", |
| "ct": "0000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2710, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "7495171409", |
| "ct": "9999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2711, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "7352528724", |
| "ct": "6553665536", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2712, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "15d60e791980b6815b04e05c7e9df93a5cda84614ecf2a4900fe55794187c771", |
| "tweak": "68801fd1e1ea4d75", |
| "msg": "2434267990", |
| "ct": "6553565535", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2713, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "450fe4a986a7489317c49d69", |
| "msg": "2020789519", |
| "ct": "4087687222", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2714, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "450fe4a986a7489317c49d69", |
| "msg": "0787739470", |
| "ct": "9000945216", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2715, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "450fe4a986a7489317c49d69", |
| "msg": "9748014400", |
| "ct": "1226900449", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2716, |
| "comment": "y = 1 and (y + a) % radix**5 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "450fe4a986a7489317c49d69", |
| "msg": "8412381127", |
| "ct": "8649443905", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2717, |
| "comment": "y = 1 and (y + a) % radix**5 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "450fe4a986a7489317c49d69", |
| "msg": "1898675296", |
| "ct": "4260006190", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2718, |
| "comment": "y is maximal and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "56d513bfe11ad2765e037d17", |
| "msg": "8453163372", |
| "ct": "9673495694", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2719, |
| "comment": "y is maximal and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "56d513bfe11ad2765e037d17", |
| "msg": "6989686673", |
| "ct": "3056496235", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2720, |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "56d513bfe11ad2765e037d17", |
| "msg": "0235656157", |
| "ct": "5321651694", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2721, |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "56d513bfe11ad2765e037d17", |
| "msg": "2328926469", |
| "ct": "0212493910", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2722, |
| "comment": "y is maximal and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "56d513bfe11ad2765e037d17", |
| "msg": "9616260449", |
| "ct": "1273604455", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2723, |
| "comment": "y is maximal and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cf17e3224e1021e2b08ca339433c41f04476984dfa9844082dd9894c654ce9cd", |
| "tweak": "56d513bfe11ad2765e037d17", |
| "msg": "0874454281", |
| "ct": "3475556637", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2724, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", |
| "tweak": "aac963be9bb06d9c", |
| "msg": "}882957728", |
| "ct": "4202383465", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2725, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", |
| "tweak": "aac963be9bb06d9c", |
| "msg": "088i957728", |
| "ct": "7653199011", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2726, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0e278046ac6a44c25ea36086dbd0aec5a25c16d87bd80eb380922a0e988debc8", |
| "tweak": "aac963be9bb06d9c", |
| "msg": "088295772c", |
| "ct": "3465897052", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2727, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e825f0ebc7510c09de56593679331bad7e3dfc80d213bcdc03d2c71a2adfedea", |
| "tweak": "0a58c8b92a3fdabf", |
| "msg": ":924625166", |
| "ct": "7996711545", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2728, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e825f0ebc7510c09de56593679331bad7e3dfc80d213bcdc03d2c71a2adfedea", |
| "tweak": "0a58c8b92a3fdabf", |
| "msg": "792:625166", |
| "ct": "4465968422", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2729, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e825f0ebc7510c09de56593679331bad7e3dfc80d213bcdc03d2c71a2adfedea", |
| "tweak": "0a58c8b92a3fdabf", |
| "msg": "792462516:", |
| "ct": "4421707664", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 11, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2730, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "a40786c69f8a487744536af3e952b5e4c3c848cf21a994e28fa555d8d1ac9beb", |
| "tweak": "8782789b84c8fa4a", |
| "msg": "54287296514", |
| "ct": "55979402527", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2731, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "00000000000", |
| "ct": "53647986555", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2732, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "99999999999", |
| "ct": "13887665494", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2733, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "65536524288", |
| "ct": "35722031183", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2734, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "65535524287", |
| "ct": "24433132169", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2735, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "89517730442", |
| "ct": "15477469573", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2736, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "64894804446", |
| "ct": "92182232878", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2737, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "52165700775", |
| "ct": "75735800929", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2738, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "53030241329", |
| "ct": "28157426372", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2739, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "31909940288", |
| "ct": "44654091457", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2740, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "12284797287", |
| "ct": "82684197727", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2741, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "24340811936", |
| "ct": "11212981773", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2742, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "14645435089", |
| "ct": "07260270056", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2743, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "96295784955", |
| "ct": "00000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2744, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "31781063695", |
| "ct": "99999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2745, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "36563708580", |
| "ct": "65536524288", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2746, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b4c4d6f8f3f635f7bc32228674b53331404627434bb63dbfd650bd8d9c224f6d", |
| "tweak": "b72708737a746e25", |
| "msg": "42934130732", |
| "ct": "65535524287", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2747, |
| "comment": "y = 0 and (y + a) % radix**5 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "44e48458a7838ff38efd4ae3", |
| "msg": "00000813072", |
| "ct": "36623031501", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2748, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "44e48458a7838ff38efd4ae3", |
| "msg": "00001813072", |
| "ct": "76178066188", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2749, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "44e48458a7838ff38efd4ae3", |
| "msg": "65536813072", |
| "ct": "87348095749", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2750, |
| "comment": "y = 0 and (y + a) % radix**5 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "44e48458a7838ff38efd4ae3", |
| "msg": "99999813072", |
| "ct": "04111331248", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2751, |
| "comment": "y is maximal and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "6bee6127532ddb87a2b19d54", |
| "msg": "41463513601", |
| "ct": "29176668484", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2752, |
| "comment": "y is maximal and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "6bee6127532ddb87a2b19d54", |
| "msg": "57516876787", |
| "ct": "28861053340", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2753, |
| "comment": "y is maximal and (y + a) % radix**5 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "6bee6127532ddb87a2b19d54", |
| "msg": "57430523152", |
| "ct": "24810959279", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2754, |
| "comment": "y is maximal and (y + a) % radix**5 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "6bee6127532ddb87a2b19d54", |
| "msg": "69158424027", |
| "ct": "49446508464", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2755, |
| "comment": "y is maximal and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "6bee6127532ddb87a2b19d54", |
| "msg": "41921488222", |
| "ct": "03935629294", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2756, |
| "comment": "y is maximal and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "6bee6127532ddb87a2b19d54", |
| "msg": "37192901834", |
| "ct": "79480139192", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2757, |
| "comment": "y is edge case for modular reduction and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "7b6c57de705e4f52650dbd83", |
| "msg": "55718050624", |
| "ct": "57844019760", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2758, |
| "comment": "y is edge case for modular reduction and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "7b6c57de705e4f52650dbd83", |
| "msg": "18904682447", |
| "ct": "09741585923", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2759, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "7b6c57de705e4f52650dbd83", |
| "msg": "84173029817", |
| "ct": "27751182843", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2760, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "7b6c57de705e4f52650dbd83", |
| "msg": "74483883307", |
| "ct": "36669268966", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2761, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "7b6c57de705e4f52650dbd83", |
| "msg": "33874085700", |
| "ct": "98849944034", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2762, |
| "comment": "y is edge case for modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "7b6c57de705e4f52650dbd83", |
| "msg": "55508318758", |
| "ct": "63433586526", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2763, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "a5dc1273fb917a70a32ab7fc", |
| "msg": "34742459912", |
| "ct": "24877965878", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2764, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**5 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "a5dc1273fb917a70a32ab7fc", |
| "msg": "63665354827", |
| "ct": "90522631725", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2765, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "a5dc1273fb917a70a32ab7fc", |
| "msg": "15234675194", |
| "ct": "32715388401", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2766, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b301403ccf58d04adee4d1e9e1ca6e113fe2ebf67e7add4e5a06bb52e63f5f2d", |
| "tweak": "a5dc1273fb917a70a32ab7fc", |
| "msg": "42474603869", |
| "ct": "28807087336", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2767, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", |
| "tweak": "788f47262b8e7b97", |
| "msg": "^4184872283", |
| "ct": "26130418069", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2768, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", |
| "tweak": "788f47262b8e7b97", |
| "msg": "841,4872283", |
| "ct": "03394111578", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2769, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "901a4e20eafbee0bda03506d86368658c521ac7065f8b5a25fb318fa293375ab", |
| "tweak": "788f47262b8e7b97", |
| "msg": "8418487228i", |
| "ct": "87755791398", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2770, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e74fa969064dab3583656cb7eacb370ec0c91fd3b3e1838739a611309d966eaf", |
| "tweak": "6dc3ca4a4815c4da", |
| "msg": ":8311904119", |
| "ct": "24609082941", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2771, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e74fa969064dab3583656cb7eacb370ec0c91fd3b3e1838739a611309d966eaf", |
| "tweak": "6dc3ca4a4815c4da", |
| "msg": "783:1904119", |
| "ct": "71346454091", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2772, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e74fa969064dab3583656cb7eacb370ec0c91fd3b3e1838739a611309d966eaf", |
| "tweak": "6dc3ca4a4815c4da", |
| "msg": "7831190411:", |
| "ct": "98271844476", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 12, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2773, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "2e94a84c78be80cd598366058d4f6cdf8095666dcac7a00ad832d9f33e20d13c", |
| "tweak": "415e0101a302aaa6", |
| "msg": "729342775889", |
| "ct": "792138256264", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2774, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "000000000000", |
| "ct": "069528296779", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2775, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "999999999999", |
| "ct": "876652337961", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2776, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "524288524288", |
| "ct": "327721565544", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2777, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "524287524287", |
| "ct": "682820564534", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2778, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "892230149887", |
| "ct": "214746708838", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2779, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "785484709139", |
| "ct": "665452650791", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2780, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "204302225033", |
| "ct": "039943986898", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2781, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "054129447605", |
| "ct": "219005461748", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2782, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "449984741125", |
| "ct": "229559049199", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2783, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "198182889945", |
| "ct": "566480413175", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2784, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "065621871779", |
| "ct": "366601619192", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2785, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "881906733439", |
| "ct": "441281834778", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2786, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "029801771051", |
| "ct": "000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2787, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "001348350332", |
| "ct": "999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2788, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "662133107056", |
| "ct": "524288524288", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2789, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b60d255c76e0f50a9257acac319fb86a00570aa5b23e907c1b7109f732317d65", |
| "tweak": "b44b719ef00f7276", |
| "msg": "178347507397", |
| "ct": "524287524287", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2790, |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "77d3adc45c0b225a4c62fb68", |
| "msg": "563644000000", |
| "ct": "975465699793", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2791, |
| "comment": "y = 0 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "77d3adc45c0b225a4c62fb68", |
| "msg": "954592000001", |
| "ct": "082646005510", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2792, |
| "comment": "y = 0 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "77d3adc45c0b225a4c62fb68", |
| "msg": "080229524288", |
| "ct": "610533206136", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2793, |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "77d3adc45c0b225a4c62fb68", |
| "msg": "518607999999", |
| "ct": "050746201102", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2794, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "583fdeaf3f2b02db33437e10", |
| "msg": "301301493973", |
| "ct": "069051938717", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2795, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "583fdeaf3f2b02db33437e10", |
| "msg": "997748552490", |
| "ct": "229430795872", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2796, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "583fdeaf3f2b02db33437e10", |
| "msg": "587264683510", |
| "ct": "783902243855", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2797, |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "583fdeaf3f2b02db33437e10", |
| "msg": "789855221748", |
| "ct": "899294612490", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2798, |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "583fdeaf3f2b02db33437e10", |
| "msg": "339498019147", |
| "ct": "404704346311", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2799, |
| "comment": "y is maximal and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "3d06e01e2a7aa518737bb423", |
| "msg": "731868583876", |
| "ct": "369269627362", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2800, |
| "comment": "y is maximal and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "3d06e01e2a7aa518737bb423", |
| "msg": "545832289527", |
| "ct": "586039192743", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2801, |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "3d06e01e2a7aa518737bb423", |
| "msg": "609876695695", |
| "ct": "080179386994", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2802, |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "3d06e01e2a7aa518737bb423", |
| "msg": "785668436358", |
| "ct": "772095140621", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2803, |
| "comment": "y is maximal and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "3d06e01e2a7aa518737bb423", |
| "msg": "361477351896", |
| "ct": "823402712655", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2804, |
| "comment": "y is maximal and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "3d06e01e2a7aa518737bb423", |
| "msg": "977286143456", |
| "ct": "853366569824", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2805, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "cd083315e46b2b4b3bd31ead", |
| "msg": "637155044737", |
| "ct": "951971785504", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2806, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "cd083315e46b2b4b3bd31ead", |
| "msg": "617781594500", |
| "ct": "868651285648", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2807, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "cd083315e46b2b4b3bd31ead", |
| "msg": "741549438194", |
| "ct": "174856969854", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2808, |
| "comment": "y is maximal after modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "861999d41d37e2d41583f3ccf1d1c5c7b17e2d7e1ae424b890bf54f3bc3a8388", |
| "tweak": "cd083315e46b2b4b3bd31ead", |
| "msg": "552096019358", |
| "ct": "371435005496", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2809, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", |
| "tweak": "17f2087530ca7e57", |
| "msg": "#43515849858", |
| "ct": "427058359089", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2810, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", |
| "tweak": "17f2087530ca7e57", |
| "msg": "3435z5849858", |
| "ct": "471152753471", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2811, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0a547ba6ebfb1197879939263dc827e988ebfffb7305b8926e64a1308ad32ac3", |
| "tweak": "17f2087530ca7e57", |
| "msg": "34351584985O", |
| "ct": "315343714467", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2812, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6318b17f30dd38143fd77d9d3e1ed3b8d6978bd9f708966099925ff28f7133c1", |
| "tweak": "dce68f72c6545b03", |
| "msg": ":67706259701", |
| "ct": "626547497477", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2813, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6318b17f30dd38143fd77d9d3e1ed3b8d6978bd9f708966099925ff28f7133c1", |
| "tweak": "dce68f72c6545b03", |
| "msg": "8677:6259701", |
| "ct": "456384280760", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2814, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6318b17f30dd38143fd77d9d3e1ed3b8d6978bd9f708966099925ff28f7133c1", |
| "tweak": "dce68f72c6545b03", |
| "msg": "86770625970:", |
| "ct": "160823659953", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 13, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2815, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "82685c3a0cab8a3c5777c43196c7f9eb6d1cbc31f79de68bc23a066b6d9d2053", |
| "tweak": "3fd780e554341138", |
| "msg": "6228190448430", |
| "ct": "9423591337875", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2816, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "0000000000000", |
| "ct": "0206894942071", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2817, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "9999999999999", |
| "ct": "0517302168384", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2818, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "5242888388608", |
| "ct": "3464284803389", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2819, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "5242878388607", |
| "ct": "5830174204384", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2820, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "8024630132839", |
| "ct": "9599257045544", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2821, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "4737014760796", |
| "ct": "5084996128817", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2822, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "1849654290667", |
| "ct": "0012070567541", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2823, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "3979149309617", |
| "ct": "9573939807566", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2824, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "2750713470510", |
| "ct": "2254999312129", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2825, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "6139710684892", |
| "ct": "7496936368108", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2826, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "9069938822317", |
| "ct": "0444526009546", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2827, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "5846890121114", |
| "ct": "4730509015445", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2828, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "4381104298621", |
| "ct": "0000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2829, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "7825959051888", |
| "ct": "9999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2830, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "6060811866252", |
| "ct": "5242888388608", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2831, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "ade9f36d2b83daa75a62a4a0c53a95e186c290e7a8f2c8e0911025d44bccf554", |
| "tweak": "d5479b1a88388aa8", |
| "msg": "6364151135817", |
| "ct": "5242878388607", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2832, |
| "comment": "y = 0 and (y + a) % radix**6 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "1bb4322e8f57cc5d002f538a", |
| "msg": "0000003275412", |
| "ct": "3511756431131", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2833, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "1bb4322e8f57cc5d002f538a", |
| "msg": "0000013275412", |
| "ct": "3078215966319", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2834, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "1bb4322e8f57cc5d002f538a", |
| "msg": "5242883275412", |
| "ct": "6639135705066", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2835, |
| "comment": "y = 0 and (y + a) % radix**6 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "1bb4322e8f57cc5d002f538a", |
| "msg": "9999993275412", |
| "ct": "0070155738185", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2836, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "e3620a4462bc68d253cd6d17", |
| "msg": "4629744644851", |
| "ct": "7459720462905", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2837, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "e3620a4462bc68d253cd6d17", |
| "msg": "7038270428444", |
| "ct": "1931205215202", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2838, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "e3620a4462bc68d253cd6d17", |
| "msg": "4533041676605", |
| "ct": "9083746122422", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2839, |
| "comment": "y = 1 and (y + a) % radix**6 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "e3620a4462bc68d253cd6d17", |
| "msg": "0584872619172", |
| "ct": "7626101981465", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2840, |
| "comment": "y = 1 and (y + a) % radix**6 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "e3620a4462bc68d253cd6d17", |
| "msg": "6664816623968", |
| "ct": "2062783321918", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2841, |
| "comment": "y is maximal and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "946d595b0ef6ddd5c8334ed2", |
| "msg": "9391271684403", |
| "ct": "5099293043240", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2842, |
| "comment": "y is maximal and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "946d595b0ef6ddd5c8334ed2", |
| "msg": "6599872549465", |
| "ct": "1491377740076", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2843, |
| "comment": "y is maximal and (y + a) % radix**6 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "946d595b0ef6ddd5c8334ed2", |
| "msg": "4122490015338", |
| "ct": "8790744638685", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2844, |
| "comment": "y is maximal and (y + a) % radix**6 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "946d595b0ef6ddd5c8334ed2", |
| "msg": "6658213942850", |
| "ct": "1271445880177", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2845, |
| "comment": "y is maximal and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "946d595b0ef6ddd5c8334ed2", |
| "msg": "9895888742047", |
| "ct": "6227208084058", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2846, |
| "comment": "y is maximal and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "946d595b0ef6ddd5c8334ed2", |
| "msg": "1896321178385", |
| "ct": "2231728911409", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2847, |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "ac793158a02c85ebcd8dac3c", |
| "msg": "4321062378309", |
| "ct": "5859168476554", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2848, |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "ac793158a02c85ebcd8dac3c", |
| "msg": "2811163478089", |
| "ct": "2998246758341", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2849, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "ac793158a02c85ebcd8dac3c", |
| "msg": "4325558307979", |
| "ct": "3309559686336", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2850, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**6 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "ac793158a02c85ebcd8dac3c", |
| "msg": "4213924974522", |
| "ct": "1351039302205", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2851, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "ac793158a02c85ebcd8dac3c", |
| "msg": "0520585207057", |
| "ct": "8932187077797", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2852, |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "ac793158a02c85ebcd8dac3c", |
| "msg": "5308417120179", |
| "ct": "2123422903513", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2853, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "b6ebbdab757f15fd49b2109c", |
| "msg": "0000002464268", |
| "ct": "0917398773059", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2854, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**6 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "b6ebbdab757f15fd49b2109c", |
| "msg": "0000012464268", |
| "ct": "8513226562217", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2855, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "b6ebbdab757f15fd49b2109c", |
| "msg": "5242882464268", |
| "ct": "8495345320169", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2856, |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8a5595a9b6bdd44b6dcb3f4ba823c09348b1dad24b727321c2642d2aff4c914d", |
| "tweak": "b6ebbdab757f15fd49b2109c", |
| "msg": "9999992464268", |
| "ct": "9357580063543", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2857, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", |
| "tweak": "f39c64c847f175d6", |
| "msg": ":118270876503", |
| "ct": "6951668882763", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2858, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", |
| "tweak": "f39c64c847f175d6", |
| "msg": "4118a70876503", |
| "ct": "0151956946010", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2859, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "41bd4edbbcbebf09c9cbf4bb2cb2160fdd8c598a438075186f8723697e2ff002", |
| "tweak": "f39c64c847f175d6", |
| "msg": "411827087650$", |
| "ct": "5404462029233", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2860, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "58699a51b1a1b6985e78afd244ef1c21ae8e0d2f57108904b3a3373a453d4709", |
| "tweak": "e99d96b136398ee1", |
| "msg": ":598732689288", |
| "ct": "6106564605381", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2861, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "58699a51b1a1b6985e78afd244ef1c21ae8e0d2f57108904b3a3373a453d4709", |
| "tweak": "e99d96b136398ee1", |
| "msg": "0598:32689288", |
| "ct": "9435858688477", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2862, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "58699a51b1a1b6985e78afd244ef1c21ae8e0d2f57108904b3a3373a453d4709", |
| "tweak": "e99d96b136398ee1", |
| "msg": "059873268928:", |
| "ct": "5341729846425", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 14, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2863, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "fdd21f2020d809a2930f3d6c0b2cc23e65e1240eb5e301531aecb8180808393b", |
| "tweak": "104403ed1d3acccc", |
| "msg": "55997532270089", |
| "ct": "53315197751163", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2864, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "00000000000000", |
| "ct": "93846744246590", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2865, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "99999999999999", |
| "ct": "19694509836055", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2866, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "83886088388608", |
| "ct": "07008799457851", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2867, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "83886078388607", |
| "ct": "22459234036270", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2868, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "61710111369973", |
| "ct": "92981037728745", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2869, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "10275824255494", |
| "ct": "27539345837514", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2870, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "06675176702053", |
| "ct": "39379188877058", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2871, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "74063790178870", |
| "ct": "02984585579068", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2872, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "66794644886119", |
| "ct": "56761516719037", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2873, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "01376983759357", |
| "ct": "41657277066367", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2874, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "25408196361614", |
| "ct": "44696272221789", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2875, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "26318912975476", |
| "ct": "33023505428530", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2876, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "91443277642847", |
| "ct": "00000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2877, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "35409677526919", |
| "ct": "99999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2878, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "88390633148022", |
| "ct": "83886088388608", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2879, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "659f4710280b6825b9ea3ce86327020ae32fa2fb3c3b71743bab9fba3feaecf0", |
| "tweak": "f9993f625da88752", |
| "msg": "08303258624546", |
| "ct": "83886078388607", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2880, |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "cd844ec772b819aab12b5091", |
| "msg": "16306917468941", |
| "ct": "17109061651049", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2881, |
| "comment": "y = 0 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "cd844ec772b819aab12b5091", |
| "msg": "44828223847679", |
| "ct": "29098878429328", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2882, |
| "comment": "y = 0 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "cd844ec772b819aab12b5091", |
| "msg": "10068941452303", |
| "ct": "70253010049164", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2883, |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "cd844ec772b819aab12b5091", |
| "msg": "54861754960249", |
| "ct": "39409222408532", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2884, |
| "comment": "y = 1 and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "644f5052655ff7079cc78f08", |
| "msg": "33963912611241", |
| "ct": "92166374142868", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2885, |
| "comment": "y = 1 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "644f5052655ff7079cc78f08", |
| "msg": "72408210641424", |
| "ct": "99636383731874", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2886, |
| "comment": "y = 1 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "644f5052655ff7079cc78f08", |
| "msg": "17462500210848", |
| "ct": "09718374135935", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2887, |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "644f5052655ff7079cc78f08", |
| "msg": "28737703561397", |
| "ct": "77906936281322", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2888, |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "644f5052655ff7079cc78f08", |
| "msg": "64699672354314", |
| "ct": "24683991122387", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2889, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "41b26940cda16137243b57be", |
| "msg": "00000003975879", |
| "ct": "73223007184848", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2890, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "41b26940cda16137243b57be", |
| "msg": "00000013975879", |
| "ct": "03682635586211", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2891, |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "41b26940cda16137243b57be", |
| "msg": "04483843975879", |
| "ct": "33724104982397", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2892, |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "41b26940cda16137243b57be", |
| "msg": "04483853975879", |
| "ct": "12997012456483", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2893, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "41b26940cda16137243b57be", |
| "msg": "83886083975879", |
| "ct": "44209365125158", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2894, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "41b26940cda16137243b57be", |
| "msg": "99999993975879", |
| "ct": "43627094601736", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2895, |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "b0dfd4ca93929bb72e81bc06", |
| "msg": "21980071190614", |
| "ct": "09978998531195", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2896, |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "b0dfd4ca93929bb72e81bc06", |
| "msg": "51122815848021", |
| "ct": "76268003670744", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2897, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "b0dfd4ca93929bb72e81bc06", |
| "msg": "96403869530868", |
| "ct": "87382312804005", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2898, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "b0dfd4ca93929bb72e81bc06", |
| "msg": "38355442602411", |
| "ct": "11270255763273", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2899, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "b0dfd4ca93929bb72e81bc06", |
| "msg": "65620604841644", |
| "ct": "25686770719366", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2900, |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "b0dfd4ca93929bb72e81bc06", |
| "msg": "49668288051334", |
| "ct": "33566297540311", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2901, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "c5c8f0444ded59c3d204f45b", |
| "msg": "63704690335677", |
| "ct": "47569082350488", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2902, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "c5c8f0444ded59c3d204f45b", |
| "msg": "56730078180231", |
| "ct": "65765301963501", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2903, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "c5c8f0444ded59c3d204f45b", |
| "msg": "78654116256841", |
| "ct": "60389721143749", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2904, |
| "comment": "y is maximal after modular reduction and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "7aa4ce6da24d8aaa932569ec8af27545aa0cdf67d6b7f2ab8280aca78d6ea3ae", |
| "tweak": "c5c8f0444ded59c3d204f45b", |
| "msg": "82611469821383", |
| "ct": "01509629463979", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2905, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", |
| "tweak": "00f218eb912f6eeb", |
| "msg": "_5806733361060", |
| "ct": "32468467089923", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2906, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", |
| "tweak": "00f218eb912f6eeb", |
| "msg": "5580A733361060", |
| "ct": "95688810870825", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2907, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1466d3ff2c010295a29430998dcef0f39d9f6659a18fbac1fced707431575235", |
| "tweak": "00f218eb912f6eeb", |
| "msg": "5580673336106&", |
| "ct": "66786149117938", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2908, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "520fba0b7dc3e813aab940570680d77acde439aba6d87c002b8f1337e020e043", |
| "tweak": "99f49303c22ed140", |
| "msg": ":5960136179614", |
| "ct": "04588028854111", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2909, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "520fba0b7dc3e813aab940570680d77acde439aba6d87c002b8f1337e020e043", |
| "tweak": "99f49303c22ed140", |
| "msg": "9596:136179614", |
| "ct": "18395465025465", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2910, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "520fba0b7dc3e813aab940570680d77acde439aba6d87c002b8f1337e020e043", |
| "tweak": "99f49303c22ed140", |
| "msg": "9596013617961:", |
| "ct": "76663850770983", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 15, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2911, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "2f9e5c52ea98009130c5c4302ab79c69e9b89a3871ef8b13d04e3cb3ab09d963", |
| "tweak": "c6eca51b923fbd6f", |
| "msg": "628139392316368", |
| "ct": "036143285458724", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2912, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "000000000000000", |
| "ct": "339341668913591", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2913, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "999999999999999", |
| "ct": "528800274179010", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2914, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "838860867108864", |
| "ct": "847037952140546", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2915, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "838860767108863", |
| "ct": "488000467414781", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2916, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "021976235659035", |
| "ct": "452526380834163", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2917, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "928680547174984", |
| "ct": "991410405763546", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2918, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "630166919624741", |
| "ct": "865532189393171", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2919, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "063808617714449", |
| "ct": "152038620974592", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2920, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "175684694412058", |
| "ct": "841660399383130", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2921, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "277188675748986", |
| "ct": "597127353119525", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2922, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "211678440142976", |
| "ct": "711777448601445", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2923, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "120163340418902", |
| "ct": "860891846107771", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2924, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "823932261584986", |
| "ct": "000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2925, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "714125875182701", |
| "ct": "999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2926, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "147249071431124", |
| "ct": "838860867108864", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2927, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f5154d6608106f28fa5b2cdab5612dc9cd1608fc8c3c043f0bd2712e7e1fee2a", |
| "tweak": "9a4d59b9efd8816a", |
| "msg": "604685103791514", |
| "ct": "838860767108863", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2928, |
| "comment": "y = 0 and (y + a) % radix**7 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "0be7fae0fad6c85496a715", |
| "msg": "658757966742089", |
| "ct": "000000019686844", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2929, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "0be7fae0fad6c85496a715", |
| "msg": "889592052373421", |
| "ct": "000000196830590", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2930, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "0be7fae0fad6c85496a715", |
| "msg": "318421211740300", |
| "ct": "838860893859726", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2931, |
| "comment": "y = 0 and (y + a) % radix**7 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "0be7fae0fad6c85496a715", |
| "msg": "994861623937464", |
| "ct": "999999928933736", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2932, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "7602107f71dfc906dad8ca", |
| "msg": "000000074767100", |
| "ct": "522213054452018", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2933, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "7602107f71dfc906dad8ca", |
| "msg": "000000174767100", |
| "ct": "978380870416467", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2934, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "7602107f71dfc906dad8ca", |
| "msg": "838860874767100", |
| "ct": "530752522956589", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2935, |
| "comment": "y = 1 and (y + a) % radix**7 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "7602107f71dfc906dad8ca", |
| "msg": "999999874767100", |
| "ct": "995582696177834", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2936, |
| "comment": "y = 1 and (y + a) % radix**7 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "7602107f71dfc906dad8ca", |
| "msg": "999999974767100", |
| "ct": "570765399093199", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2937, |
| "comment": "y is maximal and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "5430c734c5f2a85febc5ea", |
| "msg": "653582498998775", |
| "ct": "147792190656338", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2938, |
| "comment": "y is maximal and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "5430c734c5f2a85febc5ea", |
| "msg": "868781165683591", |
| "ct": "793542331920983", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2939, |
| "comment": "y is maximal and (y + a) % radix**7 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "5430c734c5f2a85febc5ea", |
| "msg": "704246548449074", |
| "ct": "839629957770015", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2940, |
| "comment": "y is maximal and (y + a) % radix**7 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "5430c734c5f2a85febc5ea", |
| "msg": "751652107263086", |
| "ct": "104849319584434", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2941, |
| "comment": "y is maximal and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "5430c734c5f2a85febc5ea", |
| "msg": "512085343377301", |
| "ct": "400565933524586", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2942, |
| "comment": "y is maximal and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "5430c734c5f2a85febc5ea", |
| "msg": "453808511113331", |
| "ct": "872101694754221", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2943, |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "d6ac30c3cb9f47603a9612", |
| "msg": "000000043713672", |
| "ct": "222067688101617", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2944, |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "d6ac30c3cb9f47603a9612", |
| "msg": "000000143713672", |
| "ct": "933775233536005", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2945, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "d6ac30c3cb9f47603a9612", |
| "msg": "044838943713672", |
| "ct": "882490067039353", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2946, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**7 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "d6ac30c3cb9f47603a9612", |
| "msg": "044839043713672", |
| "ct": "473032867399242", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2947, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "d6ac30c3cb9f47603a9612", |
| "msg": "838860843713672", |
| "ct": "545402937706494", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2948, |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "d6ac30c3cb9f47603a9612", |
| "msg": "999999943713672", |
| "ct": "966211010240250", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2949, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "08b7685a95fa70e3b5d897", |
| "msg": "000000046111164", |
| "ct": "243949747189242", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2950, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**7 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "08b7685a95fa70e3b5d897", |
| "msg": "000000146111164", |
| "ct": "137550250412035", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2951, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "08b7685a95fa70e3b5d897", |
| "msg": "838860846111164", |
| "ct": "907729555348210", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2952, |
| "comment": "y is maximal after modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "c648d0657f2dbe6e2a046b36f36bf7a6bd3098e20f495b94a33eaec80cc55ef9", |
| "tweak": "08b7685a95fa70e3b5d897", |
| "msg": "999999946111164", |
| "ct": "896240780564904", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2953, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", |
| "tweak": "351b957ffa7ac601", |
| "msg": "&46443164940026", |
| "ct": "143925574906067", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2954, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", |
| "tweak": "351b957ffa7ac601", |
| "msg": "74644-164940026", |
| "ct": "916745710352574", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2955, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6965839425a03ce60233de3285fd4e46b992ec89a8be3b20b58231ee180eb440", |
| "tweak": "351b957ffa7ac601", |
| "msg": "74644316494002,", |
| "ct": "393719336705477", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2956, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fc208a49ce67a2d472c6e179b1ac9d9944b88606f1285cd5b7460511cd5bfea0", |
| "tweak": "6eae4d54d3cba7b9", |
| "msg": ":11442735502734", |
| "ct": "302402291504658", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2957, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fc208a49ce67a2d472c6e179b1ac9d9944b88606f1285cd5b7460511cd5bfea0", |
| "tweak": "6eae4d54d3cba7b9", |
| "msg": "41144:735502734", |
| "ct": "390435018882122", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2958, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fc208a49ce67a2d472c6e179b1ac9d9944b88606f1285cd5b7460511cd5bfea0", |
| "tweak": "6eae4d54d3cba7b9", |
| "msg": "41144273550273:", |
| "ct": "877782258545533", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 16, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 2959, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "505aa98819809ef63b9a368a1e8bc2e922da45b03ce02d9a7966b15006dba2d5", |
| "tweak": "5b54b73e6af6a275", |
| "msg": "0832191740544992", |
| "ct": "7861301956806817", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2960, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "0000000000000000", |
| "ct": "7946297915053618", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2961, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "9999999999999999", |
| "ct": "3646655362164641", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2962, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "6710886467108864", |
| "ct": "0141019240344110", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2963, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "6710886367108863", |
| "ct": "1519617805810617", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2964, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "5695679814153111", |
| "ct": "4008811150310210", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2965, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "9791246494704495", |
| "ct": "9442729326786380", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2966, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "1643575742521887", |
| "ct": "6118678876593611", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2967, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "7060099484671079", |
| "ct": "5749042349699452", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2968, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "4690690193947720", |
| "ct": "9519966815019054", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2969, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "5762922818909284", |
| "ct": "1225880278922606", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2970, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "2386886913615530", |
| "ct": "9145187530577368", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2971, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "5440366143662822", |
| "ct": "9895633497081082", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2972, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "3095903746903674", |
| "ct": "0000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2973, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "7179368109667765", |
| "ct": "9999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2974, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "5298849519330178", |
| "ct": "6710886467108864", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2975, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "3a86884c0fdac6230e5c075d6eb71ddc15498f64b497d397b48a68268d1e48db", |
| "tweak": "283b7fe6bd1b14cc", |
| "msg": "8969926289996625", |
| "ct": "6710886367108863", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2976, |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "204ce74f8b7b714b9dd03b", |
| "msg": "6489290958857028", |
| "ct": "2336134878365121", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2977, |
| "comment": "y = 0 and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "204ce74f8b7b714b9dd03b", |
| "msg": "7223535127154373", |
| "ct": "3116976063689889", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2978, |
| "comment": "y = 0 and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "204ce74f8b7b714b9dd03b", |
| "msg": "7457035649861826", |
| "ct": "9510650259275512", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2979, |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "204ce74f8b7b714b9dd03b", |
| "msg": "4047026261432503", |
| "ct": "8574484300322009", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2980, |
| "comment": "y is maximal and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "c13d54ce211fa7ee92d314", |
| "msg": "2515907130090936", |
| "ct": "9541629597398810", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2981, |
| "comment": "y is maximal and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "c13d54ce211fa7ee92d314", |
| "msg": "4742590107414437", |
| "ct": "0268576535855712", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2982, |
| "comment": "y is maximal and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "c13d54ce211fa7ee92d314", |
| "msg": "5485797369261937", |
| "ct": "5186785763063252", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2983, |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "c13d54ce211fa7ee92d314", |
| "msg": "9318319561509889", |
| "ct": "1971519886096425", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2984, |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "c13d54ce211fa7ee92d314", |
| "msg": "3640284820029682", |
| "ct": "6875575656355130", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2985, |
| "comment": "y is maximal and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "c13d54ce211fa7ee92d314", |
| "msg": "3093159206895625", |
| "ct": "6685695630005120", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2986, |
| "comment": "y is edge case for modular reduction and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "d6ba91f6831372bdaedf6e", |
| "msg": "1479972774995270", |
| "ct": "5454961216280768", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2987, |
| "comment": "y is edge case for modular reduction and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "d6ba91f6831372bdaedf6e", |
| "msg": "9065199906720080", |
| "ct": "7970855089362940", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2988, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "d6ba91f6831372bdaedf6e", |
| "msg": "9354252810209024", |
| "ct": "0122010711225105", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2989, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "d6ba91f6831372bdaedf6e", |
| "msg": "2391154478972402", |
| "ct": "8553853083072459", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2990, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "d6ba91f6831372bdaedf6e", |
| "msg": "6030996806730599", |
| "ct": "3410905686760902", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2991, |
| "comment": "y is edge case for modular reduction and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "d6ba91f6831372bdaedf6e", |
| "msg": "8757718047730025", |
| "ct": "6661561391700766", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2992, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "bfda3a25944aecf786a091", |
| "msg": "2309039870332926", |
| "ct": "7467251601247302", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2993, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "bfda3a25944aecf786a091", |
| "msg": "2714546587912237", |
| "ct": "6595737310893173", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2994, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "bfda3a25944aecf786a091", |
| "msg": "0326801499284390", |
| "ct": "4247379753774271", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2995, |
| "comment": "y is maximal after modular reduction and a is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "11301a0afc931ec09c7cfe457d38df6cbea378810372d80039bb0b4d8cc03668", |
| "tweak": "bfda3a25944aecf786a091", |
| "msg": "7297474102063442", |
| "ct": "6733685681027168", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2996, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", |
| "tweak": "a48cfeaa6646b0c5", |
| "msg": ">090364568928495", |
| "ct": "4879873182625318", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2997, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", |
| "tweak": "a48cfeaa6646b0c5", |
| "msg": "10903a4568928495", |
| "ct": "3577230030836838", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2998, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "450f8c62429604aa5585843c1e21c0a1b69693237afdb2fea8eda08149ace9a7", |
| "tweak": "a48cfeaa6646b0c5", |
| "msg": "109036456892849B", |
| "ct": "2170646908259440", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 2999, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cc7e93dc64881bd4388e4726f1b47b93b7866d42c555f4869d5196ff426b484b", |
| "tweak": "a39b66bc63cf3e4a", |
| "msg": ":138116524340032", |
| "ct": "2838798039139485", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3000, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cc7e93dc64881bd4388e4726f1b47b93b7866d42c555f4869d5196ff426b484b", |
| "tweak": "a39b66bc63cf3e4a", |
| "msg": "91381:6524340032", |
| "ct": "6914968582601194", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3001, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cc7e93dc64881bd4388e4726f1b47b93b7866d42c555f4869d5196ff426b484b", |
| "tweak": "a39b66bc63cf3e4a", |
| "msg": "913811652434003:", |
| "ct": "2677141017399030", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 17, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3002, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "abd43681541e9a9233091509ee06c648b45a34c0ddc73f39d804bcaf7bf31a0e", |
| "tweak": "011400c2b81f3e50", |
| "msg": "42169121357073995", |
| "ct": "40030399138283966", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3003, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "00000000000000000", |
| "ct": "64889012461022175", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3004, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "99999999999999999", |
| "ct": "59102223898729805", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3005, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "67108864536870912", |
| "ct": "84139086990610225", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3006, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "67108863536870911", |
| "ct": "90280287380012079", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3007, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "53475501153237906", |
| "ct": "92902918399478781", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3008, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "95098278958717057", |
| "ct": "90591280512156176", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3009, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "75877932857888746", |
| "ct": "48139167982141599", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3010, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "85191165975713301", |
| "ct": "23932288655206023", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3011, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "75304473458480457", |
| "ct": "58133882530132730", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3012, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "09301745886683686", |
| "ct": "50816264475327914", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3013, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "62538642187331199", |
| "ct": "78364610338046036", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3014, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "63989962065475021", |
| "ct": "43456916297929470", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3015, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "76790747318857141", |
| "ct": "00000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3016, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "15418769759188797", |
| "ct": "99999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3017, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "39969992747488068", |
| "ct": "67108864536870912", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3018, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "b780b0dda375534b6daf5eb0088e1402f86c4af424409ffaa2609101507a028c", |
| "tweak": "5921a49a5ca9233a", |
| "msg": "95518851191655484", |
| "ct": "67108863536870911", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3019, |
| "comment": "y = 0 and (y + a) % radix**8 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "4b6da8c88ebb59685e7cdb", |
| "msg": "54229486999537179", |
| "ct": "26153814651391639", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3020, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "4b6da8c88ebb59685e7cdb", |
| "msg": "90160235982151746", |
| "ct": "18348055659387046", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3021, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "4b6da8c88ebb59685e7cdb", |
| "msg": "37426287560557029", |
| "ct": "63614130643996145", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3022, |
| "comment": "y = 0 and (y + a) % radix**8 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "4b6da8c88ebb59685e7cdb", |
| "msg": "24591464929832485", |
| "ct": "01429507105704272", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3023, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "a43de2a19d0372cd83dd90", |
| "msg": "00000000622572344", |
| "ct": "90873078896154062", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3024, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "a43de2a19d0372cd83dd90", |
| "msg": "00000001622572344", |
| "ct": "06488375986816299", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3025, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "a43de2a19d0372cd83dd90", |
| "msg": "67108864622572344", |
| "ct": "29308454019492221", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3026, |
| "comment": "y = 1 and (y + a) % radix**8 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "a43de2a19d0372cd83dd90", |
| "msg": "99999998622572344", |
| "ct": "94831452263009058", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3027, |
| "comment": "y = 1 and (y + a) % radix**8 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "a43de2a19d0372cd83dd90", |
| "msg": "99999999622572344", |
| "ct": "66675895209303428", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3028, |
| "comment": "y is maximal and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "ed7b9396321a69e5c086a1", |
| "msg": "06759847923785967", |
| "ct": "18604261301222519", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3029, |
| "comment": "y is maximal and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "ed7b9396321a69e5c086a1", |
| "msg": "60946521807277192", |
| "ct": "99510170094693266", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3030, |
| "comment": "y is maximal and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "ed7b9396321a69e5c086a1", |
| "msg": "87932300340601570", |
| "ct": "03685006395352573", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3031, |
| "comment": "y is maximal and (y + a) % radix**8 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "ed7b9396321a69e5c086a1", |
| "msg": "07045028884959988", |
| "ct": "75850361283207150", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3032, |
| "comment": "y is maximal and (y + a) % radix**8 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "ed7b9396321a69e5c086a1", |
| "msg": "42869508646887010", |
| "ct": "19442579470120234", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3033, |
| "comment": "y is maximal and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "ed7b9396321a69e5c086a1", |
| "msg": "48857999546676677", |
| "ct": "11449433273785493", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3034, |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "d1268f6d174a5c5f376e70", |
| "msg": "71368560200042625", |
| "ct": "09551610912141468", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3035, |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "d1268f6d174a5c5f376e70", |
| "msg": "23386539714836241", |
| "ct": "09551611527443979", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3036, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "d1268f6d174a5c5f376e70", |
| "msg": "15503915397081465", |
| "ct": "76660474889599174", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3037, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "d1268f6d174a5c5f376e70", |
| "msg": "92781239186894952", |
| "ct": "99999999919248836", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3038, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**8 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "d1268f6d174a5c5f376e70", |
| "msg": "23589828491843001", |
| "ct": "00000000007821201", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3039, |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "d1268f6d174a5c5f376e70", |
| "msg": "31862005912073848", |
| "ct": "09551609512292905", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3040, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "6b7d6b5017aad93d711811", |
| "msg": "25029241176780160", |
| "ct": "58611732196009767", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3041, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**8 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "6b7d6b5017aad93d711811", |
| "msg": "85662684641273508", |
| "ct": "13714844480325388", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3042, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "6b7d6b5017aad93d711811", |
| "msg": "53059373273399878", |
| "ct": "82709428020555592", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3043, |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9eac581f9cefeaac0a92cb8930c1c0b671cc99c838bd3ac7812d2080de81191a", |
| "tweak": "6b7d6b5017aad93d711811", |
| "msg": "96387994688449753", |
| "ct": "65356396835139135", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3044, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", |
| "tweak": "6460d80894ab337d", |
| "msg": "c7221450961329728", |
| "ct": "68124608246723055", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3045, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", |
| "tweak": "6460d80894ab337d", |
| "msg": "57221G50961329728", |
| "ct": "37559823933556503", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3046, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "c8a37700cb818fab7444da945dfe131c6156fb9f5a034eb4bc10544399e1cedc", |
| "tweak": "6460d80894ab337d", |
| "msg": "5722145096132972W", |
| "ct": "69035838985357454", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3047, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "da7b0105b4d61acb79fd152340744dcc7b0266e4c00d927fd5c8a26046c6d038", |
| "tweak": "71591d640c20a562", |
| "msg": ":3521808422439957", |
| "ct": "25162392767493239", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3048, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "da7b0105b4d61acb79fd152340744dcc7b0266e4c00d927fd5c8a26046c6d038", |
| "tweak": "71591d640c20a562", |
| "msg": "03521:08422439957", |
| "ct": "15594911813758448", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3049, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "da7b0105b4d61acb79fd152340744dcc7b0266e4c00d927fd5c8a26046c6d038", |
| "tweak": "71591d640c20a562", |
| "msg": "0352180842243995:", |
| "ct": "15077029389423126", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 18, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3050, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "be748dab0203d19a98eb126a8ed6fcbd99aeea49f1cff7512529f201bf0eff67", |
| "tweak": "4977c3ee944e48cb", |
| "msg": "351188194823863772", |
| "ct": "675100921135006228", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3051, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "000000000000000000", |
| "ct": "820648232644282569", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3052, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "999999999999999999", |
| "ct": "245077875138266467", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3053, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "536870912536870912", |
| "ct": "009911596635152201", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3054, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "536870911536870911", |
| "ct": "533691727104162734", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3055, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "548817924311941977", |
| "ct": "245552827711928814", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3056, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "071757554885259178", |
| "ct": "922118446394551197", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3057, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "810633536327014357", |
| "ct": "239373509652779251", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3058, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "249707960043476813", |
| "ct": "372057100629331997", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3059, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "559541468188274905", |
| "ct": "033322227852409033", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3060, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "666274907600443712", |
| "ct": "845611414588347821", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3061, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "163633733489235183", |
| "ct": "577889612111395358", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3062, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "393427789915895878", |
| "ct": "497917698750083489", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3063, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "528692472140440821", |
| "ct": "000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3064, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "749435540428747943", |
| "ct": "999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3065, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "287282084979199614", |
| "ct": "536870912536870912", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3066, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "da3d504e93a044a068732c297c51badbab8e58b79727cc656a115cdf2d9ec1df", |
| "tweak": "b2fbca44db9eaec7", |
| "msg": "035116923220704746", |
| "ct": "536870911536870911", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3067, |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "218c2dcb63bb1667cf4699", |
| "msg": "012851336740886112", |
| "ct": "858010369250741063", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3068, |
| "comment": "y = 0 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "218c2dcb63bb1667cf4699", |
| "msg": "961490854941605190", |
| "ct": "704163043982540978", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3069, |
| "comment": "y = 0 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "218c2dcb63bb1667cf4699", |
| "msg": "217918196808344583", |
| "ct": "731258681451672196", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3070, |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "218c2dcb63bb1667cf4699", |
| "msg": "360063613254210474", |
| "ct": "218455254116373265", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3071, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "9df7c13c73cbbb1dbe2738", |
| "msg": "656217308105197235", |
| "ct": "107840327797453913", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3072, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "9df7c13c73cbbb1dbe2738", |
| "msg": "656470946347411567", |
| "ct": "274103087268353252", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3073, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "9df7c13c73cbbb1dbe2738", |
| "msg": "843598207830759889", |
| "ct": "691992750199482355", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3074, |
| "comment": "y = 1 and (y + a) % radix**9 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "9df7c13c73cbbb1dbe2738", |
| "msg": "753844364853296462", |
| "ct": "850303268178556335", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3075, |
| "comment": "y = 1 and (y + a) % radix**9 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "9df7c13c73cbbb1dbe2738", |
| "msg": "060874288759261712", |
| "ct": "789194025669424469", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3076, |
| "comment": "y is maximal and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "5f184abdbcf0efb7145fee", |
| "msg": "553654674417864281", |
| "ct": "974662437452987038", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3077, |
| "comment": "y is maximal and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "5f184abdbcf0efb7145fee", |
| "msg": "841497978431029655", |
| "ct": "200761876022231055", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3078, |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "5f184abdbcf0efb7145fee", |
| "msg": "080872425880506603", |
| "ct": "913348980001060704", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3079, |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "5f184abdbcf0efb7145fee", |
| "msg": "252153330821898286", |
| "ct": "119420484997424099", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3080, |
| "comment": "y is maximal and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "5f184abdbcf0efb7145fee", |
| "msg": "407318362936955243", |
| "ct": "711247516694740170", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3081, |
| "comment": "y is maximal and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "5f184abdbcf0efb7145fee", |
| "msg": "100087633211315241", |
| "ct": "586640160237683682", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3082, |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "0151fc5f3b5bba576d16ec", |
| "msg": "977553942137562958", |
| "ct": "318115321004605090", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3083, |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "0151fc5f3b5bba576d16ec", |
| "msg": "476369933750612256", |
| "ct": "290815126346281696", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3084, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "0151fc5f3b5bba576d16ec", |
| "msg": "845243437890084619", |
| "ct": "234300453167385963", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3085, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**9 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "0151fc5f3b5bba576d16ec", |
| "msg": "822334620180953654", |
| "ct": "891481312675040098", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3086, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "0151fc5f3b5bba576d16ec", |
| "msg": "245402003012528541", |
| "ct": "994364261041909801", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3087, |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "0151fc5f3b5bba576d16ec", |
| "msg": "270553106379975638", |
| "ct": "274726851065036819", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3088, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "7e51242b08a019f6a3e8c0", |
| "msg": "706132096748609537", |
| "ct": "162470011625425342", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3089, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "7e51242b08a019f6a3e8c0", |
| "msg": "139968031480900341", |
| "ct": "483563802614109094", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3090, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "7e51242b08a019f6a3e8c0", |
| "msg": "728439602297694334", |
| "ct": "759640349119525484", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3091, |
| "comment": "y is maximal after modular reduction and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "e717e230c81494129fdbebde2ed53769e3b3aa69024750b3b37ef8cb80bcb5f1", |
| "tweak": "7e51242b08a019f6a3e8c0", |
| "msg": "762985308496804206", |
| "ct": "885602142696959138", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3092, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", |
| "tweak": "ff61916e9620be47", |
| "msg": "X13678711736294330", |
| "ct": "001661069950354611", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3093, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", |
| "tweak": "ff61916e9620be47", |
| "msg": "613678i11736294330", |
| "ct": "781563156370126673", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3094, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "b530bd2069d1f093344cdc835ec23d306c195165886fd909e48683cf85022db2", |
| "tweak": "ff61916e9620be47", |
| "msg": "61367871173629433N", |
| "ct": "955377238767056381", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3095, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "08028e2844d4a793684f9291d43557af78e3731813d33c0acf51681ac83d1dde", |
| "tweak": "d1e7035ed1b5e664", |
| "msg": ":00140552052844889", |
| "ct": "618395477897219023", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3096, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "08028e2844d4a793684f9291d43557af78e3731813d33c0acf51681ac83d1dde", |
| "tweak": "d1e7035ed1b5e664", |
| "msg": "600140:52052844889", |
| "ct": "374443142149138308", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3097, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "08028e2844d4a793684f9291d43557af78e3731813d33c0acf51681ac83d1dde", |
| "tweak": "d1e7035ed1b5e664", |
| "msg": "60014055205284488:", |
| "ct": "231654608509512182", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 19, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3098, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "1ba9f170be79c755e07202291871538a2c1b47600b59ec264c04d27f61cd3c28", |
| "tweak": "c8655169a0f80a05", |
| "msg": "9143590548577656333", |
| "ct": "4025688133051434835", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3099, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "0000000000000000000", |
| "ct": "3987051954414072300", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3100, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "9999999999999999999", |
| "ct": "5089343753423124765", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3101, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "5368709128589934592", |
| "ct": "2100447115141549907", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3102, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "5368709118589934591", |
| "ct": "7669968083709995075", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3103, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "3459291549643753305", |
| "ct": "0231294869047359280", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3104, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "6229844805434679704", |
| "ct": "8488029402052833799", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3105, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "1276432836588532079", |
| "ct": "9002316693124824478", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3106, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "5200619691000180360", |
| "ct": "5718858204823045501", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3107, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "3171023195825881348", |
| "ct": "2734556475081404331", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3108, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "7909056105043082480", |
| "ct": "0394086359559059465", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3109, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "4376491703788183254", |
| "ct": "5993012485448900643", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3110, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "6436923499481097683", |
| "ct": "7437732235456450652", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3111, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "5340057657804592755", |
| "ct": "0000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3112, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "6394809063785238316", |
| "ct": "9999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3113, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "3320390139132034083", |
| "ct": "5368709128589934592", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3114, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "d687c1f63b1cf0abc4f6d973bdb741a74dc6f859244d24b32ae01fa152312f5d", |
| "tweak": "8aba2989a0fe4e14", |
| "msg": "3104665480358914219", |
| "ct": "5368709118589934591", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3115, |
| "comment": "y = 0 and (y + a) % radix**9 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "b7d0cc0f5bd64d876698", |
| "msg": "6817963541288838609", |
| "ct": "8995094592813375130", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3116, |
| "comment": "y = 0 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "b7d0cc0f5bd64d876698", |
| "msg": "8841349928666561164", |
| "ct": "7392133487276037963", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3117, |
| "comment": "y = 0 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "b7d0cc0f5bd64d876698", |
| "msg": "8405617806577090646", |
| "ct": "6626515653581241122", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3118, |
| "comment": "y = 0 and (y + a) % radix**9 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "b7d0cc0f5bd64d876698", |
| "msg": "6715241549231226609", |
| "ct": "1031667582449870133", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3119, |
| "comment": "y is maximal and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6aef4c3f9f58f846abb3", |
| "msg": "8840672247009858758", |
| "ct": "5439503352376417975", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3120, |
| "comment": "y is maximal and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6aef4c3f9f58f846abb3", |
| "msg": "4623201355166447370", |
| "ct": "5439503366195725689", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3121, |
| "comment": "y is maximal and (y + a) % radix**9 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6aef4c3f9f58f846abb3", |
| "msg": "5421229081413348880", |
| "ct": "9999999992664547104", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3122, |
| "comment": "y is maximal and (y + a) % radix**9 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6aef4c3f9f58f846abb3", |
| "msg": "4741282738651917558", |
| "ct": "0000000001743555997", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3123, |
| "comment": "y is maximal and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6aef4c3f9f58f846abb3", |
| "msg": "2923834523199089451", |
| "ct": "0808212473642765333", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3124, |
| "comment": "y is maximal and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "6aef4c3f9f58f846abb3", |
| "msg": "3211446532423744815", |
| "ct": "5439503344462740476", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3125, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "c94ae3b1fde678dd45e5", |
| "msg": "0626541599656568362", |
| "ct": "9999999996717737779", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3126, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**9 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "c94ae3b1fde678dd45e5", |
| "msg": "2499954453291479905", |
| "ct": "0000000000168251102", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3127, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "c94ae3b1fde678dd45e5", |
| "msg": "5276605572771300667", |
| "ct": "5368709118656677909", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3128, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "167cc199e65e3bad56536bb2e1910e8219311289e2fb3442d6de51ec038f1a67", |
| "tweak": "c94ae3b1fde678dd45e5", |
| "msg": "2888805738018440652", |
| "ct": "9999999981775996765", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3129, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", |
| "tweak": "9561fc88a8ee3dda", |
| "msg": ":232762438018751778", |
| "ct": "2496769864360261435", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3130, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", |
| "tweak": "9561fc88a8ee3dda", |
| "msg": "523276i438018751778", |
| "ct": "2762269101729738918", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3131, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "90af2fc415b43c929c9caacc73858d45c2abb6643ccc4a2949f97d009b7d81f0", |
| "tweak": "9561fc88a8ee3dda", |
| "msg": "523276243801875177)", |
| "ct": "4386566382718852634", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3132, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "16a2bfeba2ee62cc1b90784261665fb976aa171a52fd632efc5efbc753dca413", |
| "tweak": "70c4f00dd145b5ac", |
| "msg": ":860016104238781795", |
| "ct": "1463455181439693064", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3133, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "16a2bfeba2ee62cc1b90784261665fb976aa171a52fd632efc5efbc753dca413", |
| "tweak": "70c4f00dd145b5ac", |
| "msg": "986001:104238781795", |
| "ct": "3311308879489353125", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3134, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "16a2bfeba2ee62cc1b90784261665fb976aa171a52fd632efc5efbc753dca413", |
| "tweak": "70c4f00dd145b5ac", |
| "msg": "986001610423878179:", |
| "ct": "5028935774574999989", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 20, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3135, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "4c4c444584b22485ca88c6afcdbb7beb70c7271f1dece986e93f8c26dceedde2", |
| "tweak": "be2f2b3534bdde03", |
| "msg": "37488041199305359051", |
| "ct": "87437591007749770865", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3136, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "00000000000000000000", |
| "ct": "31248567203348560779", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3137, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "99999999999999999999", |
| "ct": "23797679198197872952", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3138, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "85899345928589934592", |
| "ct": "66132390888088745479", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3139, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "85899345918589934591", |
| "ct": "68871908168042103243", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3140, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "82312781722487217527", |
| "ct": "23123030767436241387", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3141, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "57419568251870229692", |
| "ct": "49204544278489894198", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3142, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "18471213518662795721", |
| "ct": "82044031100404132456", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3143, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "96793515357288775979", |
| "ct": "10632419369798137681", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3144, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "52553296921029665579", |
| "ct": "22480367541788864620", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3145, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "41971362319926062363", |
| "ct": "81459348692089858197", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3146, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "91965498069057782933", |
| "ct": "34650561104720516905", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3147, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "19704471532964211702", |
| "ct": "04795807936487850004", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3148, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "48554229712326103957", |
| "ct": "00000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3149, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "88181316870515996360", |
| "ct": "99999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3150, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "45742974387393246037", |
| "ct": "85899345928589934592", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3151, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "cc62f7a4d5dd603b87bc299370ef1c02a975c118d52edd721b169df998fa8e26", |
| "tweak": "14a5f056d3d03443", |
| "msg": "28192717863070436666", |
| "ct": "85899345918589934591", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3152, |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "03ad5413a9385882be8b", |
| "msg": "29159314955819443573", |
| "ct": "53080226530000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3153, |
| "comment": "y = 0 and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "03ad5413a9385882be8b", |
| "msg": "18292165324360145712", |
| "ct": "53080226530000000001", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3154, |
| "comment": "y = 0 and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "03ad5413a9385882be8b", |
| "msg": "99714710301830203029", |
| "ct": "53080226538589934592", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3155, |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "03ad5413a9385882be8b", |
| "msg": "70550331430472766902", |
| "ct": "53080226539999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3156, |
| "comment": "y = 1 and a = 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "0d692649ef453bd8b640", |
| "msg": "03918021542204853953", |
| "ct": "85192055929189763008", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3157, |
| "comment": "y = 1 and a = 1 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "0d692649ef453bd8b640", |
| "msg": "07004442921020538172", |
| "ct": "68672529733341609170", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3158, |
| "comment": "y = 1 and a has large Hamming weight in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "0d692649ef453bd8b640", |
| "msg": "53007610424461329999", |
| "ct": "56141459988427026229", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3159, |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "0d692649ef453bd8b640", |
| "msg": "87819870567270283886", |
| "ct": "67380042826288197865", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3160, |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 3", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "10f839fb115e21f8a7b1801099f9f34b49c9f25e460cba5017097b0e7d7de4c5", |
| "tweak": "0d692649ef453bd8b640", |
| "msg": "15739813759266392753", |
| "ct": "22353444163722520810", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3161, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28", |
| "tweak": "daa46c7bc98cf1f4", |
| "msg": "*3691218329828358735", |
| "ct": "06396163137594698264", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3162, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28", |
| "tweak": "daa46c7bc98cf1f4", |
| "msg": "136912.8329828358735", |
| "ct": "93494607770899785914", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3163, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9714c23e367079f041c8995c71c4be459f8f46023e9e166321100a423aca6b28", |
| "tweak": "daa46c7bc98cf1f4", |
| "msg": "1369121832982835873m", |
| "ct": "56722485244744263840", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3164, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ed6f5124b80ea9d7017a89e685f2b7af4d51d050da1e2524054d52e1eaff0b2c", |
| "tweak": "e5d408819ec2b37d", |
| "msg": ":1306910909805016188", |
| "ct": "01457562902222579102", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3165, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ed6f5124b80ea9d7017a89e685f2b7af4d51d050da1e2524054d52e1eaff0b2c", |
| "tweak": "e5d408819ec2b37d", |
| "msg": "613069:0909805016188", |
| "ct": "28065753946696362484", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3166, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ed6f5124b80ea9d7017a89e685f2b7af4d51d050da1e2524054d52e1eaff0b2c", |
| "tweak": "e5d408819ec2b37d", |
| "msg": "6130691090980501618:", |
| "ct": "90856855160180939946", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 21, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3167, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "dda27ee12a33f1e1d641185aa62d77f8788cb29adf7c1d869e5476e04cf8d6a2", |
| "tweak": "a07df02be247e7f9", |
| "msg": "496563852342787349040", |
| "ct": "393410431379230350069", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3168, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "000000000000000000000", |
| "ct": "745691227630207309057", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3169, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "999999999999999999999", |
| "ct": "768458916473808102432", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3170, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "858993459268719476736", |
| "ct": "993720682312511960623", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3171, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "858993459168719476735", |
| "ct": "718641290130846904762", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3172, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "002156570952746541089", |
| "ct": "855847082361397832808", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3173, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "979052232075609692624", |
| "ct": "365890032854293017395", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3174, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "956274574898771764399", |
| "ct": "572809527727317187612", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3175, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "180952820656714418364", |
| "ct": "869867930189097338061", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3176, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "831549468202679718001", |
| "ct": "311771501953227353105", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3177, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "702323069496957538722", |
| "ct": "060675792558533151872", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3178, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "031695865809556207708", |
| "ct": "425086864683775287084", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3179, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "232043606086307940910", |
| "ct": "727059597205551868867", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3180, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "076459801476131695482", |
| "ct": "000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3181, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "317328119648956341500", |
| "ct": "999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3182, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "461083187060915754739", |
| "ct": "858993459268719476736", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3183, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "28648ae225b31d1b26051edbaf12560a65fdedd99c2dce41109b6d9e23647c62", |
| "tweak": "15ed7a9f2c4ead98", |
| "msg": "681078034141221253941", |
| "ct": "858993459168719476735", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3184, |
| "comment": "y = 0 and (y + a) % radix**10 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "730ddb24ff07806d6a49", |
| "msg": "000000000021876800118", |
| "ct": "176185970089631718459", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3185, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "730ddb24ff07806d6a49", |
| "msg": "000000000121876800118", |
| "ct": "371979144760224116610", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3186, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "730ddb24ff07806d6a49", |
| "msg": "858993459221876800118", |
| "ct": "232195780422638399647", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3187, |
| "comment": "y = 0 and (y + a) % radix**10 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "730ddb24ff07806d6a49", |
| "msg": "999999999921876800118", |
| "ct": "016168444564771018651", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3188, |
| "comment": "y = 1 and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "48bb26cae5a1ed771fad", |
| "msg": "733739729827948332210", |
| "ct": "000000000176466871080", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3189, |
| "comment": "y = 1 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "48bb26cae5a1ed771fad", |
| "msg": "392279574187792787304", |
| "ct": "000000000281420634698", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3190, |
| "comment": "y = 1 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "48bb26cae5a1ed771fad", |
| "msg": "117968728071750936255", |
| "ct": "858993459304978252295", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3191, |
| "comment": "y = 1 and (y + a) % radix**10 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "48bb26cae5a1ed771fad", |
| "msg": "698384830835745394031", |
| "ct": "999999999920674812568", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3192, |
| "comment": "y = 1 and (y + a) % radix**10 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "48bb26cae5a1ed771fad", |
| "msg": "658012289498771758464", |
| "ct": "000000000045970615989", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3193, |
| "comment": "y is maximal and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "61b67424758f5d916c05", |
| "msg": "115607701513361840451", |
| "ct": "488602180750638608013", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3194, |
| "comment": "y is maximal and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "61b67424758f5d916c05", |
| "msg": "697873380536238610280", |
| "ct": "264546721654990104221", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3195, |
| "comment": "y is maximal and (y + a) % radix**10 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "61b67424758f5d916c05", |
| "msg": "677216221572091274239", |
| "ct": "655987589152907415165", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3196, |
| "comment": "y is maximal and (y + a) % radix**10 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "61b67424758f5d916c05", |
| "msg": "379789221997980455218", |
| "ct": "091121504326668759824", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3197, |
| "comment": "y is maximal and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "61b67424758f5d916c05", |
| "msg": "276565625895147340881", |
| "ct": "533292710117192138947", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3198, |
| "comment": "y is maximal and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "61b67424758f5d916c05", |
| "msg": "328557234331512903185", |
| "ct": "907803516467437222014", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3199, |
| "comment": "y is edge case for modular reduction and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "4b43e880527901dddc69", |
| "msg": "000000000041074739501", |
| "ct": "363436235730184941806", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3200, |
| "comment": "y is edge case for modular reduction and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "4b43e880527901dddc69", |
| "msg": "000000000141074739501", |
| "ct": "268169065896654943121", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3201, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "4b43e880527901dddc69", |
| "msg": "645604966941074739501", |
| "ct": "062055188457258068855", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3202, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**10 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "4b43e880527901dddc69", |
| "msg": "645604967041074739501", |
| "ct": "263287241947491564442", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3203, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "4b43e880527901dddc69", |
| "msg": "858993459241074739501", |
| "ct": "293862785030793637585", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3204, |
| "comment": "y is edge case for modular reduction and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "4b43e880527901dddc69", |
| "msg": "999999999941074739501", |
| "ct": "314476665268478103311", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3205, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "b467091063b117acbd3f", |
| "msg": "718336970959234175100", |
| "ct": "766505581082721362702", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3206, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**10 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "b467091063b117acbd3f", |
| "msg": "526278491483250412859", |
| "ct": "136856523225201064286", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3207, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "b467091063b117acbd3f", |
| "msg": "991292079278818884429", |
| "ct": "610177492236247855513", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3208, |
| "comment": "y is maximal after modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "5f8dfaddff519676a9e8d7fcaeeafd3513b45b84f7047fbc0f71f3b73169ec02", |
| "tweak": "b467091063b117acbd3f", |
| "msg": "302565050825288747812", |
| "ct": "437370002290571625701", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3209, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d", |
| "tweak": "5b8af4b3a1f2cd3c", |
| "msg": "u03859428182684185156", |
| "ct": "565399107538621944377", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3210, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d", |
| "tweak": "5b8af4b3a1f2cd3c", |
| "msg": "0038594*8182684185156", |
| "ct": "938628774491523595536", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3211, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "65dbc8d7be3b70b0909f0a93a8b4f007cd51c594b20b8f3f470ca5e86468626d", |
| "tweak": "5b8af4b3a1f2cd3c", |
| "msg": "00385942818268418515$", |
| "ct": "302727108166781199726", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3212, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "70a11a7c7220569350a08016cfa9f4eee459f50569721501cb643e29c5ba523f", |
| "tweak": "102dadabc91a106f", |
| "msg": ":51572555641906871892", |
| "ct": "303021444277298521086", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3213, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "70a11a7c7220569350a08016cfa9f4eee459f50569721501cb643e29c5ba523f", |
| "tweak": "102dadabc91a106f", |
| "msg": "3515725:5641906871892", |
| "ct": "896301927317166475567", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3214, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "70a11a7c7220569350a08016cfa9f4eee459f50569721501cb643e29c5ba523f", |
| "tweak": "102dadabc91a106f", |
| "msg": "35157255564190687189:", |
| "ct": "196030121145265991203", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 22, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3215, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "e4d7316dc8f207a390bb0975ae78c2a506361b7a3c762dc970dff471d015a634", |
| "tweak": "457e89bd400af1ab", |
| "msg": "4586246462567967666421", |
| "ct": "3370842051552904740985", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3216, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "0000000000000000000000", |
| "ct": "8507366221868640582784", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3217, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "9999999999999999999999", |
| "ct": "2756438302188490876544", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3218, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "6871947673668719476736", |
| "ct": "9630914667797419512761", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3219, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "6871947673568719476735", |
| "ct": "8328755653697477898540", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3220, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "4881506983047998364502", |
| "ct": "8285369506523571029710", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3221, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "0560772203428501297288", |
| "ct": "3224213482175398251447", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3222, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "7817984738040410645666", |
| "ct": "5672426837259898739589", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3223, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "9697591434258619589727", |
| "ct": "7105838352568241650532", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3224, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "7785118451084193057999", |
| "ct": "1337110349059766496914", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3225, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "3680267369542921812840", |
| "ct": "3177006713053894323649", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3226, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "4928533914219813903093", |
| "ct": "2591674067589957768511", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3227, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "4046857996878633748675", |
| "ct": "1815032200642324290398", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3228, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "0262374251267720205458", |
| "ct": "0000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3229, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "9736287468213086614603", |
| "ct": "9999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3230, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "1524739704023209166924", |
| "ct": "6871947673668719476736", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3231, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "731e3d4f9a9e528c460a1decba05b67b8d6fc00bff7c8d8c5574f571fb389997", |
| "tweak": "69c0fd7f8b3219e9", |
| "msg": "7595202340568770605767", |
| "ct": "6871947673568719476735", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3232, |
| "comment": "y = 0 and (y + a) % radix**11 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "fd491974082d48362c91", |
| "msg": "9236724444482927003684", |
| "ct": "5652342391498359659826", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3233, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "fd491974082d48362c91", |
| "msg": "8770281479509839287397", |
| "ct": "2465206124129734841357", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3234, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "fd491974082d48362c91", |
| "msg": "9403451958615149479532", |
| "ct": "5829284128945891540286", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3235, |
| "comment": "y = 0 and (y + a) % radix**11 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "fd491974082d48362c91", |
| "msg": "7392683363043397334416", |
| "ct": "9313358090781864210198", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3236, |
| "comment": "y = 1 and a = 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "4a67ed96e941eeea36eb", |
| "msg": "6407770269300000000000", |
| "ct": "0273214718694451183065", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3237, |
| "comment": "y = 1 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "4a67ed96e941eeea36eb", |
| "msg": "2423950068100000000001", |
| "ct": "7388482834037987920619", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3238, |
| "comment": "y = 1 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "4a67ed96e941eeea36eb", |
| "msg": "6119389161968719476736", |
| "ct": "9073536101747562930803", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3239, |
| "comment": "y = 1 and (y + a) % radix**11 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "4a67ed96e941eeea36eb", |
| "msg": "5222930033499999999998", |
| "ct": "5611731786464259018579", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3240, |
| "comment": "y = 1 and (y + a) % radix**11 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "4a67ed96e941eeea36eb", |
| "msg": "1955386646099999999999", |
| "ct": "9905131776144975399855", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3241, |
| "comment": "y is maximal and a = 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "33ccc8e1b42382fe05c7", |
| "msg": "8293577859607623133024", |
| "ct": "6426434640893543950335", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3242, |
| "comment": "y is maximal and a = 1 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "33ccc8e1b42382fe05c7", |
| "msg": "9842737854159273249392", |
| "ct": "6426434640893543950336", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3243, |
| "comment": "y is maximal and (y + a) % radix**11 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "33ccc8e1b42382fe05c7", |
| "msg": "3092449387195429965112", |
| "ct": "6426434640899999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3244, |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "33ccc8e1b42382fe05c7", |
| "msg": "1366287070892883658245", |
| "ct": "6426434640800000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3245, |
| "comment": "y is maximal and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "33ccc8e1b42382fe05c7", |
| "msg": "2859225179615868153293", |
| "ct": "6426434640862263427071", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3246, |
| "comment": "y is maximal and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "33ccc8e1b42382fe05c7", |
| "msg": "8237222596073258862020", |
| "ct": "6426434640893543950334", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3247, |
| "comment": "y is edge case for modular reduction and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "ea2b3d8ff20ec8cec087", |
| "msg": "5691006754312667510780", |
| "ct": "9354395033030231430714", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3248, |
| "comment": "y is edge case for modular reduction and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "ea2b3d8ff20ec8cec087", |
| "msg": "6253420140629429175587", |
| "ct": "9354395033132253381891", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3249, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "ea2b3d8ff20ec8cec087", |
| "msg": "2515292163000325209837", |
| "ct": "9999999999974609265389", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3250, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "ea2b3d8ff20ec8cec087", |
| "msg": "1693403834829780788116", |
| "ct": "0000000000090730305244", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3251, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "ea2b3d8ff20ec8cec087", |
| "msg": "6416376351050208108382", |
| "ct": "6226342706612780712450", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3252, |
| "comment": "y is edge case for modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "ea2b3d8ff20ec8cec087", |
| "msg": "9630013314843417188042", |
| "ct": "9354395032906273020396", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3253, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "34dd4525d2d6bcf030b1", |
| "msg": "1776973104060298011699", |
| "ct": "7539988403910044094964", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3254, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "34dd4525d2d6bcf030b1", |
| "msg": "1909152264284465193444", |
| "ct": "3156964202035289341241", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3255, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "34dd4525d2d6bcf030b1", |
| "msg": "0180447706716527227753", |
| "ct": "3448103238301562683611", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3256, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "feaf25c451fb3dc75862b6f84f2d235727c9544e15573a5063865e698dfaceaa", |
| "tweak": "34dd4525d2d6bcf030b1", |
| "msg": "3477426723883150531788", |
| "ct": "5261655830201957244139", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3257, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24", |
| "tweak": "be1bdc9a75492a3d", |
| "msg": "n505827947235798367031", |
| "ct": "0514330378360043567036", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3258, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24", |
| "tweak": "be1bdc9a75492a3d", |
| "msg": "0505827k47235798367031", |
| "ct": "1666325209933913325086", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3259, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "dda15131a435c537838bfa170584af230656e50a6a5ed6cfc1cc16594dbd7c24", |
| "tweak": "be1bdc9a75492a3d", |
| "msg": "050582794723579836703^", |
| "ct": "0614571579628750441184", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3260, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6c9dd2f6ff9ac657878abdbbf59f16ec6c857f66af8acea1508aef0238035f76", |
| "tweak": "a10ddbfe026255f3", |
| "msg": ":473202528753785492677", |
| "ct": "4817060147957703918754", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3261, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6c9dd2f6ff9ac657878abdbbf59f16ec6c857f66af8acea1508aef0238035f76", |
| "tweak": "a10ddbfe026255f3", |
| "msg": "4473202:28753785492677", |
| "ct": "3703466993178863629153", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3262, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "6c9dd2f6ff9ac657878abdbbf59f16ec6c857f66af8acea1508aef0238035f76", |
| "tweak": "a10ddbfe026255f3", |
| "msg": "447320252875378549267:", |
| "ct": "1776960189867372585221", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 23, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3263, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "0d3ce9853bb4fc12233e5c394be7fa40a52f13ce1a348b3ebf7656fb5dd4357b", |
| "tweak": "bf83b0337f56f7bf", |
| "msg": "87907409373254479435824", |
| "ct": "26658447434880805915275", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3264, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "00000000000000000000000", |
| "ct": "33478560987768419046694", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3265, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "99999999999999999999999", |
| "ct": "76911107773555387596633", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3266, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "68719476736549755813888", |
| "ct": "48404454778769081094468", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3267, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "68719476735549755813887", |
| "ct": "39795388368568104693891", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3268, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "25695298904821629668947", |
| "ct": "49478017806737447894593", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3269, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "02685175130153281621749", |
| "ct": "95746687604531608597520", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3270, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "73817556696173781483267", |
| "ct": "35294406743613846780262", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3271, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "30796154142642782603846", |
| "ct": "48100820474245999394551", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3272, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "81095068843232288004292", |
| "ct": "38705356377110309759461", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3273, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "01196540781084385014053", |
| "ct": "20896578444995621979658", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3274, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "24333834387186690529813", |
| "ct": "68930258442570261601561", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3275, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "75224874103446411889168", |
| "ct": "25495571337240301976745", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3276, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "70280959631417467586599", |
| "ct": "00000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3277, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "67911022448453791095041", |
| "ct": "99999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3278, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "16747171650420180954279", |
| "ct": "68719476736549755813888", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3279, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "feb11712808e3633c6687fd99a8f8738baba4ee99b0d2489a308ef5b3bc57217", |
| "tweak": "7738e9d9521066bd", |
| "msg": "20587515504913703576208", |
| "ct": "68719476735549755813887", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3280, |
| "comment": "y = 0 and (y + a) % radix**11 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "ccfbbcc9036c58e36f17", |
| "msg": "00000000000406979284049", |
| "ct": "32228471620273754399109", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3281, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "ccfbbcc9036c58e36f17", |
| "msg": "00000000001406979284049", |
| "ct": "25315859922707517058014", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3282, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "ccfbbcc9036c58e36f17", |
| "msg": "68719476736406979284049", |
| "ct": "57508679094261464438156", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3283, |
| "comment": "y = 0 and (y + a) % radix**11 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "ccfbbcc9036c58e36f17", |
| "msg": "99999999999406979284049", |
| "ct": "93570768175492792822745", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3284, |
| "comment": "y = 1 and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "9b5d7c6bc7c83ad73d83", |
| "msg": "79241821567852083981923", |
| "ct": "00000000001934805255865", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3285, |
| "comment": "y = 1 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "9b5d7c6bc7c83ad73d83", |
| "msg": "27782323144590908264989", |
| "ct": "00000000002401577992913", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3286, |
| "comment": "y = 1 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "9b5d7c6bc7c83ad73d83", |
| "msg": "32609183501853765597873", |
| "ct": "68719476737609052551380", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3287, |
| "comment": "y = 1 and (y + a) % radix**11 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "9b5d7c6bc7c83ad73d83", |
| "msg": "10754904442135488893124", |
| "ct": "99999999999134386140508", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3288, |
| "comment": "y = 1 and (y + a) % radix**11 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "9b5d7c6bc7c83ad73d83", |
| "msg": "00296465891967058461727", |
| "ct": "00000000000106578100872", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3289, |
| "comment": "y is maximal and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "85bede359a41511a632d", |
| "msg": "36879226270424512398571", |
| "ct": "90832006457462027371367", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3290, |
| "comment": "y is maximal and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "85bede359a41511a632d", |
| "msg": "05778425337602103498828", |
| "ct": "08925199147895354034344", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3291, |
| "comment": "y is maximal and (y + a) % radix**11 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "85bede359a41511a632d", |
| "msg": "89480234330622431329778", |
| "ct": "22037693815660099906752", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3292, |
| "comment": "y is maximal and (y + a) % radix**11 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "85bede359a41511a632d", |
| "msg": "91947302232056807569980", |
| "ct": "87719854330851808482131", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3293, |
| "comment": "y is maximal and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "85bede359a41511a632d", |
| "msg": "16260279840414831053107", |
| "ct": "10830420793602159197190", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3294, |
| "comment": "y is maximal and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "85bede359a41511a632d", |
| "msg": "34015876866981428097350", |
| "ct": "65432689057870867047632", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3295, |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "d24632fb69f79bc3fdff", |
| "msg": "13347932026479638948598", |
| "ct": "10534400970217215144488", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3296, |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "d24632fb69f79bc3fdff", |
| "msg": "46001809071889075371178", |
| "ct": "99211834661623375367128", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3297, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "d24632fb69f79bc3fdff", |
| "msg": "74401356284012155369522", |
| "ct": "67322895786041851832339", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3298, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**11 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "d24632fb69f79bc3fdff", |
| "msg": "37158958089491015472881", |
| "ct": "47892010754687750802110", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3299, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "d24632fb69f79bc3fdff", |
| "msg": "55315719933539900986262", |
| "ct": "67957877960815478227380", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3300, |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "d24632fb69f79bc3fdff", |
| "msg": "00714715229784561915326", |
| "ct": "36183680713507003538062", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3301, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "11efda7f9c7b1f264020", |
| "msg": "01948114446320293325295", |
| "ct": "99999999999043613005727", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3302, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**11 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "11efda7f9c7b1f264020", |
| "msg": "81909759655842834703349", |
| "ct": "00000000000665098575471", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3303, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "11efda7f9c7b1f264020", |
| "msg": "54675223597264482386724", |
| "ct": "68719476735310708388011", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3304, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "cd3e0f25e5ef2c31729cedd89aea795d0a08f7b42c0397f4caa27c6806c519a3", |
| "tweak": "11efda7f9c7b1f264020", |
| "msg": "02012214179088756300945", |
| "ct": "99999999998108577786595", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3305, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6", |
| "tweak": "247c466d8f9108e2", |
| "msg": "/0090388588991808626573", |
| "ct": "26712084850995405569813", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3306, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6", |
| "tweak": "247c466d8f9108e2", |
| "msg": "6009038-588991808626573", |
| "ct": "58668628264226813113060", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3307, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ad4918b57782cbf6a641d6f9531d57ba353eb7a615eb36b449c0b076fe1693f6", |
| "tweak": "247c466d8f9108e2", |
| "msg": "6009038858899180862657)", |
| "ct": "98085475646927526067485", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3308, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fd9934410ac8a6c0c1fdd36048b53e9d653b0c475e396319c48aa5acaea6179b", |
| "tweak": "edb4443dd9677010", |
| "msg": ":4558934244936741756382", |
| "ct": "22599164133983478089948", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3309, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fd9934410ac8a6c0c1fdd36048b53e9d653b0c475e396319c48aa5acaea6179b", |
| "tweak": "edb4443dd9677010", |
| "msg": "4455893:244936741756382", |
| "ct": "66199067555455066664370", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3310, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "fd9934410ac8a6c0c1fdd36048b53e9d653b0c475e396319c48aa5acaea6179b", |
| "tweak": "edb4443dd9677010", |
| "msg": "4455893424493674175638:", |
| "ct": "36345557332624407873608", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 24, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3311, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "6dd6f146d834e25b75f7cde4071293e1cb4ed6be6f3e93a1338f21699c844fef", |
| "tweak": "a043702fce39a1ce", |
| "msg": "247403958429742966044486", |
| "ct": "852765480258855635303928", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3312, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "000000000000000000000000", |
| "ct": "537807361449970180511417", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3313, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "999999999999999999999999", |
| "ct": "867568354737406477948120", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3314, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "549755813888549755813888", |
| "ct": "498016619237124566058016", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3315, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "549755813887549755813887", |
| "ct": "195449459903153598643660", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3316, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "419070363268998115756416", |
| "ct": "560538174780480704987062", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3317, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "919783370678122305094693", |
| "ct": "810628204683625418998864", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3318, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "333786101494883398227150", |
| "ct": "969799632222566452350127", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3319, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "449728426293658489510242", |
| "ct": "048502164902555760991285", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3320, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "791012943883515165983642", |
| "ct": "903041350424948767172860", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3321, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "064544080009078730028500", |
| "ct": "157303430490068638179509", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3322, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "913707173864643123061849", |
| "ct": "222613111198242777212851", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3323, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "783869287637761264254879", |
| "ct": "959814897849181387390805", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3324, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "933526139049192352447827", |
| "ct": "000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3325, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "136912515203612723464685", |
| "ct": "999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3326, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "035772599688850086464708", |
| "ct": "549755813888549755813888", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3327, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "11af972b20b14ef4b81a905c3e94fe56acfd46b9e53f3c4310e69a1a0c161a72", |
| "tweak": "2e677aed4931f7b2", |
| "msg": "093432433251338118762623", |
| "ct": "549755813887549755813887", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3328, |
| "comment": "y = 0 and (y + a) % radix**12 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "7a1e2a7a7fcb3a9162e3", |
| "msg": "574510909161013966568340", |
| "ct": "052761213678680171963719", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3329, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "7a1e2a7a7fcb3a9162e3", |
| "msg": "959707202680492495279413", |
| "ct": "212732889987647975840595", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3330, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "7a1e2a7a7fcb3a9162e3", |
| "msg": "337215644759802183226300", |
| "ct": "500116991909399838766685", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3331, |
| "comment": "y = 0 and (y + a) % radix**12 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "7a1e2a7a7fcb3a9162e3", |
| "msg": "082489219552011364626147", |
| "ct": "638919871012954077800043", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3332, |
| "comment": "y = 1 and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "87cc28f095f15ae55dc9", |
| "msg": "331305605235875024336962", |
| "ct": "713693648064058154296196", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3333, |
| "comment": "y = 1 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "87cc28f095f15ae55dc9", |
| "msg": "395449984322338900828079", |
| "ct": "176112009112089278882990", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3334, |
| "comment": "y = 1 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "87cc28f095f15ae55dc9", |
| "msg": "479082662093441129665127", |
| "ct": "948171069226808214222588", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3335, |
| "comment": "y = 1 and (y + a) % radix**12 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "87cc28f095f15ae55dc9", |
| "msg": "434871044241416746512927", |
| "ct": "013343756449015710274359", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3336, |
| "comment": "y = 1 and (y + a) % radix**12 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "87cc28f095f15ae55dc9", |
| "msg": "993295747057983520536007", |
| "ct": "765347057561385679638826", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3337, |
| "comment": "y is maximal and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "d97c868351f8302479f7", |
| "msg": "065922196782998975502545", |
| "ct": "906219720300623719614893", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3338, |
| "comment": "y is maximal and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "d97c868351f8302479f7", |
| "msg": "735914943400878982304291", |
| "ct": "659149280776865142142793", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3339, |
| "comment": "y is maximal and (y + a) % radix**12 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "d97c868351f8302479f7", |
| "msg": "702396031090849698151493", |
| "ct": "179524531487174310339027", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3340, |
| "comment": "y is maximal and (y + a) % radix**12 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "d97c868351f8302479f7", |
| "msg": "400385896115831636413849", |
| "ct": "882087710822962164750282", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3341, |
| "comment": "y is maximal and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "d97c868351f8302479f7", |
| "msg": "886449272562268504803689", |
| "ct": "122170530148193579535167", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3342, |
| "comment": "y is maximal and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "d97c868351f8302479f7", |
| "msg": "238264972935239816448144", |
| "ct": "516494703360264485263197", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3343, |
| "comment": "y is edge case for modular reduction and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "6b90c3dc9c1b5943e5d9", |
| "msg": "678725543040922746665347", |
| "ct": "562558315538672572890167", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3344, |
| "comment": "y is edge case for modular reduction and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "6b90c3dc9c1b5943e5d9", |
| "msg": "512586990229064549298647", |
| "ct": "755155073865010485857597", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3345, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "6b90c3dc9c1b5943e5d9", |
| "msg": "173215669896498602666906", |
| "ct": "496127318277693099852111", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3346, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "6b90c3dc9c1b5943e5d9", |
| "msg": "568358247078387440841595", |
| "ct": "857315696628175914497108", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3347, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "6b90c3dc9c1b5943e5d9", |
| "msg": "404918197577767466077333", |
| "ct": "722156439169051691297581", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3348, |
| "comment": "y is edge case for modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "6b90c3dc9c1b5943e5d9", |
| "msg": "213172241346724022227708", |
| "ct": "931107459322518507409270", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3349, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**12 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "74140aa67cacbce51ab1", |
| "msg": "626142652664000000000000", |
| "ct": "250397251909707806884613", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3350, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**12 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "74140aa67cacbce51ab1", |
| "msg": "195968077568000000000001", |
| "ct": "453871361043419763530415", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3351, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "74140aa67cacbce51ab1", |
| "msg": "310042596403549755813888", |
| "ct": "568673691888440548552250", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3352, |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "0e56f9baa411d7bdd9efcb795a2b336c0ae18b7ba650535caf3bc68dd15f2ada", |
| "tweak": "74140aa67cacbce51ab1", |
| "msg": "513298325113999999999999", |
| "ct": "705847757084435893593246", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3353, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f9c16b469c7b8f158194d619cc5aab9b6cc05020040e50f0e15d20bda3e70b74", |
| "tweak": "b1fb20f69cda04bb", |
| "msg": "P01481259169660378310701", |
| "ct": "174719577020176131301483", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3354, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f9c16b469c7b8f158194d619cc5aab9b6cc05020040e50f0e15d20bda3e70b74", |
| "tweak": "b1fb20f69cda04bb", |
| "msg": "70148125b169660378310701", |
| "ct": "382605647508582608865319", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3355, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f9c16b469c7b8f158194d619cc5aab9b6cc05020040e50f0e15d20bda3e70b74", |
| "tweak": "b1fb20f69cda04bb", |
| "msg": "70148125916966037831070g", |
| "ct": "340716834457626010360566", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3356, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9ba4a604e69009eb07d0e090dbf336b0e45f4c77fd4f4aefadb2803530078b11", |
| "tweak": "1769e2fb73a22fbb", |
| "msg": ":54903774003851562003520", |
| "ct": "198826050156121831403587", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3357, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9ba4a604e69009eb07d0e090dbf336b0e45f4c77fd4f4aefadb2803530078b11", |
| "tweak": "1769e2fb73a22fbb", |
| "msg": "95490377:003851562003520", |
| "ct": "917442791534516170401625", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3358, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9ba4a604e69009eb07d0e090dbf336b0e45f4c77fd4f4aefadb2803530078b11", |
| "tweak": "1769e2fb73a22fbb", |
| "msg": "95490377400385156200352:", |
| "ct": "364327710494246134366696", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 25, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3359, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "e0325d51f62ed182ca91eb839e255cae9917f657cb90ac5c9f891c4ecbfb44ba", |
| "tweak": "6a15097e7edd42a0", |
| "msg": "7380847665005462759035782", |
| "ct": "6002813668505925691503545", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3360, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "0000000000000000000000000", |
| "ct": "6642514786748531564971070", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3361, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "9999999999999999999999999", |
| "ct": "3273745694836341824695108", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3362, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "5497558138888796093022208", |
| "ct": "8568033502569625827885467", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3363, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "5497558138878796093022207", |
| "ct": "9962309963187602402563369", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3364, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "7428235679407109124764846", |
| "ct": "0447401438416695168679915", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3365, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "6230941688491228676089440", |
| "ct": "3507916398585618839530961", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3366, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "9485124624104920657801035", |
| "ct": "7529203392022195488679767", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3367, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "6117045742905015777988405", |
| "ct": "1355484050035506389814895", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3368, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "0029238074456549525547805", |
| "ct": "1248971328159143145902529", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3369, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "1271910139110378539257091", |
| "ct": "8242709155661791708094227", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3370, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "6648213066000335110766679", |
| "ct": "9783696550600015448719956", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3371, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "9242361099693232014960852", |
| "ct": "3879515792675957512770353", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3372, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "3792825947842755509785071", |
| "ct": "0000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3373, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "5282278292571295452417939", |
| "ct": "9999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3374, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "8018375687261514308820352", |
| "ct": "5497558138888796093022208", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3375, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "257645b63af0b52ad2f749c60521c97da6b967f809283229721de624570a742b", |
| "tweak": "771b26c32d3398f6", |
| "msg": "5320826883482730328510496", |
| "ct": "5497558138878796093022207", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3376, |
| "comment": "y = 0 and (y + a) % radix**12 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "ebb19ed84df9164dc0", |
| "msg": "4879576185462225579665696", |
| "ct": "8125791641196097907118580", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3377, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "ebb19ed84df9164dc0", |
| "msg": "5525743474090977040847359", |
| "ct": "2415510828445822601683033", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3378, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "ebb19ed84df9164dc0", |
| "msg": "8340992789332938638070216", |
| "ct": "8480487607483653024034602", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3379, |
| "comment": "y = 0 and (y + a) % radix**12 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "ebb19ed84df9164dc0", |
| "msg": "3218946376597477718772568", |
| "ct": "8239616589484974620140285", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3380, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "51aaa5caeb3b98747a", |
| "msg": "2810008960126197818792587", |
| "ct": "7030328671415702188928027", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3381, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "51aaa5caeb3b98747a", |
| "msg": "4351429870889127773840362", |
| "ct": "5796372863790604115065628", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3382, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "51aaa5caeb3b98747a", |
| "msg": "9059575458206493955958932", |
| "ct": "1856031233617601006408094", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3383, |
| "comment": "y = 1 and (y + a) % radix**12 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "51aaa5caeb3b98747a", |
| "msg": "0822379202935817694604084", |
| "ct": "4338853438952817307345326", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3384, |
| "comment": "y = 1 and (y + a) % radix**12 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "51aaa5caeb3b98747a", |
| "msg": "4255247497793892732161746", |
| "ct": "8311534866996623353714510", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3385, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "4a91661bb089b2c4b3", |
| "msg": "6442586610444830041704393", |
| "ct": "3001542406916093272550460", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3386, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "4a91661bb089b2c4b3", |
| "msg": "4771674028054975741524672", |
| "ct": "7453858119236679838854897", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3387, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**12 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "4a91661bb089b2c4b3", |
| "msg": "3125490622581143087429200", |
| "ct": "5415368797368754718848290", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3388, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**12 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "4a91661bb089b2c4b3", |
| "msg": "7396165659733313871706855", |
| "ct": "0213648247116504109659667", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3389, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "4a91661bb089b2c4b3", |
| "msg": "9489272135017410856683631", |
| "ct": "6777612181315540575713318", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3390, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "f654ac369a36613c34a7a9f11dd81a1f1d4e4630a976c1edfa4547f564a6bfc0", |
| "tweak": "4a91661bb089b2c4b3", |
| "msg": "3750217415975296544849867", |
| "ct": "3413358397436930403502185", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3391, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1ff630b00e63e5aac0dcd64e41af744c7c686b300a98117cc40e432d87de5a76", |
| "tweak": "1403a297b3d5581a", |
| "msg": "v288141287679561021969005", |
| "ct": "4521627008792476089856504", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3392, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1ff630b00e63e5aac0dcd64e41af744c7c686b300a98117cc40e432d87de5a76", |
| "tweak": "1403a297b3d5581a", |
| "msg": "42881412z7679561021969005", |
| "ct": "3100586266412022204490309", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3393, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1ff630b00e63e5aac0dcd64e41af744c7c686b300a98117cc40e432d87de5a76", |
| "tweak": "1403a297b3d5581a", |
| "msg": "428814128767956102196900y", |
| "ct": "8509829418778712880336601", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3394, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "45772ed657926b1a4da629688438745cb52053fcc601f20302e879908a9ca24f", |
| "tweak": "d6bca4c86191e716", |
| "msg": ":423514796379386225971254", |
| "ct": "0820196866230861776509586", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3395, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "45772ed657926b1a4da629688438745cb52053fcc601f20302e879908a9ca24f", |
| "tweak": "d6bca4c86191e716", |
| "msg": "74235147:6379386225971254", |
| "ct": "8388331762523736431853980", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3396, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "45772ed657926b1a4da629688438745cb52053fcc601f20302e879908a9ca24f", |
| "tweak": "d6bca4c86191e716", |
| "msg": "742351479637938622597125:", |
| "ct": "6867897186494916027341924", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 26, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3397, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "219dd3d491cb992c6c8c4d4292b5ee76784b4b383fc415b654f09d600248858b", |
| "tweak": "6434003b257c6b31", |
| "msg": "12920013295305688004176108", |
| "ct": "41521560802318446073668285", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3398, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "00000000000000000000000000", |
| "ct": "81960607238882428541519048", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3399, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "99999999999999999999999999", |
| "ct": "56495590359324400315822904", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3400, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "87960930222088796093022208", |
| "ct": "47253734854790089911470748", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3401, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "87960930222078796093022207", |
| "ct": "90703045589818757578538200", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3402, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "50869390771618068571127265", |
| "ct": "12488341119449902552613610", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3403, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "91117047210322699115689562", |
| "ct": "87580090872872398617241577", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3404, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "62598642463665128948387627", |
| "ct": "42200496222987635832242580", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3405, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "19567341603085138653707307", |
| "ct": "16535631731699555252491894", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3406, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "76763146734620335251038182", |
| "ct": "78833461127001152778122082", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3407, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "04265589598413241289728791", |
| "ct": "27819984707766005441512947", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3408, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "83646339880830410865446821", |
| "ct": "82688987386598638593858143", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3409, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "02440190430380695491408242", |
| "ct": "94208943100809176752401788", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3410, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "34142622595698449928982616", |
| "ct": "00000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3411, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "67144039628559504286852671", |
| "ct": "99999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3412, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "15805448313597618622817200", |
| "ct": "87960930222088796093022208", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3413, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f9986b574b831572cf10452c5574e3d2a51e16daac404df64e07e3b982b430b3", |
| "tweak": "b7c5aa8e8b8b4247", |
| "msg": "20119827891393182527498133", |
| "ct": "87960930222078796093022207", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3414, |
| "comment": "y = 0 and (y + a) % radix**13 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "fa9ffde59e7c53ff87", |
| "msg": "60691475641512387245049694", |
| "ct": "00000000000009183550096200", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3415, |
| "comment": "y = 0 and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "fa9ffde59e7c53ff87", |
| "msg": "54794684198519361369728398", |
| "ct": "00000000000016974505788955", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3416, |
| "comment": "y = 0 and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "fa9ffde59e7c53ff87", |
| "msg": "60292683879602813090316570", |
| "ct": "87960930222084683576393573", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3417, |
| "comment": "y = 0 and (y + a) % radix**13 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "fa9ffde59e7c53ff87", |
| "msg": "83516879446202010919747044", |
| "ct": "99999999999997382704295195", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3418, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "57d1fd54195cc7ce5c", |
| "msg": "00000000000009647333499409", |
| "ct": "17482188507262471971052328", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3419, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "57d1fd54195cc7ce5c", |
| "msg": "00000000000019647333499409", |
| "ct": "25498343712654371438458363", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3420, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "57d1fd54195cc7ce5c", |
| "msg": "87960930222089647333499409", |
| "ct": "03604942822094274074177582", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3421, |
| "comment": "y = 1 and (y + a) % radix**13 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "57d1fd54195cc7ce5c", |
| "msg": "99999999999989647333499409", |
| "ct": "60851568382413794990736301", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3422, |
| "comment": "y = 1 and (y + a) % radix**13 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "57d1fd54195cc7ce5c", |
| "msg": "99999999999999647333499409", |
| "ct": "55941159886443709811810127", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3423, |
| "comment": "y is maximal and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "eaa680f8b05d4cb64e", |
| "msg": "85410096569817045805167931", |
| "ct": "65848379765925663801335478", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3424, |
| "comment": "y is maximal and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "eaa680f8b05d4cb64e", |
| "msg": "75730952983543389749596407", |
| "ct": "73859676259367251735985412", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3425, |
| "comment": "y is maximal and (y + a) % radix**13 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "eaa680f8b05d4cb64e", |
| "msg": "71123678567693367345349857", |
| "ct": "87730047952573338067424077", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3426, |
| "comment": "y is maximal and (y + a) % radix**13 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "eaa680f8b05d4cb64e", |
| "msg": "06278598504511393020528987", |
| "ct": "97905500072393541376949188", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3427, |
| "comment": "y is maximal and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "eaa680f8b05d4cb64e", |
| "msg": "85886117241990151408192829", |
| "ct": "13153037600315267371827271", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3428, |
| "comment": "y is maximal and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "eaa680f8b05d4cb64e", |
| "msg": "69293610003083487185441471", |
| "ct": "02087011991626509490782127", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3429, |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "738778cdbc8964073d", |
| "msg": "10007007208732650959657743", |
| "ct": "08024641393934956947410933", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3430, |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "738778cdbc8964073d", |
| "msg": "52006872424107253346651294", |
| "ct": "41317202474700253817502222", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3431, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**13 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "738778cdbc8964073d", |
| "msg": "90815180157672037666181543", |
| "ct": "23670810553937386609173394", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3432, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**13 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "738778cdbc8964073d", |
| "msg": "57813581534914233417807939", |
| "ct": "85458403322305219755934634", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3433, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "738778cdbc8964073d", |
| "msg": "10293443359193658551814769", |
| "ct": "70134226524369483223892581", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3434, |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "738778cdbc8964073d", |
| "msg": "94272995297955623307955240", |
| "ct": "77500052037852640327520932", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3435, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**13 is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "8361dc15b77f06915d", |
| "msg": "98283506611101182101732243", |
| "ct": "78175733034479999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3436, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**13 == 0 in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "8361dc15b77f06915d", |
| "msg": "64172661038563662725156380", |
| "ct": "78175733034470000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3437, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "8361dc15b77f06915d", |
| "msg": "63543171085855412129761768", |
| "ct": "78175733034478796093022207", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3438, |
| "comment": "y is maximal after modular reduction and a is maximal in round 9", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9a82c39e0471614ce1aa17645c94fcbfd57f4b1f3667bc97e846d46929ad1ff4", |
| "tweak": "8361dc15b77f06915d", |
| "msg": "45817694657990116329415530", |
| "ct": "78175733034479999999999998", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3439, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4e20c7773ccc3092b9dbcefc47028815793d233307d50aed60a94076ad6e4d08", |
| "tweak": "3813c38b3aa52d66", |
| "msg": "r4969422751006702502594455", |
| "ct": "40247421268612411380822509", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3440, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4e20c7773ccc3092b9dbcefc47028815793d233307d50aed60a94076ad6e4d08", |
| "tweak": "3813c38b3aa52d66", |
| "msg": "64969422A51006702502594455", |
| "ct": "27632529055896635927649745", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3441, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "4e20c7773ccc3092b9dbcefc47028815793d233307d50aed60a94076ad6e4d08", |
| "tweak": "3813c38b3aa52d66", |
| "msg": "6496942275100670250259445M", |
| "ct": "20941706260076392531749117", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3442, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e60e3f5b5a5c7f17608fd32460f6e864dcc2b7551d7bc49ccfcd303a07733575", |
| "tweak": "c66b665a6151aad4", |
| "msg": ":9435157453506215015173838", |
| "ct": "49326631645286115072510536", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3443, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e60e3f5b5a5c7f17608fd32460f6e864dcc2b7551d7bc49ccfcd303a07733575", |
| "tweak": "c66b665a6151aad4", |
| "msg": "29435157:53506215015173838", |
| "ct": "19257851403140753279184400", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3444, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "e60e3f5b5a5c7f17608fd32460f6e864dcc2b7551d7bc49ccfcd303a07733575", |
| "tweak": "c66b665a6151aad4", |
| "msg": "2943515745350621501517383:", |
| "ct": "57486182758782826938786413", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 27, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3445, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "89dcb7b56207898e6bbf9275e00e68d7f08eee8ef17be1a0359b5f15a4c7f476", |
| "tweak": "2146a4ee0ca89f28", |
| "msg": "651068724470332335619597547", |
| "ct": "627669677545782622839616817", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3446, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "000000000000000000000000000", |
| "ct": "776009859687013133366643141", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3447, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "999999999999999999999999999", |
| "ct": "088662426159336082554605811", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3448, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "879609302220870368744177664", |
| "ct": "120930593868673073836439537", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3449, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "879609302220770368744177663", |
| "ct": "060964819067691164354254556", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3450, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "057073710198505625911341213", |
| "ct": "278107031883073809957719179", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3451, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "668365197374330088138759771", |
| "ct": "503037177424192929576417108", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3452, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "197697670698045053767923529", |
| "ct": "506393859247147692009821370", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3453, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "983435522562770795446955790", |
| "ct": "347521278833511657918932583", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3454, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "240680921541638047004265358", |
| "ct": "012539537558791305066654060", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3455, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "745168865485867595493011306", |
| "ct": "276913006987034927681457072", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3456, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "008967754689893624482629488", |
| "ct": "461428895734571433220902594", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3457, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "293177465114109344904498099", |
| "ct": "451722144426038276186722879", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3458, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "602641477130180198339886091", |
| "ct": "000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3459, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "893924135431412372560683350", |
| "ct": "999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3460, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "066923517997714334007088854", |
| "ct": "879609302220870368744177664", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3461, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "6345ad7939c99871d1e1b4ba7ed3c7aeab181735a41a585871c09158ece13d1f", |
| "tweak": "76302e315ce5c23a", |
| "msg": "358979437194205684937668238", |
| "ct": "879609302220770368744177663", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3462, |
| "comment": "y = 0 and (y + a) % radix**13 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "ad296b1e7147378ced", |
| "msg": "298727512641406606875064377", |
| "ct": "584046929788159596491207440", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3463, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "ad296b1e7147378ced", |
| "msg": "046616069693591946619093814", |
| "ct": "260921765749944054968160142", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3464, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "ad296b1e7147378ced", |
| "msg": "253825710803176045035623121", |
| "ct": "487599797074286073707883940", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3465, |
| "comment": "y = 0 and (y + a) % radix**13 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "ad296b1e7147378ced", |
| "msg": "788586650027761575268592425", |
| "ct": "733924978603088495803840050", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3466, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "6b64fc156e694e6328", |
| "msg": "247024227237116715999108265", |
| "ct": "224099617105153339150099515", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3467, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "6b64fc156e694e6328", |
| "msg": "040786456916060914868443907", |
| "ct": "494627043200848242213000864", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3468, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "6b64fc156e694e6328", |
| "msg": "639266093413327721702657729", |
| "ct": "589206161907620979042567656", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3469, |
| "comment": "y = 1 and (y + a) % radix**13 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "6b64fc156e694e6328", |
| "msg": "495978667181056166464756438", |
| "ct": "180922015062085847707979787", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3470, |
| "comment": "y = 1 and (y + a) % radix**13 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "6b64fc156e694e6328", |
| "msg": "393642785085855634560575640", |
| "ct": "475527467006210941370319687", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3471, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "424601f13bbc8b6a76", |
| "msg": "000000000000056038103568374", |
| "ct": "727538435865990607423536383", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3472, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "424601f13bbc8b6a76", |
| "msg": "000000000000156038103568374", |
| "ct": "084087181631123050220960247", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3473, |
| "comment": "y is maximal and (y + a) % radix**13 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "424601f13bbc8b6a76", |
| "msg": "240645604966456038103568374", |
| "ct": "018378932434354728961514287", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3474, |
| "comment": "y is maximal and (y + a) % radix**13 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "424601f13bbc8b6a76", |
| "msg": "240645604966556038103568374", |
| "ct": "410201427520446389241922303", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3475, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "424601f13bbc8b6a76", |
| "msg": "879609302220856038103568374", |
| "ct": "303386441462684512955553918", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3476, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "424601f13bbc8b6a76", |
| "msg": "999999999999956038103568374", |
| "ct": "967992629534919468617697542", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3477, |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "5d4f7004a523e1ed06", |
| "msg": "063823400192192287543741373", |
| "ct": "172034489341300896952611613", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3478, |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "5d4f7004a523e1ed06", |
| "msg": "726600503409074967312804709", |
| "ct": "403515362689481649086088315", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3479, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**13 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "5d4f7004a523e1ed06", |
| "msg": "766257794324419852348202185", |
| "ct": "098816901299742454693556857", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3480, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**13 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "5d4f7004a523e1ed06", |
| "msg": "266786131589971723715140471", |
| "ct": "360601203363966284667522450", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3481, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "5d4f7004a523e1ed06", |
| "msg": "863815596188754944931447831", |
| "ct": "529346287929437536822209662", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3482, |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "5d4f7004a523e1ed06", |
| "msg": "547661038387750232184101611", |
| "ct": "992024952562955889294620717", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3483, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**14 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "97b3212fcc56f13e31", |
| "msg": "143365213653938328937542464", |
| "ct": "417824962218974626338604788", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3484, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**14 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "97b3212fcc56f13e31", |
| "msg": "301190828031976731181333237", |
| "ct": "271045120298418380505504795", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3485, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "97b3212fcc56f13e31", |
| "msg": "543637319605248668555686930", |
| "ct": "936059870928878515708491667", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3486, |
| "comment": "y is maximal after modular reduction and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "ad07ea225eb33a3f94ab73e47aeda9e85718513f8ba5ba70ad02eeb7eceac5ee", |
| "tweak": "97b3212fcc56f13e31", |
| "msg": "073759114073540312998490876", |
| "ct": "671933726824804904617741880", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3487, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9b946298b977b4050b37673200e2ad402de9e9dba331bf6eae1408dac9c9e7bd", |
| "tweak": "dc322e70fc62bb84", |
| "msg": "N38442171533389902616580500", |
| "ct": "364890753524090803203661685", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3488, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9b946298b977b4050b37673200e2ad402de9e9dba331bf6eae1408dac9c9e7bd", |
| "tweak": "dc322e70fc62bb84", |
| "msg": "338442171Q33389902616580500", |
| "ct": "870073351048897217058538052", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3489, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9b946298b977b4050b37673200e2ad402de9e9dba331bf6eae1408dac9c9e7bd", |
| "tweak": "dc322e70fc62bb84", |
| "msg": "33844217153338990261658050g", |
| "ct": "060972781650859466443949656", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3490, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "08dfd0fdaad5134232a69ffecb30bb741c9ab53535ef2528723b65bb0e9344f3", |
| "tweak": "086ab88443a4840d", |
| "msg": ":53091688972271663692636746", |
| "ct": "850225038104082781218281794", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3491, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "08dfd0fdaad5134232a69ffecb30bb741c9ab53535ef2528723b65bb0e9344f3", |
| "tweak": "086ab88443a4840d", |
| "msg": "253091688:72271663692636746", |
| "ct": "530823405520526087307787195", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3492, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "08dfd0fdaad5134232a69ffecb30bb741c9ab53535ef2528723b65bb0e9344f3", |
| "tweak": "086ab88443a4840d", |
| "msg": "25309168897227166369263674:", |
| "ct": "000540141867590976280534858", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 28, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3493, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "56b5a4449c4eab69ba4deb8094c02b97de3992b606485185334642bf8626dcee", |
| "tweak": "46ab2623206bced3", |
| "msg": "8644182894752499728035462140", |
| "ct": "6461154757047716338285308437", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3494, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "0000000000000000000000000000", |
| "ct": "3136535110180380284288668293", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3495, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "9999999999999999999999999999", |
| "ct": "8863035642903049824605564044", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3496, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "7036874417766470368744177664", |
| "ct": "8880257440082217739910783447", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3497, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "7036874417766370368744177663", |
| "ct": "8577662067442806723918763207", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3498, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "7125306460417775154897081938", |
| "ct": "9858422982523207853086035260", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3499, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "8518747766434104097406986127", |
| "ct": "8241544142602384217709894287", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3500, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "6447161018222134378180225658", |
| "ct": "7846490426715951764702046012", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3501, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "2280846005102494655379527761", |
| "ct": "9981387530173257505645319780", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3502, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "2462315753078944299587438393", |
| "ct": "2486626827081198152315080830", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3503, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "1091447967010710556944586727", |
| "ct": "4186795915291491493978906163", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3504, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "9050108310412610487283113950", |
| "ct": "9655218256691698739129345130", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3505, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "4650597046127099907404325789", |
| "ct": "8084397046855220653545429675", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3506, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "8738755402198377160595731258", |
| "ct": "0000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3507, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "3601230850734034537625873876", |
| "ct": "9999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3508, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "7319728840263727077412050668", |
| "ct": "7036874417766470368744177664", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3509, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "5d9d5ff80ff5fa07accb1d15abf12141dfebb4f05b21a31acbaeea2e54c8897d", |
| "tweak": "e1f2159f67fd7fe3", |
| "msg": "0738665991328324928996450403", |
| "ct": "7036874417766370368744177663", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3510, |
| "comment": "y = 0 and (y + a) % radix**14 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "1348a3cc62e3fef94b", |
| "msg": "2725688558141534056794885965", |
| "ct": "0243379506628229808233384144", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3511, |
| "comment": "y = 0 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "1348a3cc62e3fef94b", |
| "msg": "8125123082438838939667840302", |
| "ct": "9660858180437086036858958583", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3512, |
| "comment": "y = 0 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "1348a3cc62e3fef94b", |
| "msg": "1561654965246963178579955246", |
| "ct": "5250974030980823603804002482", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3513, |
| "comment": "y = 0 and (y + a) % radix**14 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "1348a3cc62e3fef94b", |
| "msg": "0190886110853805824335480933", |
| "ct": "0845741800130512776772647235", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3514, |
| "comment": "y = 1 and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "3ca64e90d2a75a560e", |
| "msg": "6583221841201618986042248027", |
| "ct": "6037864999699490586687545488", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3515, |
| "comment": "y = 1 and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "3ca64e90d2a75a560e", |
| "msg": "7034057224998163599953873346", |
| "ct": "0549605810898901217346260241", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3516, |
| "comment": "y = 1 and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "3ca64e90d2a75a560e", |
| "msg": "5058565198274275040302897434", |
| "ct": "0345005233727378251112412100", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3517, |
| "comment": "y = 1 and (y + a) % radix**14 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "3ca64e90d2a75a560e", |
| "msg": "2181514870436222417274360467", |
| "ct": "3167639210379011607802931121", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3518, |
| "comment": "y = 1 and (y + a) % radix**14 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "3ca64e90d2a75a560e", |
| "msg": "5814265324393289128427411201", |
| "ct": "9990163097062110569798903834", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3519, |
| "comment": "y is maximal and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "7374e364d7e5d131b5", |
| "msg": "0000000000000075153883518223", |
| "ct": "5182553264003612848961073727", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3520, |
| "comment": "y is maximal and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "7374e364d7e5d131b5", |
| "msg": "0000000000000175153883518223", |
| "ct": "5289790984895975662399393410", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3521, |
| "comment": "y is maximal and (y + a) % radix**14 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "7374e364d7e5d131b5", |
| "msg": "6240645604966475153883518223", |
| "ct": "2960583119181837947420597189", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3522, |
| "comment": "y is maximal and (y + a) % radix**14 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "7374e364d7e5d131b5", |
| "msg": "6240645604966575153883518223", |
| "ct": "3844169546635723290101249982", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3523, |
| "comment": "y is maximal and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "7374e364d7e5d131b5", |
| "msg": "7036874417766475153883518223", |
| "ct": "8116675145417379423982980894", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3524, |
| "comment": "y is maximal and a is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "7374e364d7e5d131b5", |
| "msg": "9999999999999975153883518223", |
| "ct": "1602480689522326280929808729", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3525, |
| "comment": "y is edge case for modular reduction and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "307e803e491b1ab46d", |
| "msg": "5332768013107962024391922276", |
| "ct": "0184752625726976522278572238", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3526, |
| "comment": "y is edge case for modular reduction and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "307e803e491b1ab46d", |
| "msg": "8136092441840527182070191424", |
| "ct": "1650330456670830920730205756", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3527, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "307e803e491b1ab46d", |
| "msg": "1166080777461926986278133583", |
| "ct": "4011574540938751868518627456", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3528, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "307e803e491b1ab46d", |
| "msg": "6041961217058096091742078988", |
| "ct": "4778851257139898239548989786", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3529, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "307e803e491b1ab46d", |
| "msg": "7375127908383752935581491844", |
| "ct": "7898950691921642609221467085", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3530, |
| "comment": "y is edge case for modular reduction and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "307e803e491b1ab46d", |
| "msg": "1770008454823967380523877592", |
| "ct": "6832260139053353943561113921", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3531, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**14 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "db7da38cc4aac5e8c8", |
| "msg": "1297309847543100000000000000", |
| "ct": "9097297325427080773937456895", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3532, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**14 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "db7da38cc4aac5e8c8", |
| "msg": "4789408751248400000000000001", |
| "ct": "9005478841327378277153738716", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3533, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "db7da38cc4aac5e8c8", |
| "msg": "7713246600720270368744177664", |
| "ct": "5672204593507317111827368458", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3534, |
| "comment": "y is maximal after modular reduction and a is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "8986695b82fe2b63aa1cf703a13b9327a2a8fe76d7e847fcc2fc5e926eb548c5", |
| "tweak": "db7da38cc4aac5e8c8", |
| "msg": "1555956914195899999999999999", |
| "ct": "8460689161693522639044158707", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3535, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ed3e9975a3a47849fa07b01b86f0e97cd8e1d0d598d42c3dc97c54d1533c5c0c", |
| "tweak": "b13204960f43ff7e", |
| "msg": "r048936163381905734666594656", |
| "ct": "8725012136693624205965666575", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3536, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ed3e9975a3a47849fa07b01b86f0e97cd8e1d0d598d42c3dc97c54d1533c5c0c", |
| "tweak": "b13204960f43ff7e", |
| "msg": "304893616=381905734666594656", |
| "ct": "1654381106962122954254614318", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3537, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "ed3e9975a3a47849fa07b01b86f0e97cd8e1d0d598d42c3dc97c54d1533c5c0c", |
| "tweak": "b13204960f43ff7e", |
| "msg": "304893616338190573466659465;", |
| "ct": "5405584295123598747988483553", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3538, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0ae64c6bc4bc75b12ccccc4f0b0dcad10b1292d6fc4cc1a6d9aea6d0f2854e9a", |
| "tweak": "d8180cdbc016f044", |
| "msg": ":208423467944070719230420546", |
| "ct": "0663487545113915438153420357", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3539, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0ae64c6bc4bc75b12ccccc4f0b0dcad10b1292d6fc4cc1a6d9aea6d0f2854e9a", |
| "tweak": "d8180cdbc016f044", |
| "msg": "120842346:944070719230420546", |
| "ct": "9119133587055890019814255082", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3540, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "0ae64c6bc4bc75b12ccccc4f0b0dcad10b1292d6fc4cc1a6d9aea6d0f2854e9a", |
| "tweak": "d8180cdbc016f044", |
| "msg": "120842346794407071923042054:", |
| "ct": "2836363672569991676316333421", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 29, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3541, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "289b50c9fef3028eebb6d8121536042e818bcf1ce7829d123daf3704c95a803d", |
| "tweak": "6fc54bb5ade03038", |
| "msg": "26944745502785880035112819235", |
| "ct": "54272429905438241614341398301", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3542, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "00000000000000000000000000000", |
| "ct": "59779895937822448211960347169", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3543, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "99999999999999999999999999999", |
| "ct": "97391701884684987058075231934", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3544, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "70368744177664562949953421312", |
| "ct": "44146647157926194534403258024", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3545, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "70368744177663562949953421311", |
| "ct": "11884486889160496278475476520", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3546, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "52194027815250802551688272765", |
| "ct": "11800594745659695067597175398", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3547, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "71599932327174526936684737644", |
| "ct": "12372615006853819061538900229", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3548, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "72375645165966268585030126189", |
| "ct": "83811491029825103001898318901", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3549, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "00719010245238063979059433774", |
| "ct": "83578618356982490002304698779", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3550, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "75620313902007539923461430251", |
| "ct": "09633675348805641216120290812", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3551, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "90049309281824347295634061376", |
| "ct": "07954060406610691665121644548", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3552, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "33272471635055231725681015370", |
| "ct": "21289171331864404303407744203", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3553, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "80978045920565110133517910681", |
| "ct": "75691691737438361889440696577", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3554, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "15550575668111275785883720053", |
| "ct": "00000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3555, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "97862508017251139899927159067", |
| "ct": "99999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3556, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "47265271297500703507188611547", |
| "ct": "70368744177664562949953421312", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3557, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "f7f4583ae76e9492ee48a89ec6065bce3344a1f3dca365494c4aa784c21dab87", |
| "tweak": "58c8f94626a8add3", |
| "msg": "10604873062094812442379851139", |
| "ct": "70368744177663562949953421311", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3558, |
| "comment": "y = 0 and (y + a) % radix**14 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "538f2e03818771d1", |
| "msg": "77806207796718027323868501750", |
| "ct": "81692219070754850614723349140", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3559, |
| "comment": "y = 0 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "538f2e03818771d1", |
| "msg": "57633436387981679742724178092", |
| "ct": "67825950633324668141473058646", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3560, |
| "comment": "y = 0 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "538f2e03818771d1", |
| "msg": "00065098647503138305187346374", |
| "ct": "96235313617138581507204911363", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3561, |
| "comment": "y = 0 and (y + a) % radix**14 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "538f2e03818771d1", |
| "msg": "26097443336208926117622622002", |
| "ct": "70210956045084114671546990041", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3562, |
| "comment": "y = 1 and a = 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "373a0c23176017ce", |
| "msg": "00000000000000612727712280379", |
| "ct": "18102370990898505643016791644", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3563, |
| "comment": "y = 1 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "373a0c23176017ce", |
| "msg": "00000000000001612727712280379", |
| "ct": "67736984678279940682396619448", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3564, |
| "comment": "y = 1 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "373a0c23176017ce", |
| "msg": "70368744177664612727712280379", |
| "ct": "56905342046519207270791480182", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3565, |
| "comment": "y = 1 and (y + a) % radix**14 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "373a0c23176017ce", |
| "msg": "99999999999998612727712280379", |
| "ct": "43948746563889353609351052740", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3566, |
| "comment": "y = 1 and (y + a) % radix**14 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "373a0c23176017ce", |
| "msg": "99999999999999612727712280379", |
| "ct": "64053990382733198055480321483", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3567, |
| "comment": "y is edge case for modular reduction and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "7197f404e4882b0e", |
| "msg": "50890147832952021078390876996", |
| "ct": "00512820775277093890023067422", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3568, |
| "comment": "y is edge case for modular reduction and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "7197f404e4882b0e", |
| "msg": "74141164274996006459158003819", |
| "ct": "75938404032364708016569063112", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3569, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "7197f404e4882b0e", |
| "msg": "71079516887634822776961282664", |
| "ct": "65334126530867310580634860627", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3570, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**14 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "7197f404e4882b0e", |
| "msg": "37449091063932041242219807648", |
| "ct": "88666051940736702682119816428", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3571, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "7197f404e4882b0e", |
| "msg": "56901147010455820174688407476", |
| "ct": "40487241612720467782001904702", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3572, |
| "comment": "y is edge case for modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "3352710a6cc9ad023369cb8e3f1966878e7fc732f5f0384637bf57283c4117cf", |
| "tweak": "7197f404e4882b0e", |
| "msg": "51234466957236542641839445837", |
| "ct": "64410215484147456475397294962", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3573, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cf89ffe324a05bde06bc7914ae473f821e5c77fc9e0aa23648683c9575f18632", |
| "tweak": "a002a1a91f317bdd", |
| "msg": "b7680330566465097740767310999", |
| "ct": "53379814793387912629595328746", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3574, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cf89ffe324a05bde06bc7914ae473f821e5c77fc9e0aa23648683c9575f18632", |
| "tweak": "a002a1a91f317bdd", |
| "msg": "876803305n6465097740767310999", |
| "ct": "47378947423667695217739924050", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3575, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cf89ffe324a05bde06bc7914ae473f821e5c77fc9e0aa23648683c9575f18632", |
| "tweak": "a002a1a91f317bdd", |
| "msg": "8768033056646509774076731099t", |
| "ct": "52170279184543468479781545205", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3576, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d1833508e592af2a254a091efc9c880bcec6d8d9751af7cbb81815824ff2e5b2", |
| "tweak": "a622f6838e4ba9a1", |
| "msg": ":8109684152061145483028023640", |
| "ct": "68205649409989303215531477500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3577, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d1833508e592af2a254a091efc9c880bcec6d8d9751af7cbb81815824ff2e5b2", |
| "tweak": "a622f6838e4ba9a1", |
| "msg": "481096841:2061145483028023640", |
| "ct": "45406729967621008856441683818", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3578, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "d1833508e592af2a254a091efc9c880bcec6d8d9751af7cbb81815824ff2e5b2", |
| "tweak": "a622f6838e4ba9a1", |
| "msg": "4810968415206114548302802364:", |
| "ct": "00522499766781443434204036066", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 30, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3579, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "73fb9509d5105cc23dc27665da2603ae368bb7472ee6faba1f50369cd283944e", |
| "tweak": "5cbf2c8926102868", |
| "msg": "540345240490294042757912086090", |
| "ct": "773160426045347532225520555389", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3580, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "000000000000000000000000000000", |
| "ct": "169242059577638522493388616110", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3581, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "999999999999999999999999999999", |
| "ct": "082482042883199406873089090451", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3582, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "562949953421312562949953421312", |
| "ct": "939650276018871947797861828225", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3583, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "562949953421311562949953421311", |
| "ct": "200312590364316542077943721351", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3584, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "937052011977309978648622532518", |
| "ct": "155958399715649681187555842817", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3585, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "361315413731827982263458415566", |
| "ct": "440907484937023335865047314953", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3586, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "000475897322394816322390770711", |
| "ct": "011939768584396445106109800188", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3587, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "441459680790155649106812963229", |
| "ct": "270640153331800926312981341383", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3588, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "424556204348440619994166809273", |
| "ct": "099927285207167427682480181448", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3589, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "477729411061769659623428683860", |
| "ct": "658419241295349987949443261409", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3590, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "245919073677446053130526306866", |
| "ct": "901320405755402314422057296010", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3591, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "125367646676692770975061957506", |
| "ct": "196102024716835885280052138317", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3592, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "381425415700380608867083000199", |
| "ct": "000000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3593, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "083494723639662159592724841640", |
| "ct": "999999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3594, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "161194289084494625614844327869", |
| "ct": "562949953421312562949953421312", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3595, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "1321796287e5dbb4223874432a1e9f50c5e0b753b0166b0d05ef292de370cc94", |
| "tweak": "9d223bc842da12e8", |
| "msg": "339634891324086507493061827423", |
| "ct": "562949953421311562949953421311", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3596, |
| "comment": "y = 0 and (y + a) % radix**15 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "7a95ea1b8b0efca7", |
| "msg": "638224554550071887951840126355", |
| "ct": "142147062980097326973491287614", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3597, |
| "comment": "y = 0 and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "7a95ea1b8b0efca7", |
| "msg": "093958844320441185373813929670", |
| "ct": "896738378075140473905382271853", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3598, |
| "comment": "y = 0 and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "7a95ea1b8b0efca7", |
| "msg": "235394013641063520878554262161", |
| "ct": "276866124338035889566944854742", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3599, |
| "comment": "y = 0 and (y + a) % radix**15 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "7a95ea1b8b0efca7", |
| "msg": "893401942491445306140217108248", |
| "ct": "774093245136852083574862392191", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3600, |
| "comment": "y = 1 and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "1bdce9ab0ae7c285", |
| "msg": "931219290634360224672118856956", |
| "ct": "236800532346136070915430102301", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3601, |
| "comment": "y = 1 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "1bdce9ab0ae7c285", |
| "msg": "335399898737390217662268310313", |
| "ct": "091221914821276392012737270562", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3602, |
| "comment": "y = 1 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "1bdce9ab0ae7c285", |
| "msg": "403789944170407995463858576942", |
| "ct": "706792017664514643959872970961", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3603, |
| "comment": "y = 1 and (y + a) % radix**15 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "1bdce9ab0ae7c285", |
| "msg": "943899081735544189726980122527", |
| "ct": "781924019457587896503208904646", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3604, |
| "comment": "y = 1 and (y + a) % radix**15 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "1bdce9ab0ae7c285", |
| "msg": "433929268209767821661173514202", |
| "ct": "868003519184137583812787676620", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3605, |
| "comment": "y is maximal and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "92d2606079b6a017", |
| "msg": "193593476743740431424949192559", |
| "ct": "034519358254282910209938146686", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3606, |
| "comment": "y is maximal and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "92d2606079b6a017", |
| "msg": "353352005614587051202862737455", |
| "ct": "205474959578259568691512200609", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3607, |
| "comment": "y is maximal and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "92d2606079b6a017", |
| "msg": "776222666496845916070511637281", |
| "ct": "688371497575628798168303753582", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3608, |
| "comment": "y is maximal and (y + a) % radix**15 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "92d2606079b6a017", |
| "msg": "966425719428598355286222444846", |
| "ct": "595212809444760153783932133082", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3609, |
| "comment": "y is maximal and (y + a) % radix**15 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "92d2606079b6a017", |
| "msg": "869070641684407755154267483149", |
| "ct": "207991276372836515268135864534", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3610, |
| "comment": "y is maximal and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "92d2606079b6a017", |
| "msg": "706774942194328928010312703146", |
| "ct": "304945601649535962424554065547", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3611, |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "5731ec4133cb6fca", |
| "msg": "011556724240758623323535515569", |
| "ct": "323549171344491901687681368497", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3612, |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "5731ec4133cb6fca", |
| "msg": "396719882559058819813675167823", |
| "ct": "472096812030081076176742867479", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3613, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "5731ec4133cb6fca", |
| "msg": "072331824760561885114933710350", |
| "ct": "296355843918703839379178592095", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3614, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "5731ec4133cb6fca", |
| "msg": "405578763404967322664620051366", |
| "ct": "502426135974132232571931276186", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3615, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "5731ec4133cb6fca", |
| "msg": "397008482895403631382181364464", |
| "ct": "810335068431850021174496917821", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3616, |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "d674344fbeffa2b24fade189d03282a6930869b67947dcf0add13675681bab8c", |
| "tweak": "5731ec4133cb6fca", |
| "msg": "224433695261543908807665679453", |
| "ct": "807116785713514692734644485786", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3617, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2636627e1c78dfb92c27842710f80d2d5ca9d94f8f2779d30bba090c3d15a7bd", |
| "tweak": "ba34c35d64cc88f4", |
| "msg": "w85201994151791839070329349035", |
| "ct": "833713637298424951620416450719", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3618, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2636627e1c78dfb92c27842710f80d2d5ca9d94f8f2779d30bba090c3d15a7bd", |
| "tweak": "ba34c35d64cc88f4", |
| "msg": "2852019941\\1791839070329349035", |
| "ct": "574829507069256836100863672787", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3619, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2636627e1c78dfb92c27842710f80d2d5ca9d94f8f2779d30bba090c3d15a7bd", |
| "tweak": "ba34c35d64cc88f4", |
| "msg": "28520199415179183907032934903i", |
| "ct": "106135905617728134169823632301", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3620, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "52f11b73d4d288edfe4c5057533b704f8bdbce11cecd24fcb44403d09c601fe3", |
| "tweak": "32afe9b281d3ea64", |
| "msg": ":40631773974855333218699829635", |
| "ct": "148238354205654590245010187979", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3621, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "52f11b73d4d288edfe4c5057533b704f8bdbce11cecd24fcb44403d09c601fe3", |
| "tweak": "32afe9b281d3ea64", |
| "msg": "4406317739:4855333218699829635", |
| "ct": "760913653103222245085401036683", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3622, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "52f11b73d4d288edfe4c5057533b704f8bdbce11cecd24fcb44403d09c601fe3", |
| "tweak": "32afe9b281d3ea64", |
| "msg": "44063177397485533321869982963:", |
| "ct": "716353231691392699378574853841", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 31, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3623, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "c469e6908749a713e6ef407c557cea98515c3e931222e22d13b85ea1f6071231", |
| "tweak": "47b8d0890cbc7d4d", |
| "msg": "3922056574154230394615048876015", |
| "ct": "3166340066513295089378591413484", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3624, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "0000000000000000000000000000000", |
| "ct": "9625860829112073307040345217590", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3625, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "9999999999999999999999999999999", |
| "ct": "8673440629105129187012476181240", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3626, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "5629499534213129007199254740992", |
| "ct": "9738491603761817735149081703387", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3627, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "5629499534213119007199254740991", |
| "ct": "7212336335931908481325217535368", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3628, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "5999905053779375468272075448654", |
| "ct": "7505779058474587350911548383931", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3629, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "4642351106434552394131848415424", |
| "ct": "2965471759647087977093663655554", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3630, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "1419912019633093403384680436390", |
| "ct": "6388183539966420773826172758349", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3631, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "3147956871792246339710794092966", |
| "ct": "1507524086194939975883918933409", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3632, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "2581539108121261900524427206079", |
| "ct": "3715491697934241977201438318991", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3633, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "8578505521432059765605972910039", |
| "ct": "0016321671905329351984993891183", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3634, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "9194850243740055361760247907865", |
| "ct": "3932371316323219986185209201744", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3635, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "5804356147226546396379861362194", |
| "ct": "2279391892597844756480229457954", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3636, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "3167562862416433312496245776932", |
| "ct": "0000000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3637, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "0558342594769018547673062986281", |
| "ct": "9999999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3638, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "4288611143902705110121908327149", |
| "ct": "5629499534213129007199254740992", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3639, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "9f9ea789c984859ad32e39f65f623c1f4db5f35a86f26fbaa8b18d3431c3d78a", |
| "tweak": "529e8848ec296604", |
| "msg": "8480639280573956282615872597683", |
| "ct": "5629499534213119007199254740991", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3640, |
| "comment": "y = 0 and (y + a) % radix**15 == 0 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "cd3a541faed009b5", |
| "msg": "0000000000000000561981593609343", |
| "ct": "4753189284802135708969835577122", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3641, |
| "comment": "y = 0 and a = 1 in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "cd3a541faed009b5", |
| "msg": "0000000000000010561981593609343", |
| "ct": "9091940700193985610961455014419", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3642, |
| "comment": "y = 0 and a has large Hamming weight in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "cd3a541faed009b5", |
| "msg": "5629499534213120561981593609343", |
| "ct": "3942304014843553013212392751783", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3643, |
| "comment": "y = 0 and (y + a) % radix**15 is maximal in round 0", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "cd3a541faed009b5", |
| "msg": "9999999999999990561981593609343", |
| "ct": "2081064196731732811923719325983", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3644, |
| "comment": "y = 1 and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "c32a2f94613aed13", |
| "msg": "4957819217322027161116099387598", |
| "ct": "9245675030464100258813085436505", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3645, |
| "comment": "y = 1 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "c32a2f94613aed13", |
| "msg": "4851740519006990173640738317695", |
| "ct": "7527602107164983690648212823579", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3646, |
| "comment": "y = 1 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "c32a2f94613aed13", |
| "msg": "4771572630450986891610793257148", |
| "ct": "4067467120622820042026326246891", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3647, |
| "comment": "y = 1 and (y + a) % radix**15 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "c32a2f94613aed13", |
| "msg": "6746662143099050801431537377313", |
| "ct": "4655232735999713087121493981980", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3648, |
| "comment": "y = 1 and (y + a) % radix**15 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "c32a2f94613aed13", |
| "msg": "6326305419621710114407751103343", |
| "ct": "0233942799888992729120474149856", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3649, |
| "comment": "y is maximal and a = 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "0294aed5c96123a4", |
| "msg": "7096089759640681005409920963387", |
| "ct": "3375935439503352159747348467992", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3650, |
| "comment": "y is maximal and a = 1 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "0294aed5c96123a4", |
| "msg": "1423066714272812460916589818521", |
| "ct": "3375935439503368191590463677297", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3651, |
| "comment": "y is maximal and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "0294aed5c96123a4", |
| "msg": "6360504823911615066510785777333", |
| "ct": "9005434973716478963191735731670", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3652, |
| "comment": "y is maximal and (y + a) % radix**15 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "0294aed5c96123a4", |
| "msg": "8407086254196764056278063410241", |
| "ct": "9999999999999997666924207390293", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3653, |
| "comment": "y is maximal and (y + a) % radix**15 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "0294aed5c96123a4", |
| "msg": "4772236198656567556324550400502", |
| "ct": "0000000000000005448872327613326", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3654, |
| "comment": "y is maximal and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "0294aed5c96123a4", |
| "msg": "3006493664379700940087084132303", |
| "ct": "3375935439503340616142741182059", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3655, |
| "comment": "y is edge case for modular reduction and a = 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "fd9f70166e200f13", |
| "msg": "0160398140504499381713317359915", |
| "ct": "4810931850214521169533026197131", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3656, |
| "comment": "y is edge case for modular reduction and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "fd9f70166e200f13", |
| "msg": "5042022000339742443099697169659", |
| "ct": "0571935291619807059873691519069", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3657, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "fd9f70166e200f13", |
| "msg": "3912946270173729971298696170577", |
| "ct": "9798229987538812621176413518843", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3658, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**15 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "fd9f70166e200f13", |
| "msg": "6417313373707246299282323072091", |
| "ct": "9008508019964692311324245322216", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3659, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**15 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "fd9f70166e200f13", |
| "msg": "8571154680124815576999401096355", |
| "ct": "4837775081981842781396101546314", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3660, |
| "comment": "y is edge case for modular reduction and a is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "fd9f70166e200f13", |
| "msg": "1248748606567780924636814792878", |
| "ct": "2819095505946930720717788308899", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3661, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**16 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "24c7c69a1e18b618", |
| "msg": "2499567909729045408112032643603", |
| "ct": "4311011082894099981632630292617", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3662, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**16 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "24c7c69a1e18b618", |
| "msg": "3190113119504319318176475640238", |
| "ct": "4480229602136273486697778605390", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3663, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "24c7c69a1e18b618", |
| "msg": "5545792406981638247078677495697", |
| "ct": "9586291314677808357485686664271", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3664, |
| "comment": "y is maximal after modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "b080266d400b7d0184ee6432b028e601301ce670864969a029f541f38f290fff", |
| "tweak": "24c7c69a1e18b618", |
| "msg": "4977318412506733396626201160475", |
| "ct": "5421561204519222209612406699311", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3665, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7330d70f17145b820f8d65741904fe739d6c907df68c7db12bb1f328808a3ba5", |
| "tweak": "82d8b9e68151ec61", |
| "msg": "h741878313859179439363447099990", |
| "ct": "7757378901688052120802796968865", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3666, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7330d70f17145b820f8d65741904fe739d6c907df68c7db12bb1f328808a3ba5", |
| "tweak": "82d8b9e68151ec61", |
| "msg": "2741878313L59179439363447099990", |
| "ct": "0168663224800880168067777292311", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3667, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "7330d70f17145b820f8d65741904fe739d6c907df68c7db12bb1f328808a3ba5", |
| "tweak": "82d8b9e68151ec61", |
| "msg": "274187831385917943936344709999r", |
| "ct": "9989967480601903892642823540687", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3668, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1ecc96dc273ee19959acb311b6a97b8e4db13a3455d2d6a1710c2426184ea1d0", |
| "tweak": "237fbb9ee5788b42", |
| "msg": ":598469905680169740526443368935", |
| "ct": "0519313017422377580108737925005", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3669, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1ecc96dc273ee19959acb311b6a97b8e4db13a3455d2d6a1710c2426184ea1d0", |
| "tweak": "237fbb9ee5788b42", |
| "msg": "8598469905:80169740526443368935", |
| "ct": "1822281157147739204589086301028", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3670, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "1ecc96dc273ee19959acb311b6a97b8e4db13a3455d2d6a1710c2426184ea1d0", |
| "tweak": "237fbb9ee5788b42", |
| "msg": "859846990568016974052644336893:", |
| "ct": "2440970724313161294294828294571", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 32, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3671, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "233e4fdee70bcc20235b6977ddfc05b0df66f5635d827c66e5a63cdb16a24938", |
| "tweak": "1b6819798da15c7a", |
| "msg": "74645372076071792707946670321257", |
| "ct": "07917623846295060506874874694837", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3672, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "00000000000000000000000000000000", |
| "ct": "47344027047330783352362202683137", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3673, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "99999999999999999999999999999999", |
| "ct": "37748584879970055464439164842298", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3674, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "90071992547409929007199254740992", |
| "ct": "98612091625694924527713160786416", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3675, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "90071992547409919007199254740991", |
| "ct": "91361553152997213826701968807848", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3676, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "94411965167655086784893883317954", |
| "ct": "88050758004849699669921418693561", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3677, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "64908812822937916055518799435446", |
| "ct": "53298128506192573902358775165091", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3678, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "43291235966467472983611546218693", |
| "ct": "10342944668606615020877472177831", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3679, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "39610859591199610501079287602415", |
| "ct": "31665863961416902957174379657616", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3680, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "41742522342378970681554055623700", |
| "ct": "04344739622006499083874616554537", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3681, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "68797809198240080228565666552067", |
| "ct": "91426953727237283274039110602951", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3682, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "56618608886185508108454948299867", |
| "ct": "41647152637949933815694426245072", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3683, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "97030750410121573272767627366178", |
| "ct": "78945698666011010216887994029633", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3684, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "24335488030693556272965232760105", |
| "ct": "00000000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3685, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "04385976039299958580953144985290", |
| "ct": "99999999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3686, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "69992662490511630046622577654369", |
| "ct": "90071992547409929007199254740992", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3687, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "c03eecf9c994fcc5bd7b5f11575a2e614c02b12a346331d68b21d6a2f67c5259", |
| "tweak": "4279bdd729d2a73f", |
| "msg": "05950321798840345201628683196984", |
| "ct": "90071992547409919007199254740991", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3688, |
| "comment": "y = 0 and (y + a) % radix**16 == 0 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "53e141bd42756e66", |
| "msg": "50354178496816181376839570410586", |
| "ct": "63611345092689957655693208789008", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3689, |
| "comment": "y = 0 and a = 1 in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "53e141bd42756e66", |
| "msg": "43350623183689138664417766299535", |
| "ct": "80704994150456369696054484804262", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3690, |
| "comment": "y = 0 and a has large Hamming weight in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "53e141bd42756e66", |
| "msg": "76996294279167212425142296034492", |
| "ct": "11223229706330160123638657578018", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3691, |
| "comment": "y = 0 and (y + a) % radix**16 is maximal in round 6", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "53e141bd42756e66", |
| "msg": "20019984265305673404806278888454", |
| "ct": "21639992339781892986887724607366", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3692, |
| "comment": "y = 1 and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "c504eb6384c165f8", |
| "msg": "20359784410978909105184132911168", |
| "ct": "49591894306977020692880118730581", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3693, |
| "comment": "y = 1 and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "c504eb6384c165f8", |
| "msg": "75373279555733416598126360471372", |
| "ct": "64396812380289369022172087314956", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3694, |
| "comment": "y = 1 and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "c504eb6384c165f8", |
| "msg": "66744584914107217697818524433852", |
| "ct": "10605901157835785509086865556614", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3695, |
| "comment": "y = 1 and (y + a) % radix**16 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "c504eb6384c165f8", |
| "msg": "06310225720452428161724240103625", |
| "ct": "50615513195104153168502094516786", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3696, |
| "comment": "y = 1 and (y + a) % radix**16 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "c504eb6384c165f8", |
| "msg": "56784368845475198755140146080092", |
| "ct": "11882610371514946626691597498245", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3697, |
| "comment": "y is maximal and a = 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "a5a21b2631bcfaf6", |
| "msg": "72408261619460564572681466102728", |
| "ct": "94566521580858268513036131790365", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3698, |
| "comment": "y is maximal and a = 1 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "a5a21b2631bcfaf6", |
| "msg": "25005710119700376091326330748753", |
| "ct": "19693541111059313330986606838331", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3699, |
| "comment": "y is maximal and (y + a) % radix**16 is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "a5a21b2631bcfaf6", |
| "msg": "14407303320183085426296822379416", |
| "ct": "69254281846908807844296716631569", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3700, |
| "comment": "y is maximal and (y + a) % radix**16 == 0 in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "a5a21b2631bcfaf6", |
| "msg": "32818378316978963085554721769794", |
| "ct": "04452341199108660191208165766667", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3701, |
| "comment": "y is maximal and a has large Hamming weight in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "a5a21b2631bcfaf6", |
| "msg": "85304585181747122872122732971695", |
| "ct": "84344845884404059387493462959725", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3702, |
| "comment": "y is maximal and a is maximal in round 5", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "a5a21b2631bcfaf6", |
| "msg": "33554882361471740940907395084226", |
| "ct": "28142147274611542847807435632640", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3703, |
| "comment": "y is edge case for modular reduction and a = 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "e78b00b7743c7017", |
| "msg": "98967317817629615809936084573305", |
| "ct": "59400537478935692876561153872738", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3704, |
| "comment": "y is edge case for modular reduction and a = 1 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "e78b00b7743c7017", |
| "msg": "03881191020728004625511681541690", |
| "ct": "64363822881559468239434019509169", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3705, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**16 is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "e78b00b7743c7017", |
| "msg": "65199871819193915068570020408109", |
| "ct": "05066431346058650027351262165240", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3706, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**16 == 0 in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "e78b00b7743c7017", |
| "msg": "82519433797530816150904353259282", |
| "ct": "98926488866791649191872103866684", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3707, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "e78b00b7743c7017", |
| "msg": "39592521010024980549784192771134", |
| "ct": "29962756181524847782355013043275", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3708, |
| "comment": "y is edge case for modular reduction and a is maximal in round 2", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "e78b00b7743c7017", |
| "msg": "02703677159225762366934993021419", |
| "ct": "28804573630802844076329960227339", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3709, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**16 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "cbd2c7349ac209b8", |
| "msg": "55612038148316392312151394296337", |
| "ct": "78283826951664891120744705116963", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3710, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**16 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "cbd2c7349ac209b8", |
| "msg": "27274123473048800456380866874012", |
| "ct": "43677790033974761941544896257275", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3711, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "cbd2c7349ac209b8", |
| "msg": "14226798017734542910302693751391", |
| "ct": "85213789457688150761095041640150", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3712, |
| "comment": "y is maximal after modular reduction and a is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "9800245948b6acdf7a7ed7afe6b0bb5ada7f8d389d9175695ea6b8d3813bba1c", |
| "tweak": "cbd2c7349ac209b8", |
| "msg": "44211783117137737801200060722928", |
| "ct": "71691785910421953894832277520204", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3713, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9358b34bc2b65d91c6f43c5006a3adb73cdb238ed7c073e1d51890ee9e4850fe", |
| "tweak": "a84fcd0ad195f474", |
| "msg": "R2744247569996892019263458002332", |
| "ct": "74883693384551855067820218344721", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3714, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9358b34bc2b65d91c6f43c5006a3adb73cdb238ed7c073e1d51890ee9e4850fe", |
| "tweak": "a84fcd0ad195f474", |
| "msg": "3274424756|996892019263458002332", |
| "ct": "11303085241451119928280651504505", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3715, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "9358b34bc2b65d91c6f43c5006a3adb73cdb238ed7c073e1d51890ee9e4850fe", |
| "tweak": "a84fcd0ad195f474", |
| "msg": "3274424756999689201926345800233/", |
| "ct": "51552185571304933030725752408356", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3716, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f1d5df1759754500bd01e2383d264598a1c8db3c98fc43c9a6d9d65499db2644", |
| "tweak": "1cc5453f28047a24", |
| "msg": ":5841822886148699793337826756123", |
| "ct": "29467330568980452667662245111901", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3717, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f1d5df1759754500bd01e2383d264598a1c8db3c98fc43c9a6d9d65499db2644", |
| "tweak": "1cc5453f28047a24", |
| "msg": "1584182288:148699793337826756123", |
| "ct": "08024889171005521453937360564884", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3718, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f1d5df1759754500bd01e2383d264598a1c8db3c98fc43c9a6d9d65499db2644", |
| "tweak": "1cc5453f28047a24", |
| "msg": "1584182288614869979333782675612:", |
| "ct": "03557962189767179088663073364821", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 33, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3719, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "ff5595a976430f9c424459d7206cfa55562f5f2328f12e31232499fb1e7c49b4", |
| "tweak": "2d1ad468fddd0754", |
| "msg": "522455252039134412914593274076210", |
| "ct": "008364994042469801228082219897817", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3720, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "000000000000000000000000000000000", |
| "ct": "752479158095871152830457626432952", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3721, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "999999999999999999999999999999999", |
| "ct": "912329990402535466336287788250715", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3722, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "900719925474099272057594037927936", |
| "ct": "570341683050959307086835717487221", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3723, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "900719925474099172057594037927935", |
| "ct": "907200961507293490639744585311439", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3724, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "681123077325130610833053548076413", |
| "ct": "496031632609045399978531001143748", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3725, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "533965994324295814137208644714405", |
| "ct": "067596441877620647450032325552194", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3726, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "832126559682189971315578466281225", |
| "ct": "022442755632838928305822099543663", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3727, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "833581945830918168527693771413012", |
| "ct": "990880440790846252768405562775892", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3728, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "971743888558865219959842463250422", |
| "ct": "054334485900606343032192664120245", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3729, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "689856513555759252179934997134859", |
| "ct": "862252404508704055410814391817845", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3730, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "091041039878082294787173884322272", |
| "ct": "723811361039124938065597601042246", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3731, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "326328795405965181798938028770807", |
| "ct": "348989518384195810861398986937207", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3732, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "294100918948129958878149792636354", |
| "ct": "000000000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3733, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "408058096890805669646585264490052", |
| "ct": "999999999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3734, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "562718328821603100736538805713417", |
| "ct": "900719925474099272057594037927936", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3735, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "20af1753ef0576e2a555f5c9ca7200d90f96b495cbff135fe49d637bdaee545c", |
| "tweak": "3af71b0ab841c532", |
| "msg": "324454822463744515397994560062426", |
| "ct": "900719925474099172057594037927935", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3736, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f184465b0904c2d190f7582d0b2dc4c48e97644fd4c0ab3fcfb8fe7083eb85c6", |
| "tweak": "d3ea4319e863cba5", |
| "msg": "|94593063578188452006116747912092", |
| "ct": "622359715314428162798552437678834", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3737, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f184465b0904c2d190f7582d0b2dc4c48e97644fd4c0ab3fcfb8fe7083eb85c6", |
| "tweak": "d3ea4319e863cba5", |
| "msg": "79459306357n188452006116747912092", |
| "ct": "518704273703202159782362202095876", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3738, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "f184465b0904c2d190f7582d0b2dc4c48e97644fd4c0ab3fcfb8fe7083eb85c6", |
| "tweak": "d3ea4319e863cba5", |
| "msg": "79459306357818845200611674791209f", |
| "ct": "826279441138033638600729886493425", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3739, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2dfd6c5c0e728d4e43be57d3949b07b1002e00cfeaa14a297d8bf23e06e55f3e", |
| "tweak": "dcdee8475f69e721", |
| "msg": ":89394378612274132607954373463224", |
| "ct": "683499463064115998977709691973214", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3740, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2dfd6c5c0e728d4e43be57d3949b07b1002e00cfeaa14a297d8bf23e06e55f3e", |
| "tweak": "dcdee8475f69e721", |
| "msg": "28939437861:274132607954373463224", |
| "ct": "137070987625570059116589644275661", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3741, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "2dfd6c5c0e728d4e43be57d3949b07b1002e00cfeaa14a297d8bf23e06e55f3e", |
| "tweak": "dcdee8475f69e721", |
| "msg": "28939437861227413260795437346322:", |
| "ct": "520409230639114512554069294879203", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 38, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3742, |
| "comment": "normal message size", |
| "flags": [ |
| "NormalMessageSize" |
| ], |
| "key": "0e7e9058a2bad0b221380073334245863a3806b40db72f97123830b3cf2049f0", |
| "tweak": "bd44d8a87bbe2d54", |
| "msg": "59294680626934470953184381835553091278", |
| "ct": "15017996047516316859890047639348670621", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3743, |
| "comment": "minimal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "00000000000000000000000000000000000000", |
| "ct": "94853891463748114803854665490635946102", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3744, |
| "comment": "maximal integer values in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "99999999999999999999999999999999999999", |
| "ct": "44697631697863607895089307675954885078", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3745, |
| "comment": "powers of two in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "92233720368547758089223372036854775808", |
| "ct": "28464615246525455988008906711990829670", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3746, |
| "comment": "integers with large hamming weight in plaintext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "92233720368547758079223372036854775807", |
| "ct": "11835181539965997666276553495249229906", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3747, |
| "comment": "minimal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "85472226412083690135616220054502913125", |
| "ct": "12751960206224167438943819709347092967", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3748, |
| "comment": "maximal integer values in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "07800063564296970576481940427194990317", |
| "ct": "77223849699797480528087721448733454162", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3749, |
| "comment": "powers of two in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "24828173346454228753179706643900599547", |
| "ct": "37791270583623453201136118657480529259", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3750, |
| "comment": "integers with large hamming weight in round 5", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "35632804939877836610298821140783683526", |
| "ct": "92164834849095388558264802350503085112", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3751, |
| "comment": "minimal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "33925755989909874819170572854451000632", |
| "ct": "59038954456737031364198361267612453140", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3752, |
| "comment": "maximal integer values in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "82362917000100858524385181389340550977", |
| "ct": "68316998612103169191160342032426306970", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3753, |
| "comment": "powers of two in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "91042238408554445384827734168302369452", |
| "ct": "90658722745555852432688709827521910596", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3754, |
| "comment": "integers with large hamming weight in round 6", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "73420216125887870605539243556549973865", |
| "ct": "68485023052162145139293390502087887723", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3755, |
| "comment": "minimal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "27907867950284183424608226861979616157", |
| "ct": "00000000000000000000000000000000000000", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3756, |
| "comment": "maximal integer values in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "87888403721990154184092581139529218338", |
| "ct": "99999999999999999999999999999999999999", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3757, |
| "comment": "powers of two in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "49273565953238345114269490601471294294", |
| "ct": "92233720368547758089223372036854775808", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3758, |
| "comment": "integers with large hamming weight in ciphertext", |
| "flags": [ |
| "EdgeCaseState" |
| ], |
| "key": "59046cbc1f931b76ae2eb1b8db5e48d8963469cac7dd37869de1dcfdb7a2a4f3", |
| "tweak": "2b5f5388697bea62", |
| "msg": "01196196805165642345372479337133724000", |
| "ct": "92233720368547758079223372036854775807", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3759, |
| "comment": "y = 0 and (y + a) % radix**19 == 0 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "09b61aa6c45654", |
| "msg": "19872442890872926640000000000000000000", |
| "ct": "14177088629387695472914166156218024848", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3760, |
| "comment": "y = 0 and a = 1 in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "09b61aa6c45654", |
| "msg": "03183819802146138010000000000000000001", |
| "ct": "13848140884127724896399716187321838563", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3761, |
| "comment": "y = 0 and a has large Hamming weight in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "09b61aa6c45654", |
| "msg": "31098446615996818659223372036854775808", |
| "ct": "26668830032236220113373464373863873941", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3762, |
| "comment": "y = 0 and (y + a) % radix**19 is maximal in round 1", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "09b61aa6c45654", |
| "msg": "00440985185030560139999999999999999999", |
| "ct": "04089457252778570412901189641690113156", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3763, |
| "comment": "y = 1 and a = 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "2081ac6c58f30c", |
| "msg": "09386019528747658961404598015122570856", |
| "ct": "34820817140682861101781051597278446117", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3764, |
| "comment": "y = 1 and a = 1 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "2081ac6c58f30c", |
| "msg": "20038351655080881331469776694558231685", |
| "ct": "68982060870872771702802841888062558525", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3765, |
| "comment": "y = 1 and a has large Hamming weight in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "2081ac6c58f30c", |
| "msg": "29615212935228379508377116878029650262", |
| "ct": "64493480850775616763586684624938570735", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3766, |
| "comment": "y = 1 and (y + a) % radix**19 is maximal in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "2081ac6c58f30c", |
| "msg": "43342563861613534348488482575429156233", |
| "ct": "88843949085574961074060428283858029004", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3767, |
| "comment": "y = 1 and (y + a) % radix**19 == 0 in round 4", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "2081ac6c58f30c", |
| "msg": "10216841751303133915799305213629212124", |
| "ct": "49361649000167353061311044866735640602", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3768, |
| "comment": "y is maximal and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "88a25ad545d318", |
| "msg": "44759423108783588586428160971304621929", |
| "ct": "25652717800684319348004302691291873167", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3769, |
| "comment": "y is maximal and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "88a25ad545d318", |
| "msg": "93262254258387477802863825550735656132", |
| "ct": "93469280460139415373285364023704714321", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3770, |
| "comment": "y is maximal and (y + a) % radix**19 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "88a25ad545d318", |
| "msg": "37114619156151159553100370670485461405", |
| "ct": "90528471005300858539589991245476771882", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3771, |
| "comment": "y is maximal and (y + a) % radix**19 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "88a25ad545d318", |
| "msg": "12073844904569229301959270776508855620", |
| "ct": "21361711328318460993727263944253927664", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3772, |
| "comment": "y is maximal and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "88a25ad545d318", |
| "msg": "87561803786289072281752965756943327674", |
| "ct": "72522431790509600503140514428149453135", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3773, |
| "comment": "y is maximal and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "88a25ad545d318", |
| "msg": "17560867339405867251699771153836462767", |
| "ct": "44590172540035369884277331194525987393", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3774, |
| "comment": "y is edge case for modular reduction and a = 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "5d89c71f158f3b", |
| "msg": "40038590301538579086175161420543677960", |
| "ct": "10073585264888742300296753869082737436", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3775, |
| "comment": "y is edge case for modular reduction and a = 1 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "5d89c71f158f3b", |
| "msg": "39574197425108459816097520387731417438", |
| "ct": "49278911981975766134569656458640320392", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3776, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**19 is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "5d89c71f158f3b", |
| "msg": "00010105615006344323970895827472246786", |
| "ct": "93901118688094252317475225184518493030", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3777, |
| "comment": "y is edge case for modular reduction and (y + a) % radix**19 == 0 in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "5d89c71f158f3b", |
| "msg": "95704239679082754648629376698908573050", |
| "ct": "53129195574865891306187039468385726160", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3778, |
| "comment": "y is edge case for modular reduction and a has large Hamming weight in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "5d89c71f158f3b", |
| "msg": "00444236556792164013088795770618773014", |
| "ct": "01673725038782389820714704328730949912", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3779, |
| "comment": "y is edge case for modular reduction and a is maximal in round 7", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "5d89c71f158f3b", |
| "msg": "75710650815669809107142170508241444819", |
| "ct": "38527044294279795047585624500490677433", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3780, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**19 is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "079558c30c0e6d", |
| "msg": "78578801552713049145429756096369093406", |
| "ct": "99999999999999999997514090288205732555", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3781, |
| "comment": "y is maximal after modular reduction and (y + a) % radix**19 == 0 in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "079558c30c0e6d", |
| "msg": "62157328564065165145877988253090472000", |
| "ct": "00000000000000000008786647554651800250", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3782, |
| "comment": "y is maximal after modular reduction and a has large Hamming weight in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "079558c30c0e6d", |
| "msg": "89326971099725988310204931253364952183", |
| "ct": "92233720368547758075397816383253040741", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3783, |
| "comment": "y is maximal after modular reduction and a is maximal in round 8", |
| "flags": [ |
| "EdgeCasePrf" |
| ], |
| "key": "81aa9a347e517409c3cfd47815a7f82d0028efaa0cba1e8bc9494e2e3f3cc15e", |
| "tweak": "079558c30c0e6d", |
| "msg": "14940381037737007682089980234845593242", |
| "ct": "99999999999999999980134034111864662907", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3784, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cea7b05d75f415af02a7a40301a6365812cf54de32bfe9d0939ab1873467fc06", |
| "tweak": "cbb6b7c2fad7ab75", |
| "msg": "u5340736129495371976386371862184340447", |
| "ct": "20238901496467176349432433229251875401", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3785, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cea7b05d75f415af02a7a40301a6365812cf54de32bfe9d0939ab1873467fc06", |
| "tweak": "cbb6b7c2fad7ab75", |
| "msg": "453407361294Q5371976386371862184340447", |
| "ct": "52520803645665245007750709616346461879", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3786, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "cea7b05d75f415af02a7a40301a6365812cf54de32bfe9d0939ab1873467fc06", |
| "tweak": "cbb6b7c2fad7ab75", |
| "msg": "4534073612949537197638637186218434044S", |
| "ct": "78698912110654854782292985473847575551", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3787, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "19bdd32a989ba3a7a019bd43ab06880d45278004ff8ed318ba411fd372207f2d", |
| "tweak": "171e4195cbb10c54", |
| "msg": ":1814435656649258854133509895258492181", |
| "ct": "83104540398309031346902373558437315044", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3788, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "19bdd32a989ba3a7a019bd43ab06880d45278004ff8ed318ba411fd372207f2d", |
| "tweak": "171e4195cbb10c54", |
| "msg": "418144356566:9258854133509895258492181", |
| "ct": "50270435954432524020323121151862774312", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 3789, |
| "comment": "plaintext contains invalid values", |
| "flags": [ |
| "InvalidPlaintext" |
| ], |
| "key": "19bdd32a989ba3a7a019bd43ab06880d45278004ff8ed318ba411fd372207f2d", |
| "tweak": "171e4195cbb10c54", |
| "msg": "4181443565664925885413350989525849218:", |
| "ct": "84146091682698993317039448624432026625", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 39, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3790, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "bc6cef918ac6324a4b8d61e094ff570e", |
| "tweak": "c17cf59fe1e5421c", |
| "msg": "434084685362493937215399254941659297817", |
| "ct": "609255895012085665368462972451478327098", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 40, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3791, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "ebac6d5741e58a3af7fd72a5db46b863", |
| "tweak": "fb13dc638ef728e5", |
| "msg": "2643645062865078387242070833643133966955", |
| "ct": "2243495293078164105328382227008232441386", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 56, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3792, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "49fa5f66a6a6b01465a9ea686902373c", |
| "tweak": "2e09acf0e76c6052", |
| "msg": "68715081382091396117130123644446308460285565260506746842", |
| "ct": "39280188902975339832564650635085018868289615980627162802", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 57, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3793, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "7ff4e8134859d13aa7714b41a8db4d0d", |
| "tweak": "f672b6681e003531", |
| "msg": "123632810158805888831004973963973142113037681051837168219", |
| "ct": "095000733598043383528173678779774031092643378454345411773", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 64, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3794, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "908bc4120a20f0043e43376761b2735e", |
| "tweak": "841888c5b9be1c84", |
| "msg": "1012104660848825280211906678453143748407787206305931638893837298", |
| "ct": "8547378552530996367273617925075830357464616193814264095082566584", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 76, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3795, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "fcbca98cf0cd2fc8b2541c75f8d9d9ba", |
| "tweak": "1c96e207c127f405", |
| "msg": "4141500068788879109305237985853933901144801941009555678092513486786396936428", |
| "ct": "1252599358083931372710341750422722136396219018663045313868879866190609035142", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 77, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3796, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "cef55b85029a36c198b754ad02f6cebb", |
| "tweak": "971443cf5484ed74", |
| "msg": "81190297148492577497520137650338471198997751899293265800687390118872283425602", |
| "ct": "22365163949177345924418106602726610751179856120890856134131517430946537179387", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 80, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3797, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "f763833eb5dcad3df492092080b404b6", |
| "tweak": "46dc6b38a24f7002", |
| "msg": "35561060845166739655288986842530293232983349306245419013128457451274389334115619", |
| "ct": "30341941630600474623630066568532777200552124898445555276074297648674719801297075", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 96, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3798, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "012ead3764a8878e6b4c3e803725cc7d", |
| "tweak": "ff611a3af5a46c7d", |
| "msg": "674817018156516541720239747954105184816057713164068663217262803034861357807710129486144569621844", |
| "ct": "683308504114127011463542323461691048712682396992136673830896902181797119044786670628807855827448", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 97, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3799, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "89f429242e41f8e6f207ea6859c46abb", |
| "tweak": "7c07bf420f1b0eaf", |
| "msg": "7833134459000323202400438700261755876304207878936168922618175822465562137411913610156441634073509", |
| "ct": "8010260111152436082164224621852661828742345559816629449043716150940698187034107874677012452907678", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 114, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3800, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "ac0e6baac3ca1179ef4d84329f894f68", |
| "tweak": "39c93fff1e034271", |
| "msg": "546013204823343115890200046269950506995860173834193678400697343456528155419620030115997690220987158943814606448162", |
| "ct": "662041290539341411121430779664294151200138691590342680639250435820667578771906210962169657637088523814791662993880", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 115, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3801, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "e3175e85fcf049f998ed15044c6d9922", |
| "tweak": "fe1dcc2f4f64077c", |
| "msg": "9234420917877834702738374833998432670421804396028693498141944756836483138280747957049243914096889209602982848121849", |
| "ct": "2925978808256732212636518808132230519178461889954781835251873704651515660889046587599863692199679027001778147202601", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 128, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3802, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "6e2c702c4dd6ac18054df9905a2a6d63", |
| "tweak": "245070546cc82a65", |
| "msg": "40812170647929905165706382116726414500190860364971044386104152224621689570586299897445977294237108725105661044677049171637247492", |
| "ct": "41928937701213670718380553705577643238335821344536339772632592471662538622422554559309402204546782642206353490017936434870034875", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 134, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3803, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "2bfae1b5da3f44dd1d0105776986f453", |
| "tweak": "6a7bd1907dbe5e46", |
| "msg": "65517722023674156106915201779332926760637285465975233007039737563591537400430912993595224809631064018888358925222518941587137519099851", |
| "ct": "21220671982120343905779043010616042386837418678380212107052307885113623212456228207532369410483439699173465374026071676849881408286179", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 135, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3804, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "a297fa300dabf1db428ab9f9956a4d85", |
| "tweak": "e2e7f891f3fcca57", |
| "msg": "094655613210639589568900114009111811268153504201555463714761631610397606372773886272274057180552700595087676464007797427376257376004960", |
| "ct": "861183504829767585601061417067247048518029255440647868813774202557856311135045535800375436955901633301848880322166458309385881154659841", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 154, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3805, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "b5d525a9f9a8efef29d16165830a93b4", |
| "tweak": "b854d6365f94c212", |
| "msg": "8144647708867664255301683219329031806708109294029611624173607106408793719114799553695052339584392804515770386570584749494657987439284746151321382072017921", |
| "ct": "8288310498952530110992112742126054311208762623160537428494027018745287517255130485490547276161803317360719548768929419263451888007505057118802452919419369", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 128, |
| "msgSize": 260, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3806, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "39fd85d1a418270e382f927fa7d69afe", |
| "tweak": "3a0bb251adfea53c", |
| "msg": "85419252273370923355260266264709530358376054878749333134183873455415271162406905524476523823998221720809164846115593312135334733390176365523408404452780344397383292995799542238336053505134212122976951208336360457608308114811549915737048124100567489850147106681", |
| "ct": "11301817515875696078616456727314549561366326172231038374996428610263118383821942178113990897687662286020421725532269955174885367436859280494025615720111127891872080626908091159216796765132510257422943436221682460219845261545347160909863011135298606556884016192", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 39, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3807, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "f41a007fe8c306f6bf580b158a5b4c87c6f460e843f8d372", |
| "tweak": "722e8d6d7b738fef", |
| "msg": "261592736967901898274268187360069193128", |
| "ct": "824411998597707394952356613693369059867", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 40, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3808, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "874c932451575931e99c482805c40441d978af9c68bd82af", |
| "tweak": "f4a660ef48089bb0", |
| "msg": "6060579477545208034314610823957395844395", |
| "ct": "0076411024823628013890229279117674921364", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 56, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3809, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "0572d97ae39741fc4da7498957bc51f5e8e06c02905f7b32", |
| "tweak": "a597fae6908782d6", |
| "msg": "04086767777254958230317802003354989310003556874124357702", |
| "ct": "76986170001084567831073078404821719558774500202546581186", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 57, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3810, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "5f26e54c6dd482962e1a205c228ce26379c94e5a3869cb23", |
| "tweak": "19ae3b6eb4085f45", |
| "msg": "946272553796940542761563158603159658242243343112151622448", |
| "ct": "116550089697934993107299757253222271351860002890075135905", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 64, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3811, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "e4c130f163d45035558190d51f439765679a202370a0ce7f", |
| "tweak": "d99a093ac4bd3488", |
| "msg": "9744806865660794449203478522192375434455876482333851699866335530", |
| "ct": "0287356288523752558946819541256737418881601157900719316262297814", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 76, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3812, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "37d5915b991fae86548b46195e67d21731676c0911847323", |
| "tweak": "a3e2a76f8910e260", |
| "msg": "6167886667416782806246530986105958006129330714748154854946347965799030097784", |
| "ct": "2053574721308931173580151209845827781876012051633234705332740985944078027731", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 77, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3813, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "2181414823dbab9a36cd2a2db85f154cb96e6a6d984d40f0", |
| "tweak": "486039b8041a6987", |
| "msg": "75732206454224335640792862121768060413955833158727268819839878921515859936076", |
| "ct": "97514029019357604163274844619925912861590312743699967688766675488823101807591", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 80, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3814, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "c3290a053478ca018533e702e2d0bf805933488260457c79", |
| "tweak": "c814a8fb2641f8ef", |
| "msg": "07576901785151790296762320061050598943454131174788116491875824649498322331865646", |
| "ct": "30689811773364532101123236171806607237810623798582470016585153565035302853930184", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 96, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3815, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "1fb3e00f0941b7d4669efd59238976850efe2dd40e1de4a7", |
| "tweak": "0c69258434f811b0", |
| "msg": "404359645939053827935007271938681698705652954968608157646691064871437475903632708404858054643047", |
| "ct": "234515258365960902817437980388459788138989190353252797850937036714356343843819170489701669593778", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 97, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3816, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "b905157d17f4a51aee1b95d2fc92a54d4480c56eb5335109", |
| "tweak": "d5895d0c83fb093c", |
| "msg": "1894095818788381850209490762420659182285317685997740775552995181832043814682702200656923054864916", |
| "ct": "3307968811683507022510394995632430747372537898030409388628618857409201819784876780320279196906899", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 114, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3817, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "956195f8c2af40e69746b9f54c85f475914c8e74689b12c0", |
| "tweak": "6a75ab61e7bcfc41", |
| "msg": "437729126640952475134943711113608410592781620074611415574712434959762872761219093154389618939374021784210677862306", |
| "ct": "970930269373751596543604592632482017094714718346856143848732625083904936986220177079940831995566483133826290734959", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 115, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3818, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "b4c8281841504f801cafad5cf90661b82a7e3049f1640f30", |
| "tweak": "91258de8ce5ade5b", |
| "msg": "2467785981992108608228490351021175436643114466553142287880205458562834598880859683368381440516096619204775450240053", |
| "ct": "9765131611717000323547808782848905985766520330744752588453706591228580097710533387704114450127092126992611283702906", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 128, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3819, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "f38798eb8567d4a7f70c50782361b5a6261d07e43c8b54ca", |
| "tweak": "36c24b7c62ee3538", |
| "msg": "25479612952442279618714926986830395429278607039245100842497210856889754803830369249902358285604568489299812890295735809391765134", |
| "ct": "65919801916727393440165473435106791719255528942796447895362709543928347276568555623508419369450390352024460871054743825101581957", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 134, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3820, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "a41f14a62be9272561fd14a86d3abcf6c996081040e461b9", |
| "tweak": "9b53ef727857264f", |
| "msg": "68615542417879455317230171261368860170386776308463842333901008872445399179786051707474397671891528382857685865079072936407721020577630", |
| "ct": "38488465354059837269690387821487784719211888714893373300287116860660800415499377144429516575008408400091820119702692519638995174549976", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 135, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3821, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "b7c9811f791616524202e1be584ceeb9b4ad129ab6c385f4", |
| "tweak": "43bb3204c3bbdbda", |
| "msg": "106454525803479564558351079981978755605113354044920344571508854113229202936277492044245477470188575540381344038826050320703597156659278", |
| "ct": "396539042847242677494782505830141798899203821081540773190352547372388376941171471920213550003095082395708284609470178602409771150394061", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 154, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3822, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "d5f9b71b219814ff56dde95dfa6a03b28926dfe5721b6e39", |
| "tweak": "09047c7b71b58cbb", |
| "msg": "7419879966407308379294975330185532392625451546819771097590634883124072919363206798577008650242919023537794914118737112248621573379578588922119531589238984", |
| "ct": "9598625994722407486401269214084492492921372230520857340503499740093920809378139065928677810973783427616024637737700253296290229641579076051857315988702423", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 192, |
| "msgSize": 260, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3823, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "ddf845415ef282ad312951d506329229d34582b869cec20f", |
| "tweak": "fa3a2a07855bde0b", |
| "msg": "06676516715131003665122055536485840137957185210040462973311774052571506942619998540312584197561197797026559111758490738990606508308859356371024569207749830298479079732528768763531938857153352227861926868470734197546198836554423080956374862642296776536116951913", |
| "ct": "02983304614001908776117059096396215494318798398325308444865450566531220913243842875286516194254194332098854862588616873813429290860805872621358523484943340349190484701133445727295216840768291334847378143734910033655283805410266707414828100899109692518584566503", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 39, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3824, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "11e30ec3090687f70bb498193541ded7d7accc0b6a8e5106fdf2ca38d34a6ffa", |
| "tweak": "c1aec33763cc79cf", |
| "msg": "188113987510396539748986035602678935720", |
| "ct": "155489163238740506103078050040096109436", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 40, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3825, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "44d6353fd4623666bb7617a2235ebe645e1685dc11e084d7408c75042d94c06c", |
| "tweak": "e0b69ccb91ebb7a3", |
| "msg": "9121666093922465521141642698121136905472", |
| "ct": "9573685950587272017517295642503200870697", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 56, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3826, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "34d42f7f003c00e6ef893fe7f6a892ef519ec38b29960e554f009a7052bd1d94", |
| "tweak": "8f355c816c1bd5eb", |
| "msg": "24350971356254388049960948534114372196677439247405099415", |
| "ct": "93965170429619620992624190706659143812552269298231520551", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 57, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3827, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "4582eb46eed287ad23514b65f1e96690e5da4b9a6a108a3750ae47e2dfd81a81", |
| "tweak": "c967c80033da6d86", |
| "msg": "412549865411942031607526004078681566679734327168866425982", |
| "ct": "030064105514575325848186247908124914942950680554594925114", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 64, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3828, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "2f18635c07eefa940f9f24050f44a9ef0a635c87a70897eaceeeeef15fefe1f8", |
| "tweak": "4ccb9dd3441d2cfb", |
| "msg": "1947393688141313405448110416341010961501108994233731441438598970", |
| "ct": "9496040517146372845249605304852523954426454128514190899748236341", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 76, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3829, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "bb44eb887d52af308b251b5b6a4f75a6976548e2640ae354638de7d53a9b9438", |
| "tweak": "5fcb7e5e25916a27", |
| "msg": "5179504613244120451502520977153651579704903335553109441129091539532455736825", |
| "ct": "6221138907255542539235568732062930051378762140006265310597796530695724178762", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 77, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3830, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "09d4eaa9cfce1276a6402313b0b9c77e6e830ac39888e0418e1d652b7b123909", |
| "tweak": "de48e38ff930091c", |
| "msg": "44129975605311841143003706906579124588662885285527296819223689221585143431056", |
| "ct": "52106705951959227534862540349419507368532893857602983975475300646048106353151", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 80, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3831, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "4c21f21cf45f61eea701cdae4a3e06a74cd18fd63eec698b49b3a21f4e1c3bf9", |
| "tweak": "0ec0a2520507286d", |
| "msg": "20448895151892572863141016255025453525848491739825820515939255950727950888627902", |
| "ct": "45557387269908160596112465013431523371594172912529328213888404090244841369401578", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 96, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3832, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "7d9ee70015895ae677129171c6371a3234c894309efa3b79deb146fef2d76125", |
| "tweak": "a3a3e2481f402162", |
| "msg": "183530802553517534108394988048697756162021250608570605069967561874613803496500887977693178819934", |
| "ct": "828099946796504752937638349042002438662167639278347020478945022343643913700995913198282468987340", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 97, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3833, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "373f3b9d1964df142507ddee9fa1b33babcf781c9b0289e3f3eaa4cab28a5cb2", |
| "tweak": "8348ea2ce51ecf67", |
| "msg": "9460170695199717004013923278253451204785898986899056435571646394652054828771809411330797986577997", |
| "ct": "1584586124178836928053626400532829049521373392947345702525042987548991468753151191560104682704486", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 114, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3834, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "7be7f95ff4c888e214b12175c383a48adaf3eaf1c0c2891c4903c0bbe09c428d", |
| "tweak": "431094ab477a6428", |
| "msg": "266340848399230569119541444321804751906509214536825147498091388170193835294937668208074547795829264966498211350295", |
| "ct": "329649511743222032213646799696551140178373753027587466971316200273750870404021074309466664596786963703438652926663", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 115, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3835, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "553ccbdd56ca32ccd4487844303344d765a718d4f53df744b5589b01052f5822", |
| "tweak": "b293ee19bea02d87", |
| "msg": "7350658348550365529066647144931675588618864708306251786710277736461818889285252972180512998538846225733683167571754", |
| "ct": "1753076276040317199311151355212020193075503424624890402142320976335402459593544317181376257290416776324036706253949", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 128, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3836, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "0a04c284ea0028d71c986b4e547c0e03cc8969ac81ec89dacf67df23bf72d461", |
| "tweak": "fdb7b6eda7cdb93c", |
| "msg": "65442251101141474778671519874853872683370337576681201759735228838919642886968195368341884256374916466213835810780909265112674020", |
| "ct": "83624819973439612797125813652804043991122812365116690433410976221968233086346811413462079735705959882748614648260187884320895092", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 134, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3837, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "f1e2db51a981790544826b9d31d43526eddc9e0f4216824ec5a07df83846e789", |
| "tweak": "85d12442d50f7a24", |
| "msg": "49236533817639712171593726543558320273495087576577262760649946763804984218646514921416561712298477046817407856532454901456062951007035", |
| "ct": "90061223819625234668703233791035732820139374210411646399483878218644337548905634818711682723292232772917119239108366514454708306753828", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 135, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3838, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "c96cc703148aab240e4e3ebe5c21ff88ac3f8235d31884a5f5bb7b95582a3b82", |
| "tweak": "6e5031348c90f3f1", |
| "msg": "228655975066000523260493593751496432478265713190257548833840145230002012277828334841057104221347712135401642235167159883221994149887319", |
| "ct": "344184811522929769583139786311730368231238761717279100888038339820022612253498225467182663266210059676770713497416480604337930828386309", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 154, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3839, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "774a79e14e8bfd169e7027ef88e9f095ca42ec3a8bb0366b9bac9fd2bb2b8be7", |
| "tweak": "3317115456246743", |
| "msg": "4049497250385976576341710007496223323464346779663924277106141265431716272945134878862530140875280857691470497367411256268272872084471414971307376669316702", |
| "ct": "6118900541599932889379639288156149847722530199924729955774675289722160649241736481158316698206198509373499262855671260080927248969837015702550848294604758", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 256, |
| "msgSize": 260, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3840, |
| "comment": "large message size", |
| "flags": [ |
| "LargeMessageSize" |
| ], |
| "key": "e3009a081a300a5d2c99b076d69e8479ab2e040342b7558d4fb8c6cf978e809f", |
| "tweak": "ae2aa7fbd0c4542d", |
| "msg": "02824381717136822049436394427733339046720541875331861009845225547178355538525721335048644853685556176666874868103618069338558417963954504055769347995555156989681580550430206790071263824393104622600252722305082403746604340812542969613617049963305595621869848818", |
| "ct": "13715383004358813839051078951533280960193183219770346963821889050771843188293937006179253293895747535269860985000526736767707968554151303475776613248538624476658640994440038203559146054821228455328251078294593698955938529095746841152189926303662776346185220097", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 0, |
| "msgSize": 6, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3841, |
| "comment": "invalid key size", |
| "flags": [ |
| "InvalidKeySize" |
| ], |
| "key": "", |
| "tweak": "3d6bcfb5e5efa4f9", |
| "msg": "269629", |
| "ct": "", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 8, |
| "msgSize": 6, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3842, |
| "comment": "invalid key size", |
| "flags": [ |
| "InvalidKeySize" |
| ], |
| "key": "ad", |
| "tweak": "3f9fd40c1fce6f74", |
| "msg": "209644", |
| "ct": "", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 64, |
| "msgSize": 6, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3843, |
| "comment": "invalid key size", |
| "flags": [ |
| "InvalidKeySize" |
| ], |
| "key": "b8e50ad7ecea0645", |
| "tweak": "b5b437b29ece97da", |
| "msg": "800534", |
| "ct": "", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 160, |
| "msgSize": 6, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3844, |
| "comment": "invalid key size", |
| "flags": [ |
| "InvalidKeySize" |
| ], |
| "key": "763c46dff5102f21352c1c1333f55e83c06609f8", |
| "tweak": "10ac049cdfe1f07a", |
| "msg": "750375", |
| "ct": "", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "alphabet": "0123456789", |
| "keySize": 320, |
| "msgSize": 6, |
| "radix": 10, |
| "type": "FpeStrTest", |
| "tests": [ |
| { |
| "tcId": 3845, |
| "comment": "invalid key size", |
| "flags": [ |
| "InvalidKeySize" |
| ], |
| "key": "3b17fa375663dd5c0168d3da74d8bc0705650308cfe1106dc9dfe134a5c4b509eb8e58b298accc7a", |
| "tweak": "51c2284363c7707f", |
| "msg": "512662", |
| "ct": "", |
| "result": "invalid" |
| } |
| ] |
| } |
| ] |
| } |