Leo Vasanko
|
46dff56e28
|
Cleanup.
|
2025-11-06 19:36:43 -06:00 |
|
Leo Vasanko
|
fc76bc4280
|
More informative build error message when Zig is not installed.
|
2025-11-06 17:04:03 -06:00 |
|
Leo Vasanko
|
9f2b931a0b
|
Another approach to use zig build with setuptools.
|
2025-11-06 16:56:39 -06:00 |
|
Leo Vasanko
|
fbf9c944e6
|
Include zig build in the build process.
|
2025-11-06 16:43:54 -06:00 |
|
Leo Vasanko
|
f8cc02eb41
|
Switch from hatch to setuptools/CFFI build to produce wheels correctly.
|
2025-11-06 16:34:32 -06:00 |
|
Leo Vasanko
|
fd24bb02f8
|
Test cleanup, remove debug.
|
2025-11-06 16:33:51 -06:00 |
|
Leo Vasanko
|
285f11299e
|
Remove Encryptor.final_detached(), as final() handles both cases identically (only returns MAC).
|
2025-11-06 16:33:04 -06:00 |
|
Leo Vasanko
|
3248fccbac
|
The update functions of libaegis now return the same number of bytes that went in. Update the binding accordingly.
|
2025-11-06 16:27:48 -06:00 |
|
Leo Vasanko
|
17a5f45394
|
Add comments to generated files saying how they are generated.
|
2025-11-06 15:31:29 -06:00 |
|
Leo Vasanko
|
d43a22bc6c
|
Build cleanup, pathname reorganisation, cdef to repository (although generated with gen_cdef.py).
|
2025-11-06 15:23:30 -06:00 |
|
Leo Vasanko
|
c8fe16d21f
|
Add .gitignore
|
2025-11-06 10:52:23 -06:00 |
|
Leo Vasanko
|
ea066e101d
|
Add libaegis submodule
|
2025-11-06 10:51:32 -06:00 |
|
Leo Vasanko
|
42ddaac6bc
|
Rename module to pyaegis, implement build with zig.
|
2025-11-06 10:47:54 -06:00 |
|
Leo Vasanko
|
8898cec50f
|
Add pytest dev dependency.
|
2025-11-06 08:20:23 -06:00 |
|
Leo Vasanko
|
3579b94e83
|
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 07:56:12 -06:00 |
|
Leo Vasanko
|
bcf4655f64
|
Precise update output length calculation to allocate exactly sized buffers.
|
2025-11-06 07:45:15 -06:00 |
|
Leo Vasanko
|
438627e0db
|
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-05 15:13:46 -06:00 |
|
Leo Vasanko
|
02310675b7
|
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-04 21:02:29 -06:00 |
|
Leo Vasanko
|
6ceb2971fa
|
Cleanup
|
2025-11-04 18:40:22 -06:00 |
|
Leo Vasanko
|
7541d9d837
|
Initial commit
|
2025-11-04 18:14:07 -06:00 |
|