Outer request struct for HSM_MSG_CRYPTO_SERVICE. Note: These services are only available in HSSE mode.
| 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 |
| uint32_t CryptoServiceReq_t::algoId |
Algorithm selector: HSM_CRYPTO_SVC_MAC_*
| uint32_t CryptoServiceReq_t::subSvcId |
Operation selector: HSM_CRYPTO_SVC_MAC_GENERATE/VERIFY
| uint32_t CryptoServiceReq_t::keyId |
Symmetric key index in the keyring (CRC protected)
| uint32_t CryptoServiceReq_t::errCode |
Error code returned by HSM Crypto Wrapper
| void* CryptoServiceReq_t::ptrArgs |
Algorithm-specific args struct pointer