MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClMath_Types.h
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2020-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 
20 #ifndef MCUXCLMATH_TYPES_H_
21 #define MCUXCLMATH_TYPES_H_
22 
23 #include <mcuxClCore_Platform.h>
25 #include <mcuxCsslFlowProtection.h>
26 
27 
28 /**********************************************
29  * CONSTANTS
30  **********************************************/
31 /* None */
32 
33 /**********************************************
34  * TYPEDEFS
35  **********************************************/
46 typedef uint32_t mcuxClMath_Status_t;
47 
52 
53 #define MCUXCLMATH_STATUS_OK ((mcuxClMath_Status_t) 0x0FF32E03u)
54 #define MCUXCLMATH_ERRORCODE_OK MCUXCLMATH_STATUS_OK
55 #define MCUXCLMATH_STATUS_ERROR ((mcuxClMath_Status_t) 0x0FF35330u)
56 #define MCUXCLMATH_ERRORCODE_ERROR MCUXCLMATH_STATUS_ERROR
57 
58 
62 #define MCUXCLMATH_SECMODEXP_OPTION_DIS_RERAND (0xA5A5A5A5u)
63  /* mcuxClMath_Macros */
67 
68 
69 #endif /* MCUXCLMATH_TYPES_H_ */
Definition of function identifiers for the flow protection mechanism.
mcuxClMath_Status_t mcuxClMath_Status_Protected_t
Deprecated type for error codes used by code-flow protected Math component functions.
Definition: mcuxClMath_Types.h:51
Provides the API for the CSSL flow protection mechanism.
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition: mcuxCsslFlowProtection.h:81
uint32_t mcuxClMath_Status_t
Type for error codes used by Math component functions.
Definition: mcuxClMath_Types.h:46