---
name: "libkeccak_hmac_fast_destroy"
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_fast_destroy"
---

# libkeccak\_hmac\_fast\_destroy(3)

Destroys an HMAC-hashing state without erasure

## NAME

libkeccak\_hmac\_fast\_destroy - Destroys an HMAC-hashing state without erasure

## SYNOPSIS

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

Link with *-lkeccak*.

## DESCRIPTION

The **libkeccak\_hmac\_fast\_destroy**() function releases the allocations stored in *\*state*, without releasing the allocation of *state* itself.

The **libkeccak\_hmac\_fast\_destroy**() function does not securely erase sensitive data.

## RETURN VALUES

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

## ERRORS

The **libkeccak\_state\_fast\_destroy**() function cannot fail.

## SEE ALSO

[**libkeccak\_hmac\_fast\_free**(3)](/libkeccak_hmac_fast_free/3.md), [**libkeccak\_hmac\_destroy**(3)](/libkeccak_hmac_destroy/3.md), [**libkeccak\_hmac\_initialise**(3)](/libkeccak_hmac_initialise/3.md), [**libkeccak\_hmac\_reset**(3)](/libkeccak_hmac_reset/3.md), [**libkeccak\_hmac\_wipe**(3)](/libkeccak_hmac_wipe/3.md)
