LIBKECCAK_CSHAKE_SUFFIX(3)
okay so bestie, welcome to LIBKECCAK_CSHAKE_SUFFIX(3) from the Library Functions Manual β yes, the manual name is folded in near the top because we are not doing that giant duplicated header line today π
β¨ NAME β¨
libkeccak_cshake_suffixβ Get message suffix for cSHAKE hashing π
π¦ SYNOPSIS π¦
#include <libkeccak.h>
const char *libkeccak_cshake_suffix(size_t nlen, size_t slen);
Link with -lkeccak.
πΈ DESCRIPTION πΈ
The libkeccak_cshake_suffix() function returns a string of '1':s and '0':s β literally the message-suffix bits that shall be used. Itβs giving βbit-string brat summer,β no cap β¨
Canonically, the values of the nlen and slen parameters shall be the length of the cSHAKE function-name bit-string and the cSHAKE customisation bit-string. However β and this is the lowkey important part π β the function will only check whether these values are zero or non-zero. It is not out here measuring your actual bit-string lengths, bestie. Periodt.
π«Ά RETURN VALUES π«Ά
The libkeccak_cshake_suffix() function returns a statically allocated, read-only, message suffix bit-string that shall be used. Iconic. Immutable. Main-character energy π
π ERRORS π
The libkeccak_cshake_suffix() function cannot fail. Not even a little. No error path, no dramatic flop era, nothing to catch. Slay π
π SEE ALSO π
libkeccak_spec_cshake(3)libkeccak_generalised_spec_initialise(3)libkeccak_state_initialise(3)libkeccak_cshake_initialise(3)libkeccak_fast_digest(3)libkeccak_zerocopy_digest(3)libkeccak_digest(3)
okay bye bestie β source/version LIBKECCAK, page LIBKECCAK_CSHAKE_SUFFIX(3), and the footer didnβt give a date so Iβm not inventing 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