Home
last modified time | relevance | path

Searched refs:pn_len (Results 1 – 9 of 9) sorted by relevance

/openssl/ssl/quic/
H A Dquic_wire_pkt.c142 unsigned char mask[5], pn_len, i; in ossl_quic_hdr_protector_decrypt_fields() local
150 for (i = 0; i < pn_len; ++i) in ossl_quic_hdr_protector_decrypt_fields()
178 for (i = 0; i < pn_len; ++i) in ossl_quic_hdr_protector_encrypt_fields()
359 hdr->pn_len = 0; in ossl_quic_wire_decode_pkt_hdr()
494 || hdr->pn_len < 1 || hdr->pn_len > 4) in ossl_quic_wire_encode_pkt_hdr()
499 | (hdr->pn_len - 1) in ossl_quic_wire_encode_pkt_hdr()
517 && (hdr->pn_len < 1 || hdr->pn_len > 4)) in ossl_quic_wire_encode_pkt_hdr()
541 b0 |= hdr->pn_len - 1; in ossl_quic_wire_encode_pkt_hdr()
613 || hdr->pn_len < 1 || hdr->pn_len > 4) in ossl_quic_wire_get_encoded_pkt_hdr_len()
629 if (hdr->pn_len < 1 || hdr->pn_len > 4) in ossl_quic_wire_get_encoded_pkt_hdr_len()
[all …]
H A Dquic_trace.c615 for (i = 0; i < hdr.pn_len; i++) in ossl_quic_trace()
H A Dquic_record_tx.c676 hdr->pn_len)) { in qtx_write()
H A Dquic_record_rx.c531 if (!ossl_quic_wire_decode_pkt_hdr_pn(rxe->hdr.pn, rxe->hdr.pn_len, in qrx_validate_hdr()
H A Dquic_txp.c1223 phdr->pn_len = txp_determine_pn_len(txp); in txp_determine_geometry()
1251 phdr->len = OSSL_QUIC_VLINT_2B_MAX - phdr->pn_len; in txp_determine_geometry()
/openssl/test/
H A Dquic_record_test_util.h27 || !TEST_int_eq(a->pn_len, b->pn_len) in cmp_pkt_hdr()
H A Dquic_wire_test.c1491 int pn_len; in test_wire_pkt_hdr_pn() local
1494 pn_len = ossl_quic_wire_determine_pn_len(t->pn, t->tx_largest_acked); in test_wire_pkt_hdr_pn()
1495 if (!TEST_int_eq(pn_len, (int)t->expected_len)) in test_wire_pkt_hdr_pn()
1498 if (!TEST_true(ossl_quic_wire_encode_pkt_hdr_pn(t->pn, buf, pn_len))) in test_wire_pkt_hdr_pn()
1501 if (!TEST_mem_eq(t->expected_bytes, t->expected_len, buf, pn_len)) in test_wire_pkt_hdr_pn()
1504 if (!TEST_true(ossl_quic_wire_decode_pkt_hdr_pn(buf, pn_len, in test_wire_pkt_hdr_pn()
H A Dquic_record_test.c2884 } else if (i >= t->pn_offset && i < t->pn_offset + t->hdr.pn_len) { in test_wire_pkt_hdr_actual()
/openssl/include/internal/
H A Dquic_wire_pkt.h328 unsigned int pn_len :4; member

Completed in 58 milliseconds