build_helpers: Add TC3 test with CCA Attestation scheme
Add TC3 test with CCA attestation scheme, while the default
for the platform is now DPE.
Only perform the NS regression test to save resources, as the
S regression test is covered with the default attestation.
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
Change-Id: I7f9a70bf9a57ed4983119b304388ed4c2a1594c6
diff --git a/build_helper/build_helper_config_maps.py b/build_helper/build_helper_config_maps.py
index 2cde5ae..533f65b 100644
--- a/build_helper/build_helper_config_maps.py
+++ b/build_helper/build_helper_config_maps.py
@@ -138,7 +138,10 @@
"EXTRAS_EXAMPLE_DMA350_NS" : "-DEXTRA_NS_TEST_SUITE_PATH=%(codebase_root_dir)s/../tf-m-extras/examples/corstone310_fvp_dma/dma350_ns",
# Attestation scheme
- "ATTESTATION_SCHEME_DPE" : ("-DEXTRA_S_TEST_SUITE_PATH=%(codebase_root_dir)s/../tf-m-extras/partitions/dice_protection_environment/test/secure ")
+ "ATTESTATION_SCHEME_DPE" : ("-DEXTRA_S_TEST_SUITE_PATH=%(codebase_root_dir)s/../tf-m-extras/partitions/dice_protection_environment/test/secure "),
+ "ATTESTATION_SCHEME_CCA" : ("-DTFM_ATTESTATION_SCHEME=CCA "
+ "-DEXTRA_S_TEST_SUITE_PATH=%(codebase_root_dir)s/../tf-m-extras/partitions/delegated_attestation/test/secure "
+ "-DEXTRA_NS_TEST_SUITE_PATH=%(codebase_root_dir)s/../tf-m-extras/partitions/measured_boot/test/non_secure ")
}
mapTfmExtrasExamplePaths = {
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py
index 07010b9..2b52353 100755
--- a/build_helper/build_helper_configs.py
+++ b/build_helper/build_helper_configs.py
@@ -363,6 +363,9 @@
# RSE_TC3_GCC_2_RegBL1_1_Debug_BL2
("arm/rse/tc/tc3", "GCC_10_3", "2",
"RegBL1_1", "OFF", "Debug", True, "", ""),
+ # RSE_TC3_GCC_2_Release_BL2_ATTESTATION_SCHEME_CCA
+ ("arm/rse/tc/tc3", "GCC_10_3", "2",
+ "OFF", "OFF", "Release", True, "", "ATTESTATION_SCHEME_CCA"),
# RSE_RDFremont_GCC_2_Release_BL2_NSOFF_CFG0
("arm/rse/rdfremont", "GCC_10_3", "2",
"OFF", "OFF", "Release", True, "", "NSOFF, CFG0"),