LIBKECCAK_HMAC_FAST_FREE(3)

πŸ“¦ version 1.4.3, in arch rolling, opensuse-leap 16.0

πŸ’… LIBKECCAK_...E_FAST_FREE(3) β€” Library Functions Manual πŸŽ€

okay so bestie, this page is the manual name Library Functions Manual for LIBKECCAK_...E_FAST_FREE(3) β€” yes, that exact title string, no cap.

✨ NAME ✨

libkeccak_hmac_fast_free β€” Destroys and deallocates an HMAC-hashing state without erasure.

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <libkeccak.h>

void libkeccak_hmac_fast_free(struct libkeccak_hmac_state *state);

Link with -lkeccak.

🌸 DESCRIPTION 🌸

The libkeccak_hmac_fast_free() function releases the allocations stored in *state, and also releases the allocation of state itself. So it's cleaning up both the stuff inside the state and the state pointer allocation.

πŸ’€ Important vibe check: libkeccak_hmac_fast_free() does not securely erase sensitive data. It's fast free, not secure wipe.

πŸŽ€ RETURN VALUES πŸŽ€

The libkeccak_hmac_fast_free() function does not return any value. Literally void β€” nothing comes back to you.

🧚 ERRORS 🧚

The libkeccak_hmac_fast_free() function cannot fail. No error path, periodt.

πŸ”₯ NOTES πŸ”₯

⚠️ Double-call warning, bestie. A double call to libkeccak_hmac_fast_free() will either result in a double free, which is most likely to crash the process, or free an allocation β€” one that was created between the calls β€” that was not intended to be freed, resulting in undefined behaviour. That's the bad timeline. Don't do it.

🌈 SEE ALSO 🌈


okay bye bestie 🫢 footer tea: source/version LIBKECCAK, page LIBKECCAK_...E_FAST_FREE(3), and the date field is not shown on this footer β€” so no fake date, just vibes πŸŒΈπŸ’œ

πŸ“¦ where this page comes from