LIBKECCAK_STATE_RESET(3)

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

🌸 NAME 🌸

libkeccak_state_reset β€” reinitialise hash state πŸ’–

okay bestie, you're on the LIBKECCAK_STATE_RESET(3) page from the Library Functions Manual, and it's giving β€œtiny reset button for your hash state” ✨


✨ SYNOPSIS ✨

#include <libkeccak.h>

void libkeccak_state_reset(struct libkeccak_state *state);

Link with -lkeccak. 🫢


πŸ’– DESCRIPTION πŸ’–

The libkeccak_state_reset() function reinitialises *state, but keeps the tuning, so it can be used to hash another message. πŸŽ€

like, it's not a full destroy-and-rebuild moment β€” it keeps the tuning and gets *state ready to hash another message. iconic behavior, no cap πŸ’…


πŸŽ€ RETURN VALUES πŸŽ€

The libkeccak_state_reset() function does not return any value. literally nothing comes back β€” she just does the thing and dips 😌


🫢 ERRORS 🫢

The libkeccak_state_reset() function cannot fail. bestie said β€œno errors today” and meant it πŸ’€βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹


source/version: LIBKECCAK; page: LIBKECCAK_STATE_RESET(3); date: not listed on this page, so she stays timeless πŸŽ€πŸ’‹

πŸ“¦ where this page comes from