-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[mbedtls] Bump version from 2.18 to 2.25 #7311
Conversation
@tima-q I checked the Qorvo build error and it appears that:
|
@Damian-Nordic |
This comment has been minimized.
This comment has been minimized.
/rebase |
@Damian-Nordic seems we need to fix some compilation issues. |
Can you build mbedtls from source please? Including an MbedTLS .a file in your SDK without even shipping the corresponding headers doesn't make much sense. |
/rebase |
@mspang The lib only contains the _alt pieces that are Qorvo specific. The remainder is built from the third_party/mbedtls folder. We planned in the task to update the mbedtls_alt implementation used. This should be ready by next week. |
@tima-q yeah, let me know when the new sdk is ready, so I can include the update in my PR. |
/rebase |
@Damian-Nordic Looks like a real build failure on QPG |
* [mbedtls] update to 2.25 * bump the QPG SDK to support mbedtls 2.25 Co-authored-by: Lukasz Duda <[email protected]> Co-authored-by: Thomas Cuyckens <[email protected]>
Problem
The future of crypto API on embedded devices is the PSA crypto API: https://armmbed.github.io/mbed-crypto/html/index.html. We will probably want to switch to that in Matter at some point in the future and in order to experiment with that we need quite a recent version of mbedtls. The one we currently use is quite old (from 2019).
Change overview
Bump mbedtls from 2.18 to 2.25
Testing
Verified that our unit tests for mbedTLS-based crypto are passing.
Also, compiled Python CHIP Controller with
chip_crypto="mbedtls"
and performed the full commissioning to verify that both PASE and the secure channel work correctly.