Searched refs:vbmeta_size (Results 1 – 8 of 8) sorted by relevance
/external/avb/libavb/ |
D | avb_slot_verify.c | 229 size_t vbmeta_size; in load_and_verify_vbmeta() local 284 vbmeta_size = VBMETA_MAX_SIZE; in load_and_verify_vbmeta() 314 if (footer.vbmeta_size > VBMETA_MAX_SIZE) { in load_and_verify_vbmeta() 322 vbmeta_size = footer.vbmeta_size; in load_and_verify_vbmeta() 325 vbmeta_buf = avb_malloc(vbmeta_size); in load_and_verify_vbmeta() 334 vbmeta_size, in load_and_verify_vbmeta() 368 avb_assert(vbmeta_num_read <= vbmeta_size); in load_and_verify_vbmeta() 523 vbmeta_image_data->vbmeta_size = in load_and_verify_vbmeta() 1049 slot_data->vbmeta_images[n].vbmeta_size); in avb_slot_verify() 1050 total_size += slot_data->vbmeta_images[n].vbmeta_size; in avb_slot_verify() [all …]
|
D | avb_footer.c | 36 dest->vbmeta_size = avb_be64toh(dest->vbmeta_size); in avb_footer_validate_and_byteswap()
|
D | avb_footer.h | 68 uint64_t vbmeta_size; member
|
D | avb_slot_verify.h | 93 size_t vbmeta_size; member
|
/external/avb/test/ |
D | avbtool_unittest.cc | 483 EXPECT_EQ(1280UL, f.vbmeta_size); in AddHashFooterTest() 489 avb_vbmeta_image_verify(vbmeta_data, f.vbmeta_size, NULL, NULL)); in AddHashFooterTest() 494 vbmeta_data, f.vbmeta_size, collect_descriptors, &descriptors); in AddHashFooterTest() 790 EXPECT_EQ(1344UL, f.vbmeta_size); in AddHashtreeFooterTest() 796 avb_vbmeta_image_verify(vbmeta_data, f.vbmeta_size, NULL, NULL)); in AddHashtreeFooterTest() 801 vbmeta_data, f.vbmeta_size, collect_descriptors, &descriptors); in AddHashtreeFooterTest() 1016 EXPECT_EQ(1344UL, f.vbmeta_size); in AddHashtreeFooterFECTest() 1022 avb_vbmeta_image_verify(vbmeta_data, f.vbmeta_size, NULL, NULL)); in AddHashtreeFooterFECTest() 1027 vbmeta_data, f.vbmeta_size, collect_descriptors, &descriptors); in AddHashtreeFooterFECTest() 1226 const size_t vbmeta_size = image_data.length(); in TEST_F() local [all …]
|
D | avb_slot_verify_unittest.cc | 426 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F() 430 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F() 633 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F() 637 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F() 643 slot_data->vbmeta_images[1].vbmeta_size, in TEST_F() 988 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F() 992 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F() 1105 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F() 1109 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F()
|
D | avb_util_unittest.cc | 82 h.vbmeta_size = htobe64(n64); in TEST_F() 95 EXPECT_EQ(n64, s.vbmeta_size); in TEST_F()
|
/external/avb/ |
D | avbtool | 1491 self.vbmeta_size) = struct.unpack(self.FORMAT_STRING, data) 1500 self.vbmeta_size = 0 1510 self.vbmeta_offset, self.vbmeta_size) 1754 o.write('VBMeta size: {} bytes\n'.format(footer.vbmeta_size)) 2258 footer.vbmeta_size = len(vbmeta_blob) 2414 footer.vbmeta_size = len(vbmeta_blob) 2629 footer.vbmeta_size = len(vbmeta_blob)
|