aboutsummaryrefslogblamecommitdiffstats
path: root/libkeccak_state_wipe.c
blob: 601fc366089c3f9f54096e3fc8c864666138f85a (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                         
                                                                     



                                            
/* 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 *restrict state)
{
	libkeccak_state_wipe_message(state);
	libkeccak_state_wipe_sponge(state);
}