aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-12 14:49:33 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-12 14:49:33 +0100
commit5f4577ee062f6b51c2cdeb1eb59449e9ca9eca49 (patch)
tree479e5dc4e7e7dc65d03554fb6859931afe5c3c99
parentminor opts (diff)
downloadlibkeccak-5f4577ee062f6b51c2cdeb1eb59449e9ca9eca49.tar.gz
libkeccak-5f4577ee062f6b51c2cdeb1eb59449e9ca9eca49.tar.bz2
libkeccak-5f4577ee062f6b51c2cdeb1eb59449e9ca9eca49.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/libkeccak/digest.c1
-rw-r--r--src/libkeccak/state.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/libkeccak/digest.c b/src/libkeccak/digest.c
index 274367d..b136eb0 100644
--- a/src/libkeccak/digest.c
+++ b/src/libkeccak/digest.c
@@ -202,7 +202,6 @@ void libkeccak_f(register libkeccak_state_t* restrict state)
else
for (; i < nr; i++)
libkeccak_f_round(state, (int_fast64_t)(RC[i] & wmod));
- /* XXX Should the state hold its own masked copy of RC? */
}
diff --git a/src/libkeccak/state.h b/src/libkeccak/state.h
index 74db7f9..5fdaca5 100644
--- a/src/libkeccak/state.h
+++ b/src/libkeccak/state.h
@@ -37,7 +37,7 @@
typedef struct libkeccak_state
{
/**
- * The lanes (state)
+ * The lanes (state/sponge)
*/
int_fast64_t S[25];