[Cryptech-Commits] [staging/core/hash/sha256] 23/32: Removed the positions of W no longer needed.

git at cryptech.is git at cryptech.is
Tue Mar 17 13:14:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch master
in repository staging/core/hash/sha256.

commit 52c2f0bc2655b77236b8146b0fdc60a6f46d539f
Author: Joachim Strömbergson <joachim at secworks.se>
Date:   Wed Feb 26 03:10:59 2014 +0100

    Removed the positions of W no longer needed.
---
 src/model/sha256.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/model/sha256.py b/src/model/sha256.py
index afee05e..2a56f41 100755
--- a/src/model/sha256.py
+++ b/src/model/sha256.py
@@ -68,7 +68,7 @@ class SHA256():
         self.g = 0
         self.h = 0
         self.w = 0
-        self.W = [0] * 64
+        self.W = [0] * 16
         self.k = 0
         self.K = [0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5,
                   0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,



More information about the Commits mailing list