Lines Matching refs:dcid
142 pub dcid: Vec<u8>, field
198 let dcid = b.get_bytes(dcid_len)?; in from_bytes() localVariable
203 dcid: dcid.to_vec(), in from_bytes()
232 let dcid = b.get_bytes(dcid_len as usize)?.to_vec(); in from_bytes() localVariable
277 dcid, in from_bytes()
309 out.put_bytes(&self.dcid)?; in to_bytes()
329 out.put_u8(self.dcid.len() as u8)?; in to_bytes()
330 out.put_bytes(&self.dcid)?; in to_bytes()
379 for b in &self.dcid { in fmt()
579 scid: &[u8], dcid: &[u8], out: &mut [u8], in negotiate_version()
590 b.put_u8(dcid.len() as u8)?; in negotiate_version()
591 b.put_bytes(&dcid)?; in negotiate_version()
600 scid: &[u8], dcid: &[u8], new_scid: &[u8], token: &[u8], version: u32, in retry()
612 dcid: scid.to_vec(), in retry()
623 let tag = compute_retry_integrity_tag(&b, dcid, version)?; in retry()
826 dcid: vec![0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba], in retry()
852 dcid: vec![0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba], in initial()
875 dcid: vec![ in initial_v1_dcid_too_long()
901 dcid: vec![0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba], in initial_v1_scid_too_long()
927 dcid: vec![0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba], in initial_non_v1_scid_long()
953 dcid: vec![0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba], in handshake()
976 dcid: vec![0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba, 0xba], in application()
1107 pkt: &mut [u8], dcid: &[u8], is_server: bool, expected_frames: &[u8], in assert_decrypt_initial_pkt()
1118 crypto::derive_initial_key_material(dcid, hdr.version, is_server) in assert_decrypt_initial_pkt()
1249 let dcid = [0x83, 0x94, 0xc8, 0xf0, 0x3e, 0x51, 0x57, 0x08]; in decrypt_client_initial() localVariable
1273 assert_decrypt_initial_pkt(&mut pkt, &dcid, true, &frames, 2, 4); in decrypt_client_initial()
1391 let dcid = [0x83, 0x94, 0xc8, 0xf0, 0x3e, 0x51, 0x57, 0x08]; in decrypt_client_initial_old() localVariable
1415 assert_decrypt_initial_pkt(&mut pkt, &dcid, true, &frames, 2, 4); in decrypt_client_initial_old()
1436 let dcid = [0x83, 0x94, 0xc8, 0xf0, 0x3e, 0x51, 0x57, 0x08]; in decrypt_server_initial() localVariable
1450 assert_decrypt_initial_pkt(&mut pkt, &dcid, false, &frames, 1, 2); in decrypt_server_initial()
1471 let dcid = [0x83, 0x94, 0xc8, 0xf0, 0x3e, 0x51, 0x57, 0x08]; in decrypt_server_initial_old() localVariable
1485 assert_decrypt_initial_pkt(&mut pkt, &dcid, false, &frames, 1, 2); in decrypt_server_initial_old()
1526 header: &mut [u8], dcid: &[u8], frames: &[u8], pn: u64, pn_len: usize, in assert_encrypt_initial_pkt()
1540 crypto::derive_initial_key_material(dcid, hdr.version, is_server) in assert_encrypt_initial_pkt()
1566 let dcid = [0x83, 0x94, 0xc8, 0xf0, 0x3e, 0x51, 0x57, 0x08]; in encrypt_client_initial() localVariable
1792 &dcid, in encrypt_client_initial()
1808 let dcid = [0x83, 0x94, 0xc8, 0xf0, 0x3e, 0x51, 0x57, 0x08]; in encrypt_client_initial_old() localVariable
2034 &dcid, in encrypt_client_initial_old()
2050 let dcid = [0x83, 0x94, 0xc8, 0xf0, 0x3e, 0x51, 0x57, 0x08]; in encrypt_server_initial() localVariable
2080 assert_encrypt_initial_pkt(&mut header, &dcid, &frames, 1, 2, true, &pkt); in encrypt_server_initial()
2090 let dcid = [0x83, 0x94, 0xc8, 0xf0, 0x3e, 0x51, 0x57, 0x08]; in encrypt_server_initial_old() localVariable
2120 assert_encrypt_initial_pkt(&mut header, &dcid, &frames, 1, 2, true, &pkt); in encrypt_server_initial_old()
2181 dcid: Vec::new(), in decrypt_pkt_underflow()