Lines Matching refs:Ok
53 return Ok(chunk_hash); in verity_check()
65 Ok(hash_with_padding(&merkle_chunk, CHUNK_SIZE as usize)) in verity_check()
107 Ok(root_to_leaf_steps.into_iter().rev().map(move |(chunk_index, hash_offset_in_chunk)| {
113 Ok((merkle_chunk, hash_offset_in_chunk))
144 Ok(VerifiedFileReader { chunked_file, file_size, merkle_tree, root_hash }) in new()
159 Ok(size) in read_chunk()
182 Ok(LocalFileReader { file, size }) in new()
194 return Ok(0); in read_chunk()
200 Ok(read_size) in read_chunk()
228 Ok(( in new_reader_with_fsverity()
248 Ok(()) in fsverity_verify_full_read_4k()
260 Ok(()) in fsverity_verify_full_read_4k1()
272 Ok(()) in fsverity_verify_full_read_4m()
291 Ok(()) in fsverity_verify_bad_merkle_tree()