Home
last modified time | relevance | path

Searched refs:IMAGE_MAGIC (Results 1 – 9 of 9) sorted by relevance

/mcuboot-latest/boot/zephyr/
Dhooks_sample.c33 img_hed->ih_magic = IMAGE_MAGIC; in boot_read_image_header_hook()
/mcuboot-latest/ci/fih_test_docker/
Ddamage_image.py20 from imgtool.image import (IMAGE_HEADER_SIZE, IMAGE_MAGIC,
144 if image_header.ih_magic != IMAGE_MAGIC:
145 …nvalid magic in image_header: 0x{:X} instead of 0x{:X}".format(image_header.ih_magic, IMAGE_MAGIC))
/mcuboot-latest/boot/bootutil/include/bootutil/
Dimage.h47 #define IMAGE_MAGIC 0x96f3b83d macro
/mcuboot-latest/boot/bootutil/src/
Dswap_offset.c192 if (check_other_sector == true && out_hdr->ih_magic != IMAGE_MAGIC &&
208 if (out_hdr->ih_magic == IMAGE_MAGIC && (bs != NULL || state->bootstrap_secondary_offset_set[
213 if (out_hdr->ih_magic == IMAGE_MAGIC && bs != NULL && slot == BOOT_SECONDARY_SLOT) {
219 if (bs != NULL && out_hdr->ih_magic != IMAGE_MAGIC) {
Dloader.c883 if (hdr->ih_magic != IMAGE_MAGIC) {
1096 if (first_sector_hdr.ih_magic == IMAGE_MAGIC) {
1670 if (hdr->ih_magic == IMAGE_MAGIC) {
1697 if (hdr->ih_magic == IMAGE_MAGIC) {
2137 rc = (boot_img_hdr(state, BOOT_SECONDARY_SLOT)->ih_magic == IMAGE_MAGIC) ? 1: 0;
2509 if (BOOT_IMG(state, BOOT_PRIMARY_SLOT).hdr.ih_magic != IMAGE_MAGIC) {
Dswap_move.c132 if (bs != NULL && out_hdr->ih_magic != IMAGE_MAGIC) { in boot_read_image_header()
Dbootutil_public.c772 if (hdr->ih_magic != IMAGE_MAGIC) { in boot_image_load_header()
/mcuboot-latest/scripts/imgtool/
Dimage.py53 IMAGE_MAGIC = 0x96f3b83d variable
744 IMAGE_MAGIC,
814 if magic != IMAGE_MAGIC:
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c346 if (hdr.ih_magic == IMAGE_MAGIC) in bs_list()
580 if (hdr.ih_magic == IMAGE_MAGIC) in bs_set()