LIBKECCAK_HMAC_MARSHAL(3)
π
LIBKECCAK_HMAC_MARSHAL(3) π
Library Functions Manual β okay bestie, welcome to the HMAC-marshalling corner of the group chat. No cap.
πΈ NAME πΈ
libkeccak_hmac_marshalβ marshals an HMAC-hashing state. Thatβs the whole job, and it ate. π
β¨ SYNOPSIS β¨
#include <libkeccak.h>
size_t libkeccak_hmac_marshal(const struct libkeccak_hmac_state *state, void *data);
Link with -lkeccak.
π¦ DESCRIPTION π¦
Okay so libkeccak_hmac_marshal() marshals *state into the beginning of data. Literally the beginning, bestie β like tucking your fave hoodie right at the top of your bag. π
If you specifically pass NULL as data, you get the minimum usable allocation size for data. Thatβs the move when you need to know how much room to give it before the actual marshal.
π¦ RETURN VALUES π¦
libkeccak_hmac_marshal() returns the number of bytes written to data. Thatβs your byte count, and itβs giving exact. β¨
π¨ ERRORS π¨
libkeccak_hmac_marshal() cannot fail. No error path, no fail era, periodt. π
π SEE ALSO π
source/version: LIBKECCAK β’ page: LIBKECCAK_HMAC_MARSHAL(3) β’ date: the original footer doesnβt print one, bestie, so weβre keeping it honest π
π¦ where this page comes from
- arch rolling: libkeccak 1.4.3-1 Β· custom:ISC
- opensuse-leap 16.0: libkeccak-devel 1.4-bp160.1.13 Β· ISC
- opensuse-leap 16.0: libkeccak-devel 1.4-bp160.1.13 Β· ISC
- opensuse-leap 16.0: libkeccak-devel 1.4-bp160.1.13 Β· ISC
- opensuse-leap 16.0: libkeccak-devel 1.4-bp160.1.13 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms