Skip to content

Commit 10adaa6

Browse files
degjorvarlubos
authored andcommitted
nrf_security: CRACEN: Default IKG to off
Change CRACEN_IKG to default off Update HW_UNIQUE_KEY to turn it on when CRACEN_HW enabled This saves flash in cases where the IKG is not required Signed-off-by: Dag Erik Gjørvad <[email protected]>
1 parent 2034733 commit 10adaa6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/hw_unique_key/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ config HW_UNIQUE_KEY
4545
select PSA_WANT_ALG_ECB_NO_PADDING if CRACEN_HW_PRESENT
4646
select PSA_WANT_ALG_GCM if CRACEN_HW_PRESENT
4747
select PSA_NEED_CRACEN_KMU_DRIVER if CRACEN_HW_PRESENT
48+
select CRACEN_IKG if CRACEN_HW_PRESENT
4849
select FPROTECT if HAS_HW_NRF_ACL
4950
imply NRFX_NVMC if !CRACEN_HW_PRESENT
5051
default y if BUILD_WITH_TFM

subsys/nrf_security/src/drivers/cracen/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ config CRACEN_PROVISION_PROT_RAM_INV_DATA
5656
manually, otherwise the protected RAM keys will not be usable.
5757

5858
config CRACEN_IKG
59-
bool "Enable CRACEN IKG"
60-
default y
59+
bool "CRACEN IKG"
6160
help
6261
Enable the Cracen Isolated Key Generator.
6362

0 commit comments

Comments
 (0)