MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClRandomModes_Constants.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2020-2023 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 
19 #ifndef MCUXCLRANDOMMODES_CONSTANTS_H_
20 #define MCUXCLRANDOMMODES_CONSTANTS_H_
21 
22 #include <mcuxClConfig.h> // Exported features flags header
23 
24 #include <mcuxClRandom_Types.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 /**********************************************************/
31 /* Values for reseeds */
32 /**********************************************************/
33 
34 
35 /**********************************************************/
36 /* Types of mcuxClRandom */
37 /**********************************************************/
53 static const mcuxClRandom_Mode_t mcuxClRandomModes_Mode_ELS_Drbg =
55 
56 
57 #if defined(MCUXCL_FEATURE_RANDOMMODES_NORMALMODE) && defined(MCUXCL_FEATURE_RANDOMMODES_CTRDRBG)
58 
59 #ifdef MCUXCL_FEATURE_RANDOMMODES_PR_DISABLED
60 
61 
62 
63 #ifdef MCUXCL_FEATURE_RANDOMMODES_SECSTRENGTH_256
64 
72 extern const mcuxClRandom_ModeDescriptor_t mcuxClRandomModes_mdCtrDrbg_AES256_DRG3;
73 static const mcuxClRandom_Mode_t mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG3 =
74  &mcuxClRandomModes_mdCtrDrbg_AES256_DRG3;
75 
86 #define mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG4 mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG3
87 
97 #define mcuxClRandomModes_Mode_CtrDrbg_AES256 mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG3
98 
99 #endif /* MCUXCL_FEATURE_RANDOMMODES_SECSTRENGTH_256 */
100 
101 #endif /* MCUXCL_FEATURE_RANDOMMODES_PR_DISABLED */
102 
103 
104 
105 #endif /* defined(MCUXCL_FEATURE_RANDOMMODES_NORMALMODE) && defined(MCUXCL_FEATURE_RANDOMMODES_CTRDRBG) */
106  /* mcuxClRandom_Types */
110 
111 #ifdef __cplusplus
112 } /* extern "C" */
113 #endif
114 
115 #endif /* MCUXCLRANDOMMODES_CONSTANTS_H_ */
Type definitions of mcuxClRandom component.
struct mcuxClRandom_ModeDescriptor mcuxClRandom_ModeDescriptor_t
Random data generation mode/algorithm descriptor type.
Definition: mcuxClRandom_Types.h:86
const mcuxClRandom_ModeDescriptor_t mcuxClRandomModes_mdELS_Drbg
Mode for a DRBG implemented by the ELS.
const mcuxClRandom_ModeDescriptor_t * mcuxClRandom_Mode_t
Random data generation mode/algorithm type.
Definition: mcuxClRandom_Types.h:93