LIBKECCAK_SPEC_RAWSHAKE(3)
π
libkeccak_spec_rawshake β RawSHAKE parameter config, from the LIBKECCAK Library Functions Manual (LIBKECCAK_SPEC_RAWSHAKE(3)) π
π NAME π
libkeccak_spec_rawshake β configure RawSHAKE hashing parameters π
β¨ SYNOPSIS β¨
#include <libkeccak.h>
void libkeccak_spec_rawshake(struct libkeccak_spec *spec, long int x, long int d);
Link with -lkeccak. π«Ά
πΈ DESCRIPTION πΈ
Okay so bestie, libkeccak_spec_rawshake() sets *spec so it specifies the Keccak parameters used for RawSHAKE hashing. It takes 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, and it ate. π
β¨
π¦ RETURN VALUES π¦
The libkeccak_spec_rawshake() function does not return any value. Literally nothing comes back β itβs a void function, no cap. π
π ERRORS π
The libkeccak_spec_rawshake() function cannot fail. No error era, no dramatic plot twist. π
π EXAMPLE π
This example configures a struct libkeccak_spec to specify the Keccak parameters used for RawSHAKE256(, 512):
struct libkeccak_spec spec;
libkeccak_spec_rawshake(&spec, 256, 512);
Iconic. Obsessed. π
π SEE ALSO π
libkeccak_spec_cshake(3)libkeccak_spec_sha3(3)libkeccak_spec_shake(3)libkeccak_spec_check(3)libkeccak_generalised_spec_initialise(3)libkeccak_state_initialise(3)libkeccak_hmac_initialise(3)
sign-off time, bestie: this page comes from LIBKECCAK and points back to LIBKECCAK_SPEC_RAWSHAKE(3) β the footer has no date printed, so I am not inventing one, periodt. ππ§ββοΈ
π¦ 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