Skip to content

Commit 296adf9

Browse files
Vge0rgerlubos
authored andcommitted
nrf_security: Fix Kconfigs style issues
Remove default no statements and fix intentation. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent a5d12a3 commit 296adf9

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

subsys/nrf_security/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ config NRF_SECURITY
3636
default y if BUILD_WITH_TFM
3737
# entropy is provided by PSA and NRF_SECURITY on NRF54LX and NRF71X
3838
default y if DT_HAS_ZEPHYR_PSA_CRYPTO_RNG_ENABLED \
39-
&& (SOC_SERIES_NRF54LX || SOC_SERIES_NRF71X || DT_HAS_NORDIC_IRONSIDE_CALL_ENABLED) \
40-
&& !IS_BOOTLOADER_IMG && GEN_ISR_TABLES
39+
&& (SOC_SERIES_NRF54LX || SOC_SERIES_NRF71X || DT_HAS_NORDIC_IRONSIDE_CALL_ENABLED) \
40+
&& !IS_BOOTLOADER_IMG && GEN_ISR_TABLES
4141
select DISABLE_MBEDTLS_BUILTIN if MBEDTLS
4242
# NCS does not use TF-M's BL2 bootloader, but uses it's own fork
4343
# of MCUBoot instead (CONFIG_BOOTLOADER_MCUBOOT).

subsys/nrf_security/Kconfig.legacy

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -614,15 +614,13 @@ menu "ECC curves"
614614
config MBEDTLS_ECP_DP_SECP192R1_ENABLED
615615
bool "NIST curve secp192r1"
616616
depends on !OBERON_BACKEND
617-
default n
618617
select PSA_WANT_ECC_SECP_R1_192 if PSA_CRYPTO_CLIENT
619618
help
620619
MBEDTLS_ECP_DP_SECP192R1_ENABLED setting in mbed TLS config file.
621620

622621
config MBEDTLS_ECP_DP_SECP224R1_ENABLED
623622
bool "NIST curve secp224r1"
624623
select PSA_WANT_ECC_SECP_R1_224 if PSA_CRYPTO_CLIENT
625-
default n
626624
help
627625
MBEDTLS_ECP_DP_SECP224R1_ENABLED setting in mbed TLS config file.
628626

@@ -636,39 +634,34 @@ config MBEDTLS_ECP_DP_SECP256R1_ENABLED
636634
config MBEDTLS_ECP_DP_SECP384R1_ENABLED
637635
bool "NIST curve secp384r1"
638636
depends on !OBERON_BACKEND
639-
default n
640637
select PSA_WANT_ECC_SECP_R1_384 if PSA_CRYPTO_CLIENT
641638
help
642639
MBEDTLS_ECP_DP_SECP384R1_ENABLED setting in mbed TLS config file.
643640

644641
config MBEDTLS_ECP_DP_SECP521R1_ENABLED
645642
bool "NIST curve secp521r1"
646643
depends on !OBERON_BACKEND
647-
default n
648644
select PSA_WANT_ECC_SECP_R1_521 if PSA_CRYPTO_CLIENT
649645
help
650646
MBEDTLS_ECP_DP_SECP521R1_ENABLED setting in mbed TLS config file.
651647

652648
config MBEDTLS_ECP_DP_SECP192K1_ENABLED
653649
bool "Koblitz curve secp192k1"
654650
depends on !OBERON_BACKEND
655-
default n
656651
select PSA_WANT_ECC_SECP_R1_192 if PSA_CRYPTO_CLIENT
657652
help
658653
MBEDTLS_ECP_DP_SECP192K1_ENABLED setting in mbed TLS config file.
659654

660655
config MBEDTLS_ECP_DP_SECP224K1_ENABLED
661656
bool "Koblitz curve secp224k1"
662657
depends on !OBERON_BACKEND
663-
default n
664658
select PSA_WANT_ECC_SECP_K1_224 if PSA_CRYPTO_CLIENT
665659
help
666660
MBEDTLS_ECP_DP_SECP224K1_ENABLED setting in mbed TLS config file.
667661

668662
config MBEDTLS_ECP_DP_SECP256K1_ENABLED
669663
bool "Koblitz curve secp256k1"
670664
depends on !OBERON_BACKEND
671-
default n
672665
select PSA_WANT_ECC_SECP_K1_256 if PSA_CRYPTO_CLIENT
673666
help
674667
MBEDTLS_ECP_DP_SECP256K1_ENABLED setting in mbed TLS config file.
@@ -677,7 +670,6 @@ config MBEDTLS_ECP_DP_BP256R1_ENABLED
677670
bool "Brainpool curve bp256r1"
678671
depends on !OBERON_BACKEND
679672
depends on !CC3XX_BACKEND
680-
default n
681673
select PSA_WANT_ECC_BRAINPOOL_P_R1_256 if PSA_CRYPTO_CLIENT
682674
help
683675
MBEDTLS_ECP_DP_BP256R1_ENABLED setting in mbed TLS config file.
@@ -686,7 +678,6 @@ config MBEDTLS_ECP_DP_BP384R1_ENABLED
686678
bool "Brainpool curve bp384r1"
687679
depends on !OBERON_BACKEND
688680
depends on !CC3XX_BACKEND
689-
default n
690681
select PSA_WANT_ECC_BRAINPOOL_P_R1_384 if PSA_CRYPTO_CLIENT
691682
help
692683
MBEDTLS_ECP_DP_BP384R1_ENABLED setting in mbed TLS config file.
@@ -695,15 +686,13 @@ config MBEDTLS_ECP_DP_BP512R1_ENABLED
695686
bool "Brainpool curve bp512r1"
696687
depends on !OBERON_BACKEND
697688
depends on !CC3XX_BACKEND
698-
default n
699689
select PSA_WANT_ECC_BRAINPOOL_P_R1_512 if PSA_CRYPTO_CLIENT
700690
help
701691
MBEDTLS_ECP_DP_BP512R1_ENABLED setting in mbed TLS config file.
702692

703693
config MBEDTLS_ECP_DP_CURVE25519_ENABLED
704694
bool "Curve25519"
705695
depends on !OBERON_BACKEND
706-
default n
707696
select PSA_WANT_ECC_MONTGOMERY_255 if PSA_CRYPTO_CLIENT
708697

709698
help
@@ -713,7 +702,6 @@ config MBEDTLS_ECP_DP_CURVE448_ENABLED
713702
bool "Curve448"
714703
depends on !OBERON_BACKEND
715704
depends on !CC3XX_BACKEND
716-
default n
717705
select PSA_WANT_ECC_MONTGOMERY_448 if PSA_CRYPTO_CLIENT
718706
help
719707
MBEDTLS_ECP_DP_CURVE448_ENABLED setting in mbed TLS config file.

0 commit comments

Comments
 (0)