Home
last modified time | relevance | path

Searched defs:Sha256Hash (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/authfs/src/fsverity/
Dcommon.rs29 pub type Sha256Hash = [u8; SHA256_HASH_SIZE]; typedef
71 pub fn build_fsverity_digest(root_hash: &Sha256Hash, file_size: u64) -> Sha256Hash { in build_fsverity_digest()
Dbuilder.rs44 fn hash_all_pages(source: &[Sha256Hash]) -> Vec<Sha256Hash> { in hash_all_pages()
85 pub fn update_hash(&mut self, index: usize, hash: &Sha256Hash, size_at_least: u64) { in update_hash()
113 fn calculate_root_hash(&self) -> Result<Sha256Hash, FsverityError> { in calculate_root_hash()
143 pub fn calculate_fsverity_digest(&self) -> Result<Sha256Hash, FsverityError> { in calculate_fsverity_digest()
259 fn generate_fsverity_digest_sequentially(test_data: &[u8]) -> Result<Sha256Hash> { in generate_fsverity_digest_sequentially()
Deditor.rs90 pub fn calculate_fsverity_digest(&self) -> io::Result<Sha256Hash> { in calculate_fsverity_digest()
131 ) -> io::Result<Sha256Hash> { in new_hash_for_incomplete_write()
163 ) -> io::Result<Sha256Hash> { in new_chunk_hash()