aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBalint Matyi <Balint.Matyi@arm.com>2020-05-22 08:52:32 +0100
committerTamas Ban <tamas.ban@arm.com>2020-06-04 12:42:26 +0000
commit95f58eb16648c2122d853e584d52f048f0275a30 (patch)
treed85c60f043c57f48d7cf3318f58f8638445a61f3 /docs
parent15b3130cd27a6644409c6f22a41b70945a7af690 (diff)
downloadtrusted-firmware-m-95f58eb16648c2122d853e584d52f048f0275a30.tar.gz
Test: Add attestation claim value check switch
Control checking for hard-coded claim values in the attestation suite by introducing the 'ATTEST_CLAIM_VALUE_CHECK' flag. When set to 'ON', the test will check if the claim values match the constant values found in 'platform/ext/common/template/attest_hal.c'. Signed-off-by: Balint Matyi <Balint.Matyi@arm.com> Change-Id: I22ab1471609d6b931deaf97f31cb3a0dcd83fda0
Diffstat (limited to 'docs')
-rw-r--r--docs/user_guides/services/tfm_attestation_integration_guide.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/user_guides/services/tfm_attestation_integration_guide.rst b/docs/user_guides/services/tfm_attestation_integration_guide.rst
index 16860decb0..364fbe4d0f 100644
--- a/docs/user_guides/services/tfm_attestation_integration_guide.rst
+++ b/docs/user_guides/services/tfm_attestation_integration_guide.rst
@@ -445,6 +445,10 @@ those flags. The list of flags are:
- ``ATTEST_INCLUDE_COSE_KEY_ID``: COSE key-id is an optional field in the COSE
unprotected header. Key-id is calculated and added to the COSE header based
on the value of this flag. Default value: OFF.
+- ``ATTEST_CLAIM_VALUE_CHECK``: Check attestation claims against hard-coded
+ values found in ``platform/ext/common/template/attest_hal.c``. Default value
+ is OFF. Set to ON in a platform's CMake file if the attest HAL is not yet
+ properly ported to it.
Related compile time options
----------------------------