LIBKECCAK_HMAC_UNMARSHAL(3)
okay so you opened the libkeccak_hmac_unmarshal(3) page from the Library Functions Manual β and bestie, we're getting that HMAC state back into shape π
β¨
πΈ NAME πΈ
libkeccak_hmac_unmarshalβ Unharshals an HMAC-hashing state π«Ά
π¦ SYNOPSIS π¦
#include <libkeccak.h>
size_t libkeccak_hmac_unmarshal(struct libkeccak_hmac_state *state, const void *data);
Link with -lkeccak.
β¨ DESCRIPTION β¨
The libkeccak_hmac_unmarshal() function unmarshals an HMAC-hashing state from the beginning of data, and stores it in *state. And yes, state may be NULL β that's allowed, no cap π
π RETURN VALUES π
On success, libkeccak_hmac_unmarshal() returns the number of bytes read from data upon successful completion. On error, -1 is returned and errno is set to describe the error π
If state is NULL, the function will always be successful and return a positive value; that value is the number of bytes that make up the marshalled state. Iconic, honestly π
π ERRORS π
The libkeccak_hmac_unmarshal() function may fail for any reason specified for the function malloc(3). So if malloc(3) is having a day, this can too π
π SEE ALSO π
mwah π β signed off by LIBKECCAK, page LIBKECCAK_HMAC_UNMARSHAL(3), with absolutely zero extra date drama because the footer didn't bring one π«Άβ¨
π¦ 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