Searched refs:VbMetaImage (Results 1 – 4 of 4) sorted by relevance
27 use vbmeta::VbMetaImage;50 fn build_descriptor(vbmeta: &VbMetaImage) -> Result<Vec<u8>> { in build_descriptor()60 fn find_root_digest(vbmeta: &VbMetaImage) -> Result<Option<Vec<u8>>> { in find_root_digest()69 fn dice_derivation(dice: DiceDriver, vbmeta: &VbMetaImage) -> Result<OwnedDiceArtifacts> { in dice_derivation()90 fn extract_vbmeta(block_dev: &Path) -> Result<VbMetaImage> { in extract_vbmeta() argument93 let vbmeta = VbMetaImage::verify_reader_region(file, 0, size)?; in extract_vbmeta()
68 pub struct VbMetaImage { struct73 impl VbMetaImage { impl223 let vbmeta = VbMetaImage::verify_path(test_file).context("verify_path")?; in unsigned_image_does_not_have_public_key()243 let vbmeta = VbMetaImage::verify_path(&test_file).context("verify_path")?; in signed_image_has_valid_vbmeta()271 VbMetaImage::verify_path(test_file), in signed_image_has_valid_vbmeta()294 let vbmeta = VbMetaImage::verify_path("test_microdroid_vendor_image.img")?; in test_rollback_index()302 VbMetaImage::verify_path("test_microdroid_vendor_image_no_rollback_index.img")?; in test_rollback_index_default_zero()
22 use vbmeta::VbMetaImage;91 let vbmeta = VbMetaImage::verify_reader_region(apex_file, image_offset, image_size)?; in verify()107 fn find_root_digest(vbmeta: &VbMetaImage) -> Result<Vec<u8>, ApexParseError> { in find_root_digest()
90 use vbmeta::VbMetaImage;676 let vbmeta = VbMetaImage::verify_reader_region(&file, 0, size) in extract_vendor_hashtree_digest()