[Cryptech-Commits] [core/sha256] 02/02: Removed the positions of W no longer needed.
git at cryptech.is
git at cryptech.is
Wed Feb 26 02:11:18 UTC 2014
This is an automated email from the git hooks/post-receive script.
joachim at secworks.se pushed a commit to branch master
in repository core/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