2023-06-14 15:19:33 +08:00
|
|
|
# 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
|
2023-09-26 12:31:13 +08:00
|
|
|
select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
|
2023-06-14 15:19:33 +08:00
|
|
|
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.
|