-
Notifications
You must be signed in to change notification settings - Fork 3k
DO NOT MERGE - Update Mbed TLS to the current development version of Mbed TLS #9779
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
Changes from 3 commits
a8f81b7
e35ec41
7f30a02
7d8ed4b
8fc0579
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
mbedtls-2.15.1 | ||
development |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,8 +27,8 @@ | |
# | ||
|
||
# Set the mbed TLS release to import (this can/should be edited before import) | ||
MBED_TLS_RELEASE ?= mbedtls-2.15.1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again, wrong branch. May have been better to use a commit id then a branch. |
||
MBED_TLS_REPO_URL ?= [email protected]:ARMmbed/mbedtls-restricted.git | ||
MBED_TLS_RELEASE ?= development | ||
MBED_TLS_REPO_URL ?= [email protected]:ARMmbed/mbedtls.git | ||
|
||
# Translate between mbed TLS namespace and mbed namespace | ||
TARGET_PREFIX:=../ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,6 +148,8 @@ conf set MBEDTLS_MPI_MAX_SIZE 512 | |
|
||
# The following configurations are needed for Mbed Crypto. | ||
# They are related to the persistent key storage feature. | ||
conf set MBEDTLS_PSA_CRYPTO_C | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can't universally enable Boards that don't have entropy sources should use config-no-entropy.h shouldn't they? If so, then maybe everything that uses config.h does have an entropy source and we are OK with this change. I don't see a reason we couldn't turn on MBEDTLS_PSA_CRYPTO_C universally for boards with entropy sources, but that's a big change to land so late in 5.12 development. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, so if we back up a little bit, I think the motivation for this was us observing that So if I understand your comment correctly, it would probably be safer to go about it the other way round: keep There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, please keep |
||
conf set MBEDTLS_USE_PSA_CRYPTO | ||
conf set MBEDTLS_PSA_CRYPTO_STORAGE_C | ||
conf set MBEDTLS_PSA_CRYPTO_STORAGE_ITS_C | ||
conf unset MBEDTLS_PSA_CRYPTO_STORAGE_FILE_C |
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.
This must be
development
notdevelopment-proposed
. That's just a transient branch used for testing. This must be changed.