aboutsummaryrefslogtreecommitdiffstats
path: root/extra/libkeccak_state_wipe.c
blob: 728f72f63907697ff9ae9325024d4b65d2eda0d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* See LICENSE file for copyright and license details. */
#include "../common.h"


/**
 * Wipe sensitive data without freeing any data
 * 
 * @param  state  The state that should be wipe
 */
void
libkeccak_state_wipe(volatile struct libkeccak_state *state)
{
	libkeccak_state_wipe_message(state);
	libkeccak_state_wipe_sponge(state);
}