AM263x MCU+ SDK  08.05.00
hsmclient.h File Reference

Go to the source code of this file.

Data Structures

union  HsmVer_t
 type for reading HSMRt version. More...
 
struct  HsmClient_t
 This is a HSMClient type which holds the information needed by hsm client to communicate with HSM . More...
 

Functions

union HsmVer_t_ __attribute__ ((packed)) HsmVer_t
 type for reading HSMRt version. More...
 
int32_t HsmClient_init (SIPC_Params *params)
 Initialize the HSM client for current core. More...
 
void HsmClient_deInit (void)
 De initialize the HSM client for current core. More...
 
int32_t HsmClient_getVersion (HsmClient_t *HsmClient, HsmVer_t *verId, uint32_t timeToWaitInTick)
 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_register (HsmClient_t *HsmClient, uint8_t clientId)
 register a client to a particular ClientId More...
 
void HsmClient_unregister (HsmClient_t *HsmClient, uint8_t clientId)
 unregister a client to a particular ClientId More...
 
int32_t HsmClient_waitForBootNotify (HsmClient_t *HsmClient, uint32_t timeToWaitInTicks)
 Current core will wait for bootnotify message from HSM core. More...
 
int32_t Hsmclient_loadHSMRtFirmware (const uint8_t *pHSMRt_firmware)
 Loads the HSMRt firmware. This is typically called by SBL. More...
 

Variables

uint64_t HsmrtVer
 
struct {
   uint8_t   PatchVer
 
   uint8_t   MinorVer
 
   uint8_t   MajorVer
 
   uint8_t   ApiVer
 
   uint8_t   SocType
 
   uint8_t   BinType
 
   uint8_t   HsmType
 
   uint8_t   DevType
 
VerStruct
 

Variable Documentation

◆ HsmrtVer

uint64_t HsmrtVer

< A 64 bit unique Version number

◆ PatchVer

uint8_t PatchVer

◆ MinorVer

uint8_t MinorVer

patch Version number refer HSMRT_PATCH_VER in TIFS Docs

◆ MajorVer

uint8_t MajorVer

HSMRt minor version number refer HSMRT_MINOR_VER in TIFS Docs

◆ ApiVer

uint8_t ApiVer

HSMRt major version number refer HSMRT_MAJOR_VER in TIFS Docs

◆ SocType

uint8_t SocType

HSMRt API version number refer HSMRT_APIS_VER in TIFS Docs

◆ BinType

uint8_t BinType

HSMRt Soc type ID refer HSMRT_SOC_TYPE in TIFS Docs

◆ HsmType

uint8_t HsmType

HSMRt Binary type ID refer HSMRT_BIN_TYPE in TIFS Docs

◆ DevType

uint8_t DevType

HSM Architecture version

◆ VerStruct

struct { ... } VerStruct