libkeccak_hmac_marshal(3)

libkeccak_hmac_marshal3

Marshals an hmac-hashing state

Usage

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

Link with -lkeccak.

Overview

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

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

Return values

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

Errors

The libkeccak_hmac_marshal() function cannot fail.

From libkeccak 1.4.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.