998d523127
Build updated for upstream libaegis 0.9.0 simplified API with matching changes on Python side. Set lower MacOS build target (11.0). Build abi3 version for all supported Python versions, reducing the number of wheels. Other build cleanup.
v0.9.0
Leo Vasanko2026-01-10 20:23:37 +00:00
a1bfeb2434
Build updated for upstream libaegis 0.9.0 simplified API with matching changes on Python side. Set lower MacOS build target (11.0). Build abi3 version for all supported Python versions, reducing the number of wheels. Other build cleanup.
main
LeoVasanko2026-01-10 20:23:37 +00:00
ddd0331771
Considered stable from here onwards.
Leo Vasanko2026-01-10 20:22:44 +00:00
a26ce6a9fb
Considered stable from here onwards.
LeoVasanko2026-01-10 20:22:44 +00:00
8a5e342905
Allow the cipher() function also work without prefix aegis
Leo Vasanko2026-01-04 14:25:39 +00:00
7e6a5bf52a
Allow the cipher() function also work without prefix aegis
LeoVasanko2026-01-04 14:25:39 +00:00
70f64fe288
Add nonce_increment and wipe functions on typing.
Leo Vasanko2026-01-04 14:19:01 +00:00
8018e68274
Add nonce_increment and wipe functions on typing.
LeoVasanko2026-01-04 14:19:01 +00:00
eb0d281b5f
README: Add the new aeg.cipher() function for fetching variants.
Leo Vasanko2025-12-31 22:51:19 +00:00
ccccfd7918
README: Add the new aeg.cipher() function for fetching variants.
LeoVasanko2025-12-31 22:51:19 +00:00
ebdfa9e0a9
[packaging] Release script: Fix further problems with freethreaded wheels and a variable name overlap.
Leo Vasanko2025-12-31 22:30:28 +00:00
4de66b6bc6
[packaging] Release script: Fix further problems with freethreaded wheels and a variable name overlap.
LeoVasanko2025-12-31 22:30:28 +00:00
5824df28cb
Add aeg.cipher(alg) for loading modules by name in str. Added aeg.CIPHERS mapping of the nominal names to module names and Cipher for typing literals.
Leo Vasanko2025-12-31 21:38:30 +00:00
67ec091bc5
Add aeg.cipher(alg) for loading modules by name in str. Added aeg.CIPHERS mapping of the nominal names to module names and Cipher for typing literals.
LeoVasanko2025-12-31 21:38:30 +00:00
938239ef72
Added free-threaded non-GIL Python and PyPy wheels, up to 3.15 now.
Leo Vasanko2025-12-31 21:24:56 +00:00
4977a7e79d
Added free-threaded non-GIL Python and PyPy wheels, up to 3.15 now.
LeoVasanko2025-12-31 21:24:56 +00:00
cb0f9956c3
Convert all input buffers to memoryview before use and use .nbytes, because len() doesn't work correctly with some buffers. Update docs with a Numpy example.
LeoVasanko2025-11-09 21:19:50 +00:00
0d63844201
Make Mac class prevent further updates or final after finalisation. Keep cached values for hashlib API.
LeoVasanko2025-11-09 20:53:19 +00:00
bb9d11842a
Convert all input buffers to memoryview before use and use .nbytes, because len() doesn't work correctly with some buffers. Update docs with a Numpy example.
Leo Vasanko2025-11-09 09:19:50 -06:00
62fc8fa855
Make Mac class prevent further updates or final after finalisation. Keep cached values for hashlib API.
Leo Vasanko2025-11-09 08:53:19 -06:00
26b883ecbc
Simplify implementation: remove bytes_in and bytes_out counters from all classes.
LeoVasanko2025-11-09 08:09:26 +00:00
87d9a07868
Wipe state structs automatically after use. Simplified aligned allocator and its use via a single handle.
LeoVasanko2025-11-09 08:04:00 +00:00
eed36e2463
API updates: - Mac class follows hashlib API: digest functions added and finalization no longer modifies state. - Encryptor and Decryptor now raise RuntimeError if still used after final.
LeoVasanko2025-11-09 06:53:27 +00:00
46bc05f547
Add human-readable algorithm name as NAME constant.
LeoVasanko2025-11-09 04:01:05 +00:00
56d304a82e
Constants renamed and values extracted from C code rather than function call at runtime. Documentation update.
LeoVasanko2025-11-09 03:43:01 +00:00
a6faaf9f62
Simplify implementation: remove bytes_in and bytes_out counters from all classes.
Leo Vasanko2025-11-08 20:09:26 -06:00
75cbc76845
Wipe state structs automatically after use. Simplified aligned allocator and its use via a single handle.
Leo Vasanko2025-11-08 20:04:00 -06:00
28ee0e1314
Combine the two generator scripts into one that also reads ALIGNMENT and RATE from C sources.
LeoVasanko2025-11-09 01:20:15 +00:00
95563a43d1
API updates: - Mac class follows hashlib API: digest functions added and finalization no longer modifies state. - Encryptor and Decryptor now raise RuntimeError if still used after final.
Leo Vasanko2025-11-08 18:53:27 -06:00
e58990a1c2
Add human-readable algorithm name as NAME constant.
Leo Vasanko2025-11-08 16:01:05 -06:00
13445887e9
Constants renamed and values extracted from C code rather than function call at runtime. Documentation update.
Leo Vasanko2025-11-08 15:43:01 -06:00
751a929836
Combine the two generator scripts into one that also reads ALIGNMENT and RATE from C sources.
Leo Vasanko2025-11-08 13:20:15 -06:00
fc1025f56d
Do not return True from MAC verify function on success.
LeoVasanko2025-11-07 09:11:24 +00:00
3d75cc7e55
Add random_key and random_nonce functions to each submodule. Update docstrings to show the correct lengths for keys and nonces.
LeoVasanko2025-11-07 08:03:56 +00:00
5b49422cb7
Remove examples folder, keep benchmark as pyaegis.benchmark that becomes part of the install.
LeoVasanko2025-11-07 07:55:51 +00:00
cca78f4224
API cleanup for simplified update/final. Returns bytearrays when into is not used. Allows into buffers larger than needed. Misc other changes.
LeoVasanko2025-11-07 07:38:18 +00:00