diff --git a/drivers/bluetooth/hci/Kconfig b/drivers/bluetooth/hci/Kconfig index f1d1939259dca..d3f37b11ca3e8 100644 --- a/drivers/bluetooth/hci/Kconfig +++ b/drivers/bluetooth/hci/Kconfig @@ -158,6 +158,7 @@ config BT_SILABS_EFR32 depends on ZEPHYR_HAL_SILABS_MODULE_BLOBS || BUILD_ONLY_NO_BLOBS depends on !PM || SOC_GECKO_PM_BACKEND_PMGR select SOC_GECKO_USE_RAIL + select SILABS_SISDK_PROTOCOL_CRYPTO select MBEDTLS select MBEDTLS_PSA_CRYPTO_C select MBEDTLS_ENTROPY_C diff --git a/modules/hal_silabs/simplicity_sdk/CMakeLists.txt b/modules/hal_silabs/simplicity_sdk/CMakeLists.txt index 4d45bff3d248a..e8ad86d40d704 100644 --- a/modules/hal_silabs/simplicity_sdk/CMakeLists.txt +++ b/modules/hal_silabs/simplicity_sdk/CMakeLists.txt @@ -61,7 +61,7 @@ if(CONFIG_SOC_GECKO_HAS_RADIO) ) # sl_protocol_crypto - zephyr_library_sources_ifdef(CONFIG_BT_SILABS_EFR32 + zephyr_library_sources_ifdef(CONFIG_SILABS_SISDK_PROTOCOL_CRYPTO ${SECURITY_DIR}/sl_component/sl_protocol_crypto/src/sli_radioaes_management.c ${SECURITY_DIR}/sl_component/sl_protocol_crypto/src/sli_protocol_crypto_radioaes.c ${SECURITY_DIR}/sl_component/sli_crypto/src/sl_crypto_s2.c diff --git a/modules/hal_silabs/simplicity_sdk/Kconfig b/modules/hal_silabs/simplicity_sdk/Kconfig index 2fcaa9666f11d..07e2d4879c47b 100644 --- a/modules/hal_silabs/simplicity_sdk/Kconfig +++ b/modules/hal_silabs/simplicity_sdk/Kconfig @@ -51,4 +51,11 @@ config SILABS_SISDK_RAIL_MULTIPROTOCOL coexistence and arbitration between multiple wireless protocols (for example, Bluetooth LE and a proprietary 2.4 GHz stack) on Gecko SoCs. +config SILABS_SISDK_PROTOCOL_CRYPTO + bool "Accelerated Crypto Primitives (RADIOAES)" + depends on SOC_GECKO_HAS_RADIO + help + This component provides accelerated cryptographic primitives using the + RADIOAES (series-2) peripherals. + endmenu