AM261x MCU+ SDK  26.00.00
CryptoServiceReq_t Struct Reference

Detailed Description

Outer request struct for HSM_MSG_CRYPTO_SERVICE. Note: These services are only available in HSSE mode.

Parameters
algoIdAlgorithm selector: HSM_CRYPTO_SVC_MAC_CMAC, etc.
subSvcIdOperation selector: HSM_CRYPTO_SVC_MAC_GENERATE, etc.
keyIdSymmetric key index in the HSM keyring (CRC protected).
errCodeError code returned by the HSM Crypto Wrapper on response.
ptrArgsPointer to the algorithm-specific args struct.

Data Fields

uint32_t algoId
 
uint32_t subSvcId
 
uint32_t keyId
 
uint32_t errCode
 
void * ptrArgs
 

Field Documentation

◆ algoId

uint32_t CryptoServiceReq_t::algoId

Algorithm selector: HSM_CRYPTO_SVC_MAC_*

◆ subSvcId

uint32_t CryptoServiceReq_t::subSvcId

Operation selector: HSM_CRYPTO_SVC_MAC_GENERATE/VERIFY

◆ keyId

uint32_t CryptoServiceReq_t::keyId

Symmetric key index in the keyring (CRC protected)

◆ errCode

uint32_t CryptoServiceReq_t::errCode

Error code returned by HSM Crypto Wrapper

◆ ptrArgs

void* CryptoServiceReq_t::ptrArgs

Algorithm-specific args struct pointer