Skip to content

Commit 83983ff

Browse files
committed
zephyr: ED25519 PSA enabled MCUBOOT_CRYPTO_BACKEND_HAS_INIT
Init function provided. Signed-off-by: Dominik Ermel <[email protected]>
1 parent 52a7956 commit 83983ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

boot/zephyr/include/mcuboot_config/mcuboot_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@
5151
#define MCUBOOT_USE_PSA_CRYPTO
5252
#endif
5353

54+
#if defined(MCUBOOT_SIGN_ED25519) && defined(MCUBOOT_USE_PSA_CRYPTO)
55+
#define MCUBOOT_CRYPTO_BACKEND_HAS_INIT
56+
#endif
57+
5458
#ifdef CONFIG_BOOT_IMG_HASH_ALG_SHA512
5559
#define MCUBOOT_SHA512
5660
#endif

0 commit comments

Comments
 (0)