Home
last modified time | relevance | path

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

/packages/modules/Virtualization/pvmfw/avb/fuzz/
Dwith_footer_verify_fuzzer.rs51 let mut modified_kernel = vec![0u8; kernel_and_vbmeta.len() + size_of::<AvbFooter>()]; localVariable
52 modified_kernel[..kernel_and_vbmeta.len()].copy_from_slice(kernel_and_vbmeta);
54 modified_kernel[kernel_size..(kernel_size + AVB_MAGIC_LEN as usize)]
56 modified_kernel[kernel_and_vbmeta.len()..].copy_from_slice(&avb_footer);
58 let _ = verify_payload(&modified_kernel, /*initrd=*/ None, &[0u8; 64]);