diff --git a/meta-arm-bsp/recipes-security/trusted-services/corstone1000/0010-Remove-PLATFORM_HAS_ATTEST_PK-define-from-IAT-test.patch b/meta-arm-bsp/recipes-security/trusted-services/corstone1000/0010-Remove-PLATFORM_HAS_ATTEST_PK-define-from-IAT-test.patch new file mode 100644 index 00000000..addf879f --- /dev/null +++ b/meta-arm-bsp/recipes-security/trusted-services/corstone1000/0010-Remove-PLATFORM_HAS_ATTEST_PK-define-from-IAT-test.patch @@ -0,0 +1,27 @@ +From a94bcd8af80c42adf99a7114174afea4000e6647 Mon Sep 17 00:00:00 2001 +From: Bence Balogh +Date: Tue, 14 May 2024 15:58:15 +0200 +Subject: [PATCH] Remove PLATFORM_HAS_ATTEST_PK define from IAT test + +Signed-off-by: Bence Balogh +Upstream-Status: Inappropriate [Should remove the flag only for CS1000] +--- + deployments/psa-api-test/initial_attestation/iat-api-test.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/deployments/psa-api-test/initial_attestation/iat-api-test.cmake b/deployments/psa-api-test/initial_attestation/iat-api-test.cmake +index 4d1d2b1a9..eb4db223c 100644 +--- a/deployments/psa-api-test/initial_attestation/iat-api-test.cmake ++++ b/deployments/psa-api-test/initial_attestation/iat-api-test.cmake +@@ -15,7 +15,7 @@ set(TS_ARCH_TEST_SUITE INITIAL_ATTESTATION CACHE STRING "Arch test suite") + # Set additional defines needed for build. + #------------------------------------------------------------------------------- + list(APPEND PSA_ARCH_TEST_EXTERNAL_DEFS +- -DPSA_ALG_MD4=0x02000002 -DPLATFORM_HAS_ATTEST_PK) ++ -DPSA_ALG_MD4=0x02000002) + + #------------------------------------------------------------------------------- + # The arch test build system puts its build output under a test suite specific +-- +2.25.1 + diff --git a/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc b/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc index 64d65714..bd1d613c 100644 --- a/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc +++ b/meta-arm-bsp/recipes-security/trusted-services/ts-arm-platforms.inc @@ -11,6 +11,7 @@ SRC_URI:append:corstone1000 = " \ file://0007-plat-corstone1000-Initialize-capsule-update-provider.patch \ file://0008-plat-corstone1000-add-client_id-for-FMP-service.patch \ file://0009-Remove-Werror-flag.patch \ + file://0010-Remove-PLATFORM_HAS_ATTEST_PK-define-from-IAT-test.patch \ "