1#-------------------------------------------------------------------------------
2# Copyright (c) 2023, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8menuconfig TFM_PARTITION_CRYPTO
9    bool "Crypto"
10    depends on TFM_PARTITION_INTERNAL_TRUSTED_STORAGE
11    select CRYPTO_NV_SEED if !CRYPTO_HW_ACCELERATOR
12    default n
13
14if TFM_PARTITION_CRYPTO
15
16config CRYPTO_TFM_BUILTIN_KEYS_DRIVER
17    bool "Enable loading builtin keys in the Crypto service secure memory"
18    default y
19    help
20      Whether to enable the TF-M builtin key loader component. Without this, a
21      platform must be define its own mechanism to make builtin keys available
22      for the Crypto service (for example, through a fully opaque driver)
23
24endif
25