1# Copyright (c) 2023 Basalte bv
2# SPDX-License-Identifier: Apache-2.0
3
4config CRYPTO_MCUX_DCP
5	bool "NXP Data Co-Processor (DCP) driver"
6	default y
7	depends on HAS_MCUX_CACHE
8	depends on DT_HAS_NXP_MCUX_DCP_ENABLED
9	select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
10	select CACHE_MANAGEMENT if DCACHE
11	help
12	  Enable NXP Data Co-Processor (DCP) driver.
13
14config CRYPTO_MCUX_DCP_MAX_SESSION
15	int "Maximum number of sessions NXP DCP crypto driver can handle"
16	range 1 4
17	default 2
18	depends on CRYPTO_MCUX_DCP
19	help
20	  This can be used to tweak the amount of sessions the driver
21	  can handle in parallel.
22