Lines Matching full:dest

29     const AvbHashtreeDescriptor* src, AvbHashtreeDescriptor* dest) {  in avb_hashtree_descriptor_validate_and_byteswap()  argument
32 avb_memcpy(dest, src, sizeof(AvbHashtreeDescriptor)); in avb_hashtree_descriptor_validate_and_byteswap()
35 (AvbDescriptor*)dest)) in avb_hashtree_descriptor_validate_and_byteswap()
38 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_HASHTREE) { in avb_hashtree_descriptor_validate_and_byteswap()
43 dest->dm_verity_version = avb_be32toh(dest->dm_verity_version); in avb_hashtree_descriptor_validate_and_byteswap()
44 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()
47 dest->data_block_size = avb_be32toh(dest->data_block_size); in avb_hashtree_descriptor_validate_and_byteswap()
48 dest->hash_block_size = avb_be32toh(dest->hash_block_size); in avb_hashtree_descriptor_validate_and_byteswap()
49 dest->fec_num_roots = avb_be32toh(dest->fec_num_roots); 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()
52 dest->partition_name_len = avb_be32toh(dest->partition_name_len); in avb_hashtree_descriptor_validate_and_byteswap()
53 dest->salt_len = avb_be32toh(dest->salt_len); in avb_hashtree_descriptor_validate_and_byteswap()
54 dest->root_digest_len = avb_be32toh(dest->root_digest_len); in avb_hashtree_descriptor_validate_and_byteswap()
55 dest->flags = avb_be32toh(dest->flags); in avb_hashtree_descriptor_validate_and_byteswap()
59 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) || in avb_hashtree_descriptor_validate_and_byteswap()
60 !avb_safe_add_to(&expected_size, dest->salt_len) || in avb_hashtree_descriptor_validate_and_byteswap()
61 !avb_safe_add_to(&expected_size, dest->root_digest_len)) { in avb_hashtree_descriptor_validate_and_byteswap()
65 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hashtree_descriptor_validate_and_byteswap()