Home
last modified time | relevance | path

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

/packages/modules/Virtualization/pvmfw/avb/src/
Derror.rs24 pub enum PvmfwVerifyError { enum
33 impl From<SlotVerifyError<'_>> for PvmfwVerifyError { implementation
40 impl From<DescriptorError> for PvmfwVerifyError { implementation
46 impl fmt::Display for PvmfwVerifyError { implementation
Dverify.rs19 use crate::PvmfwVerifyError;
83 fn get_capabilities(descriptor: &PropertyDescriptor) -> Result<Vec<Self>, PvmfwVerifyError> { in get_capabilities() argument
85 return Err(PvmfwVerifyError::UnknownVbmetaProperty); in get_capabilities()
94 _ => return Err(PvmfwVerifyError::UnknownVbmetaProperty), in get_capabilities()
147 ) -> Result<Vec<Capability>, PvmfwVerifyError> { in verify_property_and_get_capabilities() argument
215 fn verify_no_initrd(&self) -> Result<(), PvmfwVerifyError> { in verify_no_initrd() argument
253 ) -> Result<VerifiedBootData<'a>, PvmfwVerifyError> { in verify_payload() argument
Dlib.rs26 pub use error::PvmfwVerifyError;
/packages/modules/Virtualization/pvmfw/avb/tests/
Dapi_test.rs22 use pvmfw_avb::{verify_payload, Capability, DebugLevel, PvmfwVerifyError, VerifiedBootData};
91 PvmfwVerifyError::InvalidDescriptors(DescriptorError::InvalidContents), in payload_with_non_initrd_descriptor_fails_verification_with_no_initrd()
101 PvmfwVerifyError::InvalidDescriptors(DescriptorError::InvalidContents), in payload_with_non_initrd_descriptor_fails_verification_with_initrd()
135 PvmfwVerifyError::UnknownVbmetaProperty, in payload_with_unknown_vm_type_fails_verification_with_no_initrd()
145 PvmfwVerifyError::InvalidDescriptors(DescriptorError::InvalidContents), in payload_with_multiple_props_fails_verification_with_no_initrd()
165 PvmfwVerifyError::UnknownVbmetaProperty, in payload_with_prop_descriptor_fails_verification_with_no_initrd()
Dutils.rs26 verify_payload, Capability, DebugLevel, Digest, PvmfwVerifyError, VerifiedBootData,
44 expected_error: PvmfwVerifyError, in assert_payload_verification_with_initrd_fails() argument
53 expected_error: PvmfwVerifyError, in assert_payload_verification_fails() argument