aboutsummaryrefslogtreecommitdiff
path: root/include/drivers/auth/auth_mod.h
diff options
context:
space:
mode:
authorManish Pandey <manish.pandey2@arm.com>2020-07-23 16:54:30 +0100
committerManish Pandey <manish.pandey2@arm.com>2020-07-31 12:46:21 +0100
commit03a5225c6a9371d57c14b2909c48762d07842ef6 (patch)
treee89fa9484b5da0910a1a998554fcbb1de2e0ad64 /include/drivers/auth/auth_mod.h
parent499f192c1d31189d13fbd69fd71067555b621c53 (diff)
downloadtrusted-firmware-a-03a5225c6a9371d57c14b2909c48762d07842ef6.tar.gz
tbbr/dualroot: rename SP package certificate file
Currently only single signing domain is supported for SP packages but there is plan to support dual signing domains if CoT is dualroot. SP_CONTENT_CERT_ID is the certificate file which is currently generated and signed with trusted world key which in-turn is derived from Silicon provider RoT key. To allow dual signing domain for SP packages, other certificate file will be derived from Platform owned RoT key. This patch renames "SP_CONTENT_CERT_ID" to "SIP_SP_CONTENT_CERT_ID" and does other related changes. Signed-off-by: Manish Pandey <manish.pandey2@arm.com> Change-Id: I0bc445a3ab257e2dac03faa64f46e36a9fed5e93
Diffstat (limited to 'include/drivers/auth/auth_mod.h')
-rw-r--r--include/drivers/auth/auth_mod.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/drivers/auth/auth_mod.h b/include/drivers/auth/auth_mod.h
index 01d144d2cb..504e539393 100644
--- a/include/drivers/auth/auth_mod.h
+++ b/include/drivers/auth/auth_mod.h
@@ -51,11 +51,11 @@ extern const size_t cot_desc_size;
extern unsigned int auth_img_flags[MAX_NUMBER_IDS];
#if defined(SPD_spmd)
-#define DEFINE_SP_PKG(n) \
+#define DEFINE_SIP_SP_PKG(n) \
static const auth_img_desc_t sp_pkg##n = { \
- .img_id = SP_CONTENT_CERT_ID + (n), \
+ .img_id = SP_PKG##n##_ID, \
.img_type = IMG_RAW, \
- .parent = &sp_content_cert, \
+ .parent = &sip_sp_content_cert, \
.img_auth_methods = (const auth_method_desc_t[AUTH_METHOD_NUM]) { \
[0] = { \
.type = AUTH_METHOD_HASH, \