Loading boot/bootutil/include/bootutil/caps.h +1 −0 Changes for boot/bootutil/include/bootutil/caps.h: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ uint32_t bootutil_get_caps(void); #define BOOTUTIL_CAP_VALIDATE_PRIMARY_SLOT (1<<7) #define BOOTUTIL_CAP_RSA3072 (1<<8) #define BOOTUTIL_CAP_ED25519 (1<<9) #define BOOTUTIL_CAP_ENC_EC256 (1<<10) /* * Query the number of images this bootloader is configured for. This Loading boot/bootutil/src/caps.c +3 −0 Changes for boot/bootutil/src/caps.c: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -49,6 +49,9 @@ uint32_t bootutil_get_caps(void) #if defined(MCUBOOT_ENCRYPT_KW) res |= BOOTUTIL_CAP_ENC_KW; #endif #if defined(MCUBOOT_ENCRYPT_EC256) res |= BOOTUTIL_CAP_ENC_EC256; #endif #if defined(MCUBOOT_VALIDATE_PRIMARY_SLOT) res |= BOOTUTIL_CAP_VALIDATE_PRIMARY_SLOT; #endif Loading sim/src/caps.rs +1 −0 Changes for sim/src/caps.rs: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ pub enum Caps { ValidatePrimarySlot = (1 << 7), RSA3072 = (1 << 8), Ed25519 = (1 << 9), EncEc256 = (1 << 10), } impl Caps { Loading Loading
boot/bootutil/include/bootutil/caps.h +1 −0 Changes for boot/bootutil/include/bootutil/caps.h: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ uint32_t bootutil_get_caps(void); #define BOOTUTIL_CAP_VALIDATE_PRIMARY_SLOT (1<<7) #define BOOTUTIL_CAP_RSA3072 (1<<8) #define BOOTUTIL_CAP_ED25519 (1<<9) #define BOOTUTIL_CAP_ENC_EC256 (1<<10) /* * Query the number of images this bootloader is configured for. This Loading
boot/bootutil/src/caps.c +3 −0 Changes for boot/bootutil/src/caps.c: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -49,6 +49,9 @@ uint32_t bootutil_get_caps(void) #if defined(MCUBOOT_ENCRYPT_KW) res |= BOOTUTIL_CAP_ENC_KW; #endif #if defined(MCUBOOT_ENCRYPT_EC256) res |= BOOTUTIL_CAP_ENC_EC256; #endif #if defined(MCUBOOT_VALIDATE_PRIMARY_SLOT) res |= BOOTUTIL_CAP_VALIDATE_PRIMARY_SLOT; #endif Loading
sim/src/caps.rs +1 −0 Changes for sim/src/caps.rs: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ pub enum Caps { ValidatePrimarySlot = (1 << 7), RSA3072 = (1 << 8), Ed25519 = (1 << 9), EncEc256 = (1 << 10), } impl Caps { Loading