-
Notifications
You must be signed in to change notification settings - Fork 8.1k
subsys: mgmt: updatehub: remove support for legacy Mbed TLS crypto #97614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subsys: mgmt: updatehub: remove support for legacy Mbed TLS crypto #97614
Conversation
f0d3c90
to
9e008eb
Compare
48d9e67
9e008eb
to
48d9e67
Compare
The long-term Zephyr's goal is rely only on PSA Crypto API for crypto support in Zephyr and at the same time Mbed TLS will remove this support from the next release. Therefore this commit removes usage of legacy crypto hash support from updatehub. Signed-off-by: Valerio Setti <[email protected]>
48d9e67
to
5b28986
Compare
The double force push is intentional:
|
Following the removal of legacy crypto support the code could be further simplified so this commit accomplish to this part. Signed-off-by: Valerio Setti <[email protected]>
Updatehub now only use PSA Crypto API for crypto support and it automatically enables Mbed TLS when TF-M is not available in the build, so there is no need for neither a specific test case for PSA nor the overlay file. Signed-off-by: Valerio Setti <[email protected]>
f716bfc
5b28986
to
f716bfc
Compare
doc/releases/migration-guide-4.3.rst
Outdated
cases. :kconfig:option:`CONFIG_UPDATEHUB` will automatically enable Mbed TLS PSA Crypto | ||
implemementation if TF-M is not enabled in the build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cases. :kconfig:option:`CONFIG_UPDATEHUB` will automatically enable Mbed TLS PSA Crypto | |
implemementation if TF-M is not enabled in the build. | |
cases. :kconfig:option:`CONFIG_UPDATEHUB` will automatically enable Mbed TLS's PSA Crypto | |
implemementation if TF-M is not enabled in the build. |
or
cases. :kconfig:option:`CONFIG_UPDATEHUB` will automatically enable Mbed TLS PSA Crypto | |
implemementation if TF-M is not enabled in the build. | |
cases. :kconfig:option:`CONFIG_UPDATEHUB` will automatically enable the Mbed TLS implementation of PSA Crypto | |
if TF-M is not enabled in the build. |
Add a note about the removal of legacy Mbed TLS crypto support from UpdateHub. Signed-off-by: Valerio Setti <[email protected]>
f54ba07
f716bfc
to
f54ba07
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @valeriosetti for the update.
The long-term goal of Zephyr is to rely exclusively on PSA Crypto API to get crypto support. In parallel Mbed TLS is removing legacy crypto support from the upcoming release (v.4.0).
This PR removes usage of legacy crypto from UpdateHub, updates test and migration-guide documentation.