1#-------------------------------------------------------------------------------
2# Copyright (c) 2023, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8menuconfig TFM_PARTITION_INITIAL_ATTESTATION
9    bool "Initial attestation"
10    depends on TFM_PARTITION_CRYPTO
11    default n
12
13if TFM_PARTITION_INITIAL_ATTESTATION
14
15config SYMMETRIC_INITIAL_ATTESTATION
16    bool "Symmetric key algorithm based Initial Attestation"
17    default n
18    help
19      Use symmetric crypto for inital attestation
20
21config ATTEST_INCLUDE_TEST_CODE
22    bool "Include test code"
23    depends on TEST_NS_ATTESTATION || TEST_S_ATTESTATION
24    default n
25    help
26      Include minimal development tests in the initial attestation regression
27      test suite
28
29config ATTEST_KEY_BITS
30    int "Key bit width"
31    default 256
32    help
33      The size of the initial attestation key in bits
34
35config PSA_INITIAL_ATTEST_MAX_TOKEN_SIZE
36    hex  "The maximum possible size of a token"
37    default 0x250
38
39endif
40