LIBKECCAK_STATE_UNMARSHAL_SKIP(3)

NAME
libkeccak_state_unmarshal_skip - Calculates the marshal-size of a marshalled hash state

SYNOPSIS
#include <libkeccak.h>
size_t libkeccak_state_unmarshal_skip(const void *data);

Link with -lkeccak.

DESCRIPTION
The libkeccak_state_unmarshal_skip() function gets the number of bytes with which the hash state in the beginning of data is store stored. This is useful if you do not want to unmarshal the state.

RETURN VALUES
The libkeccak_state_unmarshal_skip() returns a positive value: the number of bytes to skip forward to skip pass the hash state stored at the beginning of the buffer.

ERRORS
The libkeccak_state_unmarshal_skip() function cannot fail.

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