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 @@ -79,7 +79,7 @@ config BOOT_PSA_IMG_HASH_ALG_SHA256_DEPENDENCIES
7979
8080config BOOT_ED25519_PSA_DEPENDENCIES
8181 bool
82- select PSA_WANT_ALG_SHA_256
82+ select PSA_WANT_ALG_SHA_256 if BOOT_IMG_HASH_ALG_SHA256
8383 select PSA_WANT_ALG_SHA_512
8484 select PSA_WANT_ALG_PURE_EDDSA
8585 select PSA_WANT_ECC_TWISTED_EDWARDS_255
@@ -228,6 +228,11 @@ config BOOT_SIGNATURE_TYPE_ED25519
228228 bool "Edwards curve digital signatures using ed25519"
229229 select BOOT_ENCRYPTION_SUPPORT
230230 select BOOT_IMG_HASH_ALG_SHA256_ALLOW
231+ select BOOT_IMG_HASH_ALG_SHA512_ALLOW
232+ help
233+ This is ed25519 signature calculated over SHA512 of SHA256 of application
234+ image; that is not completely correct approach as the SHA512 should be
235+ rather directly calculated over an image.
231236
232237if BOOT_SIGNATURE_TYPE_ED25519
233238choice BOOT_ED25519_IMPLEMENTATION
You can’t perform that action at this time.
0 commit comments