libkeccak_hmac_destroy(3)

libkeccak_hmac_destroy3

Destroys an hmac-hashing state with erasure

Usage

#include <libkeccak.h>
void libkeccak_hmac_destroy(struct libkeccak_hmac_state *state);

Link with -lkeccak.

Overview

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

The libkeccak_hmac_destroy() function securely erases sensitive data.

Return values

The libkeccak_hmac_destroy() function does not return any value.

Errors

The libkeccak_hmac_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.