File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
subsys/bootloader/bl_crypto Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,12 @@ config SB_CRYPTO_PSA_ED25519
8383 depends on NRF_SECURITY
8484 depends on CRACEN_LIB_KMU
8585 select SB_ED25519
86+ # Below depends on PSA_CORE_LITE
87+ select PSA_CORE_LITE_NSIB_ED25519_OPTIMIZATIONS
8688 select PSA_WANT_ALG_SHA_512
8789 select PSA_WANT_ALG_PURE_EDDSA
8890 select PSA_WANT_ECC_TWISTED_EDWARDS_255
8991 select PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT
90- select MBEDTLS_ENABLE_HEAP
9192 help
9293 Use PSA crypto for ed25519 support.
9394
@@ -116,6 +117,15 @@ config SB_CRYPTO_KMU_KEYS_REVOCATION
116117 help
117118 Automatically revoke previous generation key upon new valid key usage.
118119
120+ choice PSA_CORE
121+ default PSA_CORE_LITE if SB_CRYPTO_PSA_ED25519
122+ help
123+ This is copy of PSA_CORE choice from NRF Security Kconfig, as the
124+ only way to select an element from choice is to override default
125+ for it.
126+
127+ endchoice
128+
119129choice SB_CRYPTO_HASH
120130 prompt "Hashing Implementation"
121131 default SB_CRYPTO_NONE if SB_CRYPTO_PSA_ED25519
You can’t perform that action at this time.
0 commit comments