Skip to content

Commit c248288

Browse files
Vge0rgenordicjm
authored andcommitted
nrf_security: Always enable builtin keys for 54L
Enable the builtin keys for the nRF54L series when nrf_security is being used. This option for builtin keys is needed for the KMU keys which don't always have dependencies on the hardware unique key or the identity key. We guard this option on the PSA Cracen driver because the driver implements the necessary builtin key functions. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent 768d5ee commit c248288

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

subsys/nrf_security/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if NRF_SECURITY
5555

5656
config MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS
5757
bool
58-
default y if SOC_SERIES_NRF54LX && (HW_UNIQUE_KEY || IDENTITY_KEY)
58+
default y if SOC_SERIES_NRF54LX && PSA_CRYPTO_DRIVER_CRACEN
5959
default y if SOC_SERIES_NRF54HX && (SOC_NRF54H20_CPUSEC || SOC_NRF54H20_ENGB_CPUSEC)
6060
help
6161
Promptless option used to control if the PSA Crypto core should have support for builtin keys or not.

subsys/nrf_security/src/drivers/cracen/cracenpsa/cracenpsa.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if(CONFIG_PSA_NEED_CRACEN_MAC_DRIVER)
5959
)
6060
endif()
6161

62-
if(CONFIG_PSA_NEED_CRACEN_KEY_MANAGEMENT_DRIVER OR CONFIG_PSA_NEED_CRACEN_KMU_DRIVER)
62+
if(CONFIG_PSA_NEED_CRACEN_KEY_MANAGEMENT_DRIVER OR CONFIG_PSA_NEED_CRACEN_KMU_DRIVER OR CONFIG_MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS)
6363
list(APPEND cracen_driver_sources
6464
${CMAKE_CURRENT_LIST_DIR}/src/key_management.c
6565
)

0 commit comments

Comments
 (0)