aboutsummaryrefslogtreecommitdiffstats
path: root/python3/sha3sum.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-05-03 02:57:34 +0200
committerMattias Andrée <maandree@operamail.com>2013-05-03 02:57:34 +0200
commit4e0ea4634f06bfc7389a435b56366f71894a8d9f (patch)
treea597b0a7c96e3ef5cdbbd40cca4e68cf1e904b52 /python3/sha3sum.py
parentm (diff)
downloadsha3sum-4e0ea4634f06bfc7389a435b56366f71894a8d9f.tar.gz
sha3sum-4e0ea4634f06bfc7389a435b56366f71894a8d9f.tar.bz2
sha3sum-4e0ea4634f06bfc7389a435b56366f71894a8d9f.tar.xz
apply change made to pure-java to other versions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'python3/sha3sum.py')
-rwxr-xr-xpython3/sha3sum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python3/sha3sum.py b/python3/sha3sum.py
index 38f9670..43bdf2f 100755
--- a/python3/sha3sum.py
+++ b/python3/sha3sum.py
@@ -465,7 +465,7 @@ class SHA3:
ptr = 0
rr = SHA3.r >> 3
- nn = SHA3.n >> 3
+ nn = (SHA3.n + 3) >> 3
ww = SHA3.w >> 3
# Absorbing phase