subsys: storage: flash_map: remove usage of legacy Mbed TLS crypto#102022
Merged
fabiobaltieri merged 4 commits intozephyrproject-rtos:mainfrom Jan 22, 2026
Merged
Conversation
15 tasks
tomi-font
reviewed
Jan 19, 2026
Remove Kconfig and code related to legacy Mbed TLS crypto for SHA-256. This was used for the integrity check functionality as alternative to PSA Crypto API. This support was already deprecated and now it's removed in order to prepare for the next Mbed TLS 4.0 release where legacy crypto won't be available anymore. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Following the removal of legacy Mbed TLS crypto for SHA-256 in the subsys, this commit updates the related sample. "overlay-mbedtls.conf" is removed as no more necessary and the corresponding test case is removed from "testcase.yaml". "overlay-psa.conf" is updated removing unnecessary Kconfig selections. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Since now there is a single backend for crypto, i.e. the PSA Crypto API one, it's better to rename corresponding test case and related configuration file so that instead of mentioning "psa" they mention "integrity-check". Signed-off-by: Valerio Setti <vsetti@baylibre.com>
…check Add notes about changes in flash_map's Kconfig for what concerns the crypto libraries used for integrity check. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
68b3458 to
6845ff0
Compare
|
ceolin
approved these changes
Jan 19, 2026
tomi-font
approved these changes
Jan 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This support was already marked as deprecated in the latest release. Since then it was agreed that version bumping of Mbed TLS doesn't need to follow standard Zephyr process so this support is removed.
Therefore this PR:
migration-guide