-
Notifications
You must be signed in to change notification settings - Fork 42
Move mbedtls_dev to mbedtls_framework in the framework repo
#15
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
Merged
ronald-cron-arm
merged 10,000 commits into
main
from
dev/davidhorstmann-arm/add-mbedtls-framework-module
May 27, 2024
Merged
Move mbedtls_dev to mbedtls_framework in the framework repo
#15
ronald-cron-arm
merged 10,000 commits into
main
from
dev/davidhorstmann-arm/add-mbedtls-framework-module
May 27, 2024
+5,781
−0
Conversation
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
Signed-off-by: Ronald Cron <[email protected]>
Add ALPN information in session tickets
Add testing for concurrently loading/using/destroying the same key
Expand MSVC to Visual Studio and announce the moving of the solution files. Signed-off-by: Bence Szépkúti <[email protected]>
All supported versions of Visual Studio support AESNI, so drop the version number. Signed-off-by: Bence Szépkúti <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Waleed Elmelegy <[email protected]>
…ompat-tests TLS 1.3: Resumption and early data compatibility tests
Test the behavior of mbedtls_pk_get_psa_attributes() and
mbedtls_pk_import_into_psa() with respect to lifetime. In particular, test
that they work with persistent keys as documented.
Test cases generated by the following script:
```
for old in [('transparent', '0:0:1'),
('opaque volatile [export]', '1:0:1'),
('opaque volatile [copy]', '1:0:0'),
('opaque persistent [export]', '1:1:1'),
('opaque persistent [copy]', '1:1:0')]:
for to_public in [('pair', '0'),
('public', '1')]:
for to_persistent in [('volatile', '0'),
('persistent', '1')]:
depends = ('\ndepends_on:MBEDTLS_USE_PSA_CRYPTO'
if old[0].startswith('opaque')
else '')
print(f"""\
PSA import into PSA: {old[0]} -> {to_persistent[0]} {to_public[0]}{depends}
pk_import_into_psa_lifetime:{old[1]}:{to_public[1]}:{to_persistent[1]}
""")
```
Signed-off-by: Gilles Peskine <[email protected]>
Drop Support for MSVC 2013, 2015 and Arm Compiler 5
Signed-off-by: Paul Elliott <[email protected]>
Signed-off-by: Ronald Cron <[email protected]>
…-nego-testing TLS: Improve server version negotiation testing
Signed-off-by: Ronald Cron <[email protected]>
Signed-off-by: Ronald Cron <[email protected]>
Signed-off-by: Ronald Cron <[email protected]>
…eiving-early-data Check ALPN when receiving early data
Catch potential invalid calls to init. Signed-off-by: Paul Elliott <[email protected]>
Signed-off-by: Paul Elliott <[email protected]>
Signed-off-by: Paul Elliott <[email protected]>
TLS 1.3: Documentation update for 3.6 release
Adds missing transition and italicises internal functions Signed-off-by: Ryan Everett <[email protected]>
A few typo fixes, extrapolations and extra details. Signed-off-by: Ryan Everett <[email protected]>
Make PSA global_data thread safe
Signed-off-by: Paul Elliott <[email protected]>
…est-lifetime pk_import_into_psa: test persistent keys
Co-authored-by: Paul Elliott <[email protected]> Signed-off-by: Ryan Everett <[email protected]>
Add changelog entry for threading MVP
Signed-off-by: Dave Rodgman <[email protected]>
Signed-off-by: Dave Rodgman <[email protected]>
Signed-off-by: Ronald Cron <[email protected]>
ChangeLog: Add missing reference to CVE in security entry
…lot-threading-bug Wipe the returned slot pointer upon failure in `psa_get_and_lock_key_slot`
…g-for-secure-element-keys-in-psa_start_key_creation Fix error handling for secure element keys in `psa_start_key_creation`
ssl_mail_client: Fix unbounded write of sprintf()
Undefined reference to mbedtls_md_error_from_psa() function
mbedtls_dev to mbedtls_framework in the framework modulembedtls_dev to mbedtls_framework in the framework repo
Signed-off-by: David Horstmann <[email protected]>
…mann-arm/add-mbedtls-framework-module
Signed-off-by: David Horstmann <[email protected]>
435c1a5 to
7c58bc6
Compare
4 tasks
ronald-cron-arm
approved these changes
May 13, 2024
Contributor
ronald-cron-arm
left a comment
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 in association to #9094.
bensze01
approved these changes
May 27, 2024
Contributor
bensze01
left a comment
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 as well!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
approved
Design and code approved - may be waiting for CI or backports
priority-high
High priority - will be reviewed soon
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.
Fixes #13
See also Mbed-TLS/mbedtls#9094
Move files from
mbedtls_devintombedtls_frameworkwhile preserving their histories. Do this by taking thembedtlsrepository and deleting all files except the ones we want to move, then merging this branch into thembedtls-frameworkrepository.This operation was automated via the script in Mbed-TLS/mbedtls-docs#145