-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Not ready for review: TF-M support for building without PSA ITS #19036
base: main
Are you sure you want to change the base?
Conversation
-Disabling DPLATFORM_DEFAULT_OTP, DPLATFORM_DEFAULT_OTP_WRITEABLE and DPLATFORM_DEFAULT_NV_COUNTERS when CRYPTO_STORAGE_DISABLED is set to remove dependency for NVM driver when ITS is not in use. -Removing hack to falsely give access to non existent service ID TFM_INTERNAL_TRUSTED_STORAGE_SERVICE_ID which was used for TF-M Minimal configuration. ref: NCSDK-13530 Signed-off-by: Frank Audun Kvamtrø <[email protected]>
-Previously we used TFM_PLATFORM_NV_COUNTER_MODULE_DISABLED to signal that NV counters should be enabled when TFM_PROFILE_TYPE_MINIMAL is set. This commit changes the default enablement with a dependency on TFM_PARTITION_INTERNAL_TRUSTED_STORAGE instead. This is done to allow for persistent keys using only the KMU. Ref: NCSDK-13530 Signed-off-by: Frank Audun Kvamtrø <[email protected]>
-This commit feeds the following configurations to disable OTP and ITS when MBEDTLS_PSA_CRYPTO_STORAGE_C is not enabled -DTFM_PARTITION_INTERNAL_TRUSTED_STORAGE=OFF -DPLATFORM_DEFAULT_OTP=OFF -DPLATFORM_DEFAULT_OTP_WRITEABLE=OFF -DPLATFORM_DEFAULT_NV_COUNTERS=OFF The configurations are made to avoid dependency on NVM driver when KMU supports persistent key and generally to be able to optimize for size. Ref: NCSDK-13530 Signed-off-by: Frank Audun Kvamtrø <[email protected]>
-This commit sets up dependency between TFM_ITS_ENCRYPTED and MBEDTLS_PSA_CRYPTO_STORAGE_C and TFM_PARTITION_INTERNAL_TRUSTED_STORAGE to ensure that TFM_ITS_ENCRYPTED is not enabled if one of these are missing. This is used when the persistent keys are stored in KMU. Signed-off-by: Frank Audun Kvamtrø <[email protected]>
-This commit ensure MBEDTLS_PSA_CRYPTO_STORAGE_C is only default enabled for TF-M builds when TFM_PARTITION_INTERNAL_TRUSTED_STORAGE is also enabled. Signed-off-by: Frank Audun Kvamtrø <[email protected]>
-This pulls in TF-M PR nrfconnect#181 which allows for building TF-M without ITS for use-cases where KMU-stored key is sufficient for persistent key support Signed-off-by: Frank Audun Kvamtrø <[email protected]>
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:trusted-firmware-m: PR head: f302508a2d5623eb21f99988485980c2606a48e0 more detailstrusted-firmware-m:
sdk-nrf:
Github labels
List of changed files detected by CI (8)
Outputs:ToolchainVersion: Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publish GitHub Action. |
For use-cases where KMU provides persistent key support