LIBKECCAK_GENERALISED_SPEC_INITIALISE(3) Library Functions Manual LIBKECCAK_GENERALISED_SPEC_INITIALISE(3)

libkeccak_generalised_spec_initialise - Set all specification parameters to automatic

#include <libkeccak.h>
void libkeccak_generalised_spec_initialise(struct libkeccak_generalised_spec *spec);

Link with -lkeccak.

The libkeccak_generalised_spec_initialise() function initialises *spec, so that all parameters are configured to be automatically selected.

Automatic selection means that value will be set to the default, which depends on the other settings.

Specifically, all members of *spec, will be set to LIBKECCAK_GENERALISED_SPEC_AUTOMATIC.

The libkeccak_generalised_spec_initialise() function does not return any value.

The libkeccak_generalised_spec_initialise() function cannot fail.

libkeccak_degeneralise_spec(3), libkeccak_spec_cshake(3), libkeccak_spec_sha3(3), libkeccak_spec_rawshake(3), libkeccak_spec_shake(3)

LIBKECCAK