Searched refs:PvmfwVerifyError (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Virtualization/pvmfw/avb/src/ |
D | error.rs | 24 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
|
D | verify.rs | 19 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
|
D | lib.rs | 26 pub use error::PvmfwVerifyError;
|
/packages/modules/Virtualization/pvmfw/avb/tests/ |
D | api_test.rs | 22 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()
|
D | utils.rs | 26 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
|