LIBKECCAK_SPEC_SHA3(3)
π NAME π
libkeccak_spec_sha3 β configure SHA-3 hashing parameters β¨
okay bestie, welcome to the LIBKECCAK_SPEC_SHA3(3) page in the Library Functions Manual β it's literally all about setting up SHA-3 vibes π
β¨ SYNOPSIS β¨
#include <libkeccak.h>
void libkeccak_spec_sha3(struct libkeccak_spec *spec, long int x);
Link with -lkeccak.
π¦ DESCRIPTION π¦
okay so libkeccak_spec_sha3() sets *spec to specify the Keccak parameters used for SHA-3 hashing, with the output size specified in bits via the x parameter. That's the whole moment, no cap π
πΈ RETURN VALUES πΈ
libkeccak_spec_sha3() does not return any value β no return era, periodt β¨
π ERRORS π
libkeccak_spec_sha3() cannot fail. Iconic behavior honestly ππ
π EXAMPLE π
This example configures a struct libkeccak_spec to specify the Keccak parameters used for SHA3-256:
struct libkeccak_spec spec;
libkeccak_spec_sha3(&spec, 256);
π SEE ALSO π
libkeccak_spec_cshake(3)libkeccak_spec_rawshake(3)libkeccak_spec_shake(3)libkeccak_spec_check(3)libkeccak_generalised_spec_initialise(3)libkeccak_state_initialise(3)libkeccak_hmac_initialise(3)
xoxo, LIBKECCAK Β· LIBKECCAK_SPEC_SHA3(3) Β· date: not printed on this page, so we're calling it timeless π«Άπ
π¦ 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