Lines Matching refs:pkt_num_len
153 pub(crate) pkt_num_len: usize, field
206 pkt_num_len: 0, in from_bytes()
280 pkt_num_len: 0, in from_bytes()
291 first |= self.pkt_num_len.saturating_sub(1) as u8; in to_bytes()
409 pub fn pkt_num_len(pn: u64) -> Result<usize> { in pkt_num_len() function
471 hdr.pkt_num_len = pn_len; in decrypt_hdr()
561 let len = pkt_num_len(pn)?; in encode_pkt_num()
615 pkt_num_len: 0, in retry()
829 pkt_num_len: 0, in retry()
855 pkt_num_len: 0, in initial()
881 pkt_num_len: 0, in initial_v1_dcid_too_long()
907 pkt_num_len: 0, in initial_v1_scid_too_long()
933 pkt_num_len: 0, in initial_non_v1_scid_long()
956 pkt_num_len: 0, in handshake()
979 pkt_num_len: 0, in application()
1122 assert_eq!(hdr.pkt_num_len, expected_pn_len); in assert_decrypt_initial_pkt()
1124 let pn = decode_pkt_num(0, hdr.pkt_num, hdr.pkt_num_len); in assert_decrypt_initial_pkt()
1128 decrypt_pkt(&mut b, pn, hdr.pkt_num_len, payload_len, &aead).unwrap(); in assert_decrypt_initial_pkt()
1513 assert_eq!(hdr.pkt_num_len, 3); in decrypt_chacha20()
1515 let pn = decode_pkt_num(654_360_564, hdr.pkt_num, hdr.pkt_num_len); in decrypt_chacha20()
1519 decrypt_pkt(&mut b, pn, hdr.pkt_num_len, payload_len, &aead).unwrap(); in decrypt_chacha20()
2184 pkt_num_len: 0, in decrypt_pkt_underflow()