LIBKECCAK_SPEC_CSHAKE(3)
π libkeccak_spec_cshake(3) β Configure cSHAKE hashing parameters π
okay bestie, this page lives in the LIBKECCAK manual, and it is literally all about setting up cSHAKE hashing parameters. no cap, itβs giving βsmall function, very important job.β π
πΈ NAME πΈ
libkeccak_spec_cshake β Configure cSHAKE hashing parameters
β¨ SYNOPSIS β¨
#include <libkeccak.h>
void libkeccak_spec_cshake(struct libkeccak_spec *spec, long int x, long int d);
Link with -lkeccak.
π¦ DESCRIPTION π¦
okay so libkeccak_spec_cshake() sets *spec to specify the Keccak parameters used for cSHAKE hashing with the semicapacity specified, in bits, via the x parameter, and the output size specified, in bits, via the d parameter.
thatβs the whole assignment, bestie. it configures the params and minds its own business. iconic. β¨
π RETURN VALUES π
libkeccak_spec_cshake() does not return any value.
not a single little value. void behavior fr fr. π«Ά
β οΈ ERRORS β οΈ
libkeccak_spec_cshake() cannot fail.
thatβs right β no error era, no fail vibe, it literally cannot. π
π EXAMPLE π
This example configures a struct libkeccak_spec to specify the Keccak parameters used for cSHAKE256(, 512):
struct libkeccak_spec spec;
libkeccak_spec_cshake(&spec, 256, 512);
π SEE ALSO π
libkeccak_spec_sha3(3)libkeccak_spec_shake(3)libkeccak_spec_rawshake(3)libkeccak_spec_check(3)libkeccak_generalised_spec_initialise(3)libkeccak_state_initialise(3)libkeccak_hmac_initialise(3)
π and thatβs the page, bestie! source/version: LIBKECCAK; footer page: LIBKECCAK_SPEC_CSHAKE(3) β no date on this one, so weβre not inventing one. mwah! π
π¦ 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