MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClEls_Crc.h File Reference

ELS header for Command CRC functionality. More...

#include <mcuxClConfig.h>
#include <mcuxClEls_Types.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClCore_FunctionIdentifiers.h>

Go to the source code of this file.

Data Structures

union  mcuxClEls_CommandCrcConfig_t
 Type to control ELS Command CRC. More...
 

Macros

#define MCUXCLELS_CMD_CRC_VALUE_RESET
 Reset the Command CRC to initial value. More...
 
#define MCUXCLELS_CMD_CRC_VALUE_ENABLE
 Enable update of Command CRC value by executing commands. More...
 
#define MCUXCLELS_CMD_CRC_VALUE_DISABLE
 Disable update of Command CRC value by executing commands. More...
 
#define MCUXCLELS_CMD_CRC_RESET
 Reset the Command CRC to initial value. More...
 
#define MCUXCLELS_CMD_CRC_ENABLE
 Enable update of Command CRC value by executing commands. More...
 
#define MCUXCLELS_CMD_CRC_DISABLE
 Disable update of Command CRC value by executing commands. More...
 
#define MCUXCLELS_CMD_CRC_POLYNOMIAL
 CRC polynomial for the Command CRC. More...
 
#define MCUXCLELS_CMD_CRC_INITIAL_VALUE
 Initial value for the Command CRC. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_INIT(crc)
 Initializes a reference CRC variable with the command CRC initial value. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_RESET(crc)
 Resets the given reference CRC variable to the command CRC initial value. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_AEAD_INIT(crc, options)
 Updates given reference command CRC with command mcuxClEls_Aead_Init_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_AEAD_PARTIALINIT(crc, options)
 Updates given reference command CRC with command mcuxClEls_Aead_PartialInit_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_AEAD_UPDATEAAD(crc, options)
 Updates given reference command CRC with command mcuxClEls_Aead_UpdateAad_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_AEAD_UPDATEDATA(crc, options)
 Updates given reference command CRC with command mcuxClEls_Aead_UpdateData_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_AEAD_FINALIZE(crc, options)
 Updates given reference command CRC with command mcuxClEls_Aead_Finalize_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_CIPHER(crc, options)
 Updates given reference command CRC with command mcuxClEls_Cipher_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_CMAC(crc, options)
 Updates given reference command CRC with command mcuxClEls_Cmac_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_ECCKEYGEN(crc, options)
 Updates given reference command CRC with command mcuxClEls_EccKeyGen_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_ECCKEYEXCHANGE(crc)
 Updates given reference command CRC with command mcuxClEls_EccKeyExchange_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_ECCSIGN(crc, options)
 Updates given reference command CRC with command mcuxClEls_EccSign_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_ECCVERFIFY(crc, options)
 Updates given reference command CRC with command mcuxClEls_EccVerify_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_GLITCHDETECTOR_LOADCONFIG(crc)
 Updates given reference command CRC with command mcuxClEls_GlitchDetector_LoadConfig_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_GLITCHDETECTOR_TRIM(crc)
 Updates given reference command CRC with command mcuxClEls_GlitchDetector_Trim_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_HASH(crc, options)
 Updates given reference command CRC with command mcuxClEls_Hash_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_HMAC(crc, options)
 Updates given reference command CRC with command mcuxClEls_Hmac_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_CKDF_SP800108(crc)
 Updates given reference command CRC with command mcuxClEls_Ckdf_Sp800108_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_HKDF_RFC5869(crc, options)
 Updates given reference command CRC with command mcuxClEls_Hkdf_Rfc5869_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_HKDF_SP80056C(crc)
 Updates given reference command CRC with command mcuxClEls_Hkdf_Sp80056c_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_TLSGENERATEMASTERKEYFROMPREMASTERKEY(crc)
 Updates given reference command CRC with command mcuxClEls_TlsGenerateMasterKeyFromPreMasterKey_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_TLSGENERATESESSIONKEYSFROMMASTERKEY(crc)
 Updates given reference command CRC with command mcuxClEls_TlsGenerateSessionKeysFromMasterKey_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_KEYDELETE(crc)
 Updates given reference command CRC with command mcuxClEls_KeyDelete_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_KEYIMPORT(crc, options)
 Updates given reference command CRC with command mcuxClEls_KeyImport_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_KEYEXPORT(crc)
 Updates given reference command CRC with command mcuxClEls_KeyExport_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_RNG_DRBGREQUEST(crc)
 Updates given reference command CRC with command mcuxClEls_Rng_DrbgRequest_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_RNG_DRBGTESTINSTANTIATE(crc)
 Updates given reference command CRC with command mcuxClEls_Rng_DrbgTestInstantiate_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_RNG_DRBGTESTEXTRACT(crc)
 Updates given reference command CRC with command mcuxClEls_Rng_DrbgTestExtract_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_RNG_DRBGTESTAESECB(crc)
 Updates given reference command CRC with command mcuxClEls_Rng_DrbgTestAesEcb_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_RNG_DRBGTESTAESCTR(crc)
 Updates given reference command CRC with command mcuxClEls_Rng_DrbgTestAesCtr_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_RNG_DTRNG_CONFIGLOAD(crc)
 Updates given reference command CRC with command mcuxClEls_Rng_Dtrng_ConfigLoad_Async. More...
 
#define MCUXCLELS_CMD_CRC_REFERENCE_UPDATE_RNG_DTRNG_CONFIGEVALUATE(crc)
 Updates given reference command CRC with command mcuxClEls_Rng_Dtrng_ConfigEvaluate_Async. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_CIPHER
 ELS Command ID for CIPHER command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_AUTH_CIPHER
 ELS Command ID for AUTH_CIPHER command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_CHAL_RESP_GEN
 ELS Command ID for CHAL_RESP_GEN command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_ECSIGN
 ELS Command ID for ECSIGN command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_ECVFY
 ELS Command ID for ECVFY command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_ECKXH
 ELS Command ID for ECKXH command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_KEYGEN
 ELS Command ID for KEYGEN command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_KEYIN
 ELS Command ID for KEYIN command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_KEYOUT
 ELS Command ID for KEYOUT command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_KDELETE
 ELS Command ID for KDELETE command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_KEYPROV
 ELS Command ID for KEYPROV command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_CKDF
 ELS Command ID for CKDF command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_HKDF
 ELS Command ID for HKDF command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_TLS
 ELS Command ID for TLS command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_HASH
 ELS Command ID for HASH command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_HMAC
 ELS Command ID for HMAC command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_CMAC
 ELS Command ID for CMAC command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_RND_REQ
 ELS Command ID for RND_REQ command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_DRBG_TEST
 ELS Command ID for DRBG_TEST command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_DTRNG_CFG_LOAD
 ELS Command ID for DTRNG_CFG_LOAD command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_DTRNG_EVAL
 ELS Command ID for DTRNG_EVAL command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_GDET_CFG_LOAD
 ELS Command ID for GDET_CFG_LOAD command. More...
 
#define MCUXCLELS_CMD_CRC_CMD_ID_GDET_TRIM
 ELS Command ID for GDET_TRIM command. More...
 

Functions

MCUXCLELS_API MCUX_CSSL_FP_PROTECTED_TYPE (mcuxClEls_Status_t) mcuxClEls_ConfigureCommandCRC(mcuxClEls_CommandCrcConfig_t options)
 Set command CRC flags. More...
 

Variables

MCUXCLELS_API uint32_t options
 
MCUXCLELS_API uint32_t uint32_t * refCrc
 

Detailed Description

ELS header for Command CRC functionality.

This header exposes functions that support the usage of the Command CRC feature for ELS.