boards|soc: remove selection of ENTROPY_GENERATOR
Now that MbedTLS is capable of automatically enabling CONFIG_ENTROPY_GENERATOR (when available), we can remove forced enablements in boards|soc deconfig files. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
39068cc70e
commit
bc3baf096a
8 changed files with 0 additions and 60 deletions
|
@ -32,14 +32,4 @@ config UART_CONSOLE
|
|||
|
||||
endif # CONSOLE
|
||||
|
||||
# BT relies on PSA Crypto API to perform crypto operations. On this platform
|
||||
# this is implemented by Mbed TLS which requires a (possibly true) random
|
||||
# number generator to initialize properly. We enable ENTROPY_GENERATOR here
|
||||
# instead of manually adding it to all samples/tests configuration files because
|
||||
# it looks more compact and easier to maintain.
|
||||
config ENTROPY_GENERATOR
|
||||
bool
|
||||
default y if BT
|
||||
|
||||
|
||||
endif # BOARD_NATIVE_SIM
|
||||
|
|
|
@ -54,19 +54,6 @@ config BT_HCI_IPC
|
|||
|
||||
endif # BOARD_NRF5340BSIM_NRF5340_CPUAPP
|
||||
|
||||
if BOARD_NRF5340BSIM_NRF5340_CPUAPP || BOARD_NRF52_BSIM
|
||||
|
||||
# BT relies on PSA Crypto API to perform crypto operations. On this platform
|
||||
# this is implemented by Mbed TLS which requires a (possibly true) random
|
||||
# number generator to initialize properly. We enable ENTROPY_GENERATOR here
|
||||
# instead of manually adding it to all samples/tests configuration files because
|
||||
# it looks more compact and easier to maintain.
|
||||
config ENTROPY_GENERATOR
|
||||
bool
|
||||
default y if BT
|
||||
|
||||
endif # BOARD_NRF5340BSIM_NRF5340_CPUAPP || BOARD_NRF52_BSIM
|
||||
|
||||
# The 15.4 driver Tx encryption is currently not functional with this
|
||||
# simulated board => we disable it by default. With this Openthread will normally
|
||||
# default to encrypt packets on its own.
|
||||
|
|
|
@ -53,19 +53,6 @@ config FLASH_LOAD_SIZE
|
|||
|
||||
endif # BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP_NS
|
||||
|
||||
if BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP
|
||||
|
||||
# BT relies on PSA Crypto API to perform crypto operations. On this platform
|
||||
# this is implemented by Mbed TLS which requires a (possibly true) random
|
||||
# number generator to initialize properly. We enable ENTROPY_GENERATOR here
|
||||
# instead of manually adding it to all samples/tests configuration files because
|
||||
# it looks more compact and easier to maintain.
|
||||
config ENTROPY_GENERATOR
|
||||
bool
|
||||
default y if BT
|
||||
|
||||
endif # BOARD_NRF5340_AUDIO_DK_NRF5340_CPUAPP
|
||||
|
||||
config BT_HCI_IPC
|
||||
default y if BT
|
||||
|
||||
|
|
|
@ -43,19 +43,6 @@ config SRAM_SIZE
|
|||
|
||||
endif # BOARD_NRF5340DK_NRF5340_CPUAPP && TRUSTED_EXECUTION_SECURE
|
||||
|
||||
if BOARD_NRF5340DK_NRF5340_CPUAPP
|
||||
|
||||
# BT relies on PSA Crypto API to perform crypto operations. On this platform
|
||||
# this is implemented by Mbed TLS which requires a (possibly true) random
|
||||
# number generator to initialize properly. We enable ENTROPY_GENERATOR here
|
||||
# instead of manually adding it to all samples/tests configuration files because
|
||||
# it looks more compact and easier to maintain.
|
||||
config ENTROPY_GENERATOR
|
||||
bool
|
||||
default y if BT
|
||||
|
||||
endif # BOARD_NRF5340DK_NRF5340_CPUAPP
|
||||
|
||||
if BOARD_NRF5340DK_NRF5340_CPUAPP_NS
|
||||
|
||||
config FLASH_LOAD_OFFSET
|
||||
|
|
|
@ -14,5 +14,3 @@ CONFIG_UART_CONSOLE=y
|
|||
|
||||
# enable GPIO
|
||||
CONFIG_GPIO=y
|
||||
|
||||
CONFIG_ENTROPY_GENERATOR=y
|
||||
|
|
|
@ -81,9 +81,6 @@ choice SEGGER_SYSVIEW_SECTION
|
|||
depends on SEGGER_SYSTEMVIEW
|
||||
endchoice
|
||||
|
||||
config MBEDTLS
|
||||
default y if CSPRNG_AVAILABLE
|
||||
|
||||
if MBEDTLS
|
||||
#
|
||||
# MBEDTLS CTR_DRBG code path needs extra stack space for initialization than
|
||||
|
|
|
@ -20,9 +20,6 @@ config NUM_IRQS
|
|||
config ZTEST_NO_YIELD
|
||||
default y if (PM && ZTEST)
|
||||
|
||||
config MBEDTLS
|
||||
default y if CSPRNG_AVAILABLE
|
||||
|
||||
if MBEDTLS
|
||||
#
|
||||
# MBEDTLS CTR_DRBG code path needs extra stack space for initialization than
|
||||
|
|
|
@ -38,9 +38,6 @@ config NUM_IRQS
|
|||
config ZTEST_NO_YIELD
|
||||
default y if (ZTEST && PM)
|
||||
|
||||
config MBEDTLS
|
||||
default y if CSPRNG_AVAILABLE
|
||||
|
||||
if MBEDTLS
|
||||
#
|
||||
# MBEDTLS CTR_DRBG code path needs extra stack space for initialization than
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue