---
name: "libkeccak_hmac_wipe"
section: "3"
platform: "linux"
package: "libkeccak"
version: "1.4.3-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libkeccak_hmac_wipe"
---

# libkeccak\_hmac\_wipe(3)

Securely erase sensitive data from a HMAC-hashing state

## NAME

libkeccak\_hmac\_wipe - Securely erase sensitive data from a HMAC-hashing state

## SYNOPSIS

```
#include <libkeccak.h>
int libkeccak_hmac_wipe(struct libkeccak_hmac_state *state);
```

Link with *-lkeccak*.

## DESCRIPTION

The **libkeccak\_hmac\_wipe**() function securely erases data that may be sensitive: the buffer and the state of the underlaying hash-algorithm.

## RETURN VALUES

The **libkeccak\_hmac\_wipe**() function does not return any value.

## ERRORS

The **libkeccak\_hmac\_wipe**() function cannot fail.

## SEE ALSO

[**libkeccak\_hmac\_fast\_free**(3)](/libkeccak_hmac_fast_free/3.md), [**libkeccak\_hmac\_free**(3)](/libkeccak_hmac_free/3.md), [**libkeccak\_hmac\_fast\_destroy**(3)](/libkeccak_hmac_fast_destroy/3.md), [**libkeccak\_hmac\_destroy**(3)](/libkeccak_hmac_destroy/3.md)
