Commit Graph

3 Commits

Author SHA1 Message Date
Lucas Gabriel Vuotto 6677c6cab3 Remove ctx_new and ctx_free function pointers
Now that HMAC isn't special anymore, and with the help of init params,
this isn't needed anymore as we only allocate memory for the state.

This effectively reverts e9bcc64e62 .
2024-06-10 17:44:05 +00:00
Lucas Gabriel Vuotto 2ebe3467f8 hash: make blocklen and hashlen part of the implementation 2024-06-10 13:45:57 +00:00
Lucas Gabriel Vuotto 216ef8f940 Add hash interface and SHA-{384,512} implementations 2024-06-06 12:40:38 +00:00