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.