Commit 274547ce authored by Roland Mikhel's avatar Roland Mikhel Committed by Dávid Vincze
Browse files

bootutil: PSA Crypto ECDSA enablement

This commit enables ECDSA signature verification using
PSA Crypto API.

Signed-off-by: default avatarRoland Mikhel <roland.mikhel@arm.com>
Change-Id: I51c7aadba03348f335e89d9252e70c09f8787f30
parent 8f8fbf99
Loading
Loading
Loading
Loading
+1 −0
Changes for boot/bootutil/include/bootutil/caps.h: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ uint32_t bootutil_get_caps(void);
#define BOOTUTIL_CAP_RAM_LOAD               (1<<16)
#define BOOTUTIL_CAP_DIRECT_XIP             (1<<17)
#define BOOTUTIL_CAP_HW_ROLLBACK_PROT       (1<<18)
#define BOOTUTIL_CAP_ECDSA_P384             (1<<19)

/*
 * Query the number of images this bootloader is configured for.  This
+3 −0
Changes for boot/bootutil/src/caps.c: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -35,6 +35,9 @@ uint32_t bootutil_get_caps(void)
#if defined(MCUBOOT_SIGN_EC256)
    res |= BOOTUTIL_CAP_ECDSA_P256;
#endif
#if defined(MCUBOOT_SIGN_EC384)
    res |= BOOTUTIL_CAP_ECDSA_P384;
#endif
#if defined(MCUBOOT_SIGN_ED25519)
    res |= BOOTUTIL_CAP_ED25519;
#endif