LIBKECCAK_STATE_DESTROY(3)

NAME
libkeccak_state_destroy - Destroys a hash state with erasure

SYNOPSIS
#include <libkeccak.h>
void libkeccak_state_destroy(struct libkeccak_state *state);

Link with -lkeccak.

DESCRIPTION
The libkeccak_state_destroy() function releases the allocations stored in *state, without releasing the allocation of state itself.

The libkeccak_state_destroy() function securely erases sensitive data.

RETURN VALUES
The libkeccak_state_destroy() function does not return any value.

ERRORS
The libkeccak_state_destroy() function cannot fail.

SEE ALSO
libkeccak_state_free(3), libkeccak_state_fast_destroy(3), libkeccak_state_initialise(3), libkeccak_state_reset(3), libkeccak_state_wipe(3)