Linux repositories inspector

libkeccak_state_fast_free(3)

LIBKECCAK

libkeccak-devel

Development files for libkeccak

NAME

libkeccak_state_fast_free - Destroys and deallocates a hash state without erasure

SYNOPSIS

#include <libkeccak.h>

void libkeccak_state_fast_free(struct libkeccak_state *state);
Link with -lkeccak.

DESCRIPTION

The libkeccak_state_fast_free() function releases the allocations stored in *state, and also released the allocation of state.
The libkeccak_state_fast_free() function does not securely erase sensitive data.

RETURN VALUES

The libkeccak_state_fast_free() function does not return any value.

ERRORS

The libkeccak_state_fast_free() function cannot fail.

NOTES

A double call to libkeccak_state_fast_free() will either result in a double free, which is must likely to crash the process, or free an allocation (that was created between the calls) that was not intended to be freed, resulting in undefined behaviour.
⇧ Top