Home
last modified time | relevance | path

Searched refs:FIH_CALL (Results 1 – 17 of 17) sorted by relevance

/mcuboot-latest/boot/zephyr/
Dfirmware_loader.c58 FIH_CALL(bootutil_img_validate, fih_rc, NULL, hdr, fa_p, tmpbuf, in boot_image_validate()
81 FIH_CALL(boot_image_validate, fih_rc, fa_p, hdr); in boot_image_validate_once()
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()
180 FIH_CALL(validate_image_slot, fih_rc, FLASH_AREA_IMAGE_SECONDARY(0), rsp); in boot_go()
187 FIH_CALL(validate_image_slot, fih_rc, FLASH_AREA_IMAGE_PRIMARY(0), rsp); in boot_go()
191 FIH_CALL(validate_image_slot, fih_rc, FLASH_AREA_IMAGE_SECONDARY(0), rsp); in boot_go()
Dsingle_loader.c62 FIH_CALL(bootutil_img_validate, fih_rc, NULL, hdr, fa_p, tmpbuf, in boot_image_validate()
85 FIH_CALL(boot_image_validate, fih_rc, fa_p, hdr); in boot_image_validate_once()
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()
Dmain.c531 FIH_CALL(boot_go, fih_rc, &rsp);
/mcuboot-latest/boot/mynewt/src/
Dsingle_loader.c54 FIH_CALL(bootutil_img_validate, fih_rc, NULL, hdr, fa_p, tmpbuf, in boot_image_validate()
77 FIH_CALL(boot_image_validate, fih_rc, fa_p, hdr); in boot_image_validate_once()
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()
Dmain.c249 FIH_CALL(boot_go, fih_rc, &rsp); in mynewt_main()
/mcuboot-latest/boot/bootutil/src/
Dimage_ed25519.c133 FIH_CALL(bootutil_verify, fih_rc, hash, IMAGE_HASH_SIZE, sig, in bootutil_verify_sig()
151 FIH_CALL(bootutil_verify, fih_rc, img, size, sig, in bootutil_verify_img()
Dimage_rsa.c233 FIH_CALL(boot_fih_memequal, fih_rc, h2, &em[PSS_HASH_OFFSET], PSS_HLEN); in bootutil_cmp_rsasig()
281 FIH_CALL(bootutil_cmp_rsasig, fih_rc, &ctx, hash, hlen, sig, slen); in bootutil_verify_sig()
Dimage_validate.c328 FIH_CALL(boot_fih_memequal, fih_rc, hash, key_hash, key_hash_size); in bootutil_find_key()
609 FIH_CALL(boot_fih_memequal, fih_rc, hash, buf, sizeof(hash)); in bootutil_img_validate()
666 FIH_CALL(bootutil_verify_sig, valid_signature, hash, sizeof(hash), in bootutil_img_validate()
673 FIH_CALL(bootutil_verify_img, valid_signature, (void *)flash_area_get_off(fap), in bootutil_img_validate()
699 FIH_CALL(boot_nv_security_counter_get, fih_rc, image_index, in bootutil_img_validate()
Dloader.c815 FIH_CALL(bootutil_img_validate, fih_rc, state, hdr, fap, tmpbuf, BOOT_TMPBUF_SZ, in boot_image_check()
818 FIH_CALL(bootutil_img_validate, fih_rc, state, hdr, fap, tmpbuf, BOOT_TMPBUF_SZ, in boot_image_check()
844 FIH_CALL(bootutil_img_validate, fih_rc, NULL, loader_hdr, loader_fap, in split_image_check()
847 FIH_CALL(bootutil_img_validate, fih_rc, NULL, loader_hdr, loader_fap, in split_image_check()
855 FIH_CALL(bootutil_img_validate, fih_rc, NULL, app_hdr, app_fap, in split_image_check()
858 FIH_CALL(bootutil_img_validate, fih_rc, NULL, app_hdr, app_fap, in split_image_check()
1127 FIH_CALL(boot_image_check, fih_rc, state, hdr, fap, bs);
1255 FIH_CALL(boot_validate_slot, fih_rc, state, BOOT_SECONDARY_SLOT, bs, swap_type);
1805 FIH_CALL(boot_validate_slot, fih_rc, state, BOOT_PRIMARY_SLOT, bs, 0);
2110 FIH_CALL(boot_validate_slot, fih_rc,
[all …]
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial_encryption.c56 FIH_CALL(bootutil_img_validate, fih_rc, state, in boot_image_validate_encrypted()
59 FIH_CALL(bootutil_img_validate, fih_rc, state, in boot_image_validate_encrypted()
245 FIH_CALL(boot_image_validate_encrypted,fih_rc,fa_p,&_hdr,tmpbuf,BOOT_TMPBUF_SZ); in decrypt_image_inplace()
308 FIH_CALL(decrypt_image_inplace,fih_rc,flash_area,&_hdr); in boot_handle_enc_fw()
Dboot_serial.c357 FIH_CALL(boot_image_validate_encrypted, fih_rc, fap, in bs_list()
360 FIH_CALL(boot_image_validate_encrypted, fih_rc, fap, in bs_list()
376 FIH_CALL(bootutil_img_validate, fih_rc, NULL, &hdr, in bs_list()
379 FIH_CALL(bootutil_img_validate, fih_rc, NULL, &hdr, in bs_list()
592 FIH_CALL(boot_image_validate_encrypted, fih_rc, fap, in bs_set()
595 FIH_CALL(boot_image_validate_encrypted, fih_rc, fap, in bs_set()
601 FIH_CALL(bootutil_img_validate, fih_rc, NULL, &hdr, in bs_set()
604 FIH_CALL(bootutil_img_validate, fih_rc, NULL, &hdr, in bs_set()
/mcuboot-latest/boot/nuttx/
Dmain.c126 FIH_CALL(boot_go, fih_rc, &rsp); in main()
/mcuboot-latest/boot/cypress/MCUBootApp/
Dmain.c140 FIH_CALL(boot_go, fih_rc, &rsp); in main()
/mcuboot-latest/boot/bootutil/include/bootutil/
Dfault_injection_hardening.h303 #define FIH_CALL(f, ret, ...) FIH_CALL2(f, ret, __LINE__, __COUNTER__, __VA_ARGS__) macro
319 #define FIH_CALL(f, ret, ...) \ macro
Dboot_hooks.h45 FIH_CALL(f, fih_rc, __VA_ARGS__); \
/mcuboot-latest/samples/runtime-source/zephyr/hooks/
Dhooks.c82 FIH_CALL(bootutil_img_validate, fih_rc, NULL, &_hdr, _fa_p, tmpbuf, in boot_go_hook()
/mcuboot-latest/boot/espressif/
Dmain.c180 FIH_CALL(boot_go, fih_rc, &rsp); in main()