LIBKECCAK_STATE_MARSHAL(3)
π NAME π
Okay so this is from the LIBKECCAK manual β the Library Functions Manual one β and the main character is libkeccak_state_marshal: it marshals a hash state. Slay. β¨
πΈ SYNOPSIS πΈ
#include <libkeccak.h>
size_t libkeccak_state_marshal(const struct libkeccak_state *state, void *data);
Link with -lkeccak.
π¦ DESCRIPTION π¦
The libkeccak_state_marshal() function marshals *state into the beginning of data. That's the vibe: state goes in at the start of data, bestie π
.
Also, the page says: Specific NULL as data to get minimum usable allocation size for β and then it literally stops right there. No cap, that sentence is giving cliffhanger π. So NULL as data is tied to getting the minimum usable allocation size forβ¦ whatever that unfinished sentence was gonna say. We are not inventing the rest. π«Ά
β RETURN VALUES β
libkeccak_state_marshal() returns the number of bytes written to data. That's your byte count, bestie. Periodt. π
π ERRORS π
libkeccak_state_marshal() cannot fail. Iconic. No error era. β¨
π SEE ALSO π
π cute sign-off: source/version LIBKECCAK, page LIBKECCAK_STATE_MARSHAL(3), date: not listed in this footer β just pure manual energy π
π¦ 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