MCUX CLNS MCUX Crypto Library Normal Secure |

Macros | Typedefs | Variables
mcuxClMac_Types.h File Reference

Type definitions for the mcuxClMac component. More...

`#include <stdint.h>`
`#include <stdbool.h>`
`#include <stddef.h>`
`#include <mcuxClKey.h>`
`#include <mcuxClSession.h>`
`#include <mcuxClCss.h>`

Go to the source code of this file.

## Macros

#define | MCUXCLMAC_ERRORCODE_OK
| Mac operation successful. More...
#define | MCUXCLMAC_ERRORCODE_ERROR
| Error occurred during Mac operation. More...
#define | MCUXCLMAC_ERRORCODE_FAULT_ATTACK
| Fault attack (unexpected behaviour) detected. More...
#define | MCUXCL_HMAC_SIZE_OF_LENGTH_FIELD
| Size of HMAC length field. More...
#define | MCUXCL_HMAC_MIN_PADDING_LENGTH
| Size of minimum HMAC padding length. More...
#define | MCUXCLMAC_GET_HMAC_INPUTBUFFER_LENGTH(dataLength)
| Formula to calculate input buffer size for HMAC with SHA-256. More...

## Typedefs

typedef uint32_t | mcuxClMac_Status_t
| Type for Mac component error codes. More...
typedef uint64_t | mcuxClMac_Status_Protected_t
| Type for error codes used by code-flow protected Mac component functions. More...
typedef struct mcuxClMac_Mode | mcuxClMac_Mode_t
| Mac Mode type. More...
typedef struct mcuxClMac_Context | mcuxClMac_Context_t
| Mac context type. More...
typedef struct mcuxClMac_WaCpu_t | mcuxClMac_WaCpu_t
| Mac Cpu Work Area type. More...

## Variables

const mcuxClMac_Mode_t | mcuxClMac_Mode_CMAC
| Mode definition for CMAC. More...
const mcuxClMac_Mode_t | mcuxClMac_Mode_HMAC_SHA2_256
| Mode definition for HMAC_SHA2_256. More...

## Detailed Description

Type definitions for the mcuxClMac component.