aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_state_wipe.c
blob: e5c721c9aa0b1f18dade7288ce6af6386bc87172 (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 wihout freeing any data
 * 
 * @param  state  The state that should be wipe
 */
void
libkeccak_state_wipe(volatile libkeccak_state_t *restrict state)
{
	libkeccak_state_wipe_message(state);
	libkeccak_state_wipe_sponge(state);
}