29 #ifndef MCUXCLELS_HMAC_H_ 30 #define MCUXCLELS_HMAC_H_ 32 #include <mcuxClConfig.h> 54 #define MCUXCLELS_HMAC_EXTERNAL_KEY_ENABLE 1U 55 #define MCUXCLELS_HMAC_EXTERNAL_KEY_DISABLE 0U 60 #define MCUXCLELS_HMAC_PADDED_KEY_SIZE ((size_t) 64U) 61 #define MCUXCLELS_HMAC_OUTPUT_SIZE ((size_t) 32U) 155 uint8_t
const * pPaddedKey,
156 uint8_t
const * pInput,
uint32_t value
Accesses the bit field as a full word.
Definition: mcuxClEls_Hmac.h:84
uint32_t mcuxClEls_Status_t
Type for ELS driver status codes.
Definition: mcuxClEls_Types.h:211
MCUXCLELS_API mcuxClEls_Status_t mcuxClEls_Hmac_Async(mcuxClEls_HmacOption_t options, mcuxClEls_KeyIndex_t keyIdx, uint8_t const *pPaddedKey, uint8_t const *pInput, size_t inputLength, uint8_t *pOutput)
Performs HMAC with SHA-256.
ELS header for common functionality.
Command option bit field for mcuxClEls_Hmac_Async.
Definition: mcuxClEls_Hmac.h:80
#define MCUXCLELS_API
Marks a function as a public API function of the mcuxClEls component.
Definition: mcuxClEls_Common.h:47
uint32_t extkey
Whether an external key should be used.
Definition: mcuxClEls_Hmac.h:89
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition: mcuxCsslFlowProtection.h:125
uint32_t mcuxClEls_KeyIndex_t
Type for ELS keystore indices.
Definition: mcuxClEls_Types.h:221
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition: mcuxCsslFlowProtection.h:81