-
Notifications
You must be signed in to change notification settings - Fork 3k
Restore MBEDTLS_PSA_CRYPTO_C for PSA targets #9605
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
seems that this already needs a rebase |
Removed by mistake in 763cb4c
rebased |
Ci started |
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
@alzix This is causing client to fail, can you please check? I'll share internal test url. This is the error being reported from compilation
target NUCLEO_F411RE cc @TeemuKultala |
@teetak01 , the version used in these tests includes integrated entropy injection feature ? |
This is reproducable with public mbed-cloud-client-example. I believe this broke the non-TRNG configuration. |
Mbed OS doesn't declare entropy as present in a device by default. How entropy ends up in a device shipped out is quite dependent on the device, how it's manufactured, and so forth. It'd be pretty dangerous for Mbed OS to claim that there is any injected entropy for devices without TRNGs when there is no entropy source present. Let's work together and have a look at the mbed-cloud-client-example configuration to ensure that for devices where client knows the device has entropy injected already, or plans to inject it, we have the right configuration. See https://github.com/ARMmbed/mbed-os-example-mbed-crypto/#factory-injection-of-entropy for an example mbed_app.json and further explanation. Thanks |
I've raised PelionIoT/mbed-cloud-client-example#37 to resolve the build issues on the NUCLEO_F411RE for the mbed-cloud-client-example. Other examples or programs will need to make similar changes as desired, being careful to ensure that the feature is only enabled for devices that are manufactured properly. |
Based on the feedback, we changed this to [X] Functionality change and 5.12 release. @orenc17 will add Release notes |
Release notesAdding PSA crypto support for the following single-v7 boards:
Note: NUCLEO_F411RE does not have TRNG support and requires entropy injection through NVSeed |
@orenc17, |
#9710 should fix this and this shall not be functional change anymore as I understood from the conversation. Marking this for 5.11.5 and all fixes needed as well. |
Moved to 5.12 due to failures with 5.11 branch |
Description
Enable PSA Crypto APIs on boards used by Pelion.
Removed by mistake in 763cb4c as part of #9195
Note: PSA Crypto APIs on other boards can still be enabled via
mbed_app.json
Pull request type
Reviewers
@jenia81 @Patater