Interfaces to construct HMAC modes of operation. More...
Functions | |
mcuxClMac_Status_t | mcuxClHmac_createHmacMode (mcuxClMac_CustomMode_t mode, mcuxClHash_Algo_t hashAlgorithm) |
This function creates a HMAC mode descriptor for software implementations of HMAC. | |
Interfaces to construct HMAC modes of operation.
mcuxClMac_Status_t mcuxClHmac_createHmacMode | ( | mcuxClMac_CustomMode_t | mode, |
mcuxClHash_Algo_t | hashAlgorithm | ||
) |
This function creates a HMAC mode descriptor for software implementations of HMAC.
The SW-HMAC modes of operation require additional input, hence a mode descriptor has to be constructed with this function. The resulting descriptor will be written to mode
.
This function must be called before any SW-HMAC operation is performed.
mode[out] | Pointer to HMAC custom mode to be initialized. |
mcuxClHash_Algo_t[in] | Pointer to the Hash algorithm descriptor to be used. SecSha algorithm descriptors are not supported. |