Searched refs:orig_data (Results 1 – 1 of 1) sorted by relevance
135 let mut orig_data = [0u8; CHUNK_SIZE as usize]; in new_hash_for_incomplete_write() localVariable140 self.read_backing_chunk_unverified(output_chunk_index as u64, &mut orig_data)?; in new_hash_for_incomplete_write()143 let hash = sha256(&orig_data); in new_hash_for_incomplete_write()150 ctx.update(&orig_data[..offset_from_alignment]); in new_hash_for_incomplete_write()152 ctx.update(&orig_data[offset_from_alignment + source.len()..]); in new_hash_for_incomplete_write()