Home
last modified time | relevance | path

Searched refs:_hdr (Results 1 – 5 of 5) sorted by relevance

/mcuboot-latest/boot/zephyr/
Dsingle_loader.c23 static struct image_header _hdr = { 0 }; variable
118 rc = boot_image_load_header(_fa_p, &_hdr); in boot_go()
124 state.imgs[0][0].hdr = _hdr; in boot_go()
132 FIH_CALL(boot_image_validate, fih_rc, _fa_p, &_hdr); in boot_go()
140 FIH_CALL(boot_image_validate_once, fih_rc, _fa_p, &_hdr); in boot_go()
152 rc = boot_save_boot_status(0, &_hdr, _fa_p); in boot_go()
160 rc = boot_save_shared_data(&_hdr, _fa_p, 0, NULL); in boot_go()
169 rsp->br_hdr = &_hdr; in boot_go()
Dfirmware_loader.c25 static struct image_header _hdr = { 0 }; variable
114 rc = boot_image_load_header(_fa_p, &_hdr); in validate_image_slot()
120 FIH_CALL(boot_image_validate, fih_rc, _fa_p, &_hdr); in validate_image_slot()
125 FIH_CALL(boot_image_validate_once, fih_rc, _fa_p, &_hdr); in validate_image_slot()
135 rsp->br_hdr = &_hdr; in validate_image_slot()
/mcuboot-latest/samples/runtime-source/zephyr/hooks/
Dhooks.c16 static struct image_header _hdr; variable
66 rc = boot_image_load_header(_fa_p, &_hdr); in boot_go_hook()
75 rc = boot_load_image_from_flash_to_sram(state, &_hdr); in boot_go_hook()
82 FIH_CALL(bootutil_img_validate, fih_rc, NULL, &_hdr, _fa_p, tmpbuf, in boot_go_hook()
94 rsp->br_hdr = &_hdr; in boot_go_hook()
/mcuboot-latest/boot/mynewt/src/
Dsingle_loader.c21 static struct image_header _hdr = { 0 }; variable
110 rc = boot_image_load_header(_fa_p, &_hdr); in boot_go()
115 FIH_CALL(boot_image_validate, fih_rc, _fa_p, &_hdr); in boot_go()
120 FIH_CALL(boot_image_validate_once, fih_rc, _fa_p, &_hdr); in boot_go()
130 rsp->br_hdr = &_hdr; in boot_go()
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial_encryption.c245 FIH_CALL(boot_image_validate_encrypted,fih_rc,fa_p,&_hdr,tmpbuf,BOOT_TMPBUF_SZ); in decrypt_image_inplace()
298 struct image_header _hdr = { 0 }; in boot_handle_enc_fw() local
301 rc = boot_image_load_header(flash_area, &_hdr); in boot_handle_enc_fw()
306 if (IS_ENCRYPTED(&_hdr)) { in boot_handle_enc_fw()
308 FIH_CALL(decrypt_image_inplace,fih_rc,flash_area,&_hdr); in boot_handle_enc_fw()