MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClRandom_Types.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2020-2022 NXP */
3 /* */
4 /* NXP Confidential. This software is owned or controlled by NXP and may */
5 /* only be used strictly in accordance with the applicable license terms. */
6 /* By expressly accepting such terms or by downloading, installing, */
7 /* activating and/or otherwise using the software, you are agreeing that */
8 /* you have read, and that you agree to comply with and are bound by, such */
9 /* license terms. If you do not agree to be bound by the applicable license */
10 /* terms, then you may not retain, install, activate or otherwise use the */
11 /* software. */
12 /*--------------------------------------------------------------------------*/
13 
20 #ifndef MCUXCLRANDOM_TYPES_H_
21 #define MCUXCLRANDOM_TYPES_H_
22 
23 #include <mcuxClConfig.h> // Exported features flags header
24 
25 #include <mcuxClCore_Platform.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 /**********************************************************/
32 /* Types of mcuxClRandom */
33 /**********************************************************/
47 typedef uint32_t mcuxClRandom_Status_t;
48 
55 struct mcuxClRandom_Context;
56 
63 typedef struct mcuxClRandom_Context mcuxClRandom_ContextDescriptor_t;
64 
71 
78 struct mcuxClRandom_ModeDescriptor;
79 
86 typedef struct mcuxClRandom_ModeDescriptor mcuxClRandom_ModeDescriptor_t;
87 
94 
103 };
104 
111  /* mcuxClRandom_Types */
115 
116 #ifdef __cplusplus
117 } /* extern "C" */
118 #endif
119 
120 #endif /* MCUXCLRANDOM_TYPES_H_ */
struct mcuxClRandom_Context mcuxClRandom_ContextDescriptor_t
Random context type.
Definition: mcuxClRandom_Types.h:63
Random config structure.
Definition: mcuxClRandom_Types.h:100
struct mcuxClRandom_ModeDescriptor mcuxClRandom_ModeDescriptor_t
Random data generation mode/algorithm descriptor type.
Definition: mcuxClRandom_Types.h:86
mcuxClRandom_Mode_t mode
Random data generation mode/algorithm.
Definition: mcuxClRandom_Types.h:101
const mcuxClRandom_ModeDescriptor_t * mcuxClRandom_Mode_t
Random data generation mode/algorithm type.
Definition: mcuxClRandom_Types.h:93
uint32_t mcuxClRandom_Status_t
Type for status codes of mcuxClRandom component functions.
Definition: mcuxClRandom_Types.h:47
mcuxClRandom_Context_t ctx
Context for the Rng.
Definition: mcuxClRandom_Types.h:102
mcuxClRandom_ContextDescriptor_t * mcuxClRandom_Context_t
Random context type.
Definition: mcuxClRandom_Types.h:70