libkeccak_state_marshal3
Marshals a hash state
Usage
#include <libkeccak.h> size_t libkeccak_state_marshal(const struct libkeccak_state *state, void *data);
Link with -lkeccak.
Overview
The libkeccak_state_marshal() function marshals *state into the beginning of data.
Specific NULL as data to get minimum usable allocation size for
Return values
The libkeccak_state_marshal() returns the number of bytes written to data.
Errors
The libkeccak_state_marshal() function cannot fail.