MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClRandomModes_Functions_TestMode.h
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2021-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 
14 #ifndef MCUXCLRANDOM_FUNCTIONS_TESTMODE_H_
15 #define MCUXCLRANDOM_FUNCTIONS_TESTMODE_H_
16 
17 #include <mcuxClConfig.h> // Exported features flags header
18 
19 #include <mcuxClSession.h>
20 #include <mcuxClRandom_Types.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
55 // TODO: Create defines for entropy input sizes using object size filler
56 MCUX_CSSL_FP_FUNCTION_DECL(mcuxClRandomModes_createTestFromNormalMode)
57 MCUX_CSSL_FP_PROTECTED_TYPE(mcuxClRandom_Status_t) mcuxClRandomModes_createTestFromNormalMode(
59  mcuxClRandom_Mode_t normalMode,
60  const uint32_t * const pEntropyInput
61 );
62 
72 MCUX_CSSL_FP_FUNCTION_DECL(mcuxClRandomModes_updateEntropyInput)
73 MCUX_CSSL_FP_PROTECTED_TYPE(mcuxClRandom_Status_t) mcuxClRandomModes_updateEntropyInput(
75  const uint32_t * const pEntropyInput
76 );
77 
78 #ifdef __cplusplus
79 } /* extern "C" */
80 #endif
81 
82 #endif /* MCUXCLRANDOM_FUNCTIONS_TESTMODE_H_ */
const mcuxClRandom_ModeDescriptor_t * mcuxClRandom_Mode_t
Random data generation mode/algorithm type.
Definition: mcuxClRandom_Types.h:93
Top-level include file for the mcuxClSession component.
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition: mcuxCsslFlowProtection.h:125
Type definitions of mcuxClRandom component.
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition: mcuxCsslFlowProtection.h:81
struct mcuxClRandom_ModeDescriptor mcuxClRandom_ModeDescriptor_t
Random data generation mode/algorithm descriptor type.
Definition: mcuxClRandom_Types.h:86
uint32_t mcuxClRandom_Status_t
Type for status codes of mcuxClRandom component functions.
Definition: mcuxClRandom_Types.h:47