aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/keywrap_core.v
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2018-06-29 10:49:51 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2018-06-29 10:49:51 +0200
commit2817f5b550ebd57f3f376c6c60cf3d3c8754034b (patch)
tree15a7a245c3a52e1ddf5d310c25092fcffdbee4c2 /src/rtl/keywrap_core.v
parent7fe900da33635fd343a7ba585624a77f5dfd79af (diff)
Fixed nits found during linting.
Diffstat (limited to 'src/rtl/keywrap_core.v')
-rw-r--r--src/rtl/keywrap_core.v5
1 files 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
5 15:47:04 -0400 Get rid of autoconf, as we don't really need it. Add eim_peek_poke' href='/sw/libhal/commit/utils/eim_peek_poke.c?h=js_keywrap&id=65f663450cfadb06b33166092aecae705a20e9bc'>65f6634
b1225c1
65f6634

































4856502
65f6634






4856502
65f6634





4856502
65f6634











1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126