Home
last modified time | relevance | path

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

/external/avb/libavb_user/
Davb_user_verification.c46 uint64_t vbmeta_offset = 0; in load_top_level_vbmeta_header() local
65 vbmeta_offset, in load_top_level_vbmeta_header()
104 vbmeta_offset = avb_be64toh(footer.vbmeta_offset); in load_top_level_vbmeta_header()
107 vbmeta_offset, in load_top_level_vbmeta_header()
120 *out_vbmeta_offset = vbmeta_offset; in load_top_level_vbmeta_header()
171 uint64_t vbmeta_offset; in avb_user_verification_set() local
178 ops, ab_suffix, vbmeta_image, partition_name, &vbmeta_offset)) { in avb_user_verification_set()
202 vbmeta_offset, in avb_user_verification_set()
Davb_user_verity.c46 uint64_t vbmeta_offset = 0; in load_top_level_vbmeta_header() local
65 vbmeta_offset, in load_top_level_vbmeta_header()
104 vbmeta_offset = avb_be64toh(footer.vbmeta_offset); in load_top_level_vbmeta_header()
107 vbmeta_offset, in load_top_level_vbmeta_header()
120 *out_vbmeta_offset = vbmeta_offset; in load_top_level_vbmeta_header()
170 uint64_t vbmeta_offset; in avb_user_verity_set() local
177 ops, ab_suffix, vbmeta_image, partition_name, &vbmeta_offset)) { in avb_user_verity_set()
201 vbmeta_offset, in avb_user_verity_set()
/external/u-boot/lib/libavb/
Davb_footer.c16 dest->vbmeta_offset = avb_be64toh(dest->vbmeta_offset); in avb_footer_validate_and_byteswap()
Davb_footer.h46 uint64_t vbmeta_offset; member
Davb_slot_verify.c457 size_t vbmeta_offset; in load_and_verify_vbmeta() local
512 vbmeta_offset = 0; in load_and_verify_vbmeta()
550 vbmeta_offset = footer.vbmeta_offset; in load_and_verify_vbmeta()
562 vbmeta_offset, in load_and_verify_vbmeta()
/external/avb/libavb/
Davb_footer.c35 dest->vbmeta_offset = avb_be64toh(dest->vbmeta_offset); in avb_footer_validate_and_byteswap()
Davb_footer.h65 uint64_t vbmeta_offset; member
Davb_slot_verify.c566 size_t vbmeta_offset; in load_and_verify_vbmeta() local
617 vbmeta_offset = 0; in load_and_verify_vbmeta()
649 vbmeta_offset = footer.vbmeta_offset; in load_and_verify_vbmeta()
661 if (vbmeta_offset != 0) { in load_and_verify_vbmeta()
675 vbmeta_offset, in load_and_verify_vbmeta()
/external/avb/
Davbtool1853 self.original_image_size, self.vbmeta_offset,
1862 self.vbmeta_offset = 0
1873 self.vbmeta_offset, self.vbmeta_size)
2038 image.seek(footer.vbmeta_offset)
2115 vbmeta_end_offset = footer.vbmeta_offset + footer.vbmeta_size
2193 o.write('VBMeta offset: {}\n'.format(footer.vbmeta_offset))
2260 offset = footer.vbmeta_offset
2322 offset = footer.vbmeta_offset
2340 ch_offset = ch_footer.vbmeta_offset
2414 vbmeta_offset = 0
[all …]
/external/avb/test/
Davbtool_unittest.cc566 EXPECT_EQ(1052672UL, f.vbmeta_offset); in AddHashFooterTest()
571 reinterpret_cast<const uint8_t*>(part_data.data() + f.vbmeta_offset); in AddHashFooterTest()
1054 EXPECT_EQ(1069056UL, f.vbmeta_offset); in AddHashtreeFooterTest()
1059 reinterpret_cast<const uint8_t*>(part_data.data() + f.vbmeta_offset); in AddHashtreeFooterTest()
1281 EXPECT_EQ(1085440UL, f.vbmeta_offset); in AddHashtreeFooterFECTest()
1286 reinterpret_cast<const uint8_t*>(part_data.data() + f.vbmeta_offset); in AddHashtreeFooterFECTest()
Davb_util_unittest.cc82 h.vbmeta_offset = htobe64(n64); in TEST_F()
95 EXPECT_EQ(n64, s.vbmeta_offset); in TEST_F()