LIBKECCAK_STATE_MARSHAL_SIZE(3)

NAME
libkeccak_state_marshal_size - Calculates the marshal-size of a hash state

SYNOPSIS
#include <libkeccak.h>
size_t libkeccak_state_marshal_size(const struct libkeccak_state *state);

Link with -lkeccak.

DESCRIPTION
The libkeccak_state_marshal_size() function calculates the number of bytes required to marshal *state.

RETURN VALUES
The libkeccak_state_marshal_size() returns a positive value: the number of bytes required to marshal the specified state.

ERRORS
The libkeccak_state_marshal_size() function cannot fail.

SEE ALSO
libkeccak_state_marshal(3), libkeccak_state_unmarshal(3), libkeccak_state_unmarshal_skip(3)