Home
last modified time | relevance | path

Searched refs:sample_len (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/ring/tests/
Dquic_tests.rs74 let sample_len = 16; in test_sample_len() localVariable
75 let sample_data = vec![0u8; sample_len + 2]; in test_sample_len()
78 assert!(key.new_mask(&sample_data[..sample_len]).is_ok()); in test_sample_len()
81 assert!(key.new_mask(&sample_data[..(sample_len - 1)]).is_err()); in test_sample_len()
84 assert!(key.new_mask(&sample_data[..(sample_len + 1)]).is_err()); in test_sample_len()
/external/rust/crates/ring/src/aead/
Dquic.rs109 pub fn sample_len(&self) -> usize { in sample_len() method