Home
last modified time | relevance | path

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

/external/rust/crates/ring/src/aead/
Dchacha.rs168 let mut in_out_buf = vec![0u8; input.len() + 276]; in chacha20_tests() localVariable
181 &mut in_out_buf, in chacha20_tests()
196 in_out_buf: &mut [u8], in chacha20_test_case_inner()
205 in_out_buf.as_mut_ptr(), in chacha20_test_case_inner()
208 assert_eq!(&in_out_buf[..len], expected); in chacha20_test_case_inner()
222 in_out_buf[alignment + offset..][..len].copy_from_slice(input); in chacha20_test_case_inner()
224 key.encrypt_overlapping(ctr, &mut in_out_buf[alignment..], offset); in chacha20_test_case_inner()
225 assert_eq!(&in_out_buf[alignment..][..len], expected); in chacha20_test_case_inner()