Home
last modified time | relevance | path

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

/external/u-boot/lib/libavb/
Davb_slot_verify.c172 uint8_t* image_buf = NULL; in load_and_verify_hash_partition() local
272 ops, part_name, image_size, &image_buf, &image_preloaded); in load_and_verify_hash_partition()
281 avb_sha256_update(&sha256_ctx, image_buf, hash_desc.image_size); in load_and_verify_hash_partition()
288 avb_sha512_update(&sha512_ctx, image_buf, hash_desc.image_size); in load_and_verify_hash_partition()
335 image_buf != NULL) { in load_and_verify_hash_partition()
346 loaded_partition->data = image_buf; in load_and_verify_hash_partition()
348 image_buf = NULL; in load_and_verify_hash_partition()
352 if (image_buf != NULL && !image_preloaded) { in load_and_verify_hash_partition()
353 avb_free(image_buf); in load_and_verify_hash_partition()
364 uint8_t* image_buf = NULL; in load_requested_partitions() local
[all …]
/external/u-boot/common/
Dbootm.c359 void *load_buf, void *image_buf, ulong image_len, in bootm_decomp_image() argument
377 memmove_wd(load_buf, image_buf, image_len, CHUNKSZ); in bootm_decomp_image()
383 ret = gunzip(load_buf, unc_len, image_buf, &image_len); in bootm_decomp_image()
397 image_buf, image_len, in bootm_decomp_image()
408 image_buf, image_len); in bootm_decomp_image()
417 ret = lzop_decompress(image_buf, image_len, load_buf, &size); in bootm_decomp_image()
426 ret = ulz4fn(image_buf, image_len, load_buf, &size); in bootm_decomp_image()
458 void *load_buf, *image_buf; in bootm_load_os() local
462 image_buf = map_sysmem(os.image_start, image_len); in bootm_load_os()
464 load_buf, image_buf, image_len, in bootm_load_os()
/external/avb/libavb/
Davb_slot_verify.c292 uint8_t* image_buf = NULL; in load_and_verify_hash_partition() local
384 ops, part_name, image_size, &image_buf, &image_preloaded); in load_and_verify_hash_partition()
393 avb_sha256_update(&sha256_ctx, image_buf, hash_desc.image_size); in load_and_verify_hash_partition()
400 avb_sha512_update(&sha512_ctx, image_buf, hash_desc.image_size); in load_and_verify_hash_partition()
450 image_buf != NULL) { in load_and_verify_hash_partition()
461 loaded_partition->data = image_buf; in load_and_verify_hash_partition()
463 image_buf = NULL; in load_and_verify_hash_partition()
467 if (image_buf != NULL && !image_preloaded) { in load_and_verify_hash_partition()
468 avb_free(image_buf); in load_and_verify_hash_partition()
479 uint8_t* image_buf = NULL; in load_requested_partitions() local
[all …]
/external/u-boot/include/
Dbootm.h72 void *load_buf, void *image_buf, ulong image_len,
/external/u-boot/cmd/
Dfpga.c264 ulong image_buf = image_get_data(hdr); in do_fpga() local
269 (void *)image_buf, in do_fpga()