2020-03-20 08:17:31 +08:00
|
|
|
# NRF AES ECB configuration options
|
|
|
|
|
|
|
|
# Copyright (c) 2020 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-12-21 20:09:05 +08:00
|
|
|
# Workaround for not being able to have commas in macro arguments
|
|
|
|
DT_COMPAT_NORDIC_NRF_ECB := nordic,nrf-ecb
|
2020-03-20 08:17:31 +08:00
|
|
|
|
2020-12-21 20:09:05 +08:00
|
|
|
config CRYPTO_NRF_ECB
|
2020-03-20 08:17:31 +08:00
|
|
|
bool "nRF AES electronic codebook mode encryption"
|
2020-12-21 20:09:05 +08:00
|
|
|
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
|
2020-03-20 08:17:31 +08:00
|
|
|
help
|
|
|
|
Enable nRF HAL-based AES ECB encryption driver
|