Searched refs:avb_safe_add (Results 1 – 4 of 4) sorted by relevance
/external/avb/libavb/ |
D | avb_vbmeta_image.c | 109 if (!avb_safe_add(NULL, (uint64_t)data_ptr, length)) { in avb_vbmeta_image_verify() 116 if (!avb_safe_add(&hash_end, h.hash_offset, h.hash_size) || in avb_vbmeta_image_verify() 122 if (!avb_safe_add(&signature_end, h.signature_offset, h.signature_size) || in avb_vbmeta_image_verify() 130 if (!avb_safe_add(&pubkey_end, h.public_key_offset, h.public_key_size) || in avb_vbmeta_image_verify() 140 if (!avb_safe_add(&pubkey_md_end, in avb_vbmeta_image_verify()
|
D | avb_descriptor.c | 90 if (!avb_safe_add(&desc_offset, in avb_descriptor_foreach() 130 if (!avb_safe_add(&nb_total, sizeof(AvbDescriptor), nb_following)) { in avb_descriptor_foreach()
|
D | avb_util.h | 197 bool avb_safe_add(uint64_t* out_result,
|
D | avb_util.c | 138 bool avb_safe_add(uint64_t* out_result, uint64_t a, uint64_t b) { in avb_safe_add() function 204 if (!avb_safe_add(&combined_len, str1_len, str2_len)) { in avb_str_concat()
|