mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 21:44:15 +00:00
feat(auth): add CCA NV ctr to CCA CoT
Modifying the CCA CoT description to put the CCA content certificate under the new CCA NV counter. Change-Id: Ib962cef5eaa15bb9ccce86012f21327d29d4adad Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
This commit is contained in:
parent
0f19b7aada
commit
e3b1cc0c51
1 changed files with 6 additions and 4 deletions
|
@ -42,8 +42,8 @@ static unsigned char plat_pk_buf[PK_DER_LEN];
|
||||||
/*
|
/*
|
||||||
* Parameter type descriptors.
|
* Parameter type descriptors.
|
||||||
*/
|
*/
|
||||||
static auth_param_type_desc_t trusted_nv_ctr = AUTH_PARAM_TYPE_DESC(
|
static auth_param_type_desc_t cca_nv_ctr = AUTH_PARAM_TYPE_DESC(
|
||||||
AUTH_PARAM_NV_CTR, TRUSTED_FW_NVCOUNTER_OID);
|
AUTH_PARAM_NV_CTR, CCA_FW_NVCOUNTER_OID);
|
||||||
static auth_param_type_desc_t subject_pk = AUTH_PARAM_TYPE_DESC(
|
static auth_param_type_desc_t subject_pk = AUTH_PARAM_TYPE_DESC(
|
||||||
AUTH_PARAM_PUB_KEY, 0);
|
AUTH_PARAM_PUB_KEY, 0);
|
||||||
static auth_param_type_desc_t sig = AUTH_PARAM_TYPE_DESC(
|
static auth_param_type_desc_t sig = AUTH_PARAM_TYPE_DESC(
|
||||||
|
@ -69,6 +69,8 @@ static auth_param_type_desc_t rmm_hash = AUTH_PARAM_TYPE_DESC(
|
||||||
AUTH_PARAM_HASH, RMM_HASH_OID);
|
AUTH_PARAM_HASH, RMM_HASH_OID);
|
||||||
|
|
||||||
#ifdef IMAGE_BL2
|
#ifdef IMAGE_BL2
|
||||||
|
static auth_param_type_desc_t trusted_nv_ctr = AUTH_PARAM_TYPE_DESC(
|
||||||
|
AUTH_PARAM_NV_CTR, TRUSTED_FW_NVCOUNTER_OID);
|
||||||
static auth_param_type_desc_t non_trusted_nv_ctr = AUTH_PARAM_TYPE_DESC(
|
static auth_param_type_desc_t non_trusted_nv_ctr = AUTH_PARAM_TYPE_DESC(
|
||||||
AUTH_PARAM_NV_CTR, NON_TRUSTED_FW_NVCOUNTER_OID);
|
AUTH_PARAM_NV_CTR, NON_TRUSTED_FW_NVCOUNTER_OID);
|
||||||
|
|
||||||
|
@ -127,8 +129,8 @@ static const auth_img_desc_t cca_content_cert = {
|
||||||
[1] = {
|
[1] = {
|
||||||
.type = AUTH_METHOD_NV_CTR,
|
.type = AUTH_METHOD_NV_CTR,
|
||||||
.param.nv_ctr = {
|
.param.nv_ctr = {
|
||||||
.cert_nv_ctr = &trusted_nv_ctr,
|
.cert_nv_ctr = &cca_nv_ctr,
|
||||||
.plat_nv_ctr = &trusted_nv_ctr
|
.plat_nv_ctr = &cca_nv_ctr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue