20#ifndef MCUXCLRANDOM_TYPES_H_
21#define MCUXCLRANDOM_TYPES_H_
23#include <mcuxClConfig.h>
25#include <mcuxClCore_Platform.h>
56struct mcuxClRandom_Context;
79struct mcuxClRandom_ModeDescriptor;
100 void *pCustomPrngState,
Provides the API for the CL buffer types.
uint8_t * mcuxCl_Buffer_t
Input/output buffer type.
Definition mcuxClBuffer_Pointer.h:55
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.
Definition mcuxClRandom_Types.h:99
const mcuxClRandom_ModeDescriptor_t * mcuxClRandom_Mode_t
Random data generation mode/algorithm type.
Definition mcuxClRandom_Types.h:94
uint32_t mcuxClRandom_Status_t
Type for status codes of mcuxClRandom component functions.
Definition mcuxClRandom_Types.h:48
struct mcuxClRandom_Context mcuxClRandom_ContextDescriptor_t
Random context type.
Definition mcuxClRandom_Types.h:64
mcuxClRandom_ContextDescriptor_t * mcuxClRandom_Context_t
Random context type.
Definition mcuxClRandom_Types.h:71
struct mcuxClRandom_ModeDescriptor mcuxClRandom_ModeDescriptor_t
Random data generation mode/algorithm descriptor type.
Definition mcuxClRandom_Types.h:87
Random config structure.
Definition mcuxClRandom_Types.h:110
mcuxClRandom_Context_t ctx
Context for the Rng.
Definition mcuxClRandom_Types.h:112
void * pCustomPrngState
User-maintained state for a custom PRNG function.
Definition mcuxClRandom_Types.h:114
mcuxClRandom_Mode_t mode
Random data generation mode/algorithm.
Definition mcuxClRandom_Types.h:111
mcuxClRandom_CustomNcGenerateAlgorithm_t prngPatchFunction
Function pointer to a custom PRNG function.
Definition mcuxClRandom_Types.h:113