AM263Px MCU+ SDK: CryptoServiceReq_t Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
CryptoServiceReq_t Struct Reference
APIs for SOC Specific Device Drivers » APIs for HSMCLIENT

## Detailed Description

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

Parameters

  algoId | Algorithm selector: HSM_CRYPTO_SVC_MAC_CMAC, etc.
  subSvcId | Operation selector: HSM_CRYPTO_SVC_MAC_GENERATE, etc.
  keyId | Symmetric key index in the HSM keyring (CRC protected).
  errCode | Error code returned by the HSM Crypto Wrapper on response.
  ptrArgs | Pointer 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