[kmac] Moving KDF struct to KMAC IP
Previously KeyMgr KDF interface was defined in KeyMgr IP. The interface
has been used for KeyMgr to initiate KMAC operation via side channel
interface.
As rom_ctrl and otp_ctrl plan to use KMAC as signature verification
function, KMAC needs to have more general application interface now.
This commit is to move the KDF struct into KMAC and renames it to
`app_{req/rsp}_t`.
Signed-off-by: Eunchan Kim <eunchan@opentitan.org>
diff --git a/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv b/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
index 4976651..908b319 100644
--- a/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
+++ b/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
@@ -470,8 +470,8 @@
edn_pkg::edn_rsp_t [6:0] edn1_edn_rsp;
otp_ctrl_pkg::otp_keymgr_key_t otp_ctrl_otp_keymgr_key;
keymgr_pkg::hw_key_req_t keymgr_kmac_key;
- keymgr_pkg::kmac_data_req_t keymgr_kmac_data_req;
- keymgr_pkg::kmac_data_rsp_t keymgr_kmac_data_rsp;
+ kmac_pkg::app_req_t kmac_app_req;
+ kmac_pkg::app_rsp_t kmac_app_rsp;
logic [3:0] clkmgr_aon_idle;
jtag_pkg::jtag_req_t pinmux_aon_lc_jtag_req;
jtag_pkg::jtag_rsp_t pinmux_aon_lc_jtag_rsp;
@@ -1965,8 +1965,8 @@
// Inter-module signals
.keymgr_key_i(keymgr_kmac_key),
- .keymgr_kdf_i(keymgr_kmac_data_req),
- .keymgr_kdf_o(keymgr_kmac_data_rsp),
+ .app_i(kmac_app_req),
+ .app_o(kmac_app_rsp),
.entropy_o(edn0_edn_req[3]),
.entropy_i(edn0_edn_rsp[3]),
.idle_o(clkmgr_aon_idle[2]),
@@ -2010,8 +2010,8 @@
.aes_key_o(),
.hmac_key_o(),
.kmac_key_o(keymgr_kmac_key),
- .kmac_data_o(keymgr_kmac_data_req),
- .kmac_data_i(keymgr_kmac_data_rsp),
+ .kmac_data_o(kmac_app_req),
+ .kmac_data_i(kmac_app_rsp),
.otp_key_i(otp_ctrl_otp_keymgr_key),
.otp_hw_cfg_i(otp_ctrl_otp_hw_cfg),
.flash_i(flash_ctrl_keymgr),