File tree Expand file tree Collapse file tree
subsys/nrf_security/src/drivers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99config PSA_CRYPTO_DRIVER_OBERON
1010 # The Oberon driver is required to provide HKDF needed for protected storage and bultin keys
1111 bool "Oberon PSA driver" if !(TFM_PARTITION_PROTECTED_STORAGE || TFM_CRYPTO_BUILTIN_KEYS)
12- default y if !HAS_HW_NRF_CRACEN
12+ default y if !HAS_HW_NRF_CRACEN || PSA_CRYPTO_FORCE_OBERON
1313 help
1414 This configuration enables the usage of the Oberon PSA driver.
1515
@@ -28,6 +28,7 @@ config PSA_CRYPTO_DRIVER_CRACEN
2828 bool "Cracen PSA driver"
2929 depends on PSA_CRYPTO
3030 depends on HAS_HW_NRF_CRACEN
31+ depends on !PSA_CRYPTO_FORCE_OBERON
3132 # CRACEN uses the k_event_ API
3233 select EVENTS if MULTITHREADING
3334 default y
@@ -40,6 +41,12 @@ config PSA_CRYPTO_DRIVER_IRONSIDE
4041 Internal option selected by IronSide firmware to enable
4142 the IronSide PSA crypto driver.
4243
44+ config PSA_CRYPTO_FORCE_OBERON
45+ bool
46+ default n
47+ help
48+ Internal option selected by test applications for benchmarking purposes
49+
4350menu "Choose DRBG algorithm"
4451config PSA_WANT_ALG_CTR_DRBG
4552 bool "CTR_DRBG"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ config CRACEN_HW_VERSION_LITE
1414 def_bool SOC_NRF54LM20A || SOC_NRF54LM20B || SOC_NRF54LC10A || SOC_NRF54LV10A || SOC_NRF7120_ENGA
1515
1616config CRACEN_KMU_HW_PRESENT
17- def_bool (SOC_SERIES_NRF54L && !SOC_NRF54LS05A && !SOC_NRF54LS05B) || SOC_SERIES_NRF71
17+ def_bool (( SOC_SERIES_NRF54L && !SOC_NRF54LS05A && !SOC_NRF54LS05B) || SOC_SERIES_NRF71) && !PSA_CRYPTO_FORCE_OBERON
1818
1919config PSA_NEED_CRACEN_MULTIPART_WORKAROUNDS
2020 def_bool SOC_NRF54LM20A || SOC_NRF54LM20B
You can’t perform that action at this time.
0 commit comments