Home
last modified time | relevance | path

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

/mcuboot-latest/boot/zephyr/
Dmain.c158 vt = (struct arm_vector_table *)(rsp->br_hdr->ih_load_addr + rsp->br_hdr->ih_hdr_size); in do_boot()
168 rc = flash_area_read(fap, rsp->br_hdr->ih_hdr_size, dst, sizeof(dst)); in do_boot()
285 BOOT_LOG_INF("ih_hdr_size = 0x%x\n", rsp->br_hdr->ih_hdr_size); in do_boot()
291 start_cpu0_image(IMAGE_INDEX_0, slot, rsp->br_hdr->ih_hdr_size); in do_boot()
294 copy_img_to_SRAM(0, rsp->br_hdr->ih_hdr_size); in do_boot()
297 start = (void *)(SRAM_BASE_ADDRESS + rsp->br_hdr->ih_hdr_size); in do_boot()
312 start = (void *)(rsp->br_hdr->ih_load_addr + rsp->br_hdr->ih_hdr_size); in do_boot()
321 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.c150 if (off + bytes_copied < hdr->ih_hdr_size) { in decrypt_region_inplace()
152 if (hdr->ih_hdr_size > (off + bytes_copied + chunk_sz)) { in decrypt_region_inplace()
157 blk_sz = off + bytes_copied + chunk_sz - hdr->ih_hdr_size; in decrypt_region_inplace()
161 idx = hdr->ih_hdr_size; in decrypt_region_inplace()
163 blk_off = ((off + bytes_copied) - hdr->ih_hdr_size) & 0xf; in decrypt_region_inplace()
175 (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.cpp81 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/include/bootutil/
Dimage.h160 uint16_t ih_hdr_size; /* Size of image header (bytes). */ member
/mcuboot-latest/boot/mynewt/src/
Dmain.c263 rsp.br_hdr->ih_hdr_size)); in mynewt_main()
/mcuboot-latest/boot/bootutil/src/
Dloader.c911 if (!boot_u32_safe_add(&size, hdr->ih_img_size, hdr->ih_hdr_size)) {
1135 uint32_t reset_addr = secondary_hdr->ih_hdr_size + sizeof(reset_value);
1366 if (abs_off < hdr->ih_hdr_size) {
1368 if (abs_off + chunk_sz > hdr->ih_hdr_size) {
1371 blk_sz = chunk_sz - (hdr->ih_hdr_size - abs_off);
1372 idx = hdr->ih_hdr_size - abs_off;
1380 blk_off = (abs_off - hdr->ih_hdr_size) & 0xf;
1396 (abs_off + idx) - hdr->ih_hdr_size, blk_sz,
1400 (abs_off + idx) - hdr->ih_hdr_size, blk_sz,
2552 boot_img_hdr(&boot_data, split_slot)->ih_hdr_size;
[all …]
Dbootutil_priv.h377 #define BOOT_TLV_OFF(hdr) ((hdr)->ih_hdr_size + (hdr)->ih_img_size)
Dimage_validate.c113 size = hdr_size = hdr->ih_hdr_size; in bootutil_img_hash()
Dbootutil_public.c756 if (!boot_u32_safe_add(&size, hdr->ih_img_size, hdr->ih_hdr_size) || in boot_image_load_header()