Lines Matching refs:OctetsMut
187 let mut b = octets::OctetsMut::with_slice(buf); in from_slice()
192 b: &mut octets::OctetsMut, dcid_len: usize, in from_bytes() argument
287 pub(crate) fn to_bytes(&self, out: &mut octets::OctetsMut) -> Result<()> { in to_bytes()
424 b: &mut octets::OctetsMut, hdr: &mut Header, aead: &crypto::Open, in decrypt_hdr() argument
501 b: &'a mut octets::OctetsMut, pn: u64, pn_len: usize, payload_len: usize, in decrypt_pkt() argument
521 b: &mut octets::OctetsMut, pn_len: usize, payload: &[u8], aead: &crypto::Seal, in encrypt_hdr() argument
546 b: &mut octets::OctetsMut, pn: u64, pn_len: usize, payload_len: usize, in encrypt_pkt() argument
560 pub fn encode_pkt_num(pn: u64, b: &mut octets::OctetsMut) -> Result<()> { in encode_pkt_num()
581 let mut b = octets::OctetsMut::with_slice(out); in negotiate_version()
603 let mut b = octets::OctetsMut::with_slice(out); in retry()
631 b: &octets::OctetsMut, odcid: &[u8], version: u32, in verify_retry_integrity() argument
645 b: &octets::OctetsMut, odcid: &[u8], version: u32, in compute_retry_integrity_tag() argument
676 let mut pb = octets::OctetsMut::with_slice(&mut pseudo); in compute_retry_integrity_tag()
837 let mut b = octets::OctetsMut::with_slice(&mut d); in retry()
843 let mut b = octets::OctetsMut::with_slice(&mut d); in retry()
863 let mut b = octets::OctetsMut::with_slice(&mut d); in initial()
866 let mut b = octets::OctetsMut::with_slice(&mut d); in initial()
889 let mut b = octets::OctetsMut::with_slice(&mut d); in initial_v1_dcid_too_long()
892 let mut b = octets::OctetsMut::with_slice(&mut d); in initial_v1_dcid_too_long()
915 let mut b = octets::OctetsMut::with_slice(&mut d); in initial_v1_scid_too_long()
918 let mut b = octets::OctetsMut::with_slice(&mut d); in initial_v1_scid_too_long()
941 let mut b = octets::OctetsMut::with_slice(&mut d); in initial_non_v1_scid_long()
944 let mut b = octets::OctetsMut::with_slice(&mut d); in initial_non_v1_scid_long()
964 let mut b = octets::OctetsMut::with_slice(&mut d); in handshake()
967 let mut b = octets::OctetsMut::with_slice(&mut d); in handshake()
987 let mut b = octets::OctetsMut::with_slice(&mut d); in application()
990 let mut b = octets::OctetsMut::with_slice(&mut d); in application()
1110 let mut b = octets::OctetsMut::with_slice(pkt); in assert_decrypt_initial_pkt()
1501 let mut b = octets::OctetsMut::with_slice(&mut pkt); in decrypt_chacha20()
1529 let mut b = octets::OctetsMut::with_slice(header); in assert_encrypt_initial_pkt()
1535 let mut b = octets::OctetsMut::with_slice(&mut out); in assert_encrypt_initial_pkt()
2138 let mut b = octets::OctetsMut::with_slice(&mut header); in encrypt_chacha20()
2144 let mut b = octets::OctetsMut::with_slice(&mut out); in encrypt_chacha20()
2176 let mut b = octets::OctetsMut::with_slice(&mut buf); in decrypt_pkt_underflow()