zephyr/drivers/crypto/Kconfig.mcux_dcp
Pieter De Gendt 6758777ddf drivers: crypto: Add NXP MCUX DCP driver
Add a shim driver for NXP's Data Co-Processor (DCP) driver.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2023-07-26 09:09:48 +02:00

22 lines
574 B
Plaintext

# Copyright (c) 2023 Basalte bv
# SPDX-License-Identifier: Apache-2.0
config CRYPTO_MCUX_DCP
bool "NXP Data Co-Processor (DCP) driver"
default y
depends on HAS_MCUX_CACHE
depends on DT_HAS_NXP_MCUX_DCP_ENABLED
select NOCACHE_MEMORY
select CACHE_MANAGEMENT if DCACHE
help
Enable NXP Data Co-Processor (DCP) driver.
config CRYPTO_MCUX_DCP_MAX_SESSION
int "Maximum number of sessions NXP DCP crypto driver can handle"
range 1 4
default 2
depends on CRYPTO_MCUX_DCP
help
This can be used to tweak the amount of sessions the driver
can handle in parallel.