MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClAeadModes_Multipart_Els_Ccm_Example.c File Reference

: Example Aead application More...

#include <mcuxClExample_ELS_Helper.h>
#include <mcuxClExample_Session_Helper.h>
#include <mcuxClExample_Key_Helper.h>
#include <mcuxClEls.h>
#include <mcuxClSession.h>
#include <mcuxClKey.h>
#include <mcuxClAes.h>
#include <mcuxClAead.h>
#include <mcuxClAeadModes.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClCore_FunctionIdentifiers.h>
#include <mcuxClToolchain.h>
#include <mcuxClCore_Examples.h>
#include <stdbool.h>
#include <mcuxClExample_RNG_Helper.h>

Functions

 MCUXCLEXAMPLE_FUNCTION (mcuxClAeadModes_Multipart_Els_Ccm_Example)
 

Variables

static const uint8_t msg_plain [24]
 
static const uint8_t msg_adata [20]
 
static const uint8_t aes128_iv [12]
 
static const uint8_t aes128_key [16]
 
static const uint8_t msg_tag_expected [8]
 
static const uint8_t msg_enc_expected [24]
 

Detailed Description

: Example Aead application

Function Documentation

◆ MCUXCLEXAMPLE_FUNCTION()

MCUXCLEXAMPLE_FUNCTION ( mcuxClAeadModes_Multipart_Els_Ccm_Example  )

Initialize ELS, MCUXCLELS_RESET_DO_NOT_CANCEL

Destroy Session and cleanup Session

Disable the ELS