Skip to content

Commit 0734c90

Browse files
committed
modules: hal_silabs: Add config for SiSDK Protocol Crypto
A Kconfig options for the SiSDK Protocol Crypto library, which provides accelerated cryptographic primitives using the RADIOAES peripherals for Series-2 devices. Signed-off-by: David Boullie <[email protected]>
1 parent 6b8fcae commit 0734c90

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

drivers/bluetooth/hci/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,10 @@ config BT_SILABS_EFR32
157157
depends on DT_HAS_SILABS_BT_HCI_EFR32_ENABLED
158158
depends on ZEPHYR_HAL_SILABS_MODULE_BLOBS || BUILD_ONLY_NO_BLOBS
159159
depends on !PM || SOC_GECKO_PM_BACKEND_PMGR
160+
depends on SOC_GECKO_HAS_RADIO
160161
select SOC_GECKO_USE_RAIL
161162
select PSA_CRYPTO
163+
select SILABS_SISDK_PROTOCOL_CRYPTO
162164
select HAS_BT_CTLR
163165
select BT_CTLR_PHY_UPDATE_SUPPORT
164166
select BT_CTLR_PER_INIT_FEAT_XCHG_SUPPORT

modules/hal_silabs/simplicity_sdk/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if(CONFIG_SOC_GECKO_HAS_RADIO)
6161
)
6262

6363
# sl_protocol_crypto
64-
zephyr_library_sources_ifdef(CONFIG_BT_SILABS_EFR32
64+
zephyr_library_sources_ifdef(CONFIG_SILABS_SISDK_PROTOCOL_CRYPTO
6565
${SECURITY_DIR}/sl_component/sl_protocol_crypto/src/sli_radioaes_management.c
6666
${SECURITY_DIR}/sl_component/sl_protocol_crypto/src/sli_protocol_crypto_radioaes.c
6767
${SECURITY_DIR}/sl_component/sli_crypto/src/sl_crypto_s2.c

modules/hal_silabs/simplicity_sdk/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,8 @@ config SILABS_SISDK_RAIL_MULTIPROTOCOL
5858
coexistence and arbitration between multiple wireless protocols (for
5959
example, Bluetooth LE and a proprietary 2.4 GHz stack) on Gecko SoCs.
6060

61+
config SILABS_SISDK_PROTOCOL_CRYPTO
62+
bool
63+
depends on SOC_GECKO_HAS_RADIO
64+
6165
endmenu

0 commit comments

Comments
 (0)