Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions doc/releases/migration-guide-4.3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,14 @@ Cellular
* :c:enum:`cellular_access_technology` values have been redefined to align with 3GPP TS 27.007.
* :c:enum:`cellular_registration_status` values have been extended to align with 3GPP TS 27.007.

Flash Map
=========

* With the long-term goal of transitioning to PSA Crypto API as the only crypto support in Zephyr,
:kconfig:option:`FLASH_AREA_CHECK_INTEGRITY_MBEDTLS` is deprecated.
:kconfig:option:`FLASH_AREA_CHECK_INTEGRITY_PSA` is now the default choice: if TF-M is not
enabled or not supported by the platform, Mbed TLS will be used as PSA Crypto API provider.

Logging
=======

Expand Down
7 changes: 4 additions & 3 deletions subsys/storage/flash_map/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,20 @@ if FLASH_AREA_CHECK_INTEGRITY

choice FLASH_AREA_CHECK_INTEGRITY_BACKEND
prompt "Crypto backend for the flash check functions"
default FLASH_AREA_CHECK_INTEGRITY_PSA if BUILD_WITH_TFM
default FLASH_AREA_CHECK_INTEGRITY_MBEDTLS if !BUILD_WITH_TFM
default FLASH_AREA_CHECK_INTEGRITY_PSA

config FLASH_AREA_CHECK_INTEGRITY_PSA
bool "Use PSA"
select PSA_WANT_ALG_SHA_256
select PSA_CRYPTO
help
Use the PSA API to perform the integrity check.

config FLASH_AREA_CHECK_INTEGRITY_MBEDTLS
bool "Use Mbed TLS"
bool "Use Mbed TLS [DEPRECATED]"
select MBEDTLS
select MBEDTLS_SHA256
select DEPRECATED
help
Use the Mbed TLS library to perform the integrity check.

Expand Down