[Cryptech-Commits] [core/hash/sha256] 01/01: Removed the address defines not needed.

git at cryptech.is git at cryptech.is
Fri Jul 17 04:13:40 UTC 2015


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

joachim at secworks.se pushed a commit to branch state_access
in repository core/hash/sha256.

commit 88481ab4659f3def42d0c00a142d011cbf874c0d
Author: Joachim Strömbergson <joachim at secworks.se>
Date:   Fri Jul 17 06:13:34 2015 +0200

    Removed the address defines not needed.
---
 src/rtl/sha256.v   | 9 ---------
 src/tb/tb_sha256.v | 9 ---------
 2 files changed, 18 deletions(-)

diff --git a/src/rtl/sha256.v b/src/rtl/sha256.v
index 7afa3f8..f81aabf 100644
--- a/src/rtl/sha256.v
+++ b/src/rtl/sha256.v
@@ -94,15 +94,6 @@ module sha256(
   localparam ADDR_DIGEST6   = 8'h26;
   localparam ADDR_DIGEST7   = 8'h27;
 
-  localparam ADDR_STATE0    = 8'h30;
-  localparam ADDR_STATE1    = 8'h31;
-  localparam ADDR_STATE2    = 8'h32;
-  localparam ADDR_STATE3    = 8'h33;
-  localparam ADDR_STATE4    = 8'h34;
-  localparam ADDR_STATE5    = 8'h35;
-  localparam ADDR_STATE6    = 8'h36;
-  localparam ADDR_STATE7    = 8'h37;
-
   localparam CORE_NAME0     = 32'h73686132; // "sha2"
   localparam CORE_NAME1     = 32'h2d323536; // "-256"
   localparam CORE_VERSION   = 32'h302e3831; // "0.81"
diff --git a/src/tb/tb_sha256.v b/src/tb/tb_sha256.v
index 47b0308..893d12b 100644
--- a/src/tb/tb_sha256.v
+++ b/src/tb/tb_sha256.v
@@ -94,15 +94,6 @@ module tb_sha256();
   parameter ADDR_DIGEST6   = 8'h26;
   parameter ADDR_DIGEST7   = 8'h27;
 
-  parameter ADDR_STATE0    = 8'h30;
-  parameter ADDR_STATE1    = 8'h31;
-  parameter ADDR_STATE2    = 8'h32;
-  parameter ADDR_STATE3    = 8'h33;
-  parameter ADDR_STATE4    = 8'h34;
-  parameter ADDR_STATE5    = 8'h35;
-  parameter ADDR_STATE6    = 8'h36;
-  parameter ADDR_STATE7    = 8'h37;
-
 
   //----------------------------------------------------------------
   // Register and Wire declarations.



More information about the Commits mailing list