Skip to content

[nrf fromlist] modules: tf-m: make Crypto partition auto-enabled by PSA_CRYPTO - #4352

Open
tomi-font wants to merge 3 commits into
nrfconnect:mainfrom
tomi-font:cherry-pick_tf-m_crypto_partition_enablement
Open

[nrf fromlist] modules: tf-m: make Crypto partition auto-enabled by PSA_CRYPTO#4352
tomi-font wants to merge 3 commits into
nrfconnect:mainfrom
tomi-font:cherry-pick_tf-m_crypto_partition_enablement

Conversation

@tomi-font

Copy link
Copy Markdown
Contributor

In order to have a uniform way to enable and use PSA Crypto both with and without TF-M, make CONFIG_TFM_PARTITION_CRYPTO promptless and enable it automatically when CONFIG_PSA_CRYPTO=y.

manifest-pr-skip

@tomi-font
tomi-font force-pushed the cherry-pick_tf-m_crypto_partition_enablement branch from e579875 to 2ef0449 Compare August 7, 2026 11:43
@tomi-font tomi-font changed the title [nrf fromtree] modules: tf-m: make Crypto partition auto-enabled by PSA_CRYPTO [nrf fromlist] modules: tf-m: make Crypto partition auto-enabled by PSA_CRYPTO Aug 7, 2026
@tomi-font
tomi-font force-pushed the cherry-pick_tf-m_crypto_partition_enablement branch from 2ef0449 to ddb0d71 Compare August 11, 2026 09:09
…SA_CRYPTO

In order to have a uniform way to enable and use PSA Crypto both with
and without TF-M, make `CONFIG_TFM_PARTITION_CRYPTO` promptless and
enable it automatically when `CONFIG_PSA_CRYPTO=y`.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>

Upstream PR #: 115643
…rtition

The latter now depends on the former, and enabling the former
will automatically enable the latter.

At the same time remove the CONFIG_BUILD_WITH_TFM filters from test
scenarios as the PSA Crypto entropy driver is available without TF-M
too.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>

Upstream PR #: 115643
It is now needed to have the TF-M Crypto partition enabled, and the
backend needs it in all cases.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>

Upstream PR #: 115643
@tomi-font
tomi-font force-pushed the cherry-pick_tf-m_crypto_partition_enablement branch from ddb0d71 to ead4556 Compare August 11, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant