Home
last modified time | relevance | path

Searched refs:avb_be64toh (Results 1 – 12 of 12) sorted by relevance

/external/avb/libavb/
Davb_vbmeta_image.c251 avb_be64toh(dest->authentication_data_block_size); in avb_vbmeta_image_header_to_host_byte_order()
253 avb_be64toh(dest->auxiliary_data_block_size); in avb_vbmeta_image_header_to_host_byte_order()
257 dest->hash_offset = avb_be64toh(dest->hash_offset); in avb_vbmeta_image_header_to_host_byte_order()
258 dest->hash_size = avb_be64toh(dest->hash_size); in avb_vbmeta_image_header_to_host_byte_order()
260 dest->signature_offset = avb_be64toh(dest->signature_offset); in avb_vbmeta_image_header_to_host_byte_order()
261 dest->signature_size = avb_be64toh(dest->signature_size); in avb_vbmeta_image_header_to_host_byte_order()
263 dest->public_key_offset = avb_be64toh(dest->public_key_offset); in avb_vbmeta_image_header_to_host_byte_order()
264 dest->public_key_size = avb_be64toh(dest->public_key_size); in avb_vbmeta_image_header_to_host_byte_order()
267 avb_be64toh(dest->public_key_metadata_offset); in avb_vbmeta_image_header_to_host_byte_order()
268 dest->public_key_metadata_size = avb_be64toh(dest->public_key_metadata_size); in avb_vbmeta_image_header_to_host_byte_order()
[all …]
Davb_hashtree_descriptor.c44 dest->image_size = avb_be64toh(dest->image_size); in avb_hashtree_descriptor_validate_and_byteswap()
45 dest->tree_offset = avb_be64toh(dest->tree_offset); in avb_hashtree_descriptor_validate_and_byteswap()
46 dest->tree_size = avb_be64toh(dest->tree_size); in avb_hashtree_descriptor_validate_and_byteswap()
50 dest->fec_offset = avb_be64toh(dest->fec_offset); in avb_hashtree_descriptor_validate_and_byteswap()
51 dest->fec_size = avb_be64toh(dest->fec_size); in avb_hashtree_descriptor_validate_and_byteswap()
Davb_descriptor.c31 dest->tag = avb_be64toh(src->tag); in avb_descriptor_validate_and_byteswap()
32 dest->num_bytes_following = avb_be64toh(src->num_bytes_following); in avb_descriptor_validate_and_byteswap()
79 avb_be64toh(header->authentication_data_block_size) + in avb_descriptor_foreach()
80 avb_be64toh(header->descriptors_offset); in avb_descriptor_foreach()
82 desc_end = desc_start + avb_be64toh(header->descriptors_size); in avb_descriptor_foreach()
93 uint64_t nb_following = avb_be64toh(dh->num_bytes_following); in avb_descriptor_foreach()
Davb_footer.c34 dest->original_image_size = avb_be64toh(dest->original_image_size); in avb_footer_validate_and_byteswap()
35 dest->vbmeta_offset = avb_be64toh(dest->vbmeta_offset); in avb_footer_validate_and_byteswap()
36 dest->vbmeta_size = avb_be64toh(dest->vbmeta_size); in avb_footer_validate_and_byteswap()
Davb_property_descriptor.c43 dest->key_num_bytes = avb_be64toh(dest->key_num_bytes); in avb_property_descriptor_validate_and_byteswap()
44 dest->value_num_bytes = avb_be64toh(dest->value_num_bytes); in avb_property_descriptor_validate_and_byteswap()
Davb_hash_descriptor.c43 dest->image_size = avb_be64toh(dest->image_size); in avb_hash_descriptor_validate_and_byteswap()
Davb_util.h153 uint64_t avb_be64toh(uint64_t in) AVB_ATTR_WARN_UNUSED_RESULT;
Davb_util.c39 uint64_t avb_be64toh(uint64_t in) { in avb_be64toh() function
/external/avb/test/
Davbtool_unittest.cc568 EXPECT_EQ(AVB_DESCRIPTOR_TAG_HASH, avb_be64toh(descriptors[0]->tag)); in AddHashFooterTest()
910 EXPECT_EQ(AVB_DESCRIPTOR_TAG_HASHTREE, avb_be64toh(descriptors[0]->tag)); in AddHashtreeFooterTest()
1136 EXPECT_EQ(AVB_DESCRIPTOR_TAG_HASHTREE, avb_be64toh(descriptors[0]->tag)); in AddHashtreeFooterFECTest()
1343 avb_be64toh(descriptors[0]->tag)); in TEST_F()
1354 avb_be64toh(descriptors[1]->tag)); in TEST_F()
1479 avb_be64toh(descriptors[0]->tag)); in TEST_F()
Davb_util_unittest.cc529 EXPECT_EQ(avb_be64toh(0x123456789abcdef0), be64toh(0x123456789abcdef0)); in TEST_F()
/external/avb/libavb_user/
Davb_user_verity.c104 vbmeta_offset = avb_be64toh(footer.vbmeta_offset); in load_top_level_vbmeta_header()
Davb_user_verification.c104 vbmeta_offset = avb_be64toh(footer.vbmeta_offset); in load_top_level_vbmeta_header()