nrf_security: fix entropy always enabled by MBEDTLS_PSA_CRYPTO_C#28484
Conversation
|
Since quarantine was modified, please make sure you are following the process described in Quarantine Process. |
|
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
7a37ca9 to
51bae2d
Compare
CI InformationTo view the history of this post, click the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 6d6d3dd845e6e8de26a50d8d18438878d1d3c182 more detailssdk-nrf:
zephyr:
Github labels
List of changed files detected by CI (14)Outputs:ToolchainVersion: eb11c27a58 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
|
You can find the documentation preview for this PR here. |
6823fe6 to
387b5e0
Compare
Which among others make it so that entropy is not enabled by default. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This is what we have been doing for a long time, but since 60ab340 we just force the value to `y` in CMake which should not be done. Now we make sure to make the MBEDTLS_PSA_CRYPTO_RNG_SOURCE choice default to EXTERNAL_RNG by overriding Zephyr's defaults. Changes include: - Adding a dedicated Kconfig file for TF-PSA-Crypto. Other Kconfig options that belong there can be moved later. - Moving inclusion of Kconfig.tf-psa-crypto down for better grouping. - Moving PSA_PROMPTLESS to Kconfig.psa.nordic. - Reverting what bdc795aca127f047b795c4bd7f79919ed941f6c2 did. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
…r ls05" This reverts commit 791c59f. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Now that the underlying issue is fixed. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
- Make it default y if ENTROPY_PSA_CRYPTO_RNG instead of redefining that Kconfig option to select it. - Select it only when NRF_SECURITY is enabled. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
387b5e0 to
6d6d3dd
Compare
Memory footprint analysis revealed the following potential issuesapplications.hpf.gpio.mbox[nrf54l15dk/nrf54l15/cpuflpr]: High RAM usage: 7202[B] - link (cc: @nrfconnect/ncs-ll-ursus) Note: This message is automatically posted and updated by the CI (latest/sdk-nrf/PR-28484/8) |
No description provided.