LIBKECCAK_FAST_SQUEEZE(3) Library Functions Manual LIBKECCAK_FAST_SQUEEZE(3)

libkeccak_squeeze - Runs the squeeze phase

#include <libkeccak.h>
void libkeccak_squeeze(struct libkeccak_state *state, void *hashsum);

Link with -lkeccak.

The libkeccak_squeeze() function runs the Keccak squeeze phase, on the the hash process described by *state, on stores a new digest, in binary form, in hashsum.

hashsum has the same requirement as for the libkeccak_digest(3) and libkeccak_fast_digest(3) functions: it must have an allocation size of at least ((state->n + 7) / 8) bytes. However, it may not be NULL.

The libkeccak_squeeze() function does not return any value.

The libkeccak_squeeze() function cannot fail.

libkeccak_digest(3), libkeccak_fast_digest(3), libkeccak_zerocopy_digest(3), libkeccak_simple_squeeze(3), libkeccak_fast_squeeze(3)

LIBKECCAK