aboutsummaryrefslogtreecommitdiff
path: root/CommonConfig.cmake
diff options
context:
space:
mode:
authorDavid Vincze <david.vincze@arm.com>2019-09-17 17:34:03 +0200
committerTamas Ban <tamas.ban@arm.com>2019-10-17 10:29:19 +0000
commit00dceb154a8feb66b908b05c79cd32119aad9c04 (patch)
tree0811512263fbcd05c95a3c70aa89201e9717a03d /CommonConfig.cmake
parent219a175396f3d50ca99fea1e736e9a68a641fd16 (diff)
downloadtrusted-firmware-m-00dceb154a8feb66b908b05c79cd32119aad9c04.tar.gz
Attest: Use boot record TLV in IAT token creation
Use the build time generated measured boot record structure which is already CBOR encoded for the creation of the SW_COMPONENTS claim, but also keep the backward compatibility. Set the default value of ATTEST_BOOT_INTERFACE to 'CBOR_ENCODED_CLAIMS' so the bootloader will copy (after a successful image authentication) the content of the boot record TLV to the shared data area instead of the individual SW component claims. Change-Id: I33f1a89f8b2befed914c6ea9c77b1e0f896d27d7 Signed-off-by: David Vincze <david.vincze@arm.com>
Diffstat (limited to 'CommonConfig.cmake')
-rw-r--r--CommonConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommonConfig.cmake b/CommonConfig.cmake
index 3e03aec358..88bf8b32e1 100644
--- a/CommonConfig.cmake
+++ b/CommonConfig.cmake
@@ -370,7 +370,7 @@ else()
set(ATTEST_INCLUDE_TEST_CODE_AND_KEY_ID OFF)
endif()
-set(ATTEST_BOOT_INTERFACE "INDIVIDUAL_CLAIMS" CACHE STRING "Set the format in which to pass the claims to the initial-attestation service.")
+set(ATTEST_BOOT_INTERFACE "CBOR_ENCODED_CLAIMS" CACHE STRING "Set the format in which to pass the claims to the initial-attestation service.")
set_property(CACHE ATTEST_BOOT_INTERFACE PROPERTY STRINGS "INDIVIDUAL_CLAIMS;CBOR_ENCODED_CLAIMS")
validate_cache_value(ATTEST_BOOT_INTERFACE)