Home
last modified time | relevance | path

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

/packages/modules/Virtualization/libs/devicemapper/src/
Dverity.rs59 root_digest: Option<&'a [u8]>, field
78 root_digest: None, in default()
105 pub fn root_digest(&mut self, digest: &'a [u8]) -> &mut Self { in root_digest() method
106 self.root_digest = Some(digest); in root_digest()
153 let root_digest = if let Some(root_digest) = self.root_digest { in build() localVariable
154 hex::encode(root_digest) in build()
185 write!(&mut body, "{} ", root_digest)?; in build()
/packages/modules/Virtualization/microdroid_manager/src/
Dpayload.rs52 root_digest: extracted.root_digest, in get_apex_data_from_payload()
68 root_digest: data.root_digest.clone(), in to_metadata()
Ddice.rs46 code_hash_ctx.update(apex.root_digest.as_ref()); in dice_derivation()
119 code_hash: apex.root_digest.clone(), in for_apex()
Dinstance.rs310 pub root_digest: Vec<u8>, field
/packages/modules/Virtualization/libs/apexutil/src/
Dlib.rs80 pub root_digest: Vec<u8>, field
92 let root_digest = find_root_digest(&vbmeta)?; in verify() localVariable
104 Ok(ApexVerificationResult { name, version, public_key, root_digest }) in verify()
111 return Ok(descriptor.to_hashtree()?.root_digest().to_vec()); in find_root_digest()
181 hex::encode(res.root_digest), in apex_verification_returns_valid_result()
/packages/modules/Virtualization/microdroid/derive_microdroid_vendor_dice_node/src/
Dmain.rs63 return Ok(Some(descriptor.to_hashtree()?.root_digest().to_vec())); in find_root_digest()
75 let code_hash = if let Some(root_digest) = find_root_digest(vbmeta)? { in dice_derivation()
76 hash(root_digest.as_ref()).context("hash root_digest")? in dice_derivation()
/packages/modules/Virtualization/libs/vbmeta/src/
Ddescriptor.rs138 pub fn root_digest(&self) -> &[u8] { in root_digest() method
/packages/modules/Virtualization/microdroid/payload/
Dmetadata.proto49 bytes root_digest = 4; field
/packages/modules/Virtualization/apkdmverity/src/
Dmain.rs138 .root_digest(if let Some(roothash) = roothash { in enable_verity()
/packages/modules/Virtualization/virtualizationmanager/src/
Daidl.rs681 let root_digest = hex::encode(descriptor.to_hashtree()?.root_digest()); in extract_vendor_hashtree_digest() localVariable
682 return Ok(Some(root_digest.as_bytes().to_vec())); in extract_vendor_hashtree_digest()