Home
last modified time | relevance | path

Searched refs:ih_hdr_size (Results 1 – 16 of 16) sorted by relevance

/mcuboot-latest/boot/zephyr/
Dmain.c159 vt = (struct arm_vector_table *)(rsp->br_hdr->ih_load_addr + rsp->br_hdr->ih_hdr_size); in do_boot()
169 rc = flash_area_read(fap, rsp->br_hdr->ih_hdr_size, dst, sizeof(dst)); in do_boot()
313 BOOT_LOG_INF("ih_hdr_size = 0x%x\n", rsp->br_hdr->ih_hdr_size); in do_boot()
319 start_cpu0_image(IMAGE_INDEX_0, slot, rsp->br_hdr->ih_hdr_size); in do_boot()
322 copy_img_to_SRAM(0, rsp->br_hdr->ih_hdr_size); in do_boot()
325 start = (void *)(SRAM_BASE_ADDRESS + rsp->br_hdr->ih_hdr_size); in do_boot()
340 start = (void *)(rsp->br_hdr->ih_load_addr + rsp->br_hdr->ih_hdr_size); in do_boot()
349 rsp->br_hdr->ih_hdr_size); in do_boot()
/mcuboot-latest/boot/espressif/
Dmain.c55 BOOT_LOG_INF("ih_hdr_size = 0x%x", rsp->br_hdr->ih_hdr_size); in do_boot()
57 start_cpu0_image(IMAGE_INDEX_0, slot, rsp->br_hdr->ih_hdr_size); in do_boot()
80 BOOT_LOG_INF("Image header size = 0x%x", img_header->ih_hdr_size); in read_image_header()
95 start_cpu1_image(img_index, slot, img_header.ih_hdr_size); in do_boot_appcpu()
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial_encryption.c162 if (off + bytes_copied < hdr->ih_hdr_size) { in decrypt_region_inplace()
164 if (hdr->ih_hdr_size > (off + bytes_copied + chunk_sz)) { in decrypt_region_inplace()
169 blk_sz = off + bytes_copied + chunk_sz - hdr->ih_hdr_size; in decrypt_region_inplace()
173 idx = hdr->ih_hdr_size; in decrypt_region_inplace()
175 blk_off = ((off + bytes_copied) - hdr->ih_hdr_size) & 0xf; in decrypt_region_inplace()
187 (off + bytes_copied + idx) - hdr->ih_hdr_size, blk_sz, in decrypt_region_inplace()
/mcuboot-latest/ci/fih_test_docker/
Ddamage_image.py35 self.ih_hdr_size = 0
49 (h.ih_magic, h.ih_load_addr, h.ih_hdr_size, h.ih_protect_tlv_size, h.ih_img_size,
58 " ih_hdr_size = " + str(self.ih_hdr_size),
148 tlv_info_offset = image_header.ih_hdr_size + image_header.ih_img_size
/mcuboot-latest/boot/mbed/
Dmcuboot_main.cpp82 uint32_t address = rsp.br_image_off + rsp.br_hdr->ih_hdr_size; in main()
/mcuboot-latest/boot/nuttx/
Dmain.c79 info.header_size = rsp->br_hdr->ih_hdr_size; in do_boot()
/mcuboot-latest/boot/cypress/MCUBootApp/
Dmain.c67 app_addr = (rsp->br_image_off + rsp->br_hdr->ih_hdr_size); in do_boot()
/mcuboot-latest/boot/bootutil/src/
Dram_load.c133 uint32_t bytes_copied = hdr->ih_hdr_size; in boot_decrypt_and_copy_image_to_sram()
177 blk_off = ((bytes_copied) - hdr->ih_hdr_size) & 0xf; in boot_decrypt_and_copy_image_to_sram()
184 (bytes_copied + idx) - hdr->ih_hdr_size, blk_sz, in boot_decrypt_and_copy_image_to_sram()
Dloader.c887 if (!boot_u32_safe_add(&size, hdr->ih_img_size, hdr->ih_hdr_size)) {
1158 uint32_t reset_addr = secondary_hdr->ih_hdr_size + sizeof(reset_value);
1402 if (abs_off < hdr->ih_hdr_size) {
1404 if (abs_off + chunk_sz > hdr->ih_hdr_size) {
1407 blk_sz = chunk_sz - (hdr->ih_hdr_size - abs_off);
1408 idx = hdr->ih_hdr_size - abs_off;
1416 blk_off = (abs_off - hdr->ih_hdr_size) & 0xf;
1432 (abs_off + idx) - hdr->ih_hdr_size, blk_sz,
1436 (abs_off + idx) - hdr->ih_hdr_size, blk_sz,
2612 boot_img_hdr(&boot_data, split_slot)->ih_hdr_size;
Dimage_validate.c147 size = hdr_size = hdr->ih_hdr_size; in bootutil_img_hash()
674 hdr->ih_hdr_size + hdr->ih_img_size + hdr->ih_protect_tlv_size, in bootutil_img_validate()
Dswap_offset.c690 used_sectors_pri = ((state->imgs[BOOT_CURR_IMG(state)][BOOT_PRIMARY_SLOT].hdr.ih_hdr_size +
694 used_sectors_sec = ((state->imgs[BOOT_CURR_IMG(state)][BOOT_SECONDARY_SLOT].hdr.ih_hdr_size +
Dbootutil_priv.h411 #define BOOT_TLV_OFF(hdr) ((hdr)->ih_hdr_size + (hdr)->ih_img_size)
Dbootutil_public.c784 if (!boot_u32_safe_add(&size, hdr->ih_img_size, hdr->ih_hdr_size) || in boot_image_load_header()
/mcuboot-latest/boot/bootutil/include/bootutil/
Dimage.h163 uint16_t ih_hdr_size; /* Size of image header (bytes). */ variable
/mcuboot-latest/boot/mynewt/src/
Dmain.c263 rsp.br_hdr->ih_hdr_size)); in mynewt_main()
/mcuboot-latest/docs/
Dcompression_format.md127 `image_header.ih_hdr_size`. For the size of the compressed stream,