Commit Graph

6 Commits

Author SHA1 Message Date
Lucas Gabriel Vuotto 546649da1d Shuffle headers
Make whitespace, sections and layouts consistent. Increase entropy.
2024-06-27 12:29:39 +00:00
Lucas Gabriel Vuotto 5c1325ed11 aead: rewrite api
Decouple the authentication tag from the ciphertext and add streaming
interfaces.

Tests will be fixed in the next commit.
2024-06-20 15:52:58 +00:00
Lucas Gabriel Vuotto e39f46a9f9 internal: wrap overlong lines 2024-06-19 13:25:23 +00:00
Lucas Gabriel Vuotto 3c5e296178 Use a single zero buffer 2024-06-19 13:18:25 +00:00
Lucas Gabriel Vuotto 5eb28b420d Add KDF interface and HKDF implementation 2024-06-18 14:30:06 +00:00
Lucas Gabriel Vuotto cef67c9f09 Merge most of internal headers into internal.h
Fix the includes accordingly and get rid of some unused ones.
2024-06-17 21:52:07 +00:00