Skip to content

Commit 021cf72

Browse files
committed
Adds multithreaded safety in crypto operations
1 parent 7dcc587 commit 021cf72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

third_party/silabs/SiWx917_sdk.gni

+3
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ template("siwx917_sdk") {
381381
"SLI_SHA_DEVICE_SI91X=1",
382382
"SLI_TRNG_DEVICE_SI91X=1",
383383
"SLI_SECURE_KEY_STORAGE_DEVICE_SI91X=1",
384+
"SLI_MULTITHREAD_DEVICE_SI91X=1",
384385
]
385386

386387
include_dirs = [
@@ -397,6 +398,7 @@ template("siwx917_sdk") {
397398
"${sl_si91x_psa_crypto_path}/sha/inc",
398399
"${sl_si91x_psa_crypto_path}/trng/inc",
399400
"${sl_si91x_psa_crypto_path}/wrap/inc",
401+
"${sl_si91x_psa_crypto_path}/multithread/inc",
400402

401403
# mbedTLS
402404
"${efr32_sdk_root}/platform/security/sl_component/sl_mbedtls_support/config",
@@ -503,6 +505,7 @@ template("siwx917_sdk") {
503505
"${sl_si91x_psa_crypto_path}/gcm/src/sl_si91x_gcm.c",
504506
"${sl_si91x_psa_crypto_path}/hmac/src/sl_si91x_hmac.c",
505507
"${sl_si91x_psa_crypto_path}/mac/src/sl_si91x_psa_mac.c",
508+
"${sl_si91x_psa_crypto_path}/multithread/src/sl_si91x_crypto_thread.c",
506509
"${sl_si91x_psa_crypto_path}/sha/src/sl_si91x_psa_sha.c",
507510
"${sl_si91x_psa_crypto_path}/sha/src/sl_si91x_sha.c",
508511
"${sl_si91x_psa_crypto_path}/src/sli_si91x_crypto_driver_functions.c",

0 commit comments

Comments
 (0)