/external/avb/test/ |
D | avb_util_unittest.cc | 126 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/ |
D | avb_kernel_cmdline_descriptor.c | 19 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()
|
D | avb_chain_partition_descriptor.c | 19 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()
|
D | avb_hash_descriptor.c | 19 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()
|
D | avb_hashtree_descriptor.c | 19 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()
|
D | avb_property_descriptor.c | 19 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()
|
D | avb_kernel_cmdline_descriptor.h | 44 AvbDescriptor parent_descriptor; member
|
D | avb_chain_partition_descriptor.h | 33 AvbDescriptor parent_descriptor; member
|
D | avb_hash_descriptor.h | 46 AvbDescriptor parent_descriptor; member
|
D | avb_property_descriptor.h | 27 AvbDescriptor parent_descriptor; member
|
D | avb_hashtree_descriptor.h | 48 AvbDescriptor parent_descriptor; member
|
/external/avb/libavb/ |
D | avb_kernel_cmdline_descriptor.c | 38 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()
|
D | avb_chain_partition_descriptor.c | 38 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()
|
D | avb_hash_descriptor.c | 38 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()
|
D | avb_hashtree_descriptor.c | 38 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()
|
D | avb_property_descriptor.c | 38 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()
|
D | avb_kernel_cmdline_descriptor.h | 63 AvbDescriptor parent_descriptor; member
|
D | avb_chain_partition_descriptor.h | 52 AvbDescriptor parent_descriptor; member
|
D | avb_hash_descriptor.h | 65 AvbDescriptor parent_descriptor; member
|
D | avb_property_descriptor.h | 46 AvbDescriptor parent_descriptor; member
|
D | avb_hashtree_descriptor.h | 67 AvbDescriptor parent_descriptor; member
|