Skip to content

Commit 8dc1a3c

Browse files
committed
nrf_security: added benchmarking bypass config
Added a bypass Kconfig for benchmarking purposes. This is not a user-configureable option and should be used only in testing scenarios. Signed-off-by: Paul Fleury <paul.fleury@nordicsemi.no>
1 parent 5abd16f commit 8dc1a3c

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

subsys/nrf_security/src/drivers/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ config PSA_CRYPTO_DRIVER_IRONSIDE
4040
Internal option selected by IronSide firmware to enable
4141
the IronSide PSA crypto driver.
4242

43+
config PSA_CRYPTO_TEST_BENCHMARK
44+
bool
45+
default n
46+
help
47+
Internal option selected by test applications for benchmarking purposes
48+
4349
menu "Choose DRBG algorithm"
4450
config PSA_WANT_ALG_CTR_DRBG
4551
bool "CTR_DRBG"

subsys/nrf_security/src/drivers/cracen/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66

77
config HAS_HW_NRF_CRACEN
8-
def_bool (SOC_SERIES_NRF54L && !SOC_NRF54LS05A && !SOC_NRF54LS05B) || SOC_SERIES_NRF71
8+
def_bool ((SOC_SERIES_NRF54L && !SOC_NRF54LS05A && !SOC_NRF54LS05B) || SOC_SERIES_NRF71) && !PSA_CRYPTO_TEST_BENCHMARK
99

1010
config CRACEN_HW_VERSION_BASE
1111
def_bool SOC_SERIES_NRF54H || SOC_NRF54L15 || SOC_NRF54L10 || SOC_NRF54L05
@@ -14,7 +14,7 @@ config CRACEN_HW_VERSION_LITE
1414
def_bool SOC_NRF54LM20A || SOC_NRF54LM20B || SOC_NRF54LC10A || SOC_NRF54LV10A || SOC_NRF7120_ENGA
1515

1616
config 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_TEST_BENCHMARK
1818

1919
config PSA_NEED_CRACEN_MULTIPART_WORKAROUNDS
2020
def_bool SOC_NRF54LM20A || SOC_NRF54LM20B

0 commit comments

Comments
 (0)