aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libkeccak/digest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libkeccak/digest.c b/src/libkeccak/digest.c
index 62d615b..c2a7d6f 100644
--- a/src/libkeccak/digest.c
+++ b/src/libkeccak/digest.c
@@ -409,11 +409,12 @@ int libkeccak_digest(libkeccak_state_t* restrict state, const char* restrict msg
size_t bits, const char* restrict suffix, char* restrict hashsum)
{
/* TODO optimise function */
+ char* restrict new;
long rr = state->r >> 3;
long ww = state->w >> 3;
long nn = (state->n + 7) >> 3;
- size_t ext, suffix_len = suffix ? __builtin_strlen(suffix) : 0;
- char* restrict new;
+ size_t suffix_len = suffix ? __builtin_strlen(suffix) : 0;
+ size_t ext;
long i;
if (msg == NULL)