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