This driver currently is used to load HSMRt firmware on HS-SE devices. This driver is used to leverage services from HSM on HS-FS and HS-SE devices. To use this on HS-FS devices, an encrypted HSMRt binary is needed which will be released by 8.4. For HS-SE devices, TIFS-MCU can be used for HSM which is available on mySecureSW.
◆ Hsmclient_loadHSMRtFirmware()
int32_t Hsmclient_loadHSMRtFirmware |
( |
const uint8_t * |
pHSMRt_firmware | ) |
|
Loads the HSMRt firmware. This is typically called by SBL.
- Parameters
-
pHSMRt_firmware | [IN] Pointer to signed HSMRt binary |
- Returns
- SUCCESS on success, else failure
◆ Hsmclient_init()
int32_t Hsmclient_init |
( |
uint32_t |
coreId | ) |
|
Initialize Hsm Client module.
- Parameters
-
coreId | [IN] ID of the core running the driver |
- Returns
- SystemP_SUCCESS on success, else SystemP_FAILURE