Home
last modified time | relevance | path

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

/packages/modules/Virtualization/microdroid/derive_microdroid_vendor_dice_node/src/
Dmain.rs27 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() argument
93 let vbmeta = VbMetaImage::verify_reader_region(file, 0, size)?; in extract_vbmeta()
/packages/modules/Virtualization/libs/vbmeta/src/
Dlib.rs68 pub struct VbMetaImage { struct
73 impl VbMetaImage { impl
223 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()
/packages/modules/Virtualization/libs/apexutil/src/
Dlib.rs22 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()
/packages/modules/Virtualization/virtualizationmanager/src/
Daidl.rs90 use vbmeta::VbMetaImage;
676 let vbmeta = VbMetaImage::verify_reader_region(&file, 0, size) in extract_vendor_hashtree_digest()