MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClRandom_Types

Defines all types of mcuxClRandom. More...

Data Structures

struct  mcuxClRandom_Config
 Random config structure. More...

Typedefs

typedef uint32_t mcuxClRandom_Status_t
 Type for status codes of mcuxClRandom component functions.
typedef struct mcuxClRandom_Context mcuxClRandom_ContextDescriptor_t
 Random context type.
typedef mcuxClRandom_ContextDescriptor_tmcuxClRandom_Context_t
 Random context type.
typedef struct mcuxClRandom_ModeDescriptor mcuxClRandom_ModeDescriptor_t
 Random data generation mode/algorithm descriptor type.
typedef const mcuxClRandom_ModeDescriptor_tmcuxClRandom_Mode_t
 Random data generation mode/algorithm type.
typedef mcuxClRandom_Status_t(* mcuxClRandom_CustomNcGenerateAlgorithm_t) (void *pCustomPrngState, mcuxCl_Buffer_t pOut, uint32_t outLength)
 Interface definition for custom PRNG functions to be used by PRNG patch mode.
typedef struct mcuxClRandom_Config mcuxClRandom_Config_t
 Random config type.

Detailed Description

Defines all types of mcuxClRandom.

Typedef Documentation

◆ mcuxClRandom_Status_t

typedef uint32_t mcuxClRandom_Status_t

Type for status codes of mcuxClRandom component functions.

This type provides information about the status of the Random operation that has been performed.

Examples
mcuxClRandomModes_PatchMode_CtrDrbg_AES256_DRG3_example.c, and mcuxClRandom_PRNG_Patch_example.c.

◆ mcuxClRandom_ContextDescriptor_t

typedef struct mcuxClRandom_Context mcuxClRandom_ContextDescriptor_t

Random context type.

This type is used to store the information about the current random data generator and the relevant internal state.

◆ mcuxClRandom_Context_t

◆ mcuxClRandom_ModeDescriptor_t

typedef struct mcuxClRandom_ModeDescriptor mcuxClRandom_ModeDescriptor_t

Random data generation mode/algorithm descriptor type.

This type captures all the information that the Random interfaces need to know about a particular Random data generation mode/algorithm.

Examples
mcuxClRandomModes_PatchMode_CtrDrbg_AES256_DRG3_example.c, and mcuxClRandomModes_TestMode_CtrDrbg_AES256_DRG4_example.c.

◆ mcuxClRandom_Mode_t

Random data generation mode/algorithm type.

This type is used to refer to a Random data generation mode/algorithm.

Examples
mcuxClRandomModes_Different_Sessions_example.c.

◆ mcuxClRandom_CustomNcGenerateAlgorithm_t

typedef mcuxClRandom_Status_t(* mcuxClRandom_CustomNcGenerateAlgorithm_t) (void *pCustomPrngState, mcuxCl_Buffer_t pOut, uint32_t outLength)

Interface definition for custom PRNG functions to be used by PRNG patch mode.

Examples
mcuxClRandom_PRNG_Patch_example.c.

◆ mcuxClRandom_Config_t

Random config type.

This type is used to store context and mode.