Searched defs:Sha256Hash (Results 1 – 4 of 4) sorted by relevance
37 fn hash_all_pages(source: &[Sha256Hash]) -> Result<Vec<Sha256Hash>, CryptoError> { in hash_all_pages()73 pub fn update_hash(&mut self, index: usize, hash: &Sha256Hash, size_at_least: u64) { in update_hash()101 fn calculate_root_hash(&self) -> Result<Sha256Hash, FsverityError> { in calculate_root_hash()132 pub fn calculate_fsverity_digest(&self) -> Result<Sha256Hash, FsverityError> { in calculate_fsverity_digest()247 fn generate_fsverity_digest_sequentially(test_data: &[u8]) -> Result<Sha256Hash> { in generate_fsverity_digest_sequentially()
56 root_hash: &Sha256Hash, in build_fsverity_digest()58 ) -> Result<Sha256Hash, CryptoError> { in build_fsverity_digest()
93 pub fn calculate_fsverity_digest(&self) -> io::Result<Sha256Hash> { in calculate_fsverity_digest()104 ) -> io::Result<Sha256Hash> { in new_hash_for_incomplete_write()136 ) -> io::Result<Sha256Hash> { in new_chunk_hash()
29 pub type Sha256Hash = [u8; Sha256Hasher::HASH_SIZE]; typedef