xref: /arm-trusted-firmware/include/drivers/auth/tbbr_cot_common.h (revision 91f16700b400a8c0651d24a598fc48ee2997a0d7)
1*91f16700Schasinglulu /*
2*91f16700Schasinglulu  * Copyright (c) 2020,2023, ARM Limited and Contributors. All rights reserved.
3*91f16700Schasinglulu  *
4*91f16700Schasinglulu  * SPDX-License-Identifier: BSD-3-Clause
5*91f16700Schasinglulu  */
6*91f16700Schasinglulu 
7*91f16700Schasinglulu #ifndef TBBR_COT_COMMON_H
8*91f16700Schasinglulu #define TBBR_COT_COMMON_H
9*91f16700Schasinglulu 
10*91f16700Schasinglulu #include <common/tbbr/cot_def.h>
11*91f16700Schasinglulu #include <drivers/auth/auth_mod.h>
12*91f16700Schasinglulu 
13*91f16700Schasinglulu extern unsigned char tb_fw_hash_buf[HASH_DER_LEN];
14*91f16700Schasinglulu extern unsigned char scp_fw_hash_buf[HASH_DER_LEN];
15*91f16700Schasinglulu extern unsigned char nt_world_bl_hash_buf[HASH_DER_LEN];
16*91f16700Schasinglulu 
17*91f16700Schasinglulu extern auth_param_type_desc_t trusted_nv_ctr;
18*91f16700Schasinglulu extern auth_param_type_desc_t subject_pk;
19*91f16700Schasinglulu extern auth_param_type_desc_t sig;
20*91f16700Schasinglulu extern auth_param_type_desc_t sig_alg;
21*91f16700Schasinglulu extern auth_param_type_desc_t raw_data;
22*91f16700Schasinglulu 
23*91f16700Schasinglulu extern auth_param_type_desc_t tb_fw_hash;
24*91f16700Schasinglulu extern auth_param_type_desc_t tb_fw_config_hash;
25*91f16700Schasinglulu extern auth_param_type_desc_t fw_config_hash;
26*91f16700Schasinglulu 
27*91f16700Schasinglulu extern const auth_img_desc_t trusted_boot_fw_cert;
28*91f16700Schasinglulu extern const auth_img_desc_t hw_config;
29*91f16700Schasinglulu 
30*91f16700Schasinglulu #endif /* TBBR_COT_COMMON_H */
31