LIBKECCAK_STATE_MARSHAL(3)

πŸ“¦ version 1.4.3, in arch rolling, opensuse-leap 16.0

πŸ’– 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 🌈

libkeccak_state_unmarshal(3)


πŸŽ€ 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