aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_state_wipe_sponge.c
diff options
context:
space:
mode:
Diffstat (limited to 'libkeccak_state_wipe_sponge.c')
-rw-r--r--libkeccak_state_wipe_sponge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libkeccak_state_wipe_sponge.c b/libkeccak_state_wipe_sponge.c
index eb564c0..14a203b 100644
--- a/libkeccak_state_wipe_sponge.c
+++ b/libkeccak_state_wipe_sponge.c
@@ -12,6 +12,7 @@ libkeccak_state_wipe_sponge(volatile struct libkeccak_state *restrict state)
{
volatile int64_t *restrict S = state->S;
size_t i;
+
for (i = 0; i < 25; i++)
S[i] = 0;
}