Home
last modified time | relevance | path

Searched refs:tmpbuf (Results 1 – 7 of 7) sorted by relevance

/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c300 uint8_t tmpbuf[64]; in bs_list() local
358 &hdr, tmpbuf, sizeof(tmpbuf), start_off); in bs_list()
361 &hdr, tmpbuf, sizeof(tmpbuf)); in bs_list()
377 fap, tmpbuf, sizeof(tmpbuf), NULL, 0, NULL, start_off); in bs_list()
380 fap, tmpbuf, sizeof(tmpbuf), NULL, 0, NULL); in bs_list()
475 bs_list_img_ver((char *)tmpbuf, sizeof(tmpbuf), &hdr.ih_ver); in bs_list()
477 zcbor_tstr_encode_ptr(cbor_state, (char *)tmpbuf, strlen((char *)tmpbuf)); in bs_list()
543 uint8_t tmpbuf[64]; in bs_set() local
593 &hdr, tmpbuf, sizeof(tmpbuf), start_off); in bs_set()
596 &hdr, tmpbuf, sizeof(tmpbuf)); in bs_set()
[all …]
Dboot_serial_encryption.c243 static uint8_t tmpbuf[BOOT_TMPBUF_SZ]; in decrypt_image_inplace()
245 FIH_CALL(boot_image_validate_encrypted,fih_rc,fa_p,&_hdr,tmpbuf,BOOT_TMPBUF_SZ); in decrypt_image_inplace()
/mcuboot-latest/samples/runtime-source/zephyr/hooks/
Dhooks.c17 static uint8_t tmpbuf[BOOT_TMPBUF_SZ]; variable
82 FIH_CALL(bootutil_img_validate, fih_rc, NULL, &_hdr, _fa_p, tmpbuf, in boot_go_hook()
/mcuboot-latest/boot/mynewt/src/
Dsingle_loader.c36 static uint8_t tmpbuf[BOOT_TMPBUF_SZ]; in boot_image_validate() local
54 FIH_CALL(bootutil_img_validate, fih_rc, NULL, hdr, fa_p, tmpbuf, in boot_image_validate()
/mcuboot-latest/boot/zephyr/
Dsingle_loader.c44 static uint8_t tmpbuf[BOOT_TMPBUF_SZ]; in boot_image_validate() local
62 FIH_CALL(bootutil_img_validate, fih_rc, NULL, hdr, fa_p, tmpbuf, in boot_image_validate()
Dfirmware_loader.c40 static uint8_t tmpbuf[BOOT_TMPBUF_SZ]; in boot_image_validate() local
58 FIH_CALL(bootutil_img_validate, fih_rc, NULL, hdr, fa_p, tmpbuf, in boot_image_validate()
/mcuboot-latest/boot/bootutil/src/
Dloader.c784 TARGET_STATIC uint8_t tmpbuf[BOOT_TMPBUF_SZ]; in boot_image_check() local
815 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()
832 static void *tmpbuf; in split_image_check() local
836 if (!tmpbuf) { in split_image_check()
837 tmpbuf = malloc(BOOT_TMPBUF_SZ); in split_image_check()
838 if (!tmpbuf) { in split_image_check()
845 tmpbuf, BOOT_TMPBUF_SZ, NULL, 0, loader_hash, 0); in split_image_check()
848 tmpbuf, BOOT_TMPBUF_SZ, NULL, 0, loader_hash); in split_image_check()
856 tmpbuf, BOOT_TMPBUF_SZ, loader_hash, 32, NULL, 0); in split_image_check()
[all …]