MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClCipher_Constants.h
Go to the documentation of this file.
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
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-8684: Unionize and describe return codes */
31#define MCUXCLCIPHER_STATUS_ERROR ((mcuxClCipher_Status_t) 0x02225330u)
32#define MCUXCLCIPHER_STATUS_FAILURE ((mcuxClCipher_Status_t) 0x02225334u)
33#define MCUXCLCIPHER_STATUS_INVALID_INPUT ((mcuxClCipher_Status_t) 0x022253F8u)
34#define MCUXCLCIPHER_STATUS_ERROR_MEMORY_ALLOCATION ((mcuxClCipher_Status_t) 0x0222533Cu) // memory allocation error
35#define MCUXCLCIPHER_STATUS_FAULT_ATTACK ((mcuxClCipher_Status_t) 0x0222F0F0u)
36#define MCUXCLCIPHER_STATUS_OK ((mcuxClCipher_Status_t) 0x02222E03u)
37#define MCUXCLCIPHER_STATUS_JOB_STARTED ((mcuxClCipher_Status_t) 0x02222E47u)
38#define MCUXCLCIPHER_STATUS_JOB_COMPLETED ((mcuxClCipher_Status_t) 0x02222E8Bu)
39
41#endif /* MCUXCLCIPHER_CONSTANTS_H_ */