Searched refs:avb_safe_add_to (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/lib/libavb/ |
H A D | avb_hash_descriptor.c | 32 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 D | avb_hashtree_descriptor.c | 40 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 D | avb_chain_partition_descriptor.c | 35 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 D | avb_property_descriptor.c | 29 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 D | avb_util.c | 84 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 D | avb_kernel_cmdline_descriptor.c | 29 if (!avb_safe_add_to(&expected_size, dest->kernel_cmdline_length)) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
|
H A D | avb_vbmeta_image.c | 77 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 D | avb_util.h | 161 bool avb_safe_add_to(uint64_t* value,
|