Skip to content

Commit b13bdf0

Browse files
degjorvarlubos
authored andcommitted
modules: trusted-firmware-m: Add support for TFM_CRYPTO without ITS
Remove dependencies between TFM_CRYPTO and ITS. This allows TFM_PARTITION_INTERNAL_TRUSTED_STORAGE to be off even while building with TF-m and crypto. Signed-off-by: Dag Erik Gjørvad <[email protected]>
1 parent 1351649 commit b13bdf0

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,14 @@ Developing with coprocessors
126126
Security
127127
========
128128

129-
* Added CRACEN and nrf_oberon driver support for nRF54LM20.
130-
For the list of supported features and limitations, see the :ref:`ug_crypto_supported_features` page.
129+
* Added:
130+
131+
* CRACEN and nrf_oberon driver support for nRF54LM20.
132+
For the list of supported features and limitations, see the :ref:`ug_crypto_supported_features` page.
133+
134+
* Support for disabling Internal Trusted Storage (ITS) on nRF54L series devices when using
135+
:kconfig:option:`CONFIG_TFM_PARTITION_CRYPTO` with Trusted Firmware-M (TF-M) through the
136+
:kconfig:option:`CONFIG_TFM_PARTITION_INTERNAL_TRUSTED_STORAGE` Kconfig option.
131137

132138
Protocols
133139
=========

modules/trusted-firmware-m/Kconfig.tfm.defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ config TFM_PARTITION_PROTECTED_STORAGE
8585
select PSA_WANT_ALG_GCM if SOC_NRF5340_CPUAPP
8686
select PSA_WANT_ALG_GCM if SOC_SERIES_NRF54LX
8787

88+
# Override TF-M crypto dependency on ITS when using KMU
89+
config TFM_PARTITION_CRYPTO
90+
bool
91+
depends on TFM_PARTITION_INTERNAL_TRUSTED_STORAGE || CRACEN_LIB_KMU
92+
8893
config TFM_ITS_ENCRYPTED
8994
bool
9095
select PSA_WANT_ALG_CHACHA20_POLY1305 if SOC_SERIES_NRF54LX

subsys/nrf_security/Kconfig.psa

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ config MBEDTLS_PSA_CRYPTO_SPM
4949
scope of TF-M build (Prefixes with mbedcrypto__)
5050

5151
config MBEDTLS_PSA_CRYPTO_STORAGE_C
52-
bool "PSA storage for persistent keys" if !BUILD_WITH_TFM
52+
bool "PSA storage for persistent keys"
5353
default y if BUILD_WITH_TFM
5454
help
5555
Corresponds to MBEDTLS_PSA_CRYPTO_STORAGE_C setting in mbed TLS config file.

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ manifest:
149149
- name: trusted-firmware-m
150150
repo-path: sdk-trusted-firmware-m
151151
path: modules/tee/tf-m/trusted-firmware-m
152-
revision: 97e79ea61a6572ed56cdd33396ad7546ef9dfb5d
152+
revision: 3f45b4e8628eb699d5f6f69e89736aabb24add1a
153153
- name: psa-arch-tests
154154
repo-path: sdk-psa-arch-tests
155155
path: modules/tee/tf-m/psa-arch-tests

0 commit comments

Comments
 (0)