[Cryptech-Commits] [user/js/keywrap] 02/02: Fixed nits found during linting.
git at cryptech.is
git at cryptech.is
Fri Jun 29 08:50:03 UTC 2018
This is an automated email from the git hooks/post-receive script.
joachim at secworks.se pushed a commit to branch master
in repository user/js/keywrap.
commit 2817f5b550ebd57f3f376c6c60cf3d3c8754034b
Author: Joachim Strömbergson <joachim at secworks.se>
AuthorDate: Fri Jun 29 10:49:51 2018 +0200
Fixed nits found during linting.
---
src/rtl/keywrap_core.v | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/rtl/keywrap_core.v b/src/rtl/keywrap_core.v
index 14768d8..aa6f0df 100644
--- a/src/rtl/keywrap_core.v
+++ b/src/rtl/keywrap_core.v
@@ -134,7 +134,6 @@ module keywrap_core (
wire aes_ready;
reg [127 : 0] aes_block;
wire [127 : 0] aes_result;
- wire aes_valid;
reg update_state;
@@ -176,7 +175,7 @@ module keywrap_core (
.ready(aes_ready),
.result(aes_result),
- .result_valid(aes_valid)
+ .result_valid()
);
@@ -245,7 +244,7 @@ module keywrap_core (
aes_block = {a_reg, core_rd_data};
core_wr_data = aes_result[63 : 0];
- xor_val = (rlen * iteration_ctr_reg) + block_ctr_reg;
+ xor_val = (rlen * iteration_ctr_reg) + {51'h0, block_ctr_reg};
if (init_a)
begin
More information about the Commits
mailing list