aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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];