File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 125
125
local: "false",
126
126
expose: "true",
127
127
}
128
+ { name: "FlopToKmac",
129
+ desc: '''
130
+ If true, insert flops to break a potential long chain between
131
+ the active key slot and KMAC.
132
+ ''',
133
+ type: "bit",
134
+ default: "0",
135
+ local: "false",
136
+ expose: "true",
137
+ }
128
138
// Random netlist constants
129
139
{ name: "RndCnstLfsrSeed",
130
140
desc: "Compile-time random bits for initial LFSR seed",
Original file line number Diff line number Diff line change 6122
6122
expose: "true"
6123
6123
name_top: KeymgrDpeKmacEnMasking
6124
6124
}
6125
+ {
6126
+ name: FlopToKmac
6127
+ desc:
6128
+ '''
6129
+ If true, insert flops to break a potential long chain between
6130
+ the active key slot and KMAC.
6131
+ '''
6132
+ type: bit
6133
+ default: "0"
6134
+ local: "false"
6135
+ expose: "true"
6136
+ name_top: KeymgrDpeFlopToKmac
6137
+ }
6125
6138
{
6126
6139
name: RndCnstLfsrSeed
6127
6140
desc: Compile-time random bits for initial LFSR seed
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ module top_darjeeling #(
85
85
parameter bit SecOtbnSkipUrndReseedAtStart = 0 ,
86
86
// parameters for keymgr_dpe
87
87
parameter bit KeymgrDpeKmacEnMasking = 1 ,
88
+ parameter bit KeymgrDpeFlopToKmac = 0 ,
88
89
// parameters for csrng
89
90
parameter aes_pkg :: sbox_impl_e CsrngSBoxImpl = aes_pkg :: SBoxImplCanright,
90
91
// parameters for entropy_src
@@ -1995,6 +1996,7 @@ module top_darjeeling #(
1995
1996
.AlertAsyncOn (alert_handler_reg_pkg :: AsyncOn[61 : 60 ]),
1996
1997
.AlertSkewCycles (top_pkg :: AlertSkewCycles),
1997
1998
.KmacEnMasking (KeymgrDpeKmacEnMasking),
1999
+ .FlopToKmac (KeymgrDpeFlopToKmac),
1998
2000
.RndCnstLfsrSeed (RndCnstKeymgrDpeLfsrSeed),
1999
2001
.RndCnstLfsrPerm (RndCnstKeymgrDpeLfsrPerm),
2000
2002
.RndCnstRandPerm (RndCnstKeymgrDpeRandPerm),
You can’t perform that action at this time.
0 commit comments