Commit Graph
11 Commits
Author SHA1 Message Date
Leo Vasanko 751a929836 Combine the two generator scripts into one that also reads ALIGNMENT and RATE from C sources. 2025-11-08 13:20:15 -06:00
Leo Vasanko 1dcdafa008 util.nonce_increment and util.wipe functions, also exported by each module for convenience. 2025-11-07 09:53:39 -06:00
Leo Vasanko b15174af8b Make random_key and random_nonce return bytearray, and add a nonce_increment utility function. 2025-11-07 07:43:33 -06:00
Leo Vasanko 1b4d43a448 Do not return True from MAC verify function on success. 2025-11-06 21:11:24 -06:00
Leo Vasanko a8947c23b3 Add random_key and random_nonce functions to each submodule. Update docstrings to show the correct lengths for keys and nonces. 2025-11-06 20:03:56 -06:00
Leo Vasanko 7175654b27 API cleanup for simplified update/final. Returns bytearrays when into is not used. Allows into buffers larger than needed. Misc other changes. 2025-11-06 19:38:18 -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 42ddaac6bc Rename module to pyaegis, implement build with zig. 2025-11-06 10:47:54 -06:00