Searched refs:pn_len (Results 1 – 9 of 9) sorted by relevance
/openssl/ssl/quic/ |
H A D | quic_wire_pkt.c | 142 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 D | quic_trace.c | 615 for (i = 0; i < hdr.pn_len; i++) in ossl_quic_trace()
|
H A D | quic_record_tx.c | 676 hdr->pn_len)) { in qtx_write()
|
H A D | quic_record_rx.c | 531 if (!ossl_quic_wire_decode_pkt_hdr_pn(rxe->hdr.pn, rxe->hdr.pn_len, in qrx_validate_hdr()
|
H A D | quic_txp.c | 1223 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 D | quic_record_test_util.h | 27 || !TEST_int_eq(a->pn_len, b->pn_len) in cmp_pkt_hdr()
|
H A D | quic_wire_test.c | 1491 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 D | quic_record_test.c | 2884 } 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 D | quic_wire_pkt.h | 328 unsigned int pn_len :4; member
|
Completed in 58 milliseconds