Searched refs:image_size_to_hash (Results 1 - 2 of 2) sorted by relevance
/u-boot/cmd/mvebu/ |
H A D | bubt.c | 96 u32 image_size_to_hash; member in struct:mvebu_image_info 781 u32 image_size_to_hash; local 808 image_size_to_hash = info->image_size_to_hash; 829 if (image_size_to_hash == 0) { 838 sha1_update(&hash1_text, buff, image_size_to_hash); 844 sha256_update(&hash256_text, buff, image_size_to_hash); 850 sha512_update(&hash512_text, buff, image_size_to_hash);
|
/u-boot/lib/libavb/ |
H A D | avb_slot_verify.c | 376 size_t image_size_to_hash = hash_desc.image_size; local 379 if (image_size_to_hash > image_size) { 380 image_size_to_hash = image_size; 385 avb_sha256_update(&sha256_ctx, image_buf, image_size_to_hash); 391 avb_sha512_update(&sha512_ctx, image_buf, image_size_to_hash);
|
Completed in 91 milliseconds