MCUX CLNS
MCUX Crypto Library Normal Secure

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

Macros

#define MCUXCLELS_CIPHER_ENCRYPT
 Set this option at mcuxClEls_CipherOption_t.dcrpt to perform an encryption. More...
 
#define MCUXCLELS_CIPHER_DECRYPT
 Set this option at mcuxClEls_CipherOption_t.dcrpt to perform a decryption. More...
 
#define MCUXCLELS_CIPHER_STATE_OUT_ENABLE
 Set this option at mcuxClEls_CipherOption_t.cphsoe to export the internal ELS state to pIV. More...
 
#define MCUXCLELS_CIPHER_STATE_OUT_DISABLE
 Set this option at mcuxClEls_CipherOption_t.cphsoe to not export the internal ELS state. More...
 
#define MCUXCLELS_CIPHER_STATE_IN_ENABLE
 Set this option at mcuxClEls_CipherOption_t.cphsie to import an external ELS state from pIV. More...
 
#define MCUXCLELS_CIPHER_STATE_IN_DISABLE
 Set this option at mcuxClEls_CipherOption_t.cphsie to not import an external ELS state. More...
 
#define MCUXCLELS_CIPHER_EXTERNAL_KEY
 Set this option at mcuxClEls_CipherOption_t.extkey to use a key located in CPU memory provided by pKey. More...
 
#define MCUXCLELS_CIPHER_INTERNAL_KEY
 Set this option at mcuxClEls_CipherOption_t.extkey to use a key located in ELS keystore privded by keyIdx. More...
 
#define MCUXCLELS_CIPHERPARAM_ALGORITHM_AES_ECB
 Set this option at mcuxClEls_CipherOption_t.cphmde to use AES engine in Electornic Code Book (ECB) mode. More...
 
#define MCUXCLELS_CIPHERPARAM_ALGORITHM_AES_CBC
 Set this option at mcuxClEls_CipherOption_t.cphmde to use AES engine in Cipher Block Chaining (CBC) mode. More...
 
#define MCUXCLELS_CIPHERPARAM_ALGORITHM_AES_CTR
 Set this option at mcuxClEls_CipherOption_t.cphmde to use AES engine in Counter (CTR) mode. More...
 

Detailed Description

Defines valid options to be used by mcuxClEls_CipherOption_t

Valid AES key sizes in bytes.

Macro Definition Documentation

◆ MCUXCLELS_CIPHER_ENCRYPT

◆ MCUXCLELS_CIPHER_DECRYPT

#define MCUXCLELS_CIPHER_DECRYPT

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

◆ MCUXCLELS_CIPHER_STATE_OUT_ENABLE

#define MCUXCLELS_CIPHER_STATE_OUT_ENABLE

Set this option at mcuxClEls_CipherOption_t.cphsoe to export the internal ELS state to pIV.

◆ MCUXCLELS_CIPHER_STATE_OUT_DISABLE

#define MCUXCLELS_CIPHER_STATE_OUT_DISABLE

Set this option at mcuxClEls_CipherOption_t.cphsoe to not export the internal ELS state.

◆ MCUXCLELS_CIPHER_STATE_IN_ENABLE

#define MCUXCLELS_CIPHER_STATE_IN_ENABLE

Set this option at mcuxClEls_CipherOption_t.cphsie to import an external ELS state from pIV.

◆ MCUXCLELS_CIPHER_STATE_IN_DISABLE

#define MCUXCLELS_CIPHER_STATE_IN_DISABLE

Set this option at mcuxClEls_CipherOption_t.cphsie to not import an external ELS state.

◆ MCUXCLELS_CIPHER_EXTERNAL_KEY

#define MCUXCLELS_CIPHER_EXTERNAL_KEY

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

Examples
mcuxClEls_Cipher_Aes128_Cbc_Encrypt_example.c, and mcuxClEls_Cipher_Aes128_Ecb_Encrypt_example.c.

◆ MCUXCLELS_CIPHER_INTERNAL_KEY

#define MCUXCLELS_CIPHER_INTERNAL_KEY

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

◆ MCUXCLELS_CIPHERPARAM_ALGORITHM_AES_ECB

#define MCUXCLELS_CIPHERPARAM_ALGORITHM_AES_ECB

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

Examples
mcuxClEls_Cipher_Aes128_Ecb_Encrypt_example.c, and mcuxClPsaDriver_keygen_export_public_key_oracle_example.c.

◆ MCUXCLELS_CIPHERPARAM_ALGORITHM_AES_CBC

#define MCUXCLELS_CIPHERPARAM_ALGORITHM_AES_CBC

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

Examples
mcuxClEls_Cipher_Aes128_Cbc_Encrypt_example.c.

◆ MCUXCLELS_CIPHERPARAM_ALGORITHM_AES_CTR

#define MCUXCLELS_CIPHERPARAM_ALGORITHM_AES_CTR

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