MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
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
27extern "C" {
28#endif
29
30/**********************************************************/
31/* Values for reseeds */
32/**********************************************************/
33
34
35/**********************************************************/
36/* Types of mcuxClRandom */
37/**********************************************************/
45MCUX_CSSL_ANALYSIS_START_PATTERN_EXTERNAL_API_DECLARATIONS()
46
47
54static const mcuxClRandom_Mode_t mcuxClRandomModes_Mode_ELS_Drbg =
56
57
58#if defined(MCUXCL_FEATURE_RANDOMMODES_NORMALMODE) && defined(MCUXCL_FEATURE_RANDOMMODES_CTRDRBG)
59
60#ifdef MCUXCL_FEATURE_RANDOMMODES_PR_DISABLED
61
62
63
64#ifdef MCUXCL_FEATURE_RANDOMMODES_SECSTRENGTH_256
65
73extern const mcuxClRandom_ModeDescriptor_t mcuxClRandomModes_mdCtrDrbg_AES256_DRG3;
74static const mcuxClRandom_Mode_t mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG3 =
75 &mcuxClRandomModes_mdCtrDrbg_AES256_DRG3;
76
87#define mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG4 mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG3
88
98#define mcuxClRandomModes_Mode_CtrDrbg_AES256 mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG3
99
100#endif /* MCUXCL_FEATURE_RANDOMMODES_SECSTRENGTH_256 */
101
102#endif /* MCUXCL_FEATURE_RANDOMMODES_PR_DISABLED */
103
104
105
106#endif /* defined(MCUXCL_FEATURE_RANDOMMODES_NORMALMODE) && defined(MCUXCL_FEATURE_RANDOMMODES_CTRDRBG) */
107MCUX_CSSL_ANALYSIS_STOP_PATTERN_EXTERNAL_API_DECLARATIONS()
108
109 /* mcuxClRandom_Types */
112
113#ifdef __cplusplus
114} /* extern "C" */
115#endif
116
117#endif /* MCUXCLRANDOMMODES_CONSTANTS_H_ */
Type definitions of mcuxClRandom component.
const mcuxClRandom_ModeDescriptor_t * mcuxClRandom_Mode_t
Random data generation mode/algorithm type.
Definition mcuxClRandom_Types.h:94
struct mcuxClRandom_ModeDescriptor mcuxClRandom_ModeDescriptor_t
Random data generation mode/algorithm descriptor type.
Definition mcuxClRandom_Types.h:87
const mcuxClRandom_ModeDescriptor_t mcuxClRandomModes_mdELS_Drbg
Mode for a DRBG implemented by the ELS.