Searched refs:expected_pkt (Results 1 – 1 of 1) sorted by relevance
1527 is_server: bool, expected_pkt: &[u8], in assert_encrypt_initial_pkt()1534 let mut out = vec![0; expected_pkt.len()]; in assert_encrypt_initial_pkt()1555 assert_eq!(written, expected_pkt.len()); in assert_encrypt_initial_pkt()1556 assert_eq!(&out[..written], &expected_pkt[..]); in assert_encrypt_initial_pkt()2133 let expected_pkt = [ in encrypt_chacha20() localVariable2143 let mut out = vec![0; expected_pkt.len()]; in encrypt_chacha20()2169 assert_eq!(written, expected_pkt.len()); in encrypt_chacha20()2170 assert_eq!(&out[..written], &expected_pkt[..]); in encrypt_chacha20()