Lines Matching refs:image_buf
296 uint8_t* image_buf = NULL; in load_and_verify_hash_partition() local
388 ops, part_name, image_size, &image_buf, &image_preloaded, in load_and_verify_hash_partition()
411 avb_sha256_update(&sha256_ctx, image_buf, image_size_to_hash); in load_and_verify_hash_partition()
418 avb_sha512_update(&sha512_ctx, image_buf, image_size_to_hash); in load_and_verify_hash_partition()
468 image_buf != NULL) { in load_and_verify_hash_partition()
479 loaded_partition->data = image_buf; in load_and_verify_hash_partition()
481 image_buf = NULL; in load_and_verify_hash_partition()
485 if (image_buf != NULL && !image_preloaded) { in load_and_verify_hash_partition()
486 avb_free(image_buf); in load_and_verify_hash_partition()
497 uint8_t* image_buf = NULL; in load_requested_partitions() local
530 ops, part_name, image_size, &image_buf, &image_preloaded, 1); in load_requested_partitions()
549 loaded_partition->data = image_buf; /* Transferring the owner. */ in load_requested_partitions()
551 image_buf = NULL; in load_requested_partitions()
559 if (image_buf != NULL && !image_preloaded) { in load_requested_partitions()
560 avb_free(image_buf); in load_requested_partitions()