[csrng] Select Canright S-Box implementation for AES cipher core This commit changes the default selection for the S-Box implementation inside the embedded AES cipher core from the LUT-based implementation the unmasked Canright design. This is more suitable for ASIC implementations because of the lower area footprint. The LUT-based implementation should be used for FPGA targets only. This change got already merged with lowRISC/OpenTitan#5215 but it got accidentally reverted when rebasing lowRISC/OpenTitan#5195. Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org>
diff --git a/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv b/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv index d032f64..4cd9d2c 100644 --- a/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv +++ b/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
@@ -19,7 +19,7 @@ parameter bit SecAesAllowForcingMasks = 1'b0, parameter bit KmacEnMasking = 0, parameter int KmacReuseShare = 0, - parameter aes_pkg::sbox_impl_e CsrngSBoxImpl = aes_pkg::SBoxImplLut, + parameter aes_pkg::sbox_impl_e CsrngSBoxImpl = aes_pkg::SBoxImplCanright, parameter bit SramCtrlMainInstrExec = 1, parameter otbn_pkg::regfile_e OtbnRegFile = otbn_pkg::RegFileFF,