Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Restore MBEDTLS_PSA_CRYPTO_C for PSA targets #9605
Note: PSA Crypto APIs on other boards can still be enabled via
Pull request type
ready for merge
Feb 11, 2019
Feb 12, 2019
27 checks passed
referenced this pull request
Feb 12, 2019
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.
I've raised ARMmbed/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.