zephyr/drivers/crypto/Kconfig.nrf_ecb
Andrzej Głąbek d855d47288 drivers: crypto_nrf_ecb: Convert to use devicetree
Convert the driver so that it creates its instance basing on DT.
Remove no longer needed Kconfig option CRYPTO_NRF_ECB_NAME.
Also update accordingly the crypto sample.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2021-01-13 12:57:13 +01:00

18 lines
624 B
Plaintext

# NRF AES ECB configuration options
# Copyright (c) 2020 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
# Workaround for not being able to have commas in macro arguments
DT_COMPAT_NORDIC_NRF_ECB := nordic,nrf-ecb
config CRYPTO_NRF_ECB
bool "nRF AES electronic codebook mode encryption"
depends on $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_ECB))
# Bluetooth controller uses the ECB peripheral directly
# (see subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/ecb.c),
# hence this driver cannot be enabled together with it.
depends on !BT_CTLR
help
Enable nRF HAL-based AES ECB encryption driver