Searched refs:ALIGN_UP (Results 1 – 6 of 6) sorted by relevance
/mcuboot-latest/boot/bootutil/include/bootutil/ |
D | enc_key_public.h | 35 #ifndef ALIGN_UP 36 #define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1)) macro 45 #define BOOT_ENC_KEY_ALIGN_SIZE ALIGN_UP(BOOT_ENC_KEY_SIZE, BOOT_MAX_ALIGN)
|
D | bootutil_public.h | 52 #ifndef ALIGN_UP 53 #define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1)) macro 94 #define BOOT_MAGIC_ALIGN_SIZE ALIGN_UP(BOOT_MAGIC_SZ, BOOT_MAX_ALIGN)
|
D | enc_key.h | 42 #define BOOT_ENC_TLV_ALIGN_SIZE ALIGN_UP(BOOT_ENC_TLV_SIZE, BOOT_MAX_ALIGN)
|
/mcuboot-latest/boot/espressif/port/ |
D | esp_mcuboot.c | 31 #ifndef ALIGN_UP 32 # define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1)) macro 167 if (bootloader_flash_read(aligned_addr, read_data, ALIGN_UP(bytes, 4), true) != ESP_OK) { in aligned_flash_read() 184 … if (bootloader_flash_read(aligned_addr + offset, read_data, ALIGN_UP(bytes, 4), true) != ESP_OK) { in aligned_flash_read() 243 if (bootloader_flash_read(aligned_addr, write_data, ALIGN_UP(bytes, 4), true) != ESP_OK) { in aligned_flash_write() 250 …if (bootloader_flash_write(aligned_addr, write_data, ALIGN_UP(bytes, 4), flash_encryption_enabled)… in aligned_flash_write() 262 …if (bootloader_flash_read(aligned_addr + offset, write_data, ALIGN_UP(bytes, 4), true) != ESP_OK) { in aligned_flash_write() 268 …if (bootloader_flash_write(aligned_addr + offset, write_data, ALIGN_UP(bytes, 4), flash_encryption… in aligned_flash_write()
|
/mcuboot-latest/boot/espressif/hal/src/ |
D | secure_boot.c | 26 #define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1)) macro 71 size_t sig_block_addr = flash_offset + ALIGN_UP(flash_size, FLASH_SECTOR_SIZE); in s_calculate_image_public_key_digests()
|
/mcuboot-latest/boot/bootutil/src/ |
D | bootutil_public.c | 354 align = ALIGN_UP(inlen, align); in boot_write_trailer()
|