1 /* 2 * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef _SB_X509_ERROR_H 8 #define _SB_X509_ERROR_H 9 10 #include "secureboot_error.h" 11 12 #ifdef __cplusplus 13 extern "C" 14 { 15 #endif 16 17 18 #define CC_SB_X509_CERT_INV_PARAM CC_SB_X509_CERT_BASE_ERROR + 0x00000001 19 #define CC_SB_X509_CERT_ILLEGAL_TOKEN CC_SB_X509_CERT_BASE_ERROR + 0x00000002 20 #define CC_SB_X509_CERT_PARSE_ILLEGAL_VAL CC_SB_X509_CERT_BASE_ERROR + 0x00000003 21 #define CC_SB_X509_CERT_ILLEGAL_SWVER_ID CC_SB_X509_CERT_BASE_ERROR + 0x00000005 22 #define CC_SB_X509_CERT_ILLEGAL_VERSION CC_SB_X509_CERT_BASE_ERROR + 0x00000006 23 #define CC_SB_X509_CERT_ILLEGAL_LCS CC_SB_X509_CERT_BASE_ERROR + 0x00000007 24 #define CC_SB_X509_CERT_ILLEGAL_PKG_ADD CC_SB_X509_CERT_BASE_ERROR + 0x00000008 25 #define CC_SB_X509_CERT_ILLEGAL_SOC_ID CC_SB_X509_CERT_BASE_ERROR + 0x00000009 26 #define CC_SB_X509_CERT_ILLEGAL_CERT_TYPE CC_SB_X509_CERT_BASE_ERROR + 0x0000000A 27 #define CC_SB_X509_CERT_SIG_ALIGN_INCORRECT CC_SB_X509_CERT_BASE_ERROR + 0x0000000C 28 29 30 #ifdef __cplusplus 31 } 32 #endif 33 34 #endif 35 36 37