Home
last modified time | relevance | path

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

/u-boot/cmd/mvebu/
A Dbubt.c78 u32 image_size_to_hash; member
553 u32 image_size_to_hash; in check_image_header() local
580 image_size_to_hash = info->image_size_to_hash; in check_image_header()
601 if (image_size_to_hash == 0) { in check_image_header()
610 sha1_update(&hash1_text, buff, image_size_to_hash); in check_image_header()
616 sha256_update(&hash256_text, buff, image_size_to_hash); in check_image_header()
/u-boot/lib/libavb/
A Davb_slot_verify.c376 size_t image_size_to_hash = hash_desc.image_size; in load_and_verify_hash_partition() local
379 if (image_size_to_hash > image_size) { in load_and_verify_hash_partition()
380 image_size_to_hash = image_size; in load_and_verify_hash_partition()
385 avb_sha256_update(&sha256_ctx, image_buf, image_size_to_hash); in load_and_verify_hash_partition()
391 avb_sha512_update(&sha512_ctx, image_buf, image_size_to_hash); in load_and_verify_hash_partition()

Completed in 6 milliseconds