Home
last modified time | relevance | path

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

/external/avb/rust/src/descriptor/
Dhash.rs29 pub struct HashDescriptor<'a> { struct
61 impl<'a> HashDescriptor<'a> { implementation
110 assert!(HashDescriptor::new(&test_contents()).is_ok()); in new_hash_descriptor_success()
117 HashDescriptor::new(&test_contents()[..bad_header_size]).unwrap_err(), in new_hash_descriptor_too_short_header_fails()
127 HashDescriptor::new(&test_contents()[..bad_contents_size]).unwrap_err(), in new_hash_descriptor_too_short_contents_fails()
Dmod.rs43 pub use hash::{HashDescriptor, HashDescriptorFlags};
55 Hash(HashDescriptor<'a>),
139 Ok(Descriptor::Hash(HashDescriptor::new(contents)?)) in new()
/external/avb/rust/src/
Dlib.rs43 DescriptorResult, HashDescriptor, HashDescriptorFlags, HashtreeDescriptor,
/external/avb/rust/tests/
Dverify_tests.rs25 HashDescriptor, HashDescriptorFlags, HashtreeDescriptor, HashtreeDescriptorFlags,
737 &Descriptor::Hash(HashDescriptor { in verify_hash_descriptor()