Home
last modified time | relevance | path

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

/external/avb/test/
Davb_util_unittest.cc126 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
127 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_KERNEL_CMDLINE); in TEST_F()
140 EXPECT_EQ(AVB_DESCRIPTOR_TAG_KERNEL_CMDLINE, s.parent_descriptor.tag); in TEST_F()
141 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
146 bad.parent_descriptor.tag = htobe64(0xf00dd00d); in TEST_F()
165 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
166 h.parent_descriptor.tag = htobe64(AVB_DESCRIPTOR_TAG_HASHTREE); in TEST_F()
217 EXPECT_EQ(AVB_DESCRIPTOR_TAG_HASHTREE, s.parent_descriptor.tag); in TEST_F()
218 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
225 bad.parent_descriptor.tag = htobe64(0xf00dd00d); in TEST_F()
[all …]
/external/u-boot/lib/libavb/
Davb_kernel_cmdline_descriptor.c19 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_KERNEL_CMDLINE) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
33 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
Davb_chain_partition_descriptor.c19 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_CHAIN_PARTITION) { in avb_chain_partition_descriptor_validate_and_byteswap()
40 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_chain_partition_descriptor_validate_and_byteswap()
Davb_hash_descriptor.c19 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_HASH) { in avb_hash_descriptor_validate_and_byteswap()
38 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hash_descriptor_validate_and_byteswap()
Davb_hashtree_descriptor.c19 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_HASHTREE) { in avb_hashtree_descriptor_validate_and_byteswap()
46 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hashtree_descriptor_validate_and_byteswap()
Davb_property_descriptor.c19 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_PROPERTY) { in avb_property_descriptor_validate_and_byteswap()
34 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_property_descriptor_validate_and_byteswap()
Davb_kernel_cmdline_descriptor.h44 AvbDescriptor parent_descriptor; member
Davb_chain_partition_descriptor.h33 AvbDescriptor parent_descriptor; member
Davb_hash_descriptor.h46 AvbDescriptor parent_descriptor; member
Davb_property_descriptor.h27 AvbDescriptor parent_descriptor; member
Davb_hashtree_descriptor.h48 AvbDescriptor parent_descriptor; member
/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