18 #ifndef MCUXCLMAC_TYPES_H_ 19 #define MCUXCLMAC_TYPES_H_ 55 #define MCUXCLMAC_ERRORCODE_OK ((mcuxClMac_Status_t) 0xE4E4E4E4u) 56 #define MCUXCLMAC_ERRORCODE_ERROR ((mcuxClMac_Status_t) 0xE4E44E4Eu) 57 #define MCUXCLMAC_ERRORCODE_FAULT_ATTACK ((mcuxClMac_Status_t) 0xE4E40F0Fu) 65 struct mcuxClMac_Mode;
96 #define MCUXCL_HMAC_SIZE_OF_LENGTH_FIELD 8U 97 #define MCUXCL_HMAC_MIN_PADDING_LENGTH (MCUXCL_HMAC_SIZE_OF_LENGTH_FIELD + 1U) 98 #define MCUXCLMAC_GET_HMAC_INPUTBUFFER_LENGTH(dataLength) (((dataLength + MCUXCL_HMAC_MIN_PADDING_LENGTH) + (MCUXCLCSS_HASH_BLOCK_SIZE_SHA_256) - 1) / (MCUXCLCSS_HASH_BLOCK_SIZE_SHA_256)) * MCUXCLCSS_HASH_BLOCK_SIZE_SHA_256 106 struct mcuxClMac_Context;
uint32_t mcuxClMac_Status_t
Type for Mac component error codes.
Definition: mcuxClMac_Types.h:48
struct mcuxClMac_Context mcuxClMac_Context_t
Mac context type.
Definition: mcuxClMac_Types.h:118
Top-level include file for the mcuxClKey component.
struct mcuxClMac_WaCpu_t mcuxClMac_WaCpu_t
Mac Cpu Work Area type.
Definition: mcuxClMac_Types.h:130
const mcuxClMac_Mode_t mcuxClMac_Mode_HMAC_SHA2_256
Mode definition for HMAC_SHA2_256.
struct mcuxClMac_Mode mcuxClMac_Mode_t
Mac Mode type.
Definition: mcuxClMac_Types.h:73
Top-level include file for the mcuxClSession component.
Top-level include file for the CSSv2 driver.
uint64_t mcuxClMac_Status_Protected_t
Type for error codes used by code-flow protected Mac component functions.
Definition: mcuxClMac_Types.h:53
const mcuxClMac_Mode_t mcuxClMac_Mode_CMAC
Mode definition for CMAC.