MCUX CLNS
MCUX Crypto Library Normal Secure

Defines valid options to be used by mcuxClCss_CipherOption_tValid AES key sizes in bytes. More...

Macros

#define MCUXCLCSS_CIPHER_ENCRYPT
 Set this option at mcuxClCss_CipherOption_t.dcrpt to perform an encryption. More...
 
#define MCUXCLCSS_CIPHER_DECRYPT
 Set this option at mcuxClCss_CipherOption_t.dcrpt to perform a decryption. More...
 
#define MCUXCLCSS_CIPHER_STATE_OUT_ENABLE
 Set this option at mcuxClCss_CipherOption_t.cphsoe to export the internal CSS state to pIV. More...
 
#define MCUXCLCSS_CIPHER_STATE_OUT_DISABLE
 Set this option at mcuxClCss_CipherOption_t.cphsoe to not export the internal CSS state. More...
 
#define MCUXCLCSS_CIPHER_STATE_IN_ENABLE
 Set this option at mcuxClCss_CipherOption_t.cphsie to import an external CSS state from pIV. More...
 
#define MCUXCLCSS_CIPHER_STATE_IN_DISABLE
 Set this option at mcuxClCss_CipherOption_t.cphsie to not import an external CSS state. More...
 
#define MCUXCLCSS_CIPHER_EXTERNAL_KEY
 Set this option at mcuxClCss_CipherOption_t.extkey to use a key located in CPU memory provided by pKey. More...
 
#define MCUXCLCSS_CIPHER_INTERNAL_KEY
 Set this option at mcuxClCss_CipherOption_t.extkey to use a key located in CSS keystore privded by keyIdx. More...
 
#define MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_ECB
 Set this option at mcuxClCss_CipherOption_t.cphmde to use AES engine in Electornic Code Book (ECB) mode. More...
 
#define MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_CBC
 Set this option at mcuxClCss_CipherOption_t.cphmde to use AES engine in Cipher Block Chaining (CBC) mode. More...
 
#define MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_CTR
 Set this option at mcuxClCss_CipherOption_t.cphmde to use AES engine in Counter (CTR) mode. More...
 

Detailed Description

Defines valid options to be used by mcuxClCss_CipherOption_t

Valid AES key sizes in bytes.

Macro Definition Documentation

◆ MCUXCLCSS_CIPHER_ENCRYPT

#define MCUXCLCSS_CIPHER_ENCRYPT

Set this option at mcuxClCss_CipherOption_t.dcrpt to perform an encryption.

Examples
cipher_aes128_cbc_encrypt.c, and cipher_aes128_ecb_encrypt.c.

◆ MCUXCLCSS_CIPHER_DECRYPT

#define MCUXCLCSS_CIPHER_DECRYPT

Set this option at mcuxClCss_CipherOption_t.dcrpt to perform a decryption.

◆ MCUXCLCSS_CIPHER_STATE_OUT_ENABLE

#define MCUXCLCSS_CIPHER_STATE_OUT_ENABLE

Set this option at mcuxClCss_CipherOption_t.cphsoe to export the internal CSS state to pIV.

◆ MCUXCLCSS_CIPHER_STATE_OUT_DISABLE

#define MCUXCLCSS_CIPHER_STATE_OUT_DISABLE

Set this option at mcuxClCss_CipherOption_t.cphsoe to not export the internal CSS state.

◆ MCUXCLCSS_CIPHER_STATE_IN_ENABLE

#define MCUXCLCSS_CIPHER_STATE_IN_ENABLE

Set this option at mcuxClCss_CipherOption_t.cphsie to import an external CSS state from pIV.

◆ MCUXCLCSS_CIPHER_STATE_IN_DISABLE

#define MCUXCLCSS_CIPHER_STATE_IN_DISABLE

Set this option at mcuxClCss_CipherOption_t.cphsie to not import an external CSS state.

◆ MCUXCLCSS_CIPHER_EXTERNAL_KEY

#define MCUXCLCSS_CIPHER_EXTERNAL_KEY

Set this option at mcuxClCss_CipherOption_t.extkey to use a key located in CPU memory provided by pKey.

Examples
cipher_aes128_cbc_encrypt.c, and cipher_aes128_ecb_encrypt.c.

◆ MCUXCLCSS_CIPHER_INTERNAL_KEY

#define MCUXCLCSS_CIPHER_INTERNAL_KEY

Set this option at mcuxClCss_CipherOption_t.extkey to use a key located in CSS keystore privded by keyIdx.

◆ MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_ECB

#define MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_ECB

Set this option at mcuxClCss_CipherOption_t.cphmde to use AES engine in Electornic Code Book (ECB) mode.

Examples
cipher_aes128_ecb_encrypt.c.

◆ MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_CBC

#define MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_CBC

Set this option at mcuxClCss_CipherOption_t.cphmde to use AES engine in Cipher Block Chaining (CBC) mode.

Examples
cipher_aes128_cbc_encrypt.c.

◆ MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_CTR

#define MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_CTR

Set this option at mcuxClCss_CipherOption_t.cphmde to use AES engine in Counter (CTR) mode.