Searched refs:avb_safe_add (Results 1 – 3 of 3) sorted by relevance
/external/avb/libavb/ |
D | avb_vbmeta_image.c | 108 if (!avb_safe_add(NULL, (uint64_t)data_ptr, length)) { in avb_vbmeta_image_verify() 115 if (!avb_safe_add(&hash_end, h.hash_offset, h.hash_size) || in avb_vbmeta_image_verify() 121 if (!avb_safe_add(&signature_end, h.signature_offset, h.signature_size) || in avb_vbmeta_image_verify() 129 if (!avb_safe_add(&pubkey_end, h.public_key_offset, h.public_key_size) || in avb_vbmeta_image_verify() 139 if (!avb_safe_add(&pubkey_md_end, in avb_vbmeta_image_verify()
|
D | avb_util.c | 119 bool avb_safe_add(uint64_t* out_result, uint64_t a, uint64_t b) { in avb_safe_add() function 179 if (!avb_safe_add(&combined_len, str1_len, str2_len)) { in avb_str_concat()
|
D | avb_util.h | 191 bool avb_safe_add(uint64_t* out_result,
|