aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_state_wipe.c
blob: e46a25d0b4f76d1c36d80665fefdb1b800e6d6c8 (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 struct libkeccak_state *state)
{
	libkeccak_state_wipe_message(state);
	libkeccak_state_wipe_sponge(state);
}