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

Example for the mcuxClRandomModes component. More...

#include <mcuxClRandom.h>
#include <mcuxClRandomModes.h>
#include <mcuxClSession.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClCore_FunctionIdentifiers.h>
#include <mcuxClExample_Session_Helper.h>
#include <mcuxClCore_Examples.h>
#include <mcuxClEls.h>
#include <mcuxClExample_ELS_Helper.h>

Functions

 MCUXCLEXAMPLE_FUNCTION (mcuxClRandomModes_TestMode_CtrDrbg_AES256_DRG4_example)
 Performs an example usage of the mcuxClRandom and mcuxClRandomModes components with test mode. More...
 

Variables

static const uint32_t entropyInputInit [MCUXCLEXAMPLE_CEILING(MCUXCLRANDOMMODES_TESTMODE_CTR_DRBG_AES256_INIT_ENTROPY_SIZE, sizeof(uint32_t))]
 
static const uint32_t entropyInputReseed [MCUXCLEXAMPLE_CEILING(MCUXCLRANDOMMODES_TESTMODE_CTR_DRBG_AES256_RESEED_ENTROPY_SIZE, sizeof(uint32_t))]
 
static const uint32_t refOutput [64u]
 

Detailed Description

Example for the mcuxClRandomModes component.

Function Documentation

◆ MCUXCLEXAMPLE_FUNCTION()

MCUXCLEXAMPLE_FUNCTION ( mcuxClRandomModes_TestMode_CtrDrbg_AES256_DRG4_example  )

Performs an example usage of the mcuxClRandom and mcuxClRandomModes components with test mode.

Return values
trueThe example code completed successfully
falseThe example code failed

Initialize ELS, Enable the ELS

Destroy Session and cleanup Session

Disable the ELS

Examples
mcuxClRandomModes_TestMode_CtrDrbg_AES256_DRG4_example.c.