Skip to content

Commit 1ad1c6f

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 dddd738 commit 1ad1c6f

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

drivers/bluetooth/hci/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ config BT_SILABS_EFR32
158158
depends on ZEPHYR_HAL_SILABS_MODULE_BLOBS || BUILD_ONLY_NO_BLOBS
159159
depends on !PM || SOC_GECKO_PM_BACKEND_PMGR
160160
select SOC_GECKO_USE_RAIL
161+
select SILABS_SISDK_PROTOCOL_CRYPTO
161162
select MBEDTLS
162163
select MBEDTLS_PSA_CRYPTO_C
163164
select MBEDTLS_ENTROPY_C

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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,11 @@ config SILABS_SISDK_RAIL_MULTIPROTOCOL
5151
coexistence and arbitration between multiple wireless protocols (for
5252
example, Bluetooth LE and a proprietary 2.4 GHz stack) on Gecko SoCs.
5353

54+
config SILABS_SISDK_PROTOCOL_CRYPTO
55+
bool "Accelerated Crypto Primitives (RADIOAES)"
56+
depends on SOC_GECKO_HAS_RADIO
57+
help
58+
This component provides accelerated cryptographic primitives using the
59+
RADIOAES (series-2) peripherals.
60+
5461
endmenu

0 commit comments

Comments
 (0)