Lines Matching refs:short_conn_id_len
186 size_t short_conn_id_len, in ossl_quic_wire_decode_pkt_hdr() argument
213 if (short_conn_id_len > QUIC_MAX_CONN_ID_LEN) in ossl_quic_wire_decode_pkt_hdr()
234 if (!PACKET_copy_bytes(pkt, hdr->dst_conn_id.id, short_conn_id_len)) in ossl_quic_wire_decode_pkt_hdr()
237 hdr->dst_conn_id.id_len = (unsigned char)short_conn_id_len; in ossl_quic_wire_decode_pkt_hdr()
458 size_t short_conn_id_len, in ossl_quic_wire_encode_pkt_hdr() argument
482 && hdr->dst_conn_id.id_len != short_conn_id_len)) in ossl_quic_wire_encode_pkt_hdr()
492 if (hdr->dst_conn_id.id_len != short_conn_id_len in ossl_quic_wire_encode_pkt_hdr()
493 || short_conn_id_len > QUIC_MAX_CONN_ID_LEN in ossl_quic_wire_encode_pkt_hdr()
504 || !WPACKET_memcpy(pkt, hdr->dst_conn_id.id, short_conn_id_len) in ossl_quic_wire_encode_pkt_hdr()
593 int ossl_quic_wire_get_encoded_pkt_hdr_len(size_t short_conn_id_len, in ossl_quic_wire_get_encoded_pkt_hdr_len() argument
601 && hdr->dst_conn_id.id_len != short_conn_id_len)) in ossl_quic_wire_get_encoded_pkt_hdr_len()
611 if (hdr->dst_conn_id.id_len != short_conn_id_len in ossl_quic_wire_get_encoded_pkt_hdr_len()
612 || short_conn_id_len > QUIC_MAX_CONN_ID_LEN in ossl_quic_wire_get_encoded_pkt_hdr_len()
616 return 1 + short_conn_id_len + hdr->pn_len; in ossl_quic_wire_get_encoded_pkt_hdr_len()
657 size_t short_conn_id_len, in ossl_quic_wire_get_pkt_hdr_dst_conn_id() argument
664 || short_conn_id_len > QUIC_MAX_CONN_ID_LEN) in ossl_quic_wire_get_pkt_hdr_dst_conn_id()
696 if (buf_len < QUIC_MIN_VALID_PKT_LEN_CRYPTO + short_conn_id_len) in ossl_quic_wire_get_pkt_hdr_dst_conn_id()
699 dst_conn_id->id_len = (unsigned char)short_conn_id_len; in ossl_quic_wire_get_pkt_hdr_dst_conn_id()
700 memcpy(dst_conn_id->id, buf + 1, short_conn_id_len); in ossl_quic_wire_get_pkt_hdr_dst_conn_id()