LIBKECCAK_STATE_RESET(3) Library Functions Manual LIBKECCAK_STATE_RESET(3)

libkeccak_state_reset - Reinitialise hash state

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

Link with -lkeccak.

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

The libkeccak_state_reset() function does not return any value.

The libkeccak_state_reset() function cannot fail.

libkeccak_state_initialise(3), libkeccak_state_destroy(3), libkeccak_state_fast_destroy(3), libkeccak_state_wipe(3)

LIBKECCAK