LIBKECCAK_HMAC_MARSHAL(3) Library Functions Manual LIBKECCAK_HMAC_MARSHAL(3)

libkeccak_hmac_marshal - Marshals an HMAC-hashing state

#include <libkeccak.h>
size_t libkeccak_hmac_marshal(const struct libkeccak_hmac_state *state, void *data);

Link with -lkeccak.

The libkeccak_hmac_marshal() function marshals *state into the beginning of data.

Specific NULL as data to get minimum usable allocation size for data.

The libkeccak_hmac_marshal() returns the number of bytes written to data.

The libkeccak_hmac_marshal() function cannot fail.

libkeccak_hmac_unmarshal(3)

LIBKECCAK