From d4ce8327ff902b5ecd42d057063c03793e6d91c2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 15 Sep 2024 02:15:08 +0200 Subject: Organise files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libkeccak_state_wipe_message.c | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 libkeccak_state_wipe_message.c (limited to 'libkeccak_state_wipe_message.c') diff --git a/libkeccak_state_wipe_message.c b/libkeccak_state_wipe_message.c deleted file mode 100644 index 135960c..0000000 --- a/libkeccak_state_wipe_message.c +++ /dev/null @@ -1,18 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -#include "common.h" - - -/** - * Wipe data in the state's message wihout freeing any data - * - * @param state The state that should be wipe - */ -void -libkeccak_state_wipe_message(volatile struct libkeccak_state *state) -{ - volatile unsigned char *restrict M = state->M; - size_t i; - - for (i = 0; i < state->mptr; i++) - M[i] = 0; -} -- cgit v1.2.3-70-g09d2