LIBKECCAK_SPEC_RAWSHAKE(3)

πŸ“¦ version 1.4.3, in arch rolling, opensuse-leap 16.0

πŸ’… 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 πŸ‘‘


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