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

Example of getting a random number from PRNG of ELS (CLNS component mcuxClEls) More...

#include <mcuxClEls.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClCore_FunctionIdentifiers.h>
#include <mcuxClCore_Examples.h>
#include <mcuxClExample_ELS_Helper.h>
#include <mcuxClExample_ELS_Key_Helper.h>

Functions

 MCUXCLEXAMPLE_FUNCTION (mcuxClEls_Rng_Prng_Get_Random_example)
 Uses random number from PRNG of ELS. More...
 

Detailed Description

Example of getting a random number from PRNG of ELS (CLNS component mcuxClEls)

Function Documentation

◆ MCUXCLEXAMPLE_FUNCTION()

MCUXCLEXAMPLE_FUNCTION ( mcuxClEls_Rng_Prng_Get_Random_example  )

Uses random number from PRNG of ELS.

Return values
MCUXCLEXAMPLE_STATUS_OKThe example code completed successfully
MCUXCLEXAMPLE_STATUS_ERRORThe example code failed

Initialize ELS, Enable the ELS

deleted 18 keySlot

Disable the ELS

Examples
mcuxClEls_Rng_Prng_Get_Random_example.c.