libkeccak_state_destroy(3)

libkeccak_state_destroy3

Destroys a hash state with erasure

Usage

#include <libkeccak.h>
void libkeccak_state_destroy(struct libkeccak_state *state);

Link with -lkeccak.

Overview

The libkeccak_state_destroy() function releases the allocations stored in *state, without releasing the allocation of state itself.

The libkeccak_state_destroy() function securely erases sensitive data.

Return values

The libkeccak_state_destroy() function does not return any value.

Errors

The libkeccak_state_destroy() function cannot fail.

From libkeccak 1.4.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.