Skip to content

Commit a317fe2

Browse files
frkvrlubos
authored andcommitted
nrf_security: Disabling OBERON_BACKEND being auto-selected
-Disabling unnecessary auto-select of OBERON_BACKEND for all non TF-M builds using legacy APIs -Enabling removal of prompt for OBERON_BACKEND in case CC3XX_BACKEND is enabled ref: NCSDK-13773 ref: NCSDK-13762 Signed-off-by: Frank Audun Kvamtrø <[email protected]>
1 parent 01a62ab commit a317fe2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

nrf_security/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ config NORDIC_SECURITY_BACKEND
2121
depends on SOC_FAMILY_NRF
2222
select NRF_SECURITY
2323
select MBEDTLS_LEGACY_CRYPTO_C
24-
select OBERON_BACKEND
24+
select OBERON_BACKEND if BUILD_WITH_TFM
2525
select DISABLE_MBEDTLS_BUILTIN if MBEDTLS
2626
help
2727
Using this configuration enables legacy support for mbed TLS APIs

nrf_security/Kconfig.legacy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,7 @@ config OBERON_BACKEND
301301
bool
302302
prompt "Configuration to enable nrf_oberon for legacy mbed TLS APIs"
303303
select NRF_OBERON
304-
depends on !CC3XX_BACKEND_FORCED
305-
# && !CC3XX_BACKEND - Can't add filter because of CI
304+
depends on !(CC3XX_BACKEND_FORCED || CC3XX_BACKEND)
306305
help
307306
This configuration enables legacy mbed TLS APIs using nrf_oberon.
308307
PSA_CRYPTO_DRIVER_OBERON should be used instead and will replace this once

0 commit comments

Comments
 (0)