MCUX CLNS MCUX Crypto Library Normal Secure |

Macros
MCUXCLCSS_CMAC_
mcuxClCss » mcuxClCss_Cmac » mcuxClCss_Cmac_Macros

Option values for mcuxClCss_CmacOption_t. More...

## Macros
#define | MCUXCLCSS_CMAC_EXTERNAL_KEY_ENABLE
| Set mcuxClCss_CmacOption_t.extkey to this value to use an external key. More...
#define | MCUXCLCSS_CMAC_EXTERNAL_KEY_DISABLE
| Set mcuxClCss_CmacOption_t.extkey to this value to use a key from the CSSv2 keystore. More...
#define | MCUXCLCSS_CMAC_INITIALIZE_DISABLE
| Set mcuxClCss_CmacOption_t.initialize to this value if the message chunk does not include the first block of the message. More...
#define | MCUXCLCSS_CMAC_INITIALIZE_ENABLE
| Set mcuxClCss_CmacOption_t.initialize to this value if the message chunk includes the first block of the message. More...
#define | MCUXCLCSS_CMAC_FINALIZE_DISABLE
| Set mcuxClCss_CmacOption_t.finalize to this value if the message chunk does not include the last block of the message. More...
#define | MCUXCLCSS_CMAC_FINALIZE_ENABLE
| Set mcuxClCss_CmacOption_t.finalize to this value if the message chunk includes the last block of the message. More...
#define | MCUXCLCSS_CMAC_STATE_IN_DISABLE
| Set mcuxClCss_CmacOption_t.sie to this value to use the CMAC state that is present inside CSS. More...
#define | MCUXCLCSS_CMAC_STATE_IN_ENABLE
| Set mcuxClCss_CmacOption_t.sie to this value to import the CMAC state from memory. More...
#define | MCUXCLCSS_CMAC_STATE_OUT_DISABLE
| Set mcuxClCss_CmacOption_t.soe to this value to keep the CMAC state inside CSS at the end of the command. More...
#define | MCUXCLCSS_CMAC_STATE_OUT_ENABLE
| Set mcuxClCss_CmacOption_t.soe to this value to export the CMAC state to memory at the end of the command. More...

## Detailed Description

Option values for mcuxClCss_CmacOption_t.

## Macro Definition Documentation

## ◆ MCUXCLCSS_CMAC_EXTERNAL_KEY_ENABLE

#define MCUXCLCSS_CMAC_EXTERNAL_KEY_ENABLE

Set mcuxClCss_CmacOption_t.extkey to this value to use an external key.

## ◆ MCUXCLCSS_CMAC_EXTERNAL_KEY_DISABLE

#define MCUXCLCSS_CMAC_EXTERNAL_KEY_DISABLE

Set mcuxClCss_CmacOption_t.extkey to this value to use a key from the CSSv2 keystore.

## ◆ MCUXCLCSS_CMAC_INITIALIZE_DISABLE

#define MCUXCLCSS_CMAC_INITIALIZE_DISABLE

Set mcuxClCss_CmacOption_t.initialize to this value if the message chunk does not include the first block of the message.

## ◆ MCUXCLCSS_CMAC_INITIALIZE_ENABLE

#define MCUXCLCSS_CMAC_INITIALIZE_ENABLE

Set mcuxClCss_CmacOption_t.initialize to this value if the message chunk includes the first block of the message.

## ◆ MCUXCLCSS_CMAC_FINALIZE_DISABLE

#define MCUXCLCSS_CMAC_FINALIZE_DISABLE

Set mcuxClCss_CmacOption_t.finalize to this value if the message chunk does not include the last block of the message.

## ◆ MCUXCLCSS_CMAC_FINALIZE_ENABLE

#define MCUXCLCSS_CMAC_FINALIZE_ENABLE

Set mcuxClCss_CmacOption_t.finalize to this value if the message chunk includes the last block of the message.

## ◆ MCUXCLCSS_CMAC_STATE_IN_DISABLE

#define MCUXCLCSS_CMAC_STATE_IN_DISABLE

Set mcuxClCss_CmacOption_t.sie to this value to use the CMAC state that is present inside CSS.

## ◆ MCUXCLCSS_CMAC_STATE_IN_ENABLE

#define MCUXCLCSS_CMAC_STATE_IN_ENABLE

Set mcuxClCss_CmacOption_t.sie to this value to import the CMAC state from memory.

## ◆ MCUXCLCSS_CMAC_STATE_OUT_DISABLE

#define MCUXCLCSS_CMAC_STATE_OUT_DISABLE

Set mcuxClCss_CmacOption_t.soe to this value to keep the CMAC state inside CSS at the end of the command.

## ◆ MCUXCLCSS_CMAC_STATE_OUT_ENABLE

#define MCUXCLCSS_CMAC_STATE_OUT_ENABLE

Set mcuxClCss_CmacOption_t.soe to this value to export the CMAC state to memory at the end of the command.