LIBKECCAK_FAST_SQUEEZE(3)
okay bestie, welcome to LIBKECCAK_FAST_SQUEEZE(3) from the Library Functions Manual π
β¨ this page is short, it is sweet, and it is literally about running the squeeze phase. no cap, it ate.
πΈ NAME πΈ
libkeccak_squeeze β runs the squeeze phase. that is the whole name, bestie. iconic and concise. π
β¨ SYNOPSIS β¨
#include <libkeccak.h>
void libkeccak_squeeze(struct libkeccak_state *state, void *hashsum);
and you link with -lkeccak. yes, exactly that flag. π«Ά
π¦ DESCRIPTION π¦
so libkeccak_squeeze() runs the Keccak squeeze phase on the hash process described by *state, and it stores a new digest, in binary form, in hashsum. that is the vibe. π₯
hashsum has the same requirement as for the libkeccak_digest(3) and libkeccak_fast_digest(3) functions: it must have an allocation size of at least ((state->n + 7) / 8) bytes. lowkey important, do not skimp on the allocation. ππ
however β and this is the dramatic part β it may not be NULL. not even a little. no NULL era allowed. π
π RETURN VALUES π
The libkeccak_squeeze() function does not return any value. it is giving void, literally and metaphorically. π³οΈβ¨
π ERRORS π
The libkeccak_squeeze() function cannot fail. iconic behavior, honestly. it just cannot. ππ
π SEE ALSO π
go read these next, bestie:
libkeccak_digest(3)libkeccak_fast_digest(3)libkeccak_zerocopy_digest(3)libkeccak_simple_squeeze(3)libkeccak_fast_squeeze(3)
xoxo, your LIBKECCAK girlie π source/version: LIBKECCAK β and the date did not show up on this page, so no invented timestamp, periodt. ππ¦
π¦ 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