1# STM32 Cryptographic Accelerator configuration options
2
3# Copyright (c) 2020 Markus Fuchs <markus.fuchs@de.sauter-bc.com>
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig CRYPTO_STM32
7	bool "STM32 Cryptographic Accelerator driver"
8	default y
9	depends on DT_HAS_ST_STM32_AES_ENABLED || DT_HAS_ST_STM32_CRYP_ENABLED
10	select USE_STM32_HAL_CRYP
11	select USE_STM32_HAL_CRYP_EX
12	help
13	  Enable STM32 HAL-based Cryptographic Accelerator driver.
14
15config CRYPTO_STM32_MAX_SESSION
16	int "Maximum of sessions STM32 crypto driver can handle"
17	default 2
18	depends on CRYPTO_STM32
19	help
20	  This can be used to tweak the amount of sessions the driver
21	  can handle in parallel.
22