LIBKECCAK_HMAC_FAST_DESTROY(3)

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

πŸ’… NAME πŸ’…

libkeccak_hmac_fast_destroy β€” bestie, this one destroys an HMAC-hashing state without erasure 🫢


✨ SYNOPSIS ✨

#include <libkeccak.h>

void libkeccak_hamc_fast_destroy(struct libkeccak_hmac_state *state);

Link with -lkeccak.

ok so real talk β€” yes, the synopsis literally says libkeccak_hamc_fast_destroy, and no, that is not me typo-ing, that's what the page says. Copy it exactly as written, iykyk πŸ’€

πŸŽ€ DESCRIPTION πŸŽ€

So the libkeccak_hmac_fast_destroy() function releases the allocations stored in *state β€” but not the allocation of state itself. Like, the stuff inside the box? gone. The box? still your problem, bestie πŸ’…

And the loud part, the part where I need you to pay attention: libkeccak_hmac_fast_destroy() does not securely erase sensitive data. It's the fast version, not the safe-and-scrubbed version. No cap, if there's secret material in there, this function is just gonna walk away and leave it sitting there 😭


⭐ RETURN VALUES ⭐

The libkeccak_hmac_fast_destroy() function does not return any value. It's a void girlie β€” gives you nothing back, not even a little nod 🌸


🌈 ERRORS 🌈

The libkeccak_state_fast_destroy() function cannot fail. Iconic behaviour, honestly β€” no error paths, no drama, it just does the thing πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹


made with love by the libkeccak girlies 🧚 β€” this masterpiece lives in the Library Functions Manual, section 3, LIBKECCAK_...AST_DESTROY(3), brought to you by LIBKECCAK. mwah πŸ’–πŸŽ€πŸ’œ

πŸ“¦ where this page comes from