Commit 61f86fd8 authored by Fabio Utzig's avatar Fabio Utzig Committed by Fabio Utzig
Browse files

Add Mynewt RSA-3072 config

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent e1727d9d
Loading
Loading
Loading
Loading
+1
Changes for boot/mynewt/mcuboot_config/include/mcuboot_config/mcuboot_config.h: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@
#endif
#if MYNEWT_VAL(BOOTUTIL_SIGN_RSA)
#define MCUBOOT_SIGN_RSA 1
#define MCUBOOT_SIGN_RSA_LEN MYNEWT_VAL(BOOTUTIL_SIGN_RSA_LEN)
#endif
#if MYNEWT_VAL(BOOTUTIL_SIGN_EC)
#define MCUBOOT_SIGN_EC 1
+4 −1
Changes for boot/mynewt/mcuboot_config/syscfg.yml: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -23,8 +23,11 @@ syscfg.defs:
        description: 'Validate image at slot 0 on each boot.'
        value: 0
    BOOTUTIL_SIGN_RSA:
        description: 'Images are signed using RSA2048.'
        description: 'Images are signed using RSA.'
        value: 0
    BOOTUTIL_SIGN_RSA_LEN:
        description: 'Key size for RSA keys (2048 or 3072).'
        value: 2048
    BOOTUTIL_SIGN_EC:
        description: 'Images are signed using ECDSA NIST P-224.'
        value: 0