carta
libkeccak_cshake_suffix(3)

libkeccak_cshake_suffix3

Get message suffix for cshake hashing

Usage

Link with -lkeccak.

Overview

The libkeccak_cshake_suffix() function returns a string of '1':s and '0':s representing the bits the the message suffixed that shall be used. 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, the function will only check whether these values are zero or non-zero.

Return values

The libkeccak_cshake_suffix() function returns a statically allocated, read-only, message suffix bit-string that shall be used.

Errors

The libkeccak_cshake_suffix() function cannot fail.

From libkeccak 1.4.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.