We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1596b3b commit e08ef84Copy full SHA for e08ef84
1 file changed
src/libwolfboot.c
@@ -107,8 +107,8 @@ int wolfBoot_initialize_encryption(void)
107
(2 * WOLFBOOT_SECTOR_SIZE)))
108
/* MAGIC (4B) + PART_FLAG (1B) + (N_SECTORS / 2) */
109
#define START_FLAGS_OFFSET (ENCRYPT_TMP_SECRET_OFFSET - TRAILER_OVERHEAD)
110
- #define SECTOR_FLAGS_SIZE WOLFBOOT_SECTOR_SIZE - (4 + 1 + \
111
- ENCRYPT_KEY_SIZE + ENCRYPT_NONCE_SIZE)
+ #define SECTOR_FLAGS_SIZE (WOLFBOOT_SECTOR_SIZE - (4 + 1 + \
+ ENCRYPT_KEY_SIZE + ENCRYPT_NONCE_SIZE))
112
/* MAGIC (4B) + PART_FLAG (1B) + ENCRYPT_KEY_SIZE + ENCRYPT_NONCE_SIZE */
113
#else
114
#define ENCRYPT_TMP_SECRET_OFFSET (WOLFBOOT_PARTITION_SIZE - (TRAILER_SKIP))
0 commit comments