---
name: "libkeccak_state_wipe_sponge"
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_state_wipe_sponge"
---

# libkeccak\_state\_wipe\_sponge(3)

Securely erase the Keccak sponge state

## NAME

libkeccak\_state\_wipe\_sponge - Securely erase the Keccak sponge state

## SYNOPSIS

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

Link with *-lkeccak*.

## DESCRIPTION

The **libkeccak\_state\_wipe\_sponge**() function securely erases the state of the Keccak sponge.

## RETURN VALUES

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

## ERRORS

The **libkeccak\_state\_wipe\_sponge**() function cannot fail.

## SEE ALSO

[**libkeccak\_state\_wipe\_message**(3)](/libkeccak_state_wipe_message/3.md), [**libkeccak\_state\_wipe**(3)](/libkeccak_state_wipe/3.md), [**libkeccak\_state\_fast\_destroy**(3)](/libkeccak_state_fast_destroy/3.md), [**libkeccak\_state\_destroy**(3)](/libkeccak_state_destroy/3.md), [**libkeccak\_state\_reset**(3)](/libkeccak_state_reset/3.md)
