aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-04 14:24:51 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-04 14:24:51 +0100
commit157ea60903bfc3fbcb34246d2baef6d4a808f7a0 (patch)
tree10ec10afc933bb1f101e7e7b069d74c48110bc90
parentm (diff)
downloadlibkeccak-157ea60903bfc3fbcb34246d2baef6d4a808f7a0.tar.gz
libkeccak-157ea60903bfc3fbcb34246d2baef6d4a808f7a0.tar.bz2
libkeccak-157ea60903bfc3fbcb34246d2baef6d4a808f7a0.tar.xz
remove dead code
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/libkeccak/state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libkeccak/state.c b/src/libkeccak/state.c
index 4985467..0502073 100644
--- a/src/libkeccak/state.c
+++ b/src/libkeccak/state.c
@@ -38,7 +38,6 @@ int libkeccak_state_initialise(libkeccak_state_t* restrict state, const libkecca
state->b = r + c;
state->w = x = b / 25;
state->l = 0;
- if ((x & 0xFF00) != 0) state->l |= 8, x >>= 8;
if ((x & 0x00F0) != 0) state->l |= 4, x >>= 4;
if ((x & 0x000C) != 0) state->l |= 2, x >>= 2;
if ((x & 0x0002) != 0) state->l |= 1;