Searched refs:vbmeta_size (Results 1 – 14 of 14) sorted by relevance
/external/u-boot/lib/libavb/ |
D | avb_footer.c | 17 dest->vbmeta_size = avb_be64toh(dest->vbmeta_size); in avb_footer_validate_and_byteswap()
|
D | avb_slot_verify.c | 458 size_t vbmeta_size; in load_and_verify_vbmeta() local 513 vbmeta_size = VBMETA_MAX_SIZE; in load_and_verify_vbmeta() 543 if (footer.vbmeta_size > VBMETA_MAX_SIZE) { in load_and_verify_vbmeta() 551 vbmeta_size = footer.vbmeta_size; in load_and_verify_vbmeta() 554 vbmeta_buf = avb_malloc(vbmeta_size); in load_and_verify_vbmeta() 563 vbmeta_size, in load_and_verify_vbmeta() 598 avb_assert(vbmeta_num_read <= vbmeta_size); in load_and_verify_vbmeta() 753 vbmeta_image_data->vbmeta_size = in load_and_verify_vbmeta() 1342 data->vbmeta_images[n].vbmeta_size); in avb_slot_verify_data_calculate_vbmeta_digest() 1354 data->vbmeta_images[n].vbmeta_size); in avb_slot_verify_data_calculate_vbmeta_digest()
|
D | avb_footer.h | 49 uint64_t vbmeta_size; member
|
D | avb_slot_verify.h | 130 size_t vbmeta_size; member
|
D | avb_cmdline.c | 258 total_size += slot_data->vbmeta_images[n].vbmeta_size; in avb_append_options() 281 total_size += slot_data->vbmeta_images[n].vbmeta_size; in avb_append_options()
|
/external/avb/libavb/ |
D | avb_footer.c | 36 dest->vbmeta_size = avb_be64toh(dest->vbmeta_size); in avb_footer_validate_and_byteswap()
|
D | avb_slot_verify.c | 567 size_t vbmeta_size; in load_and_verify_vbmeta() local 618 vbmeta_size = VBMETA_MAX_SIZE; in load_and_verify_vbmeta() 645 if (footer.vbmeta_size > VBMETA_MAX_SIZE) { in load_and_verify_vbmeta() 650 vbmeta_size = footer.vbmeta_size; in load_and_verify_vbmeta() 655 vbmeta_buf = avb_malloc(vbmeta_size); in load_and_verify_vbmeta() 676 vbmeta_size, in load_and_verify_vbmeta() 711 avb_assert(vbmeta_num_read <= vbmeta_size); in load_and_verify_vbmeta() 866 vbmeta_image_data->vbmeta_size = in load_and_verify_vbmeta() 1620 data->vbmeta_images[n].vbmeta_size); in avb_slot_verify_data_calculate_vbmeta_digest() 1632 data->vbmeta_images[n].vbmeta_size); in avb_slot_verify_data_calculate_vbmeta_digest()
|
D | avb_footer.h | 68 uint64_t vbmeta_size; member
|
D | avb_slot_verify.h | 168 size_t vbmeta_size; member
|
D | avb_cmdline.c | 286 total_size += slot_data->vbmeta_images[n].vbmeta_size; in avb_append_options() 309 total_size += slot_data->vbmeta_images[n].vbmeta_size; in avb_append_options()
|
/external/avb/test/ |
D | avbtool_unittest.cc | 281 int64_t vbmeta_size, vbmeta_padded_size; in TEST_F() local 282 ASSERT_TRUE(base::GetFileSize(vbmeta_path, &vbmeta_size)); in TEST_F() 285 EXPECT_NE(vbmeta_size, vbmeta_padded_size); in TEST_F() 291 int64_t vbmeta_size_rounded_up = ((vbmeta_size + 4095) / 4096) * 4096; in TEST_F() 567 EXPECT_EQ(1280UL, f.vbmeta_size); in AddHashFooterTest() 573 avb_vbmeta_image_verify(vbmeta_data, f.vbmeta_size, NULL, NULL)); in AddHashFooterTest() 578 vbmeta_data, f.vbmeta_size, collect_descriptors, &descriptors); in AddHashFooterTest() 1055 EXPECT_EQ(1344UL, f.vbmeta_size); in AddHashtreeFooterTest() 1061 avb_vbmeta_image_verify(vbmeta_data, f.vbmeta_size, NULL, NULL)); in AddHashtreeFooterTest() 1066 vbmeta_data, f.vbmeta_size, collect_descriptors, &descriptors); in AddHashtreeFooterTest() [all …]
|
D | avb_slot_verify_unittest.cc | 565 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F() 569 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F() 661 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F() 665 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F() 857 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F() 861 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F() 867 slot_data->vbmeta_images[1].vbmeta_size, in TEST_F() 1046 EXPECT_EQ(slot_data->vbmeta_images[0].vbmeta_size, vbmeta_image_.size()); in TEST_F() 1050 slot_data->vbmeta_images[0].vbmeta_size)); in TEST_F() 1057 slot_data->vbmeta_images[1].vbmeta_size, in TEST_F() [all …]
|
D | avb_util_unittest.cc | 84 h.vbmeta_size = htobe64(n64); in TEST_F() 97 EXPECT_EQ(n64, s.vbmeta_size); in TEST_F()
|
/external/avb/ |
D | avbtool | 1854 self.vbmeta_size) = struct.unpack(self.FORMAT_STRING, data) 1863 self.vbmeta_size = 0 1873 self.vbmeta_offset, self.vbmeta_size) 2039 vbmeta_blob = image.read(footer.vbmeta_size) 2115 vbmeta_end_offset = footer.vbmeta_offset + footer.vbmeta_size 2194 o.write('VBMeta size: {} bytes\n'.format(footer.vbmeta_size)) 2953 footer.vbmeta_size = len(vbmeta_blob) 3151 footer.vbmeta_size = len(vbmeta_blob) 3410 footer.vbmeta_size = len(vbmeta_blob)
|