Searched refs:vbmeta_size (Results 1 – 3 of 3) sorted by relevance
89 let (vbmeta_offset, vbmeta_size) = match read_avb_footer(&mut image) { in verify_reader_region()91 if footer.vbmeta_offset > size || footer.vbmeta_size > size - footer.vbmeta_offset { in verify_reader_region()94 (footer.vbmeta_offset, footer.vbmeta_size) in verify_reader_region()103 let mut data = vec![0u8; vbmeta_size as usize]; in verify_reader_region()114 let vbmeta_size = (size_of::<AvbVBMetaImageHeader>() as u64) in verify_reader_region() localVariable117 data.truncate(vbmeta_size as usize); in verify_reader_region()
90 let vbmeta_size: usize = footer.vbmeta_size.try_into()?; in extract_vbmeta_header() localVariable91 let vbmeta_src = &kernel[vbmeta_offset..(vbmeta_offset + vbmeta_size)]; in extract_vbmeta_header()
45 vbmeta_size: (VBMETA_SIZE as u64).to_be(),