[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/data/top_earlgrey.hjson b/hw/top_earlgrey/data/top_earlgrey.hjson
index 7e65c5d..ae8b022 100755
--- a/hw/top_earlgrey/data/top_earlgrey.hjson
+++ b/hw/top_earlgrey/data/top_earlgrey.hjson
@@ -893,7 +893,10 @@
// KeyMgr Sideload & KDF function
'otp_ctrl.otp_keymgr_key' : ['keymgr.otp_key'],
'keymgr.kmac_key' : ['kmac.keymgr_key']
- 'keymgr.kmac_data' : ['kmac.keymgr_kdf']
+
+ // KMAC Application Interface
+ 'kmac.app' : ['keymgr.kmac_data']
+
// The idle connection is automatically connected through topgen.
// The user does not need to explicitly declare anything other than
// an empty list.