[Cryptech-Commits] [core/hash/sha512] branch clock_speed updated: Minor cleanup.

git at cryptech.is git at cryptech.is
Mon Apr 23 12:40:42 UTC 2018


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

joachim at secworks.se pushed a commit to branch clock_speed
in repository core/hash/sha512.

The following commit(s) were added to refs/heads/clock_speed by this push:
     new 0972f00  Minor cleanup.
0972f00 is described below

commit 0972f00bce399135a299e9b1c8fe36f14c9f72f1
Author: Joachim Strömbergson <joachim at secworks.se>
AuthorDate: Mon Apr 23 14:40:18 2018 +0200

    Minor cleanup.
---
 src/rtl/sha512_core.v | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/rtl/sha512_core.v b/src/rtl/sha512_core.v
index 576d872..1b50a6f 100644
--- a/src/rtl/sha512_core.v
+++ b/src/rtl/sha512_core.v
@@ -373,14 +373,14 @@ module sha512_core(
   //----------------------------------------------------------------
   always @*
     begin : digest_logic
-      H0_new = 64'h00000000;
-      H1_new = 64'h00000000;
-      H2_new = 64'h00000000;
-      H3_new = 64'h00000000;
-      H4_new = 64'h00000000;
-      H5_new = 64'h00000000;
-      H6_new = 64'h00000000;
-      H7_new = 64'h00000000;
+      H0_new = 64'h0;
+      H1_new = 64'h0;
+      H2_new = 64'h0;
+      H3_new = 64'h0;
+      H4_new = 64'h0;
+      H5_new = 64'h0;
+      H6_new = 64'h0;
+      H7_new = 64'h0;
       H_we = 0;
 
       if (digest_init)
@@ -459,14 +459,14 @@ module sha512_core(
   //----------------------------------------------------------------
   always @*
     begin : state_logic
-      a_new  = 64'h00000000;
-      b_new  = 64'h00000000;
-      c_new  = 64'h00000000;
-      d_new  = 64'h00000000;
-      e_new  = 64'h00000000;
-      f_new  = 64'h00000000;
-      g_new  = 64'h00000000;
-      h_new  = 64'h00000000;
+      a_new  = 64'h0;
+      b_new  = 64'h0;
+      c_new  = 64'h0;
+      d_new  = 64'h0;
+      e_new  = 64'h0;
+      f_new  = 64'h0;
+      g_new  = 64'h0;
+      h_new  = 64'h0;
       a_h_we = 0;
 
       if (state_init)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list