1#-------------------------------------------------------------------------------
2# Copyright (c) 2022, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8menu "Attestation component configs"
9    depends on TFM_PARTITION_INITIAL_ATTESTATION
10
11config ATTEST_INCLUDE_OPTIONAL_CLAIMS
12    bool "Include optional claims in initial attestation token"
13    default y
14
15config ATTEST_INCLUDE_COSE_KEY_ID
16    bool "Include COSE key-id in initial attestation token"
17    default n
18
19choice
20    prompt "Set the initial attestation token profile"
21    config ATTEST_TOKEN_PROFILE_PSA_IOT_1
22        bool "PSA_IOT_1"
23    config ATTEST_TOKEN_PROFILE_PSA_2_0_0
24        bool "PSA_2_0_0"
25    config ATTEST_TOKEN_PROFILE_ARM_CCA
26        bool "ARM_CCA"
27endchoice
28
29config ATTEST_TOKEN_PROFILE
30    string
31    default "PSA_IOT_1" if ATTEST_TOKEN_PROFILE_PSA_IOT_1
32    default "PSA_2_0_0" if ATTEST_TOKEN_PROFILE_PSA_2_0_0
33    default "ARM_CCA" if ATTEST_TOKEN_PROFILE_ARM_CCA
34
35config ATTEST_STACK_SIZE
36    hex "Stack size"
37    default 0x700
38
39endmenu
40