Skip to content

Commit

Permalink
SUIT: Enable built-in keys for nRF9230
Browse files Browse the repository at this point in the history
  • Loading branch information
anttik-nordic authored and parttimaa committed Nov 27, 2024
1 parent 6145ae8 commit 5625d67
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions subsys/nrf_security/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check warning on line 61 in subsys/nrf_security/Kconfig

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

LEADING_SPACE

subsys/nrf_security/Kconfig:61 please, no spaces at the start of a line
default y if SOC_SERIES_NRF54LX && PSA_CRYPTO_DRIVER_CRACEN
default y if SOC_SERIES_NRF54HX && (SOC_NRF54H20_CPUSEC || SOC_NRF54H20_ENGB_CPUSEC)
help
Expand Down
5 changes: 3 additions & 2 deletions subsys/nrf_security/src/drivers/cracen/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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))

Check warning on line 20 in subsys/nrf_security/src/drivers/cracen/Kconfig

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

LEADING_SPACE

subsys/nrf_security/src/drivers/cracen/Kconfig:20 please, no spaces at the start of a line
default y
help
Prompt-less configuration to load the CRACEN microcode.
Expand Down
3 changes: 2 additions & 1 deletion subsys/nrf_security/src/drivers/cracen/psa_driver.Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check warning on line 1852 in subsys/nrf_security/src/drivers/cracen/psa_driver.Kconfig

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

LEADING_SPACE

subsys/nrf_security/src/drivers/cracen/psa_driver.Kconfig:1852 please, no spaces at the start of a line


endmenu

0 comments on commit 5625d67

Please sign in to comment.