diff options
author | Manish V Badarkhe <Manish.Badarkhe@arm.com> | 2020-05-16 16:36:39 +0100 |
---|---|---|
committer | Manish V Badarkhe <Manish.Badarkhe@arm.com> | 2020-05-19 05:05:19 +0100 |
commit | ad43c49ee39f52d2f3e682aefd76ecbbe3e0c712 (patch) | |
tree | 041dd6db1e190a329c2d4cb44651b8c3ea4a26a8 /include/drivers | |
parent | 4108abb4a0ab73fe311df5a65eb706e5f534f3f5 (diff) | |
download | arm-trusted-firmware-ad43c49ee39f52d2f3e682aefd76ecbbe3e0c712.tar.gz |
Cleanup the code for TBBR CoT descriptors
CoT used for BL1 and BL2 are moved to tbbr_cot_bl1.c
and tbbr_cot_bl2.c respectively.
Common CoT used across BL1 and BL2 are moved to
tbbr_cot_common.c.
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Change-Id: I2252ac8a6960b3431bcaafdb3ea4fb2d01b79cf5
Diffstat (limited to 'include/drivers')
-rw-r--r-- | include/drivers/auth/tbbr_cot_common.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/drivers/auth/tbbr_cot_common.h b/include/drivers/auth/tbbr_cot_common.h new file mode 100644 index 000000000..0ea5f6575 --- /dev/null +++ b/include/drivers/auth/tbbr_cot_common.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef TBBR_COT_COMMON_H +#define TBBR_COT_COMMON_H + +#include <drivers/auth/auth_mod.h> + +extern unsigned char tb_fw_hash_buf[HASH_DER_LEN]; +extern unsigned char tb_fw_config_hash_buf[HASH_DER_LEN]; +extern unsigned char hw_config_hash_buf[HASH_DER_LEN]; +extern unsigned char scp_fw_hash_buf[HASH_DER_LEN]; +extern unsigned char nt_world_bl_hash_buf[HASH_DER_LEN]; + +extern auth_param_type_desc_t trusted_nv_ctr; +extern auth_param_type_desc_t subject_pk; +extern auth_param_type_desc_t sig; +extern auth_param_type_desc_t sig_alg; +extern auth_param_type_desc_t raw_data; + +extern auth_param_type_desc_t tb_fw_hash; +extern auth_param_type_desc_t tb_fw_config_hash; +extern auth_param_type_desc_t hw_config_hash; + +extern const auth_img_desc_t trusted_boot_fw_cert; +extern const auth_img_desc_t hw_config; + +#endif /* TBBR_COT_COMMON_H */ |