Home
last modified time | relevance | path

Searched refs:FsverityError (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/authfs/src/fsverity/
Dverifier.rs20 use super::common::{build_fsverity_digest, merkle_tree_height, FsverityError, SHA256_HASH_SIZE};
42 ) -> Result<HashBuffer, FsverityError> { in verity_check() argument
63 return Err(FsverityError::CannotVerify); in verity_check()
79 ) -> Result<impl Iterator<Item = Result<([u8; 4096], usize), FsverityError>> + '_, FsverityError> { in fsverity_walk() argument
130 ) -> Result<VerifiedFileReader<F, M>, FsverityError> { in new() argument
138 return Err(FsverityError::InsufficientData(size)); in new()
146 Err(FsverityError::InvalidDigest) in new()
Dbuilder.rs18 build_fsverity_digest, merkle_tree_height, FsverityError, Sha256Hash, SHA256_HASH_SIZE,
113 fn calculate_root_hash(&self) -> Result<Sha256Hash, FsverityError> { in calculate_root_hash() argument
134 Err(FsverityError::InvalidState) in calculate_root_hash()
143 pub fn calculate_fsverity_digest(&self) -> Result<Sha256Hash, FsverityError> { in calculate_fsverity_digest() argument
Dcommon.rs32 pub enum FsverityError { enum