blob: 5181cdc3d1b1b8f9c6bca108f80c9ab205802f42 [file] [log] [blame]
# 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