LIBKECCAK_..._CHUNKSIZE(3)
π NAME π
libkeccak_zerocopy_chunksize β get chunk size for zero-copy processing (ADVANCED) π
okay so this is LIBKECCAK_..._CHUNKSIZE(3), and weβre in the Library Functions Manual β yes bestie, that exact title, no cap. This one is a little advanced, so hydrate and letβs go π
β¨ SYNOPSIS β¨
#include <libkeccak.h>
size_t libkeccak_zerocopy_chunksize(struct libkeccak_state *state);
Link with -lkeccak.
π¦ DESCRIPTION π¦
The libkeccak_zerocopy_chunksize() function returns the number of bytes the sponge in the state parameter processes per round. π«Ά
Input to the libkeccak_zerocopy_update(3) function must be an integer multiple of this number, and memory allocated for the libkeccak_zerocopy_digest(3) function must also be a multiple of this number (further restrictions apply, see libkeccak_zerocopy_digest(3) for more details.) π
πΈ RETURN VALUES πΈ
The libkeccak_zerocopy_chunksize() function returns the number of bytes that the sponge processes per processing round. β¨
π ERRORS π
Good news, bestie: the libkeccak_zerocopy_chunksize() function cannot fail. Itβs giving βno notes,β truly ππ
π SEE ALSO π
Cute sign-off: this page came from the LIBKECCAK source/version, and the footerβs date slot is a mystery β no date listed, so Iβm not inventing one, periodt π
π LIBKECCAK_..._CHUNKSIZE(3) forever.
π¦ 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