LIBKECCAK_CSHAKE_SUFFIX(3)

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

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 πŸ‘‘


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