Lines Matching refs:Ok
61 Ok(hash_with_padding(&merkle_chunk, CHUNK_SIZE as usize)?) in verity_check()
103 Ok(root_to_leaf_steps.into_iter().rev().map(move |(chunk_index, hash_offset_in_chunk)| {
109 Ok((merkle_chunk, hash_offset_in_chunk))
125 Ok(formatted_digest)
152 Ok(VerifiedFileReader { chunked_file, file_size, merkle_tree, root_hash }) in new()
167 Ok(size) in read_chunk()
199 Ok(( in new_reader_with_fsverity()
217 Ok(()) in fsverity_verify_full_read_4k()
232 Ok(()) in fsverity_verify_full_read_4k1()
247 Ok(()) in fsverity_verify_full_read_4m()
267 Ok(()) in fsverity_verify_bad_merkle_tree()
279 Ok(()) in invalid_signature()