LIBKECCAK_...ST_DESTROY(3)

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

πŸŽ€ LIBKECCAK_...ST_DESTROY(3) πŸŽ€

okay so bestie, this page is from the Library Functions Manual, and it's literally all about one tiny cleanup function. Let's get into it πŸ’…


🌸 NAME 🌸

libkeccak_state_fast_destroy β€” destroys a hash state without erasure


✨ SYNOPSIS ✨

#include <libkeccak.h>

void libkeccak_state_fast_destroy(struct libkeccak_state *state);

Link with -lkeccak.


πŸ¦‹ DESCRIPTION πŸ¦‹

The libkeccak_state_fast_destroy() function releases the allocations stored in *state, but it does not release the allocation of state itself. So like… the stuff inside gets cleaned up, but the state pointer allocation stays exactly where it is, no cap 🫢

⚠️ Important caveat, bestie: libkeccak_state_fast_destroy() does not securely erase sensitive data. It is not a shredder. It is not a secure wipe. It's giving β€œfast destroy,” not β€œsecret-agent data disposal,” okay? 😭

🌈 RETURN VALUES 🌈

The libkeccak_state_fast_destroy() function does not return any value. Like, none. Zero. It's a void situation, periodt πŸ’€


πŸ“ ERRORS πŸ“

The libkeccak_state_fast_destroy() function cannot fail. It's literally that girl β€” no error path, no drama πŸ”₯


πŸ’œ SEE ALSO πŸ’œ


and that's the whole vibe check, bestie 🧚✨ β€” with love from the LIBKECCAK manual, source/version LIBKECCAK. The footer didn't give a date, so I'm not inventing one, no cap πŸ«ΆπŸ’…

πŸ“¦ where this page comes from