Lines Matching refs:image_buf
172 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
403 ops, part_name, image_size, &image_buf, &image_preloaded); in load_requested_partitions()
422 loaded_partition->data = image_buf; /* Transferring the owner. */ in load_requested_partitions()
424 image_buf = NULL; in load_requested_partitions()
432 if (image_buf != NULL && !image_preloaded) { in load_requested_partitions()
433 avb_free(image_buf); in load_requested_partitions()