|
static uint16_t | crc16_ccit (uint8_t *data, uint16_t length) |
| Calculate crc16_ccit for a given data. More...
|
|
static int32_t | HsmClient_SendAndRecv (HsmClient_t *HsmClient, uint32_t timeout) |
| Generic send and receive message api. More...
|
|
void | HsmClient_isr (uint8_t remoteCoreId, uint8_t localClientId, uint8_t remoteClientId, uint8_t *msgValue, void *args) |
|
int32_t | HsmClient_register (HsmClient_t *HsmClient, uint8_t clientId) |
| register a client to a particular ClientId More...
|
|
int32_t | HsmClient_init (SIPC_Params *params) |
| Initialize the HSM client for current core. More...
|
|
void | HsmClient_deinit (void) |
|
void | HsmClient_unregister (HsmClient_t *HsmClient, uint8_t clientId) |
| unregister a client to a particular ClientId More...
|
|
int32_t | HsmClient_getVersion (HsmClient_t *HsmClient, HsmVer_t *hsmVer, uint32_t timeout) |
| populates the current HSMRT version Id by default the hsm flag is set to HSM_FLAG_AOP for this service More...
|
|
int32_t | HsmClient_getUID (HsmClient_t *HsmClient, uint8_t *uid, uint32_t timeout) |
| The service issued to HSM Server populates the Device UID by default the hsm flag is set to HSM_FLAG_AOP for this service. More...
|
|
int32_t | HsmClient_openDbgFirewall (HsmClient_t *HsmClient, uint8_t *cert, uint32_t cert_size, uint32_t timeout) |
| The service issued to HSM Server verifies the certificate and by default the hsm flag is set to HSM_FLAG_AOP for this service. More...
|
|
int32_t | HsmClient_importKeyring (HsmClient_t *HsmClient, uint8_t *cert, uint32_t cert_size, uint32_t timeout) |
| The service issued to HSM Server verifies the certificate and imports the keys from the certificate. More...
|
|
int32_t | HsmClient_readOTPRow (HsmClient_t *HsmClient, EfuseRead_t *readRow) |
| The service issued to HSM Server retrieves the data of GP OTP row based on row index provided as param. More...
|
|
int32_t | HsmClient_writeOTPRow (HsmClient_t *HsmClient, EfuseRowWrite_t *writeRow) |
| The service issued to HSM Server writes the data to extended OTP efuse row based on row index provided as param. More...
|
|
int32_t | HsmClient_lockOTPRow (HsmClient_t *HsmClient, EfuseRowProt_t *protRow) |
| The service issued to HSM Server sets the protection status bit of the specified row to 1. More...
|
|
int32_t | HsmClient_getOTPRowCount (HsmClient_t *HsmClient, EfuseRowCount_t *rowCount) |
| The service issued to HSM Server retrieves the count of extended OTP rows. More...
|
|
int32_t | HsmClient_getOTPRowProtection (HsmClient_t *HsmClient, EfuseRowProt_t *rowProt) |
| The service issued to HSM Server retrieves the extended otp efuse row protection status. More...
|
|
int32_t | HsmClient_procAuthBoot (HsmClient_t *HsmClient, uint8_t *cert, uint32_t cert_size, uint32_t timeout) |
| The service issued to HSM Server helps with extended secure boot for applications. More...
|
|
int32_t | HsmClient_setFirewall (HsmClient_t *HsmClient, FirewallReq_t *FirewallReqObj, uint32_t timeout) |
| The service issued to HSM Server sets the firewall for the given firewall id and region. More...
|
|
int32_t | HsmClient_FirewallIntr (HsmClient_t *HsmClient, FirewallIntrReq_t *FirewallIntrReqObj, uint32_t timeout) |
| The service issued to HSM Server sets the firewall interrupt request for the given firewall id. More...
|
|
int32_t | HsmClient_getDKEK (HsmClient_t *HsmClient, DKEK_t *getDKEK, uint32_t timeout) |
| The service issued to HSM Server retrieves the derived KEK based on identifier as param. More...
|
|
int32_t | HsmClient_waitForBootNotify (HsmClient_t *HsmClient, uint32_t timeout) |
| Current core will wait for bootnotify message from HSM core. More...
|
|
int32_t | HsmClient_keyWriter (HsmClient_t *HsmClient, KeyWriterCertHeader_t *certHeader, uint32_t timeout) |
| The service issued to HSM Server verifies the certificate and process the keywriter operations,. More...
|
|
int32_t | HsmClient_readSWRev (HsmClient_t *HsmClient, SWRev_t *readSWRev) |
| The service issued to HSM Server retrieves the SWRevision value based on identifier as param. More...
|
|
int32_t | HsmClient_writeSWRev (HsmClient_t *HsmClient, SWRev_t *writeSWRev) |
| The service issued to HSM Server writes the SWRevision value based on identifier as param. More...
|
|
int32_t | HsmClient_getRandomNum (HsmClient_t *HsmClient, RNGReq_t *getRandomNum) |
| Returns the Random Number Generated. More...
|
|