MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClRandomModes_PatchMode_CtrDrbg_AES256_DRG3_example.c File Reference

Example for the mcuxClRandomModes component. More...

#include <mcuxClToolchain.h>
#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 <mcuxClBuffer.h>

Functions

static mcuxClRandom_Status_t RNG_Patch_function (mcuxClSession_Handle_t session, mcuxClRandom_Context_t pCustomCtx, mcuxCl_Buffer_t pOut, uint32_t outLength)
 
 MCUXCLEXAMPLE_FUNCTION (mcuxClRandomModes_PatchMode_CtrDrbg_AES256_DRG3_example)
 Performs an example usage of the mcuxClRandom and mcuxClRandomModes components with patch mode.
 

Variables

static const ALIGNED uint8_t randomData []
 

Detailed Description

Example for the mcuxClRandomModes component.

Function Documentation

◆ MCUXCLEXAMPLE_FUNCTION()

MCUXCLEXAMPLE_FUNCTION ( mcuxClRandomModes_PatchMode_CtrDrbg_AES256_DRG3_example  )

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

Return values
trueThe example code completed successfully
falseThe example code failed

Destroy Session and cleanup Session