File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ config BOOT_PSA_IMG_HASH_ALG_SHA256_DEPENDENCIES
8181config BOOT_ED25519_PSA_DEPENDENCIES
8282 bool
8383 default n
84- select PSA_WANT_ALG_SHA_256
84+ select PSA_WANT_ALG_SHA_256 if BOOT_IMG_HASH_ALG_SHA256
8585 select PSA_WANT_ALG_SHA_512
8686 select PSA_WANT_ALG_PURE_EDDSA
8787 select PSA_WANT_ECC_TWISTED_EDWARDS_255
@@ -228,8 +228,13 @@ endif
228228
229229config BOOT_SIGNATURE_TYPE_ED25519
230230 bool "Edwards curve digital signatures using ed25519"
231+ help
232+ This is ed25519 signature calculated over SHA512 of SHA256 of application
233+ image; that is not completely correct approach as the SHA512 should be
234+ rather directly calculated over an image.
231235 select BOOT_ENCRYPTION_SUPPORT
232236 select BOOT_IMG_HASH_ALG_SHA256_ALLOW
237+ select BOOT_IMG_HASH_ALG_SHA512_ALLOW
233238
234239if BOOT_SIGNATURE_TYPE_ED25519
235240choice BOOT_ED25519_IMPLEMENTATION
You can’t perform that action at this time.
0 commit comments