Home
last modified time | relevance | path

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

/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()
402 avb_sha256_update(&sha256_ctx, image_buf, image_size_to_hash); in load_and_verify_hash_partition()
408 avb_sha512_update(&sha512_ctx, image_buf, image_size_to_hash); in load_and_verify_hash_partition()
458 image_buf != NULL) { in load_and_verify_hash_partition()
469 loaded_partition->data = image_buf; in load_and_verify_hash_partition()
471 image_buf = NULL; in load_and_verify_hash_partition()
475 if (image_buf != NULL && !image_preloaded) { in load_and_verify_hash_partition()
476 avb_free(image_buf); in load_and_verify_hash_partition()
487 uint8_t* image_buf = NULL; in load_requested_partitions() local
[all …]
/external/arm-trusted-firmware/tools/marvell/doimage/
Ddoimage.c1001 uint8_t *image_buf, int image_size) in finalize_secure_ext() argument
1004 uint8_t *final_image = image_buf; in finalize_secure_ext()
1035 if (image_encrypt(image_buf, image_size) != 0) { in finalize_secure_ext()
1476 uint8_t *image_buf, int image_size, FILE *out_fd) in write_prolog() argument
1509 header->boot_image_checksum = checksum32((uint32_t *)image_buf, in write_prolog()
1535 prolog_size, image_buf, in write_prolog()
1591 uint8_t *image_buf = NULL; in main() local
1691 image_buf = calloc(image_size, 1); in main()
1692 if (image_buf == NULL) { in main()
1697 read = fread(image_buf, file_size, 1, in_fd); in main()
[all …]