aboutsummaryrefslogtreecommitdiffstats
path: root/pure-java
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-05-03 01:27:24 +0200
committerMattias Andrée <maandree@operamail.com>2013-05-03 01:27:24 +0200
commit6ffc52f7c38ba3e3a3d9ebce020964cb737ddcd8 (patch)
tree0e53a7978ced1c91d82dfff8a6adc65d6becae20 /pure-java
parentparameter stuff (diff)
downloadsha3sum-6ffc52f7c38ba3e3a3d9ebce020964cb737ddcd8.tar.gz
sha3sum-6ffc52f7c38ba3e3a3d9ebce020964cb737ddcd8.tar.bz2
sha3sum-6ffc52f7c38ba3e3a3d9ebce020964cb737ddcd8.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'pure-java')
-rw-r--r--pure-java/SHA3.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pure-java/SHA3.java b/pure-java/SHA3.java
index 6253094..0dbbae9 100644
--- a/pure-java/SHA3.java
+++ b/pure-java/SHA3.java
@@ -508,7 +508,7 @@ public class SHA3
int ptr = 0;
int rr = SHA3.r >> 3;
- int nn = SHA3.n >> 3;
+ int nn = (SHA3.n + 7) >> 3;
int ww = SHA3.w >> 3;
/* Absorbing phase */