Skip to content

Commit a0ee54c

Browse files
committed
modules: openthread: use PSA API by default
Make CONFIG_OPENTHREAD_CRYPTO_PSA as enabled by default in order to use PSA Crypto API instead of legacy Mbed TLS' crypto. This is done with the final goal to deprecate and remove usage of legacy crypto support in the near future from Zephyr codebase. Signed-off-by: Valerio Setti <[email protected]>
1 parent b703488 commit a0ee54c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

doc/releases/migration-guide-4.3.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,8 @@ OpenThread
530530
This requires the backend for Secure Storage (Settings, ZMS or a custom one)
531531
to be configured.
532532

533+
* :kconfig:option:`CONFIG_OPENTHREAD_CRYPTO_PSA` is now enabled by default.
534+
533535
Trusted Firmware-M
534536
==================
535537

modules/openthread/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,17 @@ endif # OPENTHREAD_SECURITY_DEFAULT_CONFIG
241241

242242
config OPENTHREAD_CRYPTO_PSA
243243
bool "PSA Crypto API"
244+
default y
244245
select PSA_CRYPTO
245246
select SECURE_STORAGE if !BUILD_WITH_TFM
246247
select OPENTHREAD_PLATFORM_KEY_REF if !OPENTHREAD_COPROCESSOR_RCP
247248
imply OPENTHREAD_PLATFORM_KEYS_EXPORTABLE_ENABLE
248249
help
249250
Enable crypto backend library implementation based on PSA Crypto API
250251
instead of the default, using Mbed TLS.
252+
Warning: disabling this Kconfig (enabled by default) and falling back
253+
to legacy Mbed TLS crypto API is deprecated and will be removed in the
254+
future.
251255

252256
config OPENTHREAD_MBEDTLS_LIB_NAME
253257
string "mbedtls lib name"

0 commit comments

Comments
 (0)