Home
last modified time | relevance | path

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

/external/avb/libavb/
Davb_slot_verify.c86 uint8_t* image_buf = NULL; in load_and_verify_hash_partition() local
162 image_buf = avb_malloc(image_size); in load_and_verify_hash_partition()
163 if (image_buf == NULL) { in load_and_verify_hash_partition()
169 ops, part_name, 0 /* offset */, image_size, image_buf, &part_num_read); in load_and_verify_hash_partition()
188 avb_sha256_update(&sha256_ctx, image_buf, hash_desc.image_size); in load_and_verify_hash_partition()
195 avb_sha512_update(&sha512_ctx, image_buf, hash_desc.image_size); in load_and_verify_hash_partition()
225 image_buf != NULL) { in load_and_verify_hash_partition()
236 loaded_partition->data = image_buf; in load_and_verify_hash_partition()
237 image_buf = NULL; in load_and_verify_hash_partition()
241 if (image_buf != NULL) { in load_and_verify_hash_partition()
[all …]