diff options
Diffstat (limited to 'pure-java/SHA3.java')
-rw-r--r-- | pure-java/SHA3.java | 2 |
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 */ |