Home
last modified time | relevance | path

Searched refs:image_header (Results 1 – 25 of 30) sorted by relevance

12

/mcuboot-latest/boot/bootutil/include/bootutil/
Dboot_record.h66 const struct image_header *hdr,
80 int boot_save_shared_data(const struct image_header *hdr,
Dimage.h160 STRUCT_PACKED image_header {
195 _Static_assert(sizeof(struct image_header) == IMAGE_HEADER_SIZE,
201 struct image_header *hdr,
211 const struct image_header *hdr;
224 const struct image_header *hdr,
Dbootutil.h47 struct image_header;
54 const struct image_header *br_hdr;
Dboot_hooks.h111 struct image_header *img_head);
140 int boot_perform_update_hook(int img_index, struct image_header *img_head,
Dbootutil_public.h312 struct image_header *hdr);
326 struct image_header *hdr);
Denc_key.h71 const struct image_header *hdr, const struct flash_area *fap,
/mcuboot-latest/ci/fih_test_docker/
Ddamage_image.py143 image_header = ImageHeader.read_from_binary(in_file)
144 if image_header.ih_magic != IMAGE_MAGIC:
145 …tion("Invalid magic in image_header: 0x{:X} instead of 0x{:X}".format(image_header.ih_magic, IMAGE…
148 tlv_info_offset = image_header.ih_hdr_size + image_header.ih_img_size
154 if image_header.ih_protect_tlv_size != tlv_info.it_tlv_tot:
155 …raise Exception("Invalid prot TLV len ({:d} vs. {:d})".format(image_header.ih_protect_tlv_size, tl…
163 if image_header.ih_protect_tlv_size != 0:
/mcuboot-latest/boot/zephyr/
Dhooks_sample.c30 struct image_header *img_hed) in boot_read_image_header_hook()
54 int boot_perform_update_hook(int img_index, struct image_header *img_head, in boot_perform_update_hook()
Dsingle_loader.c23 static struct image_header _hdr = { 0 };
42 struct image_header *hdr) in boot_image_validate()
72 struct image_header *hdr) in boot_image_validate_once()
Dfirmware_loader.c25 static struct image_header _hdr = { 0 };
38 struct image_header *hdr) in boot_image_validate()
68 struct image_header *hdr) in boot_image_validate_once()
/mcuboot-latest/samples/compression_test/
Dindependent_cmp.c18 struct __attribute__((__packed__)) image_header { struct
47 struct image_header ih; in main() argument
48 size_t rc = pread(signed_fd, &ih, sizeof(struct image_header), 0); in main()
/mcuboot-latest/boot/mynewt/src/
Dsingle_loader.c21 static struct image_header _hdr = { 0 };
34 struct image_header *hdr) in boot_image_validate()
64 struct image_header *hdr) in boot_image_validate_once()
/mcuboot-latest/boot/boot_serial/include/boot_serial/
Dboot_serial_encryption.h24 struct image_header *hdr, uint8_t *buf,
/mcuboot-latest/boot/espressif/
Dmain.c61 int read_image_header(uint32_t img_index, uint32_t slot, struct image_header *img_header) in read_image_header()
74 if (flash_area_read(fap, 0, img_header, sizeof(struct image_header))) { in read_image_header()
89 struct image_header img_header; in do_boot_appcpu()
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial_encryption.c24 struct image_header *hdr, uint8_t *buf, in boot_image_validate_encrypted()
72 struct image_header *hdr, in read_image_size()
130 struct image_header *hdr, in decrypt_region_inplace()
221 struct image_header *hdr) in decrypt_image_inplace()
298 struct image_header _hdr = { 0 }; in boot_handle_enc_fw()
Dboot_serial.c172 static int boot_serial_get_hash(const struct image_header *hdr,
175 static int boot_serial_get_hash(const struct image_header *hdr,
280 struct image_header hdr; in bs_list()
540 struct image_header hdr; in bs_set()
1601 static int boot_serial_get_hash(const struct image_header *hdr, in boot_serial_get_hash()
1604 static int boot_serial_get_hash(const struct image_header *hdr, in boot_serial_get_hash()
/mcuboot-latest/boot/bootutil/src/
Dram_load.c118 uint32_t slot, struct image_header *hdr, in boot_decrypt_and_copy_image_to_sram()
321 struct image_header *hdr = NULL; in boot_load_image_to_sram()
443 struct image_header *hdr) in boot_load_image_from_flash_to_sram()
Dboot_record.c127 const struct image_header *hdr, in boot_save_boot_status()
239 int boot_save_shared_data(const struct image_header *hdr, const struct flash_area *fap, in boot_save_shared_data()
Dbootutil_priv.h236 struct image_header hdr;
325 struct image_header *out_hdr, struct boot_status *bs);
418 static inline struct image_header*
Dtlv.c40 bootutil_tlv_iter_begin(struct image_tlv_iter *it, const struct image_header *hdr, in bootutil_tlv_iter_begin()
Dloader.c781 boot_image_check(struct boot_loader_state *state, struct image_header *hdr, in boot_image_check()
827 split_image_check(struct image_header *app_hdr, in split_image_check()
829 struct image_header *loader_hdr, in split_image_check()
876 boot_is_header_valid(const struct image_header *hdr, const struct flash_area *fap,
952 struct image_header *hdr;
989 const struct image_header *hdr;
1024 struct image_header *hdr;
1090 struct image_header first_sector_hdr;
1156 struct image_header *secondary_hdr = boot_img_hdr(state, slot);
1337 struct image_header *hdr;
[all …]
Dimage_validate.c69 struct image_header *hdr, const struct flash_area *fap, in bootutil_img_hash()
415 static int bootutil_check_for_pure(const struct image_header *hdr, in bootutil_check_for_pure()
479 struct image_header *hdr, const struct flash_area *fap, in bootutil_img_validate()
Dswap_move.c73 struct image_header *out_hdr, struct boot_status *bs) in boot_read_image_header()
/mcuboot-latest/samples/runtime-source/zephyr/hooks/
Dhooks.c16 static struct image_header _hdr;
/mcuboot-latest/docs/
Dcompression_format.md127 `image_header.ih_hdr_size`. For the size of the compressed stream,
128 see `image_header.ih_img_size`.

12