From 5625d67d0162810e4b6cd647cbcbdeb8dc535af4 Mon Sep 17 00:00:00 2001 From: Antti Karjalainen Date: Mon, 18 Nov 2024 15:38:09 +0200 Subject: [PATCH] SUIT: Enable built-in keys for nRF9230 --- subsys/nrf_security/Kconfig | 1 + subsys/nrf_security/src/drivers/cracen/Kconfig | 5 +++-- subsys/nrf_security/src/drivers/cracen/psa_driver.Kconfig | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/subsys/nrf_security/Kconfig b/subsys/nrf_security/Kconfig index 10e16756ca4e..aedb8a560fd8 100644 --- a/subsys/nrf_security/Kconfig +++ b/subsys/nrf_security/Kconfig @@ -58,6 +58,7 @@ if NRF_SECURITY config MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS bool + default y if SOC_SERIES_NRF92X && (SOC_NRF9280_CPUSEC || SOC_NRF9230_ENGB_CPUSEC) default y if SOC_SERIES_NRF54LX && PSA_CRYPTO_DRIVER_CRACEN default y if SOC_SERIES_NRF54HX && (SOC_NRF54H20_CPUSEC || SOC_NRF54H20_ENGB_CPUSEC) help diff --git a/subsys/nrf_security/src/drivers/cracen/Kconfig b/subsys/nrf_security/src/drivers/cracen/Kconfig index 577c910b3657..704ba2982d25 100644 --- a/subsys/nrf_security/src/drivers/cracen/Kconfig +++ b/subsys/nrf_security/src/drivers/cracen/Kconfig @@ -5,7 +5,7 @@ # config CRACEN_HW_PRESENT - def_bool SOC_SERIES_NRF54LX + def_bool SOC_SERIES_NRF54LX || SOC_SERIES_NRF92X # Configure CRACEN_LOG_LEVEL module = CRACEN @@ -16,7 +16,8 @@ if PSA_CRYPTO_DRIVER_CRACEN config CRACEN_LOAD_MICROCODE bool - depends on (SOC_SERIES_NRF54LX && !SOC_NRF54L20) || SOC_SERIES_NRF54HX + depends on (SOC_SERIES_NRF54LX && !SOC_NRF54L20) || SOC_SERIES_NRF54HX || \ + (SOC_SERIES_NRF92X && (SOC_NRF9280_CPUSEC || SOC_NRF9230_ENGB_CPUSEC)) default y help Prompt-less configuration to load the CRACEN microcode. diff --git a/subsys/nrf_security/src/drivers/cracen/psa_driver.Kconfig b/subsys/nrf_security/src/drivers/cracen/psa_driver.Kconfig index a731abea293e..b3509f363f38 100644 --- a/subsys/nrf_security/src/drivers/cracen/psa_driver.Kconfig +++ b/subsys/nrf_security/src/drivers/cracen/psa_driver.Kconfig @@ -1848,7 +1848,8 @@ config PSA_NEED_CRACEN_PLATFORM_KEYS default y depends on PSA_WANT_ALG_GCM depends on PSA_WANT_AES_KEY_SIZE_256 - depends on (SOC_NRF54H20_CPUSEC || SOC_NRF54H20_ENGB_CPUSEC) + depends on (SOC_NRF54H20_CPUSEC || SOC_NRF54H20_ENGB_CPUSEC) || \ + (SOC_NRF9280_CPUSEC || SOC_NRF9230_ENGB_CPUSEC) endmenu