aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-06 22:13:42 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-06 22:13:42 +0100
commitb5553c6cf5fdcd274af3fd0ebca64c67138c1a99 (patch)
treed303179b8794188a3081bb2a81ba07995508fd35 /src
parentwhoops (diff)
downloadlibkeccak-b5553c6cf5fdcd274af3fd0ebca64c67138c1a99.tar.gz
libkeccak-b5553c6cf5fdcd274af3fd0ebca64c67138c1a99.tar.bz2
libkeccak-b5553c6cf5fdcd274af3fd0ebca64c67138c1a99.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/libkeccak/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libkeccak/digest.c b/src/libkeccak/digest.c
index d1a4ec8..0875acd 100644
--- a/src/libkeccak/digest.c
+++ b/src/libkeccak/digest.c
@@ -150,7 +150,7 @@ void libkeccak_f_round64(libkeccak_state_t* restrict state, int_fast64_t rc)
int_fast64_t da, db, dc, dd, de;
/* θ step (step 1 and 2 of 3). */
-#define X(N) C[N] = (A[N * 5] ^ A[N * 5 + 1]) ^ (A[N * 5 + 2] ^ A[N * 5 + 3]) ^ A[N * 5 + 4];
+#define X(N) C[N] = A[N * 5] ^ A[N * 5 + 1] ^ A[N * 5 + 2] ^ A[N * 5 + 3] ^ A[N * 5 + 4];
LIST_5
#undef X