Commit Graph
62 Commits
Author SHA1 Message Date
LeoVasanko 302429b7a4 Add comments to generated files saying how they are generated. 2025-11-07 03:31:29 +00:00
LeoVasanko b83120187c Build cleanup, pathname reorganisation, cdef to repository (although generated with gen_cdef.py). 2025-11-07 03:23:30 +00:00
LeoVasanko e3508025f5 Add .gitignore 2025-11-06 22:52:23 +00:00
LeoVasanko 3767b34e2c Add libaegis submodule 2025-11-06 22:51:32 +00:00
LeoVasanko 0ae8752666 Rename module to pyaegis, implement build with zig. 2025-11-06 21:34:15 +00:00
LeoVasanko d51736f5ba Add pytest dev dependency. 2025-11-06 20:20:23 +00:00
LeoVasanko df6b1b2832 Add tests for all functions of each algorithm against AEGIS test vectors (JSON). Incremental updates are tested with randomized splits to catch a variety of errors. 2025-11-06 19:56:12 +00:00
LeoVasanko c16e785203 Precise update output length calculation to allocate exactly sized buffers. 2025-11-06 19:45:15 +00:00
LeoVasanko 2ffe7b6c0e Add helper function for calculating the incremental update output buffer size. Add bytes_in and bytes_out counters on the incremental classes. Avoid ERANGE errors caused by too small output buffer. 2025-11-06 03:13:46 +00:00
LeoVasanko 618d9e0967 Make key, nonce the first arguments (in this order), require kwargs past the initial few positional arguments. Add ALIGNMENT constant to each module. Add a script to generate all other modules from aegis256x4.py. 2025-11-05 08:26:47 +00:00
LeoVasanko 299586e6ee Cleanup 2025-11-05 06:40:22 +00:00
LeoVasanko 22299a1676 Initial commit 2025-11-05 06:14:07 +00:00