subsys: net: lib: websocket: remove usage of legacy Mbed TLS crypto#102037
Merged
henrikbrixandersen merged 3 commits intozephyrproject-rtos:mainfrom Jan 13, 2026
Merged
Conversation
Remove optional use of legacy Mbed TLS crypto in favor of the already existing PSA Crypto API alternative. This is required in order to jump to the next version of Mbed TLS (i.e. 4.0) where all this legacy crypto support is no more available. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
15 tasks
rlubos
previously approved these changes
Jan 9, 2026
Use PSA Crypto API for SHA-1 computation instead of legacy Mbed TLS crypto. The latter is going to be removed soon. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Include "websocket/websocket_internal.h" only when CONFIG_WEBSOCKET_CLIENT is also enabled. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
|
rlubos
approved these changes
Jan 12, 2026
jukkar
approved these changes
Jan 12, 2026
| @@ -17,6 +17,7 @@ | |||
| #include <zephyr/sys/base64.h> | |||
| #include <mbedtls/sha1.h> | |||
Member
There was a problem hiding this comment.
this is probably no longer needed or?
Contributor
Author
There was a problem hiding this comment.
Ouch, right :(
I guess I'll solve that in another PR
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.



Remove optional use of legacy Mbed TLS crypto in favor of the already existing PSA Crypto API alternative. This is required in order to jump to the next version of Mbed TLS (i.e. 4.0) where all this legacy crypto support is no more available.