Home
last modified time | relevance | path

Searched refs:avb_safe_add_to (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/lib/libavb/
H A Davb_hash_descriptor.c32 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) || in avb_hash_descriptor_validate_and_byteswap()
33 !avb_safe_add_to(&expected_size, dest->salt_len) || in avb_hash_descriptor_validate_and_byteswap()
34 !avb_safe_add_to(&expected_size, dest->digest_len)) { in avb_hash_descriptor_validate_and_byteswap()
H A Davb_hashtree_descriptor.c40 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) || in avb_hashtree_descriptor_validate_and_byteswap()
41 !avb_safe_add_to(&expected_size, dest->salt_len) || in avb_hashtree_descriptor_validate_and_byteswap()
42 !avb_safe_add_to(&expected_size, dest->root_digest_len)) { in avb_hashtree_descriptor_validate_and_byteswap()
H A Davb_chain_partition_descriptor.c35 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) || in avb_chain_partition_descriptor_validate_and_byteswap()
36 !avb_safe_add_to(&expected_size, dest->public_key_len)) { in avb_chain_partition_descriptor_validate_and_byteswap()
H A Davb_property_descriptor.c29 if (!avb_safe_add_to(&expected_size, dest->key_num_bytes) || in avb_property_descriptor_validate_and_byteswap()
30 !avb_safe_add_to(&expected_size, dest->value_num_bytes)) { in avb_property_descriptor_validate_and_byteswap()
H A Davb_util.c84 bool avb_safe_add_to(uint64_t* value, uint64_t value_to_add) { in avb_safe_add_to() function
106 return avb_safe_add_to(out_result, b); in avb_safe_add()
341 if (!avb_safe_add_to(&total_length, str_len)) { in avb_strdupv()
H A Davb_kernel_cmdline_descriptor.c29 if (!avb_safe_add_to(&expected_size, dest->kernel_cmdline_length)) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
H A Davb_vbmeta_image.c77 if (!avb_safe_add_to(&block_total, h.authentication_data_block_size) || in avb_vbmeta_image_verify()
78 !avb_safe_add_to(&block_total, h.auxiliary_data_block_size)) { in avb_vbmeta_image_verify()
H A Davb_util.h161 bool avb_safe_add_to(uint64_t* value,