Home
last modified time | relevance | path

Searched refs:num_bytes_following (Results 1 – 16 of 16) sorted by relevance

/external/avb/test/
Davb_util_unittest.cc126 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
141 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
165 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
218 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
252 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
261 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
295 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
304 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
338 h.parent_descriptor.num_bytes_following = htobe64(nbf); in TEST_F()
346 EXPECT_EQ(nbf, s.parent_descriptor.num_bytes_following); in TEST_F()
[all …]
/external/u-boot/lib/libavb/
Davb_descriptor.c13 dest->num_bytes_following = avb_be64toh(src->num_bytes_following); in avb_descriptor_validate_and_byteswap()
15 if ((dest->num_bytes_following & 0x07) != 0) { in avb_descriptor_validate_and_byteswap()
74 uint64_t nb_following = avb_be64toh(dh->num_bytes_following); in avb_descriptor_foreach()
Davb_kernel_cmdline_descriptor.c33 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
Davb_descriptor.h45 uint64_t num_bytes_following; member
Davb_chain_partition_descriptor.c40 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_chain_partition_descriptor_validate_and_byteswap()
Davb_hash_descriptor.c38 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hash_descriptor_validate_and_byteswap()
Davb_hashtree_descriptor.c46 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hashtree_descriptor_validate_and_byteswap()
Davb_property_descriptor.c34 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_property_descriptor_validate_and_byteswap()
/external/avb/libavb/
Davb_descriptor.c32 dest->num_bytes_following = avb_be64toh(src->num_bytes_following); in avb_descriptor_validate_and_byteswap()
34 if ((dest->num_bytes_following & 0x07) != 0) { in avb_descriptor_validate_and_byteswap()
93 uint64_t nb_following = avb_be64toh(dh->num_bytes_following); in avb_descriptor_foreach()
Davb_kernel_cmdline_descriptor.c52 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
Davb_descriptor.h64 uint64_t num_bytes_following; member
Davb_chain_partition_descriptor.c59 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_chain_partition_descriptor_validate_and_byteswap()
Davb_hash_descriptor.c57 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hash_descriptor_validate_and_byteswap()
Davb_hashtree_descriptor.c65 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_hashtree_descriptor_validate_and_byteswap()
Davb_property_descriptor.c53 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_property_descriptor_validate_and_byteswap()
/external/avb/
Davbtool1088 (self.tag, num_bytes_following) = (
1090 self.data = data[self.SIZE:self.SIZE + num_bytes_following]
1115 num_bytes_following = len(self.data)
1116 nbf_with_padding = round_to_multiple(num_bytes_following, 8)
1117 padding_size = nbf_with_padding - num_bytes_following
1169 (tag, num_bytes_following, key_size,
1173 if tag != self.TAG or num_bytes_following != expected_size:
1200 num_bytes_following = self.SIZE + len(self.key) + len(self.value) + 2 - 16
1201 nbf_with_padding = round_to_multiple(num_bytes_following, 8)
1202 padding_size = nbf_with_padding - num_bytes_following
[all …]