Home
last modified time | relevance | path

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

/packages/modules/Virtualization/service_vm/requests/src/
Ddice.rs292 pub(crate) authority_hash: [u8; HASH_SIZE], field
334 let authority_hash = in from_slice() localVariable
336 builder.authority_hash(authority_hash)?; in from_slice()
428 pub(crate) authority_hash: Vec<u8>, field
450 builder.authority_hash(value_to_bytes(value, "SubComponent authority_hash")?)? in try_from()
467 authority_hash: OnceCell<Vec<u8>>, field
483 fn authority_hash(&mut self, authority_hash: Vec<u8>) -> Result<()> { in authority_hash() method
484 set_once(&self.authority_hash, authority_hash, "SubComponent authority_hash") in authority_hash()
491 let authority_hash = take_value(&mut self.authority_hash, "SubComponent authority_hash")?; in build() localVariable
492 Ok(SubComponent { name, version, code_hash, authority_hash }) in build()
[all …]
Dcert.rs92 authority_hash: &'a [u8], field
101 authority_hash: &sub_component.authority_hash, in new()
Dclient_vm.rs213 if expected_kernel_authority_hash(service_vm_entry)? == kernel.authority_hash { in validate_kernel_authority_hash()
262 Ok(service_vm.authority_hash)
/packages/modules/Virtualization/microdroid_manager/src/
Ddice.rs50 let authority_hash = authority_hash_ctx.finish(); in dice_derivation() localVariable
61 dice.derive(code_hash, &config_descriptor, authority_hash, debuggable, hidden) in dice_derivation()
91 authority_hash: Vec<u8>, field
100 4 => Value::Bytes(self.authority_hash), in into_value()
109 authority_hash: apk.cert_hash.clone(), in for_apk()
120 authority_hash: sha512(&apex.public_key).to_vec(), in for_apex()
223 authority_hash: vec![17], in payload_metadata_with_subcomponents_formats_correctly()
229 authority_hash: vec![19, 20], in payload_metadata_with_subcomponents_formats_correctly()
/packages/modules/Virtualization/service_vm/fake_chain/src/
Dclient_vm.rs72 pub authority_hash: Vec<u8>, field
81 4 => Value::Bytes(self.authority_hash.clone()), in to_value()
107 let authority_hash = service_vm::AUTHORITY_HASH_SERVICE_VM; in fake_client_vm_dice_artifacts() localVariable
111 authority_hash, in fake_client_vm_dice_artifacts()
167 authority_hash: APK1_AUTHORITY_HASH.to_vec(), in fake_sub_components()
173 authority_hash: APEX1_AUTHORITY_HASH.to_vec(), in fake_sub_components()
/packages/modules/Virtualization/libs/dice/driver/src/
Dlib.rs135 authority_hash: Hash, in derive()
142 authority_hash, in derive()
242 let authority_hash = hash(&String::from("test authority hash").into_bytes())?; in test_dice_driver_from_file_deletes_file_after_derive() localVariable
245 let _ = dice.derive(code_hash, &desc, authority_hash, false, hidden)?; in test_dice_driver_from_file_deletes_file_after_derive()
/packages/modules/Virtualization/microdroid/derive_microdroid_vendor_dice_node/src/
Dmain.rs70 let authority_hash = if let Some(pubkey) = vbmeta.public_key() { in dice_derivation() localVariable
87 dice.derive(code_hash, &desc, authority_hash, /* debug= */ false, hidden) in dice_derivation()
/packages/modules/Virtualization/libs/dice/open_dice/src/
Ddice.rs191 authority_hash: Hash, in new()
204 authority_hash, in new()
/packages/modules/Virtualization/rialto/tests/
Dtest.rs207 let authority_hash = vm_component.get(3).unwrap().decode_as::<asn1::OctetString>().unwrap(); in check_vm_component() localVariable
208 assert_eq!(expected_component.authority_hash, authority_hash.as_bytes()); in check_vm_component()