From 0f7ebef73eb72f4627cf657fcb92f60c01001b41 Mon Sep 17 00:00:00 2001 From: Manish V Badarkhe Date: Wed, 26 Feb 2025 12:01:03 +0000 Subject: [PATCH] feat(drtm): introduce plat API for DLME authentication features This patch introduces a platform-specific function to provide DLME authentication features. While no platforms currently support DLME authentication, this change offers a structured way for platforms to define and expose their DLME authentication features, with the flexibility to extend support in the future if needed. Change-Id: Ia708914477c4d8cfee4809a9daade9a3e91ed073 Signed-off-by: Manish V Badarkhe --- docs/porting-guide.rst | 11 +++++++++++ include/plat/common/plat_drtm.h | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/porting-guide.rst b/docs/porting-guide.rst index 98aa76de8..d06d15357 100644 --- a/docs/porting-guide.rst +++ b/docs/porting-guide.rst @@ -1043,6 +1043,17 @@ This function returns the Maximum number of TCB hashes recorded by the platform. For more details see section 3.3 Table 6 of `DRTM`_ specification. +Function : plat_drtm_get_dlme_img_auth_features() +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:: + + Argument : void + Return : uint64_t + +This function returns the DLME image authentication features. +For more details see section 3.3 Table 6 of `DRTM`_ specification. + Function : plat_drtm_validate_ns_region() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/include/plat/common/plat_drtm.h b/include/plat/common/plat_drtm.h index 4f6921084..0d6a81863 100644 --- a/include/plat/common/plat_drtm.h +++ b/include/plat/common/plat_drtm.h @@ -60,7 +60,7 @@ uint64_t plat_drtm_get_tcb_hash_table_size(void); uint64_t plat_drtm_get_imp_def_dlme_region_size(void); uint64_t plat_drtm_get_tcb_hash_features(void); uint64_t plat_drtm_get_acpi_tables_region_size(void); - +uint64_t plat_drtm_get_dlme_img_auth_features(void); /* DRTM error handling functions */ int plat_set_drtm_error(uint64_t error_code);