Home
last modified time | relevance | path

Searched refs:vbmeta_size (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/libs/vbmeta/src/
Dlib.rs89 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() localVariable
117 data.truncate(vbmeta_size as usize); in verify_reader_region()
/packages/modules/Virtualization/pvmfw/avb/tests/
Dutils.rs90 let vbmeta_size: usize = footer.vbmeta_size.try_into()?; in extract_vbmeta_header() localVariable
91 let vbmeta_src = &kernel[vbmeta_offset..(vbmeta_offset + vbmeta_size)]; in extract_vbmeta_header()
/packages/modules/Virtualization/pvmfw/avb/fuzz/
Dwith_footer_verify_fuzzer.rs45 vbmeta_size: (VBMETA_SIZE as u64).to_be(),