Home
last modified time | relevance | path

Searched refs:parent_descriptor (Results 1 – 11 of 11) sorted by relevance

/external/avb/test/
Davb_util_unittest.cc125 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
126 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_KERNEL_CMDLINE); in TEST_F()
139 EXPECT_EQ(AVB_DESCRIPTOR_TAG_KERNEL_CMDLINE, s.parent_descriptor.tag); in TEST_F()
140 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
145 bad.parent_descriptor.tag = htobe64(0xf00dd00d); in TEST_F()
164 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
165 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_HASHTREE); in TEST_F()
216 EXPECT_EQ(AVB_DESCRIPTOR_TAG_HASHTREE, s.parent_descriptor.tag); in TEST_F()
217 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
224 bad.parent_descriptor.tag = htobe64(0xf00dd00d); in TEST_F()
[all …]
/external/avb/libavb/
Davb_kernel_cmdline_descriptor.c38 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_KERNEL_CMDLINE) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
52 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
Davb_chain_partition_descriptor.c38 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_CHAIN_PARTITION) { in avb_chain_partition_descriptor_validate_and_byteswap()
59 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_chain_partition_descriptor_validate_and_byteswap()
Davb_hash_descriptor.c38 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_HASH) { in avb_hash_descriptor_validate_and_byteswap()
57 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hash_descriptor_validate_and_byteswap()
Davb_hashtree_descriptor.c38 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_HASHTREE) { in avb_hashtree_descriptor_validate_and_byteswap()
65 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hashtree_descriptor_validate_and_byteswap()
Davb_property_descriptor.c38 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_PROPERTY) { in avb_property_descriptor_validate_and_byteswap()
53 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_property_descriptor_validate_and_byteswap()
Davb_kernel_cmdline_descriptor.h63 AvbDescriptor parent_descriptor; member
Davb_chain_partition_descriptor.h52 AvbDescriptor parent_descriptor; member
Davb_hash_descriptor.h65 AvbDescriptor parent_descriptor; member
Davb_property_descriptor.h46 AvbDescriptor parent_descriptor; member
Davb_hashtree_descriptor.h67 AvbDescriptor parent_descriptor; member