LIBKECCAK_HMAC_MARSHAL(3)

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

πŸ’… 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