aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-02-04 02:44:29 +0100
committerMattias Andrée <maandree@operamail.com>2013-02-04 02:44:29 +0100
commit9f1dcfcb9d4df999397335c651776677c9f9472a (patch)
tree99997d916cc1d42fbe469b7c077809ca97db1553
parentmore opt (diff)
downloadsha3sum-9f1dcfcb9d4df999397335c651776677c9f9472a.tar.gz
sha3sum-9f1dcfcb9d4df999397335c651776677c9f9472a.tar.bz2
sha3sum-9f1dcfcb9d4df999397335c651776677c9f9472a.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-xsha3sum.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sha3sum.py b/sha3sum.py
index 5742ec0..35b71dd 100755
--- a/sha3sum.py
+++ b/sha3sum.py
@@ -41,12 +41,12 @@ class SHA3:
:list<int> Round contants
'''
- B = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
+ B = [0] * 25
'''
- :list<list<int>> Keccak-f round temporary
+ :list<int> Keccak-f round temporary
'''
- C = [0, 0, 0, 0, 0]
+ C = [0] * 5
'''
:list<int> Keccak-f round temporary
'''