diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-15 11:57:21 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-15 11:57:21 +0200 |
commit | 7897170e09aa19122053ff24797b4d7c23f47cbc (patch) | |
tree | 7d13e4ed39c46ffe803076603b742bb47479122d /extra/libkeccak_state_wipe_sponge.c | |
parent | m (diff) | |
download | libkeccak-7897170e09aa19122053ff24797b4d7c23f47cbc.tar.gz libkeccak-7897170e09aa19122053ff24797b4d7c23f47cbc.tar.bz2 libkeccak-7897170e09aa19122053ff24797b4d7c23f47cbc.tar.xz |
Optimisation for w=8,16,32
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'extra/libkeccak_state_wipe_sponge.c')
-rw-r--r-- | extra/libkeccak_state_wipe_sponge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/libkeccak_state_wipe_sponge.c b/extra/libkeccak_state_wipe_sponge.c index 91e845a..69aa46a 100644 --- a/extra/libkeccak_state_wipe_sponge.c +++ b/extra/libkeccak_state_wipe_sponge.c @@ -10,7 +10,7 @@ void libkeccak_state_wipe_sponge(volatile struct libkeccak_state *state) { - volatile int64_t *restrict S = state->S; + volatile uint64_t *restrict S = state->S.w64; size_t i; for (i = 0; i < 25; i++) |