-
Notifications
You must be signed in to change notification settings - Fork 3k
Update Mbed TLS for 5.12 release to Mbed TLS development HEAD #9920
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
Conversation
This commit makes the storage configurations - setting MBEDTLS_PSA_CRYPTO_STORAGE_C, MBEDTLS_PSA_CRYPTO_STORAGE_ITS_C and unsetting MBEDTLS_PSA_CRYPTO_STORAGE_FILE_C - dependent on the PSA label being defined for the target. Previously these symbols were always defined for all platforms which could cause problems for targets that don't yet support PSA.
Before moving to the new release of Mbed TLS, this moves the default imported version of Mbed TLS to the development branch, and will import the HEAD of the branch, not just a specific release.
This updates Mbed TLS to the latest development version, commit 535ee4a35b9c in the Mbed TLS repo.
@sbutcher-arm, thank you for your changes. |
started CI pending review |
Test run: SUCCESSSummary: 13 of 13 test jobs passed |
Initial CI passed. Needs completed reviews now! @sbutcher-arm When this become the final version (ready for integration) ? |
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.
LGTM
Agreed we need to discuss PSA target configuration within Mbed OS. We've been assuming a homogeneous level of support from hardware on targets that are marked as PSA, but that will potentially limit where PSA APIs will be available as we grow target support.
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.
Looks good to me!
We have more bug fixes available to us that we could merge, but ran out of time on, so this is the effective final release, with the assumption that the only thing to change is the version number. We'll issue a new PR to badge the release with a version number once OOB is complete and it has been confirmed that there are no last minute bugs that need fixing. If you'll permit us, we can add further fixes into this release today - but until yourself and @ChiefBureaucraticOfficer confirm we can - we'll assume a code freeze so you can merge it if you wish. I forgot to mention last night, because this changes the way the storage configuration options are enabled, it needs approval from someone in @dannybenor's team. cc: @dannybenor / @itayzafrir |
CC @ARMmbed/mbed-os-storage (@dannybenor 's team) |
@sbutcher-arm Could you please add some details for the release notes prior to us creating RC2 one week today. These notes will all feed into the OOB team so they can see what has been updated. |
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.
Approving, based on the fact that PSA storage options (including ITS) are derived from PSA.
@adbridge - I've added a short description as requested. |
@k-stachowiak and @Patater have approved this, which is good enough for TLS approval. |
This is ready for integration ? Or anything else expecting here? |
@0xc0170 - There's no reason to hold this back, as it appears to be holding back the overall release. Please just merge this PR as it is. |
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.
Meets criteria, needed for PSA.
Description
This PR updates the current version of Mbed TLS to the current HEAD of the development branch of Mbed TLS. This is intended to be the next release of Mbed TLS, minus any bug fixes found in OOB or integration testing.
Note, this PR also changes the configuration of the storage options, so they are now dependent on the
TARGET_PSA
symbol being defined, (which means thePSA
label has been defined for the target).This PR supersedes PR #9779, which I can't update as I'm not the author.
Pull request type
Reviewers
@Patater / @hanno-arm / @k-stachowiak
Release Notes
These will be updated at a later time, when we provide a final Mbed TLS PR to update the version number.This release of Mbed TLS includes:-