MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClCipher_Constants.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2021-2022 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 
17 #ifndef MCUXCLCIPHER_CONSTANTS_H_
18 #define MCUXCLCIPHER_CONSTANTS_H_
19 
20 #include <mcuxClConfig.h> // Exported features flags header
21 
29 /* Error codes */
30 /* TODO CLNS-5679: discuss values */
31 #define MCUXCLCIPHER_STATUS_ERROR ((mcuxClCipher_Status_t) 0xE0AE0001u)
32 #define MCUXCLCIPHER_STATUS_FAILURE ((mcuxClCipher_Status_t) 0xE0AE0020u)
33 #define MCUXCLCIPHER_STATUS_INVALID_INPUT ((mcuxClCipher_Status_t) 0xE0AE0030u)
34 #define MCUXCLCIPHER_STATUS_ERROR_MEMORY_ALLOCATION ((mcuxClCipher_Status_t) 0xE0AE0040u) // memory allocation error
35 #define MCUXCLCIPHER_STATUS_FAULT_ATTACK ((mcuxClCipher_Status_t) 0xE0AEF0F0u)
36 #define MCUXCLCIPHER_STATUS_OK ((mcuxClCipher_Status_t) 0x00AE0000u)
37 
39 #endif /* MCUXCLCIPHER_CONSTANTS_H_ */