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 _CC_CRYPTO_X509_COMMON_DEFS_H 8 #define _CC_CRYPTO_X509_COMMON_DEFS_H 9 10 /*! 11 @file 12 @brief This file contains definitions used in the X509 certificates. 13 */ 14 15 /*! MAX size of issuer name string. */ 16 #define X509_ISSUER_NAME_MAX_STRING_SIZE 64 17 /*! MAX size of subject name string. */ 18 #define X509_SUBJECT_NAME_MAX_STRING_SIZE 64 19 /*! MAX size of validity period string. */ 20 #define X509_VALIDITY_PERIOD_MAX_STRING_SIZE 16 21 /*! MAX size of a single user's data buffer */ 22 #define X509_USER_DATA_MAX_SIZE_BYTES 64 23 24 25 #endif 26