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-2024 NXP */
3/* */
4/* NXP Proprietary. 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 */
10/* license terms, then you may not retain, install, activate or otherwise */
11/* use the 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
73MCUX_CSSL_ANALYSIS_START_SUPPRESS_DECLARED_BUT_NEVER_DEFINED("Definition is provided assuming library is built properly")
74extern const mcuxClRandom_ModeDescriptor_t mcuxClRandomModes_mdCtrDrbg_AES256_DRG3;
75static const mcuxClRandom_Mode_t mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG3 =
76 &mcuxClRandomModes_mdCtrDrbg_AES256_DRG3;
77MCUX_CSSL_ANALYSIS_STOP_SUPPRESS_DECLARED_BUT_NEVER_DEFINED()
78
89#define mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG4 mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG3
90
100#define mcuxClRandomModes_Mode_CtrDrbg_AES256 mcuxClRandomModes_Mode_CtrDrbg_AES256_DRG3
101
102#endif /* MCUXCL_FEATURE_RANDOMMODES_SECSTRENGTH_256 */
103
104#endif /* MCUXCL_FEATURE_RANDOMMODES_PR_DISABLED */
105
106
107
108#endif /* defined(MCUXCL_FEATURE_RANDOMMODES_NORMALMODE) && defined(MCUXCL_FEATURE_RANDOMMODES_CTRDRBG) */
109MCUX_CSSL_ANALYSIS_STOP_PATTERN_EXTERNAL_API_DECLARATIONS()
110
111 /* mcuxClRandom_Types */
114
115#ifdef __cplusplus
116} /* extern "C" */
117#endif
118
119#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.