Home
last modified time | relevance | path

Searched refs:ALIGN_UP (Results 1 – 6 of 6) sorted by relevance

/mcuboot-latest/boot/bootutil/include/bootutil/
Denc_key_public.h35 #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)
Dbootutil_public.h52 #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)
Denc_key.h42 #define BOOT_ENC_TLV_ALIGN_SIZE ALIGN_UP(BOOT_ENC_TLV_SIZE, BOOT_MAX_ALIGN)
/mcuboot-latest/boot/espressif/port/
Desp_mcuboot.c31 #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/
Dsecure_boot.c26 #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/
Dbootutil_public.c354 align = ALIGN_UP(inlen, align); in boot_write_trailer()