MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClEls_Hmac.h File Reference

ELS header for HMAC support. More...

#include <mcuxClConfig.h>
#include <mcuxClEls_Common.h>

Go to the source code of this file.

Data Structures

union  mcuxClEls_HmacOption_t
 Command option bit field for mcuxClEls_Hmac_Async. More...
 

Macros

#define MCUXCLELS_HMAC_EXTERNAL_KEY_ENABLE
 Set mcuxClEls_HmacOption_t.extkey to this value to use an external key.
 
#define MCUXCLELS_HMAC_EXTERNAL_KEY_DISABLE
 Set mcuxClEls_HmacOption_t.extkey to this value to use a key from the ELS keystore.
 
#define MCUXCLELS_HMAC_PADDED_KEY_SIZE
 
#define MCUXCLELS_HMAC_OUTPUT_SIZE
 HMAC Output size: 32 bytes.
 

Functions

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.
 

Detailed Description

ELS header for HMAC support.

This header exposes functions that enable using the ELS for the generation of hashed-key message authentication codes (HMAC). The supported hash algorithm is SHA2-256.