CSSv2 header for HMAC support. More...
#include <mcuxClCss_Common.h>
Go to the source code of this file.
Data Structures | |
union | mcuxClCss_HmacOption_t |
Command option bit field for mcuxClCss_Hmac_Async. More... | |
Macros | |
#define | MCUXCLCSS_HMAC_EXTERNAL_KEY_ENABLE |
Set mcuxClCss_HmacOption_t.extkey to this value to use an external key. More... | |
#define | MCUXCLCSS_HMAC_EXTERNAL_KEY_DISABLE |
Set mcuxClCss_HmacOption_t.extkey to this value to use a key from the CSSv2 keystore. More... | |
#define | MCUXCLCSS_HMAC_PADDED_KEY_SIZE |
#define | MCUXCLCSS_HMAC_OUTPUT_SIZE |
HMAC Output size: 32 bytes. More... | |
Functions | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_Hmac_Async (mcuxClCss_HmacOption_t options, mcuxClCss_KeyIndex_t keyIdx, uint8_t const *pPaddedKey, uint8_t const *pInput, size_t inputLength, uint8_t *pOutput) |
Performs HMAC with SHA-256. More... | |
CSSv2 header for HMAC support.
This header exposes functions that enable using the CSSv2 for the generation of hashed-key message authentication codes (HMAC). The supported hash algorithm is SHA2-256.