Searched refs:image_buf (Results 1 – 1 of 1) sorted by relevance
86 uint8_t* image_buf = NULL; in load_and_verify_hash_partition() local162 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 …]