Linux repositories inspector

libkeccak_state_initialise(3)

LIBKECCAK

libkeccak-devel

Development files for libkeccak

NAME

libkeccak_state_initialise - Initialise hash state

SYNOPSIS

#include <libkeccak.h>

int libkeccak_state_initialise(struct libkeccak_state *state, const struct libkeccak_spec *spec);
Link with -lkeccak.

DESCRIPTION

The libkeccak_state_initialise() function initialises *state and sets the algorithm tuning parameters to those specified by *spec.

RETURN VALUES

The libkeccak_state_initialise() function returns 0 upon successful completion. On error, -1 is returned and errno is set to describe the error.

ERRORS

The libkeccak_state_initialise() function may fail for any specified for the function malloc(3).
⇧ Top