aboutsummaryrefslogtreecommitdiffstats
path: root/python3
diff options
context:
space:
mode:
Diffstat (limited to 'python3')
-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