Skip to content

Commit 1e65489

Browse files
Vge0rgerlubos
authored andcommitted
nrf_security: Mbedlts threading dependency fix
Make the MbedTLS threading configuration to depend on the multithreading Kconfig option. The multithreading configuration is required by both the PSA crypto implementation which uses the Zephyr mutexes and also by the MbedTLS legacy implementation which may not use Zephyr mutexes for CC3XX. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent 4c99515 commit 1e65489

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/nrf_security/Kconfig.legacy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ config MBEDTLS_MEMORY_BUFFER_ALLOC_C
2323
config MBEDTLS_THREADING_C
2424
bool "Threading support for Mbed TLS and PSA crypto"
2525
default y if CC3XX_BACKEND || MBEDTLS_PSA_CRYPTO_C
26+
depends on MULTITHREADING
2627
help
2728
Threading support is used when PSA crypto is built locally or
2829
when legacy APIs implemented using CryptoCell is in use.

0 commit comments

Comments
 (0)