1 /*
2  * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include "cc_pal_types.h"
8 
9 #define CC_PAL_LOG_CUR_COMPONENT CC_LOG_MASK_SECURE_BOOT
10 
11 /************* Include Files ****************/
12 
13 #include "secureboot_basetypes.h"
14 /*!
15 @brief This function checks validity period and should be implemented by customer.
16     <ul><li> The function gets as input start and end validiy period.</li>
17     <li> For each period the function gets indication flag.</li>
18     <li> if the flag is not 1 the value of current period wasn't defined be user.</li></ul>
19 
20 @return CC_OK   On success.
21 @return a non-zero value from sbrom_bsv_error.h on failure.
22 */
23 
CC_PalVerifyCertValidity(char * pNotBeforeStr,uint32_t notBeforeStrSize,uint8_t notBeforeStrFlag,char * pNotAfterStr,uint32_t notAfterStrSize,uint8_t notAfterStrFlag)24 CCError_t CC_PalVerifyCertValidity(char *pNotBeforeStr,uint32_t notBeforeStrSize,uint8_t notBeforeStrFlag,
25     char *pNotAfterStr,uint32_t notAfterStrSize,uint8_t notAfterStrFlag){
26 
27     CC_UNUSED_PARAM(pNotBeforeStr);
28     CC_UNUSED_PARAM(pNotAfterStr);
29     CC_UNUSED_PARAM(notBeforeStrSize);
30     CC_UNUSED_PARAM(notBeforeStrFlag);
31     CC_UNUSED_PARAM(notAfterStrSize);
32     CC_UNUSED_PARAM(notAfterStrFlag);
33 
34     return 0;
35 }
36 
37