Leo Vasanko
|
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.
|
2025-11-09 09:46:21 -06:00 |
|
Leo Vasanko
|
75cbc76845
|
Wipe state structs automatically after use. Simplified aligned allocator and its use via a single handle.
|
2025-11-08 20:04:39 -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
|
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
|
d43a22bc6c
|
Build cleanup, pathname reorganisation, cdef to repository (although generated with gen_cdef.py).
|
2025-11-06 15:23:30 -06:00 |
|