diff options
Diffstat (limited to 'include/drivers/auth/auth_mod.h')
-rw-r--r-- | include/drivers/auth/auth_mod.h | 6 |
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, \ |