Commit f95427fe authored by Marti Bolivar's avatar Marti Bolivar
Browse files

bootutil: cosmetic fixes to image flags

Adjust alignment and add missing leading zero to
IMAGE_F_PKCS1_PSS_RSA2048_SHA256. This needed some comment changes to
keep things 80 column clean.

Signed-off-by: default avatarMarti Bolivar <marti.bolivar@linaro.org>
parent b9f5a68d
Loading
Loading
Loading
Loading
+3 −3
Changes for boot/bootutil/include/bootutil/image.h: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -36,13 +36,13 @@ struct flash_area;
/*
 * Image header flags.
 */
#define IMAGE_F_PIC                   0x00000001 /* Not currently supported. */
#define IMAGE_F_SHA256                0x00000002 /* Image contains hash TLV */
#define IMAGE_F_PIC                      0x00000001 /* Not supported. */
#define IMAGE_F_SHA256                   0x00000002 /* Hash TLV is present */
#define IMAGE_F_PKCS15_RSA2048_SHA256    0x00000004 /* PKCS15 w/RSA and SHA */
#define IMAGE_F_ECDSA224_SHA256          0x00000008 /* ECDSA224 over SHA256 */
#define IMAGE_F_NON_BOOTABLE             0x00000010 /* Split image app. */
#define IMAGE_F_ECDSA256_SHA256          0x00000020 /* ECDSA256 over SHA256 */
#define IMAGE_F_PKCS1_PSS_RSA2048_SHA256 0x0000040 /* PKCS1 PSS */
#define IMAGE_F_PKCS1_PSS_RSA2048_SHA256 0x00000040 /* PKCS1 PSS */

/*
 * ECSDA224 is with NIST P-224