File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -117,8 +117,7 @@ target_compile_definitions(psa_crypto_library_config
117117# The name and intent of this comes from TF-M distribution
118118add_library (psa_interface INTERFACE )
119119
120- # In nRF54L this configuration is required for the HUK keys to work
121- if (CONFIG_SOC_SERIES_NRF54LX AND (CONFIG_HW_UNIQUE_KEY OR CONFIG_IDENTITY_KEY))
120+ if (CONFIG_MBEDTLS_ENABLE_BUILTIN_KEYS)
122121# Add config files required for PSA crypto interface
123122target_compile_definitions (psa_interface
124123 INTERFACE
Original file line number Diff line number Diff line change @@ -53,6 +53,13 @@ config PSA_PROMPTLESS
5353
5454if NRF_SECURITY
5555
56+ config MBEDTLS_ENABLE_BUILTIN_KEYS
57+ bool
58+ default y if SOC_SERIES_NRF54LX && (HW_UNIQUE_KEY || IDENTITY_KEY)
59+ default y if SOC_SERIES_NRF54HX && (SOC_NRF54H20_CPUSEC)
60+ help
61+ Promptless option used to control if MBEDTLS should have support for builtin keys or not.
62+
5663config MBEDTLS_CFG_FILE
5764 string "mbed TLS configuration file"
5865 default "nrf-config.h"
You can’t perform that action at this time.
0 commit comments