/src/openssl/include/internal/packet.h
Line | Count | Source |
1 | | /* |
2 | | * Copyright 2015-2026 The OpenSSL Project Authors. All Rights Reserved. |
3 | | * |
4 | | * Licensed under the Apache License 2.0 (the "License"). You may not use |
5 | | * this file except in compliance with the License. You can obtain a copy |
6 | | * in the file LICENSE in the source distribution or at |
7 | | * https://www.openssl.org/source/license.html |
8 | | */ |
9 | | |
10 | | #ifndef OSSL_INTERNAL_PACKET_H |
11 | | #define OSSL_INTERNAL_PACKET_H |
12 | | #pragma once |
13 | | |
14 | | #include <string.h> |
15 | | #include <openssl/bn.h> |
16 | | #include <openssl/buffer.h> |
17 | | #include <openssl/crypto.h> |
18 | | #include <openssl/e_os2.h> |
19 | | |
20 | | #include "internal/numbers.h" |
21 | | |
22 | | typedef struct { |
23 | | /* Pointer to where we are currently reading from */ |
24 | | const unsigned char *curr; |
25 | | /* Pointer to the start of the message */ |
26 | | const unsigned char *msgstart; |
27 | | /* Number of bytes remaining */ |
28 | | size_t remaining; |
29 | | } PACKET; |
30 | | |
31 | | /* Internal unchecked shorthand; don't use outside this file. */ |
32 | | static ossl_inline void packet_forward(PACKET *pkt, size_t len) |
33 | 161M | { |
34 | 161M | pkt->curr += len; |
35 | 161M | pkt->remaining -= len; |
36 | 161M | } Unexecuted instantiation: params.c:packet_forward Unexecuted instantiation: encode_key2any.c:packet_forward Unexecuted instantiation: hkdf.c:packet_forward Unexecuted instantiation: x942kdf.c:packet_forward Unexecuted instantiation: ml_kem_kmgmt.c:packet_forward Unexecuted instantiation: dsa_sig.c:packet_forward Unexecuted instantiation: ecdsa_sig.c:packet_forward Unexecuted instantiation: eddsa_sig.c:packet_forward Unexecuted instantiation: ml_dsa_sig.c:packet_forward Unexecuted instantiation: rsa_sig.c:packet_forward Unexecuted instantiation: slh_dsa_sig.c:packet_forward Unexecuted instantiation: sm2_sig.c:packet_forward Unexecuted instantiation: der_dsa_sig.c:packet_forward Unexecuted instantiation: der_ec_sig.c:packet_forward Unexecuted instantiation: der_ecx_key.c:packet_forward Unexecuted instantiation: der_hkdf_gen.c:packet_forward Unexecuted instantiation: der_ml_dsa_key.c:packet_forward Unexecuted instantiation: der_rsa_key.c:packet_forward Unexecuted instantiation: der_slh_dsa_key.c:packet_forward Unexecuted instantiation: der_wrap_gen.c:packet_forward Unexecuted instantiation: dsa_asn1.c:packet_forward Unexecuted instantiation: dsa_sign.c:packet_forward Unexecuted instantiation: ec_asn1.c:packet_forward Unexecuted instantiation: hpke_util.c:packet_forward asn1_dsa.c:packet_forward Line | Count | Source | 33 | 505k | { | 34 | 505k | pkt->curr += len; | 35 | 505k | pkt->remaining -= len; | 36 | 505k | } |
Unexecuted instantiation: der_writer.c:packet_forward Unexecuted instantiation: packet.c:packet_forward ml_dsa_encoders.c:packet_forward Line | Count | Source | 33 | 1.06M | { | 34 | 1.06M | pkt->curr += len; | 35 | 1.06M | pkt->remaining -= len; | 36 | 1.06M | } |
Unexecuted instantiation: ml_dsa_key.c:packet_forward Unexecuted instantiation: ml_dsa_key_compress.c:packet_forward Unexecuted instantiation: ml_dsa_matrix.c:packet_forward Unexecuted instantiation: ml_dsa_ntt.c:packet_forward Unexecuted instantiation: ml_dsa_params.c:packet_forward Unexecuted instantiation: ml_dsa_sample.c:packet_forward Unexecuted instantiation: ml_dsa_sign.c:packet_forward Line | Count | Source | 33 | 7.24k | { | 34 | 7.24k | pkt->curr += len; | 35 | 7.24k | pkt->remaining -= len; | 36 | 7.24k | } |
Unexecuted instantiation: slh_dsa_hash_ctx.c:packet_forward Unexecuted instantiation: slh_dsa_key.c:packet_forward slh_fors.c:packet_forward Line | Count | Source | 33 | 577k | { | 34 | 577k | pkt->curr += len; | 35 | 577k | pkt->remaining -= len; | 36 | 577k | } |
Unexecuted instantiation: slh_hash.c:packet_forward Unexecuted instantiation: slh_hypertree.c:packet_forward slh_xmss.c:packet_forward Line | Count | Source | 33 | 130k | { | 34 | 130k | pkt->curr += len; | 35 | 130k | pkt->remaining -= len; | 36 | 130k | } |
Unexecuted instantiation: der_rsa_sig.c:packet_forward Unexecuted instantiation: der_sm2_sig.c:packet_forward Unexecuted instantiation: der_digests_gen.c:packet_forward Unexecuted instantiation: der_dsa_gen.c:packet_forward Unexecuted instantiation: der_ec_gen.c:packet_forward Unexecuted instantiation: der_ecx_gen.c:packet_forward Unexecuted instantiation: der_ml_dsa_gen.c:packet_forward Unexecuted instantiation: der_rsa_gen.c:packet_forward Unexecuted instantiation: der_slh_dsa_gen.c:packet_forward Unexecuted instantiation: punycode.c:packet_forward slh_wots.c:packet_forward Line | Count | Source | 33 | 1.60M | { | 34 | 1.60M | pkt->curr += len; | 35 | 1.60M | pkt->remaining -= len; | 36 | 1.60M | } |
Unexecuted instantiation: der_sm2_gen.c:packet_forward Unexecuted instantiation: quic-client.c:packet_forward Unexecuted instantiation: ssl_cert.c:packet_forward Unexecuted instantiation: ssl_ciph.c:packet_forward Unexecuted instantiation: ssl_init.c:packet_forward Line | Count | Source | 33 | 1.05M | { | 34 | 1.05M | pkt->curr += len; | 35 | 1.05M | pkt->remaining -= len; | 36 | 1.05M | } |
Unexecuted instantiation: ssl_mcnf.c:packet_forward Unexecuted instantiation: ssl_sess.c:packet_forward Line | Count | Source | 33 | 315k | { | 34 | 315k | pkt->curr += len; | 35 | 315k | pkt->remaining -= len; | 36 | 315k | } |
Unexecuted instantiation: tls13_enc.c:packet_forward Unexecuted instantiation: tls_depr.c:packet_forward Unexecuted instantiation: tls_srp.c:packet_forward Unexecuted instantiation: quic_impl.c:packet_forward Unexecuted instantiation: quic_method.c:packet_forward Unexecuted instantiation: quic_obj.c:packet_forward Unexecuted instantiation: quic_port.c:packet_forward quic_record_rx.c:packet_forward Line | Count | Source | 33 | 1.06M | { | 34 | 1.06M | pkt->curr += len; | 35 | 1.06M | pkt->remaining -= len; | 36 | 1.06M | } |
Unexecuted instantiation: quic_record_shared.c:packet_forward Unexecuted instantiation: quic_record_tx.c:packet_forward Unexecuted instantiation: quic_record_util.c:packet_forward Unexecuted instantiation: quic_rstream.c:packet_forward Unexecuted instantiation: quic_sf_list.c:packet_forward Unexecuted instantiation: quic_srtm.c:packet_forward Unexecuted instantiation: quic_sstream.c:packet_forward Unexecuted instantiation: quic_stream_map.c:packet_forward Unexecuted instantiation: quic_thread_assist.c:packet_forward Unexecuted instantiation: quic_tls.c:packet_forward Unexecuted instantiation: quic_txp.c:packet_forward Unexecuted instantiation: quic_txpim.c:packet_forward quic_wire.c:packet_forward Line | Count | Source | 33 | 10.2M | { | 34 | 10.2M | pkt->curr += len; | 35 | 10.2M | pkt->remaining -= len; | 36 | 10.2M | } |
quic_wire_pkt.c:packet_forward Line | Count | Source | 33 | 50.9M | { | 34 | 50.9M | pkt->curr += len; | 35 | 50.9M | pkt->remaining -= len; | 36 | 50.9M | } |
rec_layer_s3.c:packet_forward Line | Count | Source | 33 | 4.78k | { | 34 | 4.78k | pkt->curr += len; | 35 | 4.78k | pkt->remaining -= len; | 36 | 4.78k | } |
Unexecuted instantiation: dtls_meth.c:packet_forward Unexecuted instantiation: tls1_meth.c:packet_forward tls_common.c:packet_forward Line | Count | Source | 33 | 1.98M | { | 34 | 1.98M | pkt->curr += len; | 35 | 1.98M | pkt->remaining -= len; | 36 | 1.98M | } |
Unexecuted instantiation: tls_multib.c:packet_forward Unexecuted instantiation: tlsany_meth.c:packet_forward extensions.c:packet_forward Line | Count | Source | 33 | 1.22M | { | 34 | 1.22M | pkt->curr += len; | 35 | 1.22M | pkt->remaining -= len; | 36 | 1.22M | } |
extensions_clnt.c:packet_forward Line | Count | Source | 33 | 370k | { | 34 | 370k | pkt->curr += len; | 35 | 370k | pkt->remaining -= len; | 36 | 370k | } |
Unexecuted instantiation: extensions_cust.c:packet_forward extensions_srvr.c:packet_forward Line | Count | Source | 33 | 214k | { | 34 | 214k | pkt->curr += len; | 35 | 214k | pkt->remaining -= len; | 36 | 214k | } |
Line | Count | Source | 33 | 80.9k | { | 34 | 80.9k | pkt->curr += len; | 35 | 80.9k | pkt->remaining -= len; | 36 | 80.9k | } |
statem_clnt.c:packet_forward Line | Count | Source | 33 | 1.08M | { | 34 | 1.08M | pkt->curr += len; | 35 | 1.08M | pkt->remaining -= len; | 36 | 1.08M | } |
Unexecuted instantiation: statem_dtls.c:packet_forward statem_lib.c:packet_forward Line | Count | Source | 33 | 99.7k | { | 34 | 99.7k | pkt->curr += len; | 35 | 99.7k | pkt->remaining -= len; | 36 | 99.7k | } |
statem_srvr.c:packet_forward Line | Count | Source | 33 | 488k | { | 34 | 488k | pkt->curr += len; | 35 | 488k | pkt->remaining -= len; | 36 | 488k | } |
ech_helper.c:packet_forward Line | Count | Source | 33 | 34.6k | { | 34 | 34.6k | pkt->curr += len; | 35 | 34.6k | pkt->remaining -= len; | 36 | 34.6k | } |
Unexecuted instantiation: ech_internal.c:packet_forward Unexecuted instantiation: ech_store.c:packet_forward Unexecuted instantiation: d1_lib.c:packet_forward Unexecuted instantiation: d1_srtp.c:packet_forward Unexecuted instantiation: methods.c:packet_forward Unexecuted instantiation: pqueue.c:packet_forward Unexecuted instantiation: s3_enc.c:packet_forward Unexecuted instantiation: s3_lib.c:packet_forward Unexecuted instantiation: s3_msg.c:packet_forward Unexecuted instantiation: ssl_asn1.c:packet_forward Unexecuted instantiation: ssl_conf.c:packet_forward Unexecuted instantiation: ssl_rsa.c:packet_forward Unexecuted instantiation: t1_enc.c:packet_forward Unexecuted instantiation: qlog_event_helpers.c:packet_forward Unexecuted instantiation: quic_ackm.c:packet_forward quic_channel.c:packet_forward Line | Count | Source | 33 | 2.02k | { | 34 | 2.02k | pkt->curr += len; | 35 | 2.02k | pkt->remaining -= len; | 36 | 2.02k | } |
Unexecuted instantiation: quic_demux.c:packet_forward Unexecuted instantiation: quic_engine.c:packet_forward Unexecuted instantiation: quic_fifd.c:packet_forward Unexecuted instantiation: quic_lcidm.c:packet_forward Unexecuted instantiation: quic_rx_depack.c:packet_forward rec_layer_d1.c:packet_forward Line | Count | Source | 33 | 6.40k | { | 34 | 6.40k | pkt->curr += len; | 35 | 6.40k | pkt->remaining -= len; | 36 | 6.40k | } |
Unexecuted instantiation: tls13_meth.c:packet_forward Unexecuted instantiation: d1_msg.c:packet_forward Unexecuted instantiation: quic-server.c:packet_forward quic-srtm.c:packet_forward Line | Count | Source | 33 | 21.2M | { | 34 | 21.2M | pkt->curr += len; | 35 | 21.2M | pkt->remaining -= len; | 36 | 21.2M | } |
Unexecuted instantiation: ssl_txt.c:packet_forward quic-rcidm.c:packet_forward Line | Count | Source | 33 | 55.5M | { | 34 | 55.5M | pkt->curr += len; | 35 | 55.5M | pkt->remaining -= len; | 36 | 55.5M | } |
Unexecuted instantiation: quic_rcidm.c:packet_forward quic-lcidm.c:packet_forward Line | Count | Source | 33 | 11.2M | { | 34 | 11.2M | pkt->curr += len; | 35 | 11.2M | pkt->remaining -= len; | 36 | 11.2M | } |
|
37 | | |
38 | | /* |
39 | | * Returns the number of bytes remaining to be read in the PACKET |
40 | | */ |
41 | | static ossl_inline size_t PACKET_remaining(const PACKET *pkt) |
42 | 260M | { |
43 | 260M | return pkt->remaining; |
44 | 260M | } Unexecuted instantiation: params.c:PACKET_remaining Unexecuted instantiation: encode_key2any.c:PACKET_remaining Unexecuted instantiation: hkdf.c:PACKET_remaining Unexecuted instantiation: x942kdf.c:PACKET_remaining Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_remaining Unexecuted instantiation: dsa_sig.c:PACKET_remaining Unexecuted instantiation: ecdsa_sig.c:PACKET_remaining Unexecuted instantiation: eddsa_sig.c:PACKET_remaining Unexecuted instantiation: ml_dsa_sig.c:PACKET_remaining Unexecuted instantiation: rsa_sig.c:PACKET_remaining Unexecuted instantiation: slh_dsa_sig.c:PACKET_remaining Unexecuted instantiation: sm2_sig.c:PACKET_remaining Unexecuted instantiation: der_dsa_sig.c:PACKET_remaining Unexecuted instantiation: der_ec_sig.c:PACKET_remaining Unexecuted instantiation: der_ecx_key.c:PACKET_remaining Unexecuted instantiation: der_hkdf_gen.c:PACKET_remaining Unexecuted instantiation: der_ml_dsa_key.c:PACKET_remaining Unexecuted instantiation: der_rsa_key.c:PACKET_remaining Unexecuted instantiation: der_slh_dsa_key.c:PACKET_remaining Unexecuted instantiation: der_wrap_gen.c:PACKET_remaining Unexecuted instantiation: dsa_asn1.c:PACKET_remaining Unexecuted instantiation: dsa_sign.c:PACKET_remaining Unexecuted instantiation: ec_asn1.c:PACKET_remaining Unexecuted instantiation: hpke_util.c:PACKET_remaining asn1_dsa.c:PACKET_remaining Line | Count | Source | 42 | 584k | { | 43 | 584k | return pkt->remaining; | 44 | 584k | } |
Unexecuted instantiation: der_writer.c:PACKET_remaining Unexecuted instantiation: packet.c:PACKET_remaining ml_dsa_encoders.c:PACKET_remaining Line | Count | Source | 42 | 1.06M | { | 43 | 1.06M | return pkt->remaining; | 44 | 1.06M | } |
Unexecuted instantiation: ml_dsa_key.c:PACKET_remaining Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_remaining Unexecuted instantiation: ml_dsa_matrix.c:PACKET_remaining Unexecuted instantiation: ml_dsa_ntt.c:PACKET_remaining Unexecuted instantiation: ml_dsa_params.c:PACKET_remaining Unexecuted instantiation: ml_dsa_sample.c:PACKET_remaining Unexecuted instantiation: ml_dsa_sign.c:PACKET_remaining slh_dsa.c:PACKET_remaining Line | Count | Source | 42 | 8.28k | { | 43 | 8.28k | return pkt->remaining; | 44 | 8.28k | } |
Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_remaining Unexecuted instantiation: slh_dsa_key.c:PACKET_remaining slh_fors.c:PACKET_remaining Line | Count | Source | 42 | 577k | { | 43 | 577k | return pkt->remaining; | 44 | 577k | } |
Unexecuted instantiation: slh_hash.c:PACKET_remaining Unexecuted instantiation: slh_hypertree.c:PACKET_remaining slh_xmss.c:PACKET_remaining Line | Count | Source | 42 | 130k | { | 43 | 130k | return pkt->remaining; | 44 | 130k | } |
Unexecuted instantiation: der_rsa_sig.c:PACKET_remaining Unexecuted instantiation: der_sm2_sig.c:PACKET_remaining Unexecuted instantiation: der_digests_gen.c:PACKET_remaining Unexecuted instantiation: der_dsa_gen.c:PACKET_remaining Unexecuted instantiation: der_ec_gen.c:PACKET_remaining Unexecuted instantiation: der_ecx_gen.c:PACKET_remaining Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_remaining Unexecuted instantiation: der_rsa_gen.c:PACKET_remaining Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_remaining Unexecuted instantiation: punycode.c:PACKET_remaining slh_wots.c:PACKET_remaining Line | Count | Source | 42 | 1.60M | { | 43 | 1.60M | return pkt->remaining; | 44 | 1.60M | } |
Unexecuted instantiation: der_sm2_gen.c:PACKET_remaining Unexecuted instantiation: quic-client.c:PACKET_remaining Unexecuted instantiation: ssl_cert.c:PACKET_remaining Unexecuted instantiation: ssl_ciph.c:PACKET_remaining Unexecuted instantiation: ssl_init.c:PACKET_remaining ssl_lib.c:PACKET_remaining Line | Count | Source | 42 | 1.50M | { | 43 | 1.50M | return pkt->remaining; | 44 | 1.50M | } |
Unexecuted instantiation: ssl_mcnf.c:PACKET_remaining Unexecuted instantiation: ssl_sess.c:PACKET_remaining t1_lib.c:PACKET_remaining Line | Count | Source | 42 | 352k | { | 43 | 352k | return pkt->remaining; | 44 | 352k | } |
Unexecuted instantiation: tls13_enc.c:PACKET_remaining Unexecuted instantiation: tls_depr.c:PACKET_remaining Unexecuted instantiation: tls_srp.c:PACKET_remaining Unexecuted instantiation: quic_impl.c:PACKET_remaining Unexecuted instantiation: quic_method.c:PACKET_remaining Unexecuted instantiation: quic_obj.c:PACKET_remaining Unexecuted instantiation: quic_port.c:PACKET_remaining quic_record_rx.c:PACKET_remaining Line | Count | Source | 42 | 21.9M | { | 43 | 21.9M | return pkt->remaining; | 44 | 21.9M | } |
Unexecuted instantiation: quic_record_shared.c:PACKET_remaining Unexecuted instantiation: quic_record_tx.c:PACKET_remaining Unexecuted instantiation: quic_record_util.c:PACKET_remaining Unexecuted instantiation: quic_rstream.c:PACKET_remaining Unexecuted instantiation: quic_sf_list.c:PACKET_remaining Unexecuted instantiation: quic_srtm.c:PACKET_remaining Unexecuted instantiation: quic_sstream.c:PACKET_remaining Unexecuted instantiation: quic_stream_map.c:PACKET_remaining Unexecuted instantiation: quic_thread_assist.c:PACKET_remaining Unexecuted instantiation: quic_tls.c:PACKET_remaining Unexecuted instantiation: quic_txp.c:PACKET_remaining Unexecuted instantiation: quic_txpim.c:PACKET_remaining quic_wire.c:PACKET_remaining Line | Count | Source | 42 | 28.9M | { | 43 | 28.9M | return pkt->remaining; | 44 | 28.9M | } |
quic_wire_pkt.c:PACKET_remaining Line | Count | Source | 42 | 67.9M | { | 43 | 67.9M | return pkt->remaining; | 44 | 67.9M | } |
rec_layer_s3.c:PACKET_remaining Line | Count | Source | 42 | 7.26k | { | 43 | 7.26k | return pkt->remaining; | 44 | 7.26k | } |
Unexecuted instantiation: dtls_meth.c:PACKET_remaining Unexecuted instantiation: tls1_meth.c:PACKET_remaining tls_common.c:PACKET_remaining Line | Count | Source | 42 | 1.98M | { | 43 | 1.98M | return pkt->remaining; | 44 | 1.98M | } |
Unexecuted instantiation: tls_multib.c:PACKET_remaining Unexecuted instantiation: tlsany_meth.c:PACKET_remaining extensions.c:PACKET_remaining Line | Count | Source | 42 | 1.81M | { | 43 | 1.81M | return pkt->remaining; | 44 | 1.81M | } |
extensions_clnt.c:PACKET_remaining Line | Count | Source | 42 | 613k | { | 43 | 613k | return pkt->remaining; | 44 | 613k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_remaining extensions_srvr.c:PACKET_remaining Line | Count | Source | 42 | 434k | { | 43 | 434k | return pkt->remaining; | 44 | 434k | } |
statem.c:PACKET_remaining Line | Count | Source | 42 | 80.9k | { | 43 | 80.9k | return pkt->remaining; | 44 | 80.9k | } |
statem_clnt.c:PACKET_remaining Line | Count | Source | 42 | 1.86M | { | 43 | 1.86M | return pkt->remaining; | 44 | 1.86M | } |
Unexecuted instantiation: statem_dtls.c:PACKET_remaining statem_lib.c:PACKET_remaining Line | Count | Source | 42 | 169k | { | 43 | 169k | return pkt->remaining; | 44 | 169k | } |
statem_srvr.c:PACKET_remaining Line | Count | Source | 42 | 734k | { | 43 | 734k | return pkt->remaining; | 44 | 734k | } |
ech_helper.c:PACKET_remaining Line | Count | Source | 42 | 41.8k | { | 43 | 41.8k | return pkt->remaining; | 44 | 41.8k | } |
ech_internal.c:PACKET_remaining Line | Count | Source | 42 | 18.2k | { | 43 | 18.2k | return pkt->remaining; | 44 | 18.2k | } |
Unexecuted instantiation: ech_store.c:PACKET_remaining Unexecuted instantiation: d1_lib.c:PACKET_remaining Unexecuted instantiation: d1_srtp.c:PACKET_remaining Unexecuted instantiation: methods.c:PACKET_remaining Unexecuted instantiation: pqueue.c:PACKET_remaining Unexecuted instantiation: s3_enc.c:PACKET_remaining Unexecuted instantiation: s3_lib.c:PACKET_remaining Unexecuted instantiation: s3_msg.c:PACKET_remaining Unexecuted instantiation: ssl_asn1.c:PACKET_remaining Unexecuted instantiation: ssl_conf.c:PACKET_remaining Unexecuted instantiation: ssl_rsa.c:PACKET_remaining Unexecuted instantiation: t1_enc.c:PACKET_remaining Unexecuted instantiation: qlog_event_helpers.c:PACKET_remaining Unexecuted instantiation: quic_ackm.c:PACKET_remaining quic_channel.c:PACKET_remaining Line | Count | Source | 42 | 257k | { | 43 | 257k | return pkt->remaining; | 44 | 257k | } |
Unexecuted instantiation: quic_demux.c:PACKET_remaining Unexecuted instantiation: quic_engine.c:PACKET_remaining Unexecuted instantiation: quic_fifd.c:PACKET_remaining Unexecuted instantiation: quic_lcidm.c:PACKET_remaining quic_rx_depack.c:PACKET_remaining Line | Count | Source | 42 | 5.98M | { | 43 | 5.98M | return pkt->remaining; | 44 | 5.98M | } |
rec_layer_d1.c:PACKET_remaining Line | Count | Source | 42 | 9.68k | { | 43 | 9.68k | return pkt->remaining; | 44 | 9.68k | } |
Unexecuted instantiation: tls13_meth.c:PACKET_remaining Unexecuted instantiation: d1_msg.c:PACKET_remaining Unexecuted instantiation: quic-server.c:PACKET_remaining quic-srtm.c:PACKET_remaining Line | Count | Source | 42 | 34.0M | { | 43 | 34.0M | return pkt->remaining; | 44 | 34.0M | } |
Unexecuted instantiation: ssl_txt.c:PACKET_remaining quic-rcidm.c:PACKET_remaining Line | Count | Source | 42 | 71.9M | { | 43 | 71.9M | return pkt->remaining; | 44 | 71.9M | } |
Unexecuted instantiation: quic_rcidm.c:PACKET_remaining quic-lcidm.c:PACKET_remaining Line | Count | Source | 42 | 15.8M | { | 43 | 15.8M | return pkt->remaining; | 44 | 15.8M | } |
|
45 | | |
46 | | /* |
47 | | * Returns a pointer to the first byte after the packet data. |
48 | | * Useful for integrating with non-PACKET parsing code. |
49 | | * Specifically, we use PACKET_end() to verify that a d2i_... call |
50 | | * has consumed the entire packet contents. |
51 | | */ |
52 | | static ossl_inline const unsigned char *PACKET_end(const PACKET *pkt) |
53 | 2.14M | { |
54 | 2.14M | return pkt->curr + pkt->remaining; |
55 | 2.14M | } Unexecuted instantiation: params.c:PACKET_end Unexecuted instantiation: encode_key2any.c:PACKET_end Unexecuted instantiation: hkdf.c:PACKET_end Unexecuted instantiation: x942kdf.c:PACKET_end Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_end Unexecuted instantiation: dsa_sig.c:PACKET_end Unexecuted instantiation: ecdsa_sig.c:PACKET_end Unexecuted instantiation: eddsa_sig.c:PACKET_end Unexecuted instantiation: ml_dsa_sig.c:PACKET_end Unexecuted instantiation: rsa_sig.c:PACKET_end Unexecuted instantiation: slh_dsa_sig.c:PACKET_end Unexecuted instantiation: sm2_sig.c:PACKET_end Unexecuted instantiation: der_dsa_sig.c:PACKET_end Unexecuted instantiation: der_ec_sig.c:PACKET_end Unexecuted instantiation: der_ecx_key.c:PACKET_end Unexecuted instantiation: der_hkdf_gen.c:PACKET_end Unexecuted instantiation: der_ml_dsa_key.c:PACKET_end Unexecuted instantiation: der_rsa_key.c:PACKET_end Unexecuted instantiation: der_slh_dsa_key.c:PACKET_end Unexecuted instantiation: der_wrap_gen.c:PACKET_end Unexecuted instantiation: dsa_asn1.c:PACKET_end Unexecuted instantiation: dsa_sign.c:PACKET_end Unexecuted instantiation: ec_asn1.c:PACKET_end Unexecuted instantiation: hpke_util.c:PACKET_end Unexecuted instantiation: asn1_dsa.c:PACKET_end Unexecuted instantiation: der_writer.c:PACKET_end Unexecuted instantiation: packet.c:PACKET_end Unexecuted instantiation: ml_dsa_encoders.c:PACKET_end Unexecuted instantiation: ml_dsa_key.c:PACKET_end Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_end Unexecuted instantiation: ml_dsa_matrix.c:PACKET_end Unexecuted instantiation: ml_dsa_ntt.c:PACKET_end Unexecuted instantiation: ml_dsa_params.c:PACKET_end Unexecuted instantiation: ml_dsa_sample.c:PACKET_end Unexecuted instantiation: ml_dsa_sign.c:PACKET_end Unexecuted instantiation: slh_dsa.c:PACKET_end Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_end Unexecuted instantiation: slh_dsa_key.c:PACKET_end Unexecuted instantiation: slh_fors.c:PACKET_end Unexecuted instantiation: slh_hash.c:PACKET_end Unexecuted instantiation: slh_hypertree.c:PACKET_end Unexecuted instantiation: slh_xmss.c:PACKET_end Unexecuted instantiation: der_rsa_sig.c:PACKET_end Unexecuted instantiation: der_sm2_sig.c:PACKET_end Unexecuted instantiation: der_digests_gen.c:PACKET_end Unexecuted instantiation: der_dsa_gen.c:PACKET_end Unexecuted instantiation: der_ec_gen.c:PACKET_end Unexecuted instantiation: der_ecx_gen.c:PACKET_end Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_end Unexecuted instantiation: der_rsa_gen.c:PACKET_end Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_end Unexecuted instantiation: punycode.c:PACKET_end Unexecuted instantiation: slh_wots.c:PACKET_end Unexecuted instantiation: der_sm2_gen.c:PACKET_end Unexecuted instantiation: quic-client.c:PACKET_end Unexecuted instantiation: ssl_cert.c:PACKET_end Unexecuted instantiation: ssl_ciph.c:PACKET_end Unexecuted instantiation: ssl_init.c:PACKET_end Unexecuted instantiation: ssl_lib.c:PACKET_end Unexecuted instantiation: ssl_mcnf.c:PACKET_end Unexecuted instantiation: ssl_sess.c:PACKET_end Unexecuted instantiation: t1_lib.c:PACKET_end Unexecuted instantiation: tls13_enc.c:PACKET_end Unexecuted instantiation: tls_depr.c:PACKET_end Unexecuted instantiation: tls_srp.c:PACKET_end Unexecuted instantiation: quic_impl.c:PACKET_end Unexecuted instantiation: quic_method.c:PACKET_end Unexecuted instantiation: quic_obj.c:PACKET_end Unexecuted instantiation: quic_port.c:PACKET_end Unexecuted instantiation: quic_record_rx.c:PACKET_end Unexecuted instantiation: quic_record_shared.c:PACKET_end Unexecuted instantiation: quic_record_tx.c:PACKET_end Unexecuted instantiation: quic_record_util.c:PACKET_end Unexecuted instantiation: quic_rstream.c:PACKET_end Unexecuted instantiation: quic_sf_list.c:PACKET_end Unexecuted instantiation: quic_srtm.c:PACKET_end Unexecuted instantiation: quic_sstream.c:PACKET_end Unexecuted instantiation: quic_stream_map.c:PACKET_end Unexecuted instantiation: quic_thread_assist.c:PACKET_end Unexecuted instantiation: quic_tls.c:PACKET_end Unexecuted instantiation: quic_txp.c:PACKET_end Unexecuted instantiation: quic_txpim.c:PACKET_end Line | Count | Source | 53 | 629k | { | 54 | 629k | return pkt->curr + pkt->remaining; | 55 | 629k | } |
quic_wire_pkt.c:PACKET_end Line | Count | Source | 53 | 1.51M | { | 54 | 1.51M | return pkt->curr + pkt->remaining; | 55 | 1.51M | } |
Unexecuted instantiation: rec_layer_s3.c:PACKET_end Unexecuted instantiation: dtls_meth.c:PACKET_end Unexecuted instantiation: tls1_meth.c:PACKET_end Unexecuted instantiation: tls_common.c:PACKET_end Unexecuted instantiation: tls_multib.c:PACKET_end Unexecuted instantiation: tlsany_meth.c:PACKET_end Unexecuted instantiation: extensions.c:PACKET_end Unexecuted instantiation: extensions_clnt.c:PACKET_end Unexecuted instantiation: extensions_cust.c:PACKET_end extensions_srvr.c:PACKET_end Line | Count | Source | 53 | 219 | { | 54 | 219 | return pkt->curr + pkt->remaining; | 55 | 219 | } |
Unexecuted instantiation: statem.c:PACKET_end Unexecuted instantiation: statem_clnt.c:PACKET_end Unexecuted instantiation: statem_dtls.c:PACKET_end Unexecuted instantiation: statem_lib.c:PACKET_end Unexecuted instantiation: statem_srvr.c:PACKET_end Unexecuted instantiation: ech_helper.c:PACKET_end Unexecuted instantiation: ech_internal.c:PACKET_end Unexecuted instantiation: ech_store.c:PACKET_end Unexecuted instantiation: d1_lib.c:PACKET_end Unexecuted instantiation: d1_srtp.c:PACKET_end Unexecuted instantiation: methods.c:PACKET_end Unexecuted instantiation: pqueue.c:PACKET_end Unexecuted instantiation: s3_enc.c:PACKET_end Unexecuted instantiation: s3_lib.c:PACKET_end Unexecuted instantiation: s3_msg.c:PACKET_end Unexecuted instantiation: ssl_asn1.c:PACKET_end Unexecuted instantiation: ssl_conf.c:PACKET_end Unexecuted instantiation: ssl_rsa.c:PACKET_end Unexecuted instantiation: t1_enc.c:PACKET_end Unexecuted instantiation: qlog_event_helpers.c:PACKET_end Unexecuted instantiation: quic_ackm.c:PACKET_end Unexecuted instantiation: quic_channel.c:PACKET_end Unexecuted instantiation: quic_demux.c:PACKET_end Unexecuted instantiation: quic_engine.c:PACKET_end Unexecuted instantiation: quic_fifd.c:PACKET_end Unexecuted instantiation: quic_lcidm.c:PACKET_end Unexecuted instantiation: quic_rx_depack.c:PACKET_end Unexecuted instantiation: rec_layer_d1.c:PACKET_end Unexecuted instantiation: tls13_meth.c:PACKET_end Unexecuted instantiation: d1_msg.c:PACKET_end Unexecuted instantiation: quic-server.c:PACKET_end Unexecuted instantiation: quic-srtm.c:PACKET_end Unexecuted instantiation: ssl_txt.c:PACKET_end Unexecuted instantiation: quic-rcidm.c:PACKET_end Unexecuted instantiation: quic_rcidm.c:PACKET_end Unexecuted instantiation: quic-lcidm.c:PACKET_end |
56 | | |
57 | | /* |
58 | | * Returns a pointer to the very start of the buffer. If this is a sub packet |
59 | | * this will be the start of the buffer for the top of the PACKET tree. |
60 | | */ |
61 | | static ossl_inline const unsigned char *PACKET_msg_start(const PACKET *pkt) |
62 | 62 | { |
63 | 62 | return pkt->msgstart; |
64 | 62 | } Unexecuted instantiation: params.c:PACKET_msg_start Unexecuted instantiation: encode_key2any.c:PACKET_msg_start Unexecuted instantiation: hkdf.c:PACKET_msg_start Unexecuted instantiation: x942kdf.c:PACKET_msg_start Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_msg_start Unexecuted instantiation: dsa_sig.c:PACKET_msg_start Unexecuted instantiation: ecdsa_sig.c:PACKET_msg_start Unexecuted instantiation: eddsa_sig.c:PACKET_msg_start Unexecuted instantiation: ml_dsa_sig.c:PACKET_msg_start Unexecuted instantiation: rsa_sig.c:PACKET_msg_start Unexecuted instantiation: slh_dsa_sig.c:PACKET_msg_start Unexecuted instantiation: sm2_sig.c:PACKET_msg_start Unexecuted instantiation: der_dsa_sig.c:PACKET_msg_start Unexecuted instantiation: der_ec_sig.c:PACKET_msg_start Unexecuted instantiation: der_ecx_key.c:PACKET_msg_start Unexecuted instantiation: der_hkdf_gen.c:PACKET_msg_start Unexecuted instantiation: der_ml_dsa_key.c:PACKET_msg_start Unexecuted instantiation: der_rsa_key.c:PACKET_msg_start Unexecuted instantiation: der_slh_dsa_key.c:PACKET_msg_start Unexecuted instantiation: der_wrap_gen.c:PACKET_msg_start Unexecuted instantiation: dsa_asn1.c:PACKET_msg_start Unexecuted instantiation: dsa_sign.c:PACKET_msg_start Unexecuted instantiation: ec_asn1.c:PACKET_msg_start Unexecuted instantiation: hpke_util.c:PACKET_msg_start Unexecuted instantiation: asn1_dsa.c:PACKET_msg_start Unexecuted instantiation: der_writer.c:PACKET_msg_start Unexecuted instantiation: packet.c:PACKET_msg_start Unexecuted instantiation: ml_dsa_encoders.c:PACKET_msg_start Unexecuted instantiation: ml_dsa_key.c:PACKET_msg_start Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_msg_start Unexecuted instantiation: ml_dsa_matrix.c:PACKET_msg_start Unexecuted instantiation: ml_dsa_ntt.c:PACKET_msg_start Unexecuted instantiation: ml_dsa_params.c:PACKET_msg_start Unexecuted instantiation: ml_dsa_sample.c:PACKET_msg_start Unexecuted instantiation: ml_dsa_sign.c:PACKET_msg_start Unexecuted instantiation: slh_dsa.c:PACKET_msg_start Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_msg_start Unexecuted instantiation: slh_dsa_key.c:PACKET_msg_start Unexecuted instantiation: slh_fors.c:PACKET_msg_start Unexecuted instantiation: slh_hash.c:PACKET_msg_start Unexecuted instantiation: slh_hypertree.c:PACKET_msg_start Unexecuted instantiation: slh_xmss.c:PACKET_msg_start Unexecuted instantiation: der_rsa_sig.c:PACKET_msg_start Unexecuted instantiation: der_sm2_sig.c:PACKET_msg_start Unexecuted instantiation: der_digests_gen.c:PACKET_msg_start Unexecuted instantiation: der_dsa_gen.c:PACKET_msg_start Unexecuted instantiation: der_ec_gen.c:PACKET_msg_start Unexecuted instantiation: der_ecx_gen.c:PACKET_msg_start Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_msg_start Unexecuted instantiation: der_rsa_gen.c:PACKET_msg_start Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_msg_start Unexecuted instantiation: punycode.c:PACKET_msg_start Unexecuted instantiation: slh_wots.c:PACKET_msg_start Unexecuted instantiation: der_sm2_gen.c:PACKET_msg_start Unexecuted instantiation: quic-client.c:PACKET_msg_start Unexecuted instantiation: ssl_cert.c:PACKET_msg_start Unexecuted instantiation: ssl_ciph.c:PACKET_msg_start Unexecuted instantiation: ssl_init.c:PACKET_msg_start Unexecuted instantiation: ssl_lib.c:PACKET_msg_start Unexecuted instantiation: ssl_mcnf.c:PACKET_msg_start Unexecuted instantiation: ssl_sess.c:PACKET_msg_start Unexecuted instantiation: t1_lib.c:PACKET_msg_start Unexecuted instantiation: tls13_enc.c:PACKET_msg_start Unexecuted instantiation: tls_depr.c:PACKET_msg_start Unexecuted instantiation: tls_srp.c:PACKET_msg_start Unexecuted instantiation: quic_impl.c:PACKET_msg_start Unexecuted instantiation: quic_method.c:PACKET_msg_start Unexecuted instantiation: quic_obj.c:PACKET_msg_start Unexecuted instantiation: quic_port.c:PACKET_msg_start Unexecuted instantiation: quic_record_rx.c:PACKET_msg_start Unexecuted instantiation: quic_record_shared.c:PACKET_msg_start Unexecuted instantiation: quic_record_tx.c:PACKET_msg_start Unexecuted instantiation: quic_record_util.c:PACKET_msg_start Unexecuted instantiation: quic_rstream.c:PACKET_msg_start Unexecuted instantiation: quic_sf_list.c:PACKET_msg_start Unexecuted instantiation: quic_srtm.c:PACKET_msg_start Unexecuted instantiation: quic_sstream.c:PACKET_msg_start Unexecuted instantiation: quic_stream_map.c:PACKET_msg_start Unexecuted instantiation: quic_thread_assist.c:PACKET_msg_start Unexecuted instantiation: quic_tls.c:PACKET_msg_start Unexecuted instantiation: quic_txp.c:PACKET_msg_start Unexecuted instantiation: quic_txpim.c:PACKET_msg_start Unexecuted instantiation: quic_wire.c:PACKET_msg_start Unexecuted instantiation: quic_wire_pkt.c:PACKET_msg_start Unexecuted instantiation: rec_layer_s3.c:PACKET_msg_start Unexecuted instantiation: dtls_meth.c:PACKET_msg_start Unexecuted instantiation: tls1_meth.c:PACKET_msg_start Unexecuted instantiation: tls_common.c:PACKET_msg_start Unexecuted instantiation: tls_multib.c:PACKET_msg_start Unexecuted instantiation: tlsany_meth.c:PACKET_msg_start Unexecuted instantiation: extensions.c:PACKET_msg_start Unexecuted instantiation: extensions_clnt.c:PACKET_msg_start Unexecuted instantiation: extensions_cust.c:PACKET_msg_start extensions_srvr.c:PACKET_msg_start Line | Count | Source | 62 | 62 | { | 63 | 62 | return pkt->msgstart; | 64 | 62 | } |
Unexecuted instantiation: statem.c:PACKET_msg_start Unexecuted instantiation: statem_clnt.c:PACKET_msg_start Unexecuted instantiation: statem_dtls.c:PACKET_msg_start Unexecuted instantiation: statem_lib.c:PACKET_msg_start Unexecuted instantiation: statem_srvr.c:PACKET_msg_start Unexecuted instantiation: ech_helper.c:PACKET_msg_start Unexecuted instantiation: ech_internal.c:PACKET_msg_start Unexecuted instantiation: ech_store.c:PACKET_msg_start Unexecuted instantiation: d1_lib.c:PACKET_msg_start Unexecuted instantiation: d1_srtp.c:PACKET_msg_start Unexecuted instantiation: methods.c:PACKET_msg_start Unexecuted instantiation: pqueue.c:PACKET_msg_start Unexecuted instantiation: s3_enc.c:PACKET_msg_start Unexecuted instantiation: s3_lib.c:PACKET_msg_start Unexecuted instantiation: s3_msg.c:PACKET_msg_start Unexecuted instantiation: ssl_asn1.c:PACKET_msg_start Unexecuted instantiation: ssl_conf.c:PACKET_msg_start Unexecuted instantiation: ssl_rsa.c:PACKET_msg_start Unexecuted instantiation: t1_enc.c:PACKET_msg_start Unexecuted instantiation: qlog_event_helpers.c:PACKET_msg_start Unexecuted instantiation: quic_ackm.c:PACKET_msg_start Unexecuted instantiation: quic_channel.c:PACKET_msg_start Unexecuted instantiation: quic_demux.c:PACKET_msg_start Unexecuted instantiation: quic_engine.c:PACKET_msg_start Unexecuted instantiation: quic_fifd.c:PACKET_msg_start Unexecuted instantiation: quic_lcidm.c:PACKET_msg_start Unexecuted instantiation: quic_rx_depack.c:PACKET_msg_start Unexecuted instantiation: rec_layer_d1.c:PACKET_msg_start Unexecuted instantiation: tls13_meth.c:PACKET_msg_start Unexecuted instantiation: d1_msg.c:PACKET_msg_start Unexecuted instantiation: quic-server.c:PACKET_msg_start Unexecuted instantiation: quic-srtm.c:PACKET_msg_start Unexecuted instantiation: ssl_txt.c:PACKET_msg_start Unexecuted instantiation: quic-rcidm.c:PACKET_msg_start Unexecuted instantiation: quic_rcidm.c:PACKET_msg_start Unexecuted instantiation: quic-lcidm.c:PACKET_msg_start |
65 | | |
66 | | /* |
67 | | * Returns a pointer to the PACKET's current position. |
68 | | * For use in non-PACKETized APIs. |
69 | | */ |
70 | | static ossl_inline const unsigned char *PACKET_data(const PACKET *pkt) |
71 | 25.3M | { |
72 | 25.3M | return pkt->curr; |
73 | 25.3M | } Unexecuted instantiation: params.c:PACKET_data Unexecuted instantiation: encode_key2any.c:PACKET_data Unexecuted instantiation: hkdf.c:PACKET_data Unexecuted instantiation: x942kdf.c:PACKET_data Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_data Unexecuted instantiation: dsa_sig.c:PACKET_data Unexecuted instantiation: ecdsa_sig.c:PACKET_data Unexecuted instantiation: eddsa_sig.c:PACKET_data Unexecuted instantiation: ml_dsa_sig.c:PACKET_data Unexecuted instantiation: rsa_sig.c:PACKET_data Unexecuted instantiation: slh_dsa_sig.c:PACKET_data Unexecuted instantiation: sm2_sig.c:PACKET_data Unexecuted instantiation: der_dsa_sig.c:PACKET_data Unexecuted instantiation: der_ec_sig.c:PACKET_data Unexecuted instantiation: der_ecx_key.c:PACKET_data Unexecuted instantiation: der_hkdf_gen.c:PACKET_data Unexecuted instantiation: der_ml_dsa_key.c:PACKET_data Unexecuted instantiation: der_rsa_key.c:PACKET_data Unexecuted instantiation: der_slh_dsa_key.c:PACKET_data Unexecuted instantiation: der_wrap_gen.c:PACKET_data Unexecuted instantiation: dsa_asn1.c:PACKET_data Unexecuted instantiation: dsa_sign.c:PACKET_data Unexecuted instantiation: ec_asn1.c:PACKET_data Unexecuted instantiation: hpke_util.c:PACKET_data Line | Count | Source | 71 | 35.9k | { | 72 | 35.9k | return pkt->curr; | 73 | 35.9k | } |
Unexecuted instantiation: der_writer.c:PACKET_data Unexecuted instantiation: packet.c:PACKET_data Unexecuted instantiation: ml_dsa_encoders.c:PACKET_data Unexecuted instantiation: ml_dsa_key.c:PACKET_data Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_data Unexecuted instantiation: ml_dsa_matrix.c:PACKET_data Unexecuted instantiation: ml_dsa_ntt.c:PACKET_data Unexecuted instantiation: ml_dsa_params.c:PACKET_data Unexecuted instantiation: ml_dsa_sample.c:PACKET_data Unexecuted instantiation: ml_dsa_sign.c:PACKET_data Unexecuted instantiation: slh_dsa.c:PACKET_data Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_data Unexecuted instantiation: slh_dsa_key.c:PACKET_data Unexecuted instantiation: slh_fors.c:PACKET_data Unexecuted instantiation: slh_hash.c:PACKET_data Unexecuted instantiation: slh_hypertree.c:PACKET_data Unexecuted instantiation: slh_xmss.c:PACKET_data Unexecuted instantiation: der_rsa_sig.c:PACKET_data Unexecuted instantiation: der_sm2_sig.c:PACKET_data Unexecuted instantiation: der_digests_gen.c:PACKET_data Unexecuted instantiation: der_dsa_gen.c:PACKET_data Unexecuted instantiation: der_ec_gen.c:PACKET_data Unexecuted instantiation: der_ecx_gen.c:PACKET_data Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_data Unexecuted instantiation: der_rsa_gen.c:PACKET_data Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_data Unexecuted instantiation: punycode.c:PACKET_data Unexecuted instantiation: slh_wots.c:PACKET_data Unexecuted instantiation: der_sm2_gen.c:PACKET_data Unexecuted instantiation: quic-client.c:PACKET_data Unexecuted instantiation: ssl_cert.c:PACKET_data Unexecuted instantiation: ssl_ciph.c:PACKET_data Unexecuted instantiation: ssl_init.c:PACKET_data Unexecuted instantiation: ssl_lib.c:PACKET_data Unexecuted instantiation: ssl_mcnf.c:PACKET_data Unexecuted instantiation: ssl_sess.c:PACKET_data Line | Count | Source | 71 | 6.18k | { | 72 | 6.18k | return pkt->curr; | 73 | 6.18k | } |
Unexecuted instantiation: tls13_enc.c:PACKET_data Unexecuted instantiation: tls_depr.c:PACKET_data Unexecuted instantiation: tls_srp.c:PACKET_data Unexecuted instantiation: quic_impl.c:PACKET_data Unexecuted instantiation: quic_method.c:PACKET_data Unexecuted instantiation: quic_obj.c:PACKET_data Unexecuted instantiation: quic_port.c:PACKET_data quic_record_rx.c:PACKET_data Line | Count | Source | 71 | 10.4M | { | 72 | 10.4M | return pkt->curr; | 73 | 10.4M | } |
Unexecuted instantiation: quic_record_shared.c:PACKET_data Unexecuted instantiation: quic_record_tx.c:PACKET_data Unexecuted instantiation: quic_record_util.c:PACKET_data Unexecuted instantiation: quic_rstream.c:PACKET_data Unexecuted instantiation: quic_sf_list.c:PACKET_data Unexecuted instantiation: quic_srtm.c:PACKET_data Unexecuted instantiation: quic_sstream.c:PACKET_data Unexecuted instantiation: quic_stream_map.c:PACKET_data Unexecuted instantiation: quic_thread_assist.c:PACKET_data Unexecuted instantiation: quic_tls.c:PACKET_data Unexecuted instantiation: quic_txp.c:PACKET_data Unexecuted instantiation: quic_txpim.c:PACKET_data Line | Count | Source | 71 | 1.04M | { | 72 | 1.04M | return pkt->curr; | 73 | 1.04M | } |
quic_wire_pkt.c:PACKET_data Line | Count | Source | 71 | 13.5M | { | 72 | 13.5M | return pkt->curr; | 73 | 13.5M | } |
Unexecuted instantiation: rec_layer_s3.c:PACKET_data Unexecuted instantiation: dtls_meth.c:PACKET_data Unexecuted instantiation: tls1_meth.c:PACKET_data Unexecuted instantiation: tls_common.c:PACKET_data Unexecuted instantiation: tls_multib.c:PACKET_data Unexecuted instantiation: tlsany_meth.c:PACKET_data Line | Count | Source | 71 | 25.0k | { | 72 | 25.0k | return pkt->curr; | 73 | 25.0k | } |
extensions_clnt.c:PACKET_data Line | Count | Source | 71 | 67.9k | { | 72 | 67.9k | return pkt->curr; | 73 | 67.9k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_data extensions_srvr.c:PACKET_data Line | Count | Source | 71 | 9.05k | { | 72 | 9.05k | return pkt->curr; | 73 | 9.05k | } |
Unexecuted instantiation: statem.c:PACKET_data statem_clnt.c:PACKET_data Line | Count | Source | 71 | 144k | { | 72 | 144k | return pkt->curr; | 73 | 144k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_data Line | Count | Source | 71 | 32.1k | { | 72 | 32.1k | return pkt->curr; | 73 | 32.1k | } |
statem_srvr.c:PACKET_data Line | Count | Source | 71 | 10.8k | { | 72 | 10.8k | return pkt->curr; | 73 | 10.8k | } |
Line | Count | Source | 71 | 18.3k | { | 72 | 18.3k | return pkt->curr; | 73 | 18.3k | } |
Unexecuted instantiation: ech_internal.c:PACKET_data Unexecuted instantiation: ech_store.c:PACKET_data Unexecuted instantiation: d1_lib.c:PACKET_data Unexecuted instantiation: d1_srtp.c:PACKET_data Unexecuted instantiation: methods.c:PACKET_data Unexecuted instantiation: pqueue.c:PACKET_data Unexecuted instantiation: s3_enc.c:PACKET_data Unexecuted instantiation: s3_lib.c:PACKET_data Unexecuted instantiation: s3_msg.c:PACKET_data Unexecuted instantiation: ssl_asn1.c:PACKET_data Unexecuted instantiation: ssl_conf.c:PACKET_data Unexecuted instantiation: ssl_rsa.c:PACKET_data Unexecuted instantiation: t1_enc.c:PACKET_data Unexecuted instantiation: qlog_event_helpers.c:PACKET_data Unexecuted instantiation: quic_ackm.c:PACKET_data Unexecuted instantiation: quic_channel.c:PACKET_data Unexecuted instantiation: quic_demux.c:PACKET_data Unexecuted instantiation: quic_engine.c:PACKET_data Unexecuted instantiation: quic_fifd.c:PACKET_data Unexecuted instantiation: quic_lcidm.c:PACKET_data Unexecuted instantiation: quic_rx_depack.c:PACKET_data Unexecuted instantiation: rec_layer_d1.c:PACKET_data Unexecuted instantiation: tls13_meth.c:PACKET_data Unexecuted instantiation: d1_msg.c:PACKET_data Unexecuted instantiation: quic-server.c:PACKET_data Unexecuted instantiation: quic-srtm.c:PACKET_data Unexecuted instantiation: ssl_txt.c:PACKET_data Unexecuted instantiation: quic-rcidm.c:PACKET_data Unexecuted instantiation: quic_rcidm.c:PACKET_data Unexecuted instantiation: quic-lcidm.c:PACKET_data |
74 | | |
75 | | /* |
76 | | * Initialise a PACKET with |len| bytes held in |buf|. This does not make a |
77 | | * copy of the data so |buf| must be present for the whole time that the PACKET |
78 | | * is being used. |
79 | | */ |
80 | | __owur static ossl_inline int PACKET_buf_init(PACKET *pkt, |
81 | | const unsigned char *buf, |
82 | | size_t len) |
83 | 6.39M | { |
84 | | /* Sanity check for negative values. */ |
85 | 6.39M | if (len > (size_t)(SIZE_MAX / 2)) |
86 | 0 | return 0; |
87 | | |
88 | 6.39M | pkt->curr = pkt->msgstart = buf; |
89 | 6.39M | pkt->remaining = len; |
90 | 6.39M | return 1; |
91 | 6.39M | } Unexecuted instantiation: params.c:PACKET_buf_init Unexecuted instantiation: encode_key2any.c:PACKET_buf_init Unexecuted instantiation: hkdf.c:PACKET_buf_init Unexecuted instantiation: x942kdf.c:PACKET_buf_init Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_buf_init Unexecuted instantiation: dsa_sig.c:PACKET_buf_init Unexecuted instantiation: ecdsa_sig.c:PACKET_buf_init Unexecuted instantiation: eddsa_sig.c:PACKET_buf_init Unexecuted instantiation: ml_dsa_sig.c:PACKET_buf_init Unexecuted instantiation: rsa_sig.c:PACKET_buf_init Unexecuted instantiation: slh_dsa_sig.c:PACKET_buf_init Unexecuted instantiation: sm2_sig.c:PACKET_buf_init Unexecuted instantiation: der_dsa_sig.c:PACKET_buf_init Unexecuted instantiation: der_ec_sig.c:PACKET_buf_init Unexecuted instantiation: der_ecx_key.c:PACKET_buf_init Unexecuted instantiation: der_hkdf_gen.c:PACKET_buf_init Unexecuted instantiation: der_ml_dsa_key.c:PACKET_buf_init Unexecuted instantiation: der_rsa_key.c:PACKET_buf_init Unexecuted instantiation: der_slh_dsa_key.c:PACKET_buf_init Unexecuted instantiation: der_wrap_gen.c:PACKET_buf_init Unexecuted instantiation: dsa_asn1.c:PACKET_buf_init Unexecuted instantiation: dsa_sign.c:PACKET_buf_init Unexecuted instantiation: ec_asn1.c:PACKET_buf_init Unexecuted instantiation: hpke_util.c:PACKET_buf_init asn1_dsa.c:PACKET_buf_init Line | Count | Source | 83 | 220k | { | 84 | | /* Sanity check for negative values. */ | 85 | 220k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 220k | pkt->curr = pkt->msgstart = buf; | 89 | 220k | pkt->remaining = len; | 90 | 220k | return 1; | 91 | 220k | } |
Unexecuted instantiation: der_writer.c:PACKET_buf_init Unexecuted instantiation: packet.c:PACKET_buf_init ml_dsa_encoders.c:PACKET_buf_init Line | Count | Source | 83 | 13.9k | { | 84 | | /* Sanity check for negative values. */ | 85 | 13.9k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 13.9k | pkt->curr = pkt->msgstart = buf; | 89 | 13.9k | pkt->remaining = len; | 90 | 13.9k | return 1; | 91 | 13.9k | } |
Unexecuted instantiation: ml_dsa_key.c:PACKET_buf_init Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_buf_init Unexecuted instantiation: ml_dsa_matrix.c:PACKET_buf_init Unexecuted instantiation: ml_dsa_ntt.c:PACKET_buf_init Unexecuted instantiation: ml_dsa_params.c:PACKET_buf_init Unexecuted instantiation: ml_dsa_sample.c:PACKET_buf_init Unexecuted instantiation: ml_dsa_sign.c:PACKET_buf_init slh_dsa.c:PACKET_buf_init Line | Count | Source | 83 | 4.14k | { | 84 | | /* Sanity check for negative values. */ | 85 | 4.14k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 4.14k | pkt->curr = pkt->msgstart = buf; | 89 | 4.14k | pkt->remaining = len; | 90 | 4.14k | return 1; | 91 | 4.14k | } |
Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_buf_init Unexecuted instantiation: slh_dsa_key.c:PACKET_buf_init Unexecuted instantiation: slh_fors.c:PACKET_buf_init Unexecuted instantiation: slh_hash.c:PACKET_buf_init slh_hypertree.c:PACKET_buf_init Line | Count | Source | 83 | 15.8k | { | 84 | | /* Sanity check for negative values. */ | 85 | 15.8k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 15.8k | pkt->curr = pkt->msgstart = buf; | 89 | 15.8k | pkt->remaining = len; | 90 | 15.8k | return 1; | 91 | 15.8k | } |
Unexecuted instantiation: slh_xmss.c:PACKET_buf_init Unexecuted instantiation: der_rsa_sig.c:PACKET_buf_init Unexecuted instantiation: der_sm2_sig.c:PACKET_buf_init Unexecuted instantiation: der_digests_gen.c:PACKET_buf_init Unexecuted instantiation: der_dsa_gen.c:PACKET_buf_init Unexecuted instantiation: der_ec_gen.c:PACKET_buf_init Unexecuted instantiation: der_ecx_gen.c:PACKET_buf_init Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_buf_init Unexecuted instantiation: der_rsa_gen.c:PACKET_buf_init Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_buf_init Unexecuted instantiation: punycode.c:PACKET_buf_init Unexecuted instantiation: slh_wots.c:PACKET_buf_init Unexecuted instantiation: der_sm2_gen.c:PACKET_buf_init Unexecuted instantiation: quic-client.c:PACKET_buf_init Unexecuted instantiation: ssl_cert.c:PACKET_buf_init Unexecuted instantiation: ssl_ciph.c:PACKET_buf_init Unexecuted instantiation: ssl_init.c:PACKET_buf_init Unexecuted instantiation: ssl_lib.c:PACKET_buf_init Unexecuted instantiation: ssl_mcnf.c:PACKET_buf_init Unexecuted instantiation: ssl_sess.c:PACKET_buf_init Unexecuted instantiation: t1_lib.c:PACKET_buf_init Unexecuted instantiation: tls13_enc.c:PACKET_buf_init Unexecuted instantiation: tls_depr.c:PACKET_buf_init Unexecuted instantiation: tls_srp.c:PACKET_buf_init Unexecuted instantiation: quic_impl.c:PACKET_buf_init Unexecuted instantiation: quic_method.c:PACKET_buf_init Unexecuted instantiation: quic_obj.c:PACKET_buf_init Unexecuted instantiation: quic_port.c:PACKET_buf_init quic_record_rx.c:PACKET_buf_init Line | Count | Source | 83 | 4.47M | { | 84 | | /* Sanity check for negative values. */ | 85 | 4.47M | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 4.47M | pkt->curr = pkt->msgstart = buf; | 89 | 4.47M | pkt->remaining = len; | 90 | 4.47M | return 1; | 91 | 4.47M | } |
Unexecuted instantiation: quic_record_shared.c:PACKET_buf_init Unexecuted instantiation: quic_record_tx.c:PACKET_buf_init Unexecuted instantiation: quic_record_util.c:PACKET_buf_init Unexecuted instantiation: quic_rstream.c:PACKET_buf_init Unexecuted instantiation: quic_sf_list.c:PACKET_buf_init Unexecuted instantiation: quic_srtm.c:PACKET_buf_init Unexecuted instantiation: quic_sstream.c:PACKET_buf_init Unexecuted instantiation: quic_stream_map.c:PACKET_buf_init Unexecuted instantiation: quic_thread_assist.c:PACKET_buf_init Unexecuted instantiation: quic_tls.c:PACKET_buf_init Unexecuted instantiation: quic_txp.c:PACKET_buf_init Unexecuted instantiation: quic_txpim.c:PACKET_buf_init quic_wire.c:PACKET_buf_init Line | Count | Source | 83 | 31.5k | { | 84 | | /* Sanity check for negative values. */ | 85 | 31.5k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 31.5k | pkt->curr = pkt->msgstart = buf; | 89 | 31.5k | pkt->remaining = len; | 90 | 31.5k | return 1; | 91 | 31.5k | } |
Unexecuted instantiation: quic_wire_pkt.c:PACKET_buf_init rec_layer_s3.c:PACKET_buf_init Line | Count | Source | 83 | 2.48k | { | 84 | | /* Sanity check for negative values. */ | 85 | 2.48k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 2.48k | pkt->curr = pkt->msgstart = buf; | 89 | 2.48k | pkt->remaining = len; | 90 | 2.48k | return 1; | 91 | 2.48k | } |
Unexecuted instantiation: dtls_meth.c:PACKET_buf_init Unexecuted instantiation: tls1_meth.c:PACKET_buf_init tls_common.c:PACKET_buf_init Line | Count | Source | 83 | 428k | { | 84 | | /* Sanity check for negative values. */ | 85 | 428k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 428k | pkt->curr = pkt->msgstart = buf; | 89 | 428k | pkt->remaining = len; | 90 | 428k | return 1; | 91 | 428k | } |
Unexecuted instantiation: tls_multib.c:PACKET_buf_init Unexecuted instantiation: tlsany_meth.c:PACKET_buf_init extensions.c:PACKET_buf_init Line | Count | Source | 83 | 2 | { | 84 | | /* Sanity check for negative values. */ | 85 | 2 | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 2 | pkt->curr = pkt->msgstart = buf; | 89 | 2 | pkt->remaining = len; | 90 | 2 | return 1; | 91 | 2 | } |
extensions_clnt.c:PACKET_buf_init Line | Count | Source | 83 | 21.1k | { | 84 | | /* Sanity check for negative values. */ | 85 | 21.1k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 21.1k | pkt->curr = pkt->msgstart = buf; | 89 | 21.1k | pkt->remaining = len; | 90 | 21.1k | return 1; | 91 | 21.1k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_buf_init Unexecuted instantiation: extensions_srvr.c:PACKET_buf_init Line | Count | Source | 83 | 368k | { | 84 | | /* Sanity check for negative values. */ | 85 | 368k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 368k | pkt->curr = pkt->msgstart = buf; | 89 | 368k | pkt->remaining = len; | 90 | 368k | return 1; | 91 | 368k | } |
statem_clnt.c:PACKET_buf_init Line | Count | Source | 83 | 5.59k | { | 84 | | /* Sanity check for negative values. */ | 85 | 5.59k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 5.59k | pkt->curr = pkt->msgstart = buf; | 89 | 5.59k | pkt->remaining = len; | 90 | 5.59k | return 1; | 91 | 5.59k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_buf_init Unexecuted instantiation: statem_lib.c:PACKET_buf_init ech_helper.c:PACKET_buf_init Line | Count | Source | 83 | 9.10k | { | 84 | | /* Sanity check for negative values. */ | 85 | 9.10k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 9.10k | pkt->curr = pkt->msgstart = buf; | 89 | 9.10k | pkt->remaining = len; | 90 | 9.10k | return 1; | 91 | 9.10k | } |
Unexecuted instantiation: ech_internal.c:PACKET_buf_init Unexecuted instantiation: ech_store.c:PACKET_buf_init Unexecuted instantiation: d1_lib.c:PACKET_buf_init Unexecuted instantiation: d1_srtp.c:PACKET_buf_init Unexecuted instantiation: methods.c:PACKET_buf_init Unexecuted instantiation: pqueue.c:PACKET_buf_init Unexecuted instantiation: s3_enc.c:PACKET_buf_init Unexecuted instantiation: s3_lib.c:PACKET_buf_init Unexecuted instantiation: s3_msg.c:PACKET_buf_init Unexecuted instantiation: ssl_asn1.c:PACKET_buf_init Unexecuted instantiation: ssl_conf.c:PACKET_buf_init Unexecuted instantiation: ssl_rsa.c:PACKET_buf_init Unexecuted instantiation: t1_enc.c:PACKET_buf_init Unexecuted instantiation: qlog_event_helpers.c:PACKET_buf_init Unexecuted instantiation: quic_ackm.c:PACKET_buf_init quic_channel.c:PACKET_buf_init Line | Count | Source | 83 | 20.6k | { | 84 | | /* Sanity check for negative values. */ | 85 | 20.6k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 20.6k | pkt->curr = pkt->msgstart = buf; | 89 | 20.6k | pkt->remaining = len; | 90 | 20.6k | return 1; | 91 | 20.6k | } |
Unexecuted instantiation: quic_demux.c:PACKET_buf_init Unexecuted instantiation: quic_engine.c:PACKET_buf_init Unexecuted instantiation: quic_fifd.c:PACKET_buf_init Unexecuted instantiation: quic_lcidm.c:PACKET_buf_init quic_rx_depack.c:PACKET_buf_init Line | Count | Source | 83 | 747k | { | 84 | | /* Sanity check for negative values. */ | 85 | 747k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 747k | pkt->curr = pkt->msgstart = buf; | 89 | 747k | pkt->remaining = len; | 90 | 747k | return 1; | 91 | 747k | } |
rec_layer_d1.c:PACKET_buf_init Line | Count | Source | 83 | 3.28k | { | 84 | | /* Sanity check for negative values. */ | 85 | 3.28k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 3.28k | pkt->curr = pkt->msgstart = buf; | 89 | 3.28k | pkt->remaining = len; | 90 | 3.28k | return 1; | 91 | 3.28k | } |
Unexecuted instantiation: tls13_meth.c:PACKET_buf_init Unexecuted instantiation: d1_msg.c:PACKET_buf_init Unexecuted instantiation: quic-server.c:PACKET_buf_init quic-srtm.c:PACKET_buf_init Line | Count | Source | 83 | 6.45k | { | 84 | | /* Sanity check for negative values. */ | 85 | 6.45k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 6.45k | pkt->curr = pkt->msgstart = buf; | 89 | 6.45k | pkt->remaining = len; | 90 | 6.45k | return 1; | 91 | 6.45k | } |
Unexecuted instantiation: ssl_txt.c:PACKET_buf_init quic-rcidm.c:PACKET_buf_init Line | Count | Source | 83 | 11.9k | { | 84 | | /* Sanity check for negative values. */ | 85 | 11.9k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 11.9k | pkt->curr = pkt->msgstart = buf; | 89 | 11.9k | pkt->remaining = len; | 90 | 11.9k | return 1; | 91 | 11.9k | } |
Unexecuted instantiation: quic_rcidm.c:PACKET_buf_init quic-lcidm.c:PACKET_buf_init Line | Count | Source | 83 | 6.15k | { | 84 | | /* Sanity check for negative values. */ | 85 | 6.15k | if (len > (size_t)(SIZE_MAX / 2)) | 86 | 0 | return 0; | 87 | | | 88 | 6.15k | pkt->curr = pkt->msgstart = buf; | 89 | 6.15k | pkt->remaining = len; | 90 | 6.15k | return 1; | 91 | 6.15k | } |
|
92 | | |
93 | | /* Initialize a PACKET to hold zero bytes. */ |
94 | | static ossl_inline void PACKET_null_init(PACKET *pkt) |
95 | 57.3k | { |
96 | 57.3k | pkt->curr = pkt->msgstart = NULL; |
97 | 57.3k | pkt->remaining = 0; |
98 | 57.3k | } Unexecuted instantiation: params.c:PACKET_null_init Unexecuted instantiation: encode_key2any.c:PACKET_null_init Unexecuted instantiation: hkdf.c:PACKET_null_init Unexecuted instantiation: x942kdf.c:PACKET_null_init Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_null_init Unexecuted instantiation: dsa_sig.c:PACKET_null_init Unexecuted instantiation: ecdsa_sig.c:PACKET_null_init Unexecuted instantiation: eddsa_sig.c:PACKET_null_init Unexecuted instantiation: ml_dsa_sig.c:PACKET_null_init Unexecuted instantiation: rsa_sig.c:PACKET_null_init Unexecuted instantiation: slh_dsa_sig.c:PACKET_null_init Unexecuted instantiation: sm2_sig.c:PACKET_null_init Unexecuted instantiation: der_dsa_sig.c:PACKET_null_init Unexecuted instantiation: der_ec_sig.c:PACKET_null_init Unexecuted instantiation: der_ecx_key.c:PACKET_null_init Unexecuted instantiation: der_hkdf_gen.c:PACKET_null_init Unexecuted instantiation: der_ml_dsa_key.c:PACKET_null_init Unexecuted instantiation: der_rsa_key.c:PACKET_null_init Unexecuted instantiation: der_slh_dsa_key.c:PACKET_null_init Unexecuted instantiation: der_wrap_gen.c:PACKET_null_init Unexecuted instantiation: dsa_asn1.c:PACKET_null_init Unexecuted instantiation: dsa_sign.c:PACKET_null_init Unexecuted instantiation: ec_asn1.c:PACKET_null_init Unexecuted instantiation: hpke_util.c:PACKET_null_init Unexecuted instantiation: asn1_dsa.c:PACKET_null_init Unexecuted instantiation: der_writer.c:PACKET_null_init Unexecuted instantiation: packet.c:PACKET_null_init Unexecuted instantiation: ml_dsa_encoders.c:PACKET_null_init Unexecuted instantiation: ml_dsa_key.c:PACKET_null_init Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_null_init Unexecuted instantiation: ml_dsa_matrix.c:PACKET_null_init Unexecuted instantiation: ml_dsa_ntt.c:PACKET_null_init Unexecuted instantiation: ml_dsa_params.c:PACKET_null_init Unexecuted instantiation: ml_dsa_sample.c:PACKET_null_init Unexecuted instantiation: ml_dsa_sign.c:PACKET_null_init Unexecuted instantiation: slh_dsa.c:PACKET_null_init Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_null_init Unexecuted instantiation: slh_dsa_key.c:PACKET_null_init Unexecuted instantiation: slh_fors.c:PACKET_null_init Unexecuted instantiation: slh_hash.c:PACKET_null_init Unexecuted instantiation: slh_hypertree.c:PACKET_null_init Unexecuted instantiation: slh_xmss.c:PACKET_null_init Unexecuted instantiation: der_rsa_sig.c:PACKET_null_init Unexecuted instantiation: der_sm2_sig.c:PACKET_null_init Unexecuted instantiation: der_digests_gen.c:PACKET_null_init Unexecuted instantiation: der_dsa_gen.c:PACKET_null_init Unexecuted instantiation: der_ec_gen.c:PACKET_null_init Unexecuted instantiation: der_ecx_gen.c:PACKET_null_init Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_null_init Unexecuted instantiation: der_rsa_gen.c:PACKET_null_init Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_null_init Unexecuted instantiation: punycode.c:PACKET_null_init Unexecuted instantiation: slh_wots.c:PACKET_null_init Unexecuted instantiation: der_sm2_gen.c:PACKET_null_init Unexecuted instantiation: quic-client.c:PACKET_null_init Unexecuted instantiation: ssl_cert.c:PACKET_null_init Unexecuted instantiation: ssl_ciph.c:PACKET_null_init Unexecuted instantiation: ssl_init.c:PACKET_null_init Unexecuted instantiation: ssl_lib.c:PACKET_null_init Unexecuted instantiation: ssl_mcnf.c:PACKET_null_init Unexecuted instantiation: ssl_sess.c:PACKET_null_init Unexecuted instantiation: t1_lib.c:PACKET_null_init Unexecuted instantiation: tls13_enc.c:PACKET_null_init Unexecuted instantiation: tls_depr.c:PACKET_null_init Unexecuted instantiation: tls_srp.c:PACKET_null_init Unexecuted instantiation: quic_impl.c:PACKET_null_init Unexecuted instantiation: quic_method.c:PACKET_null_init Unexecuted instantiation: quic_obj.c:PACKET_null_init Unexecuted instantiation: quic_port.c:PACKET_null_init Unexecuted instantiation: quic_record_rx.c:PACKET_null_init Unexecuted instantiation: quic_record_shared.c:PACKET_null_init Unexecuted instantiation: quic_record_tx.c:PACKET_null_init Unexecuted instantiation: quic_record_util.c:PACKET_null_init Unexecuted instantiation: quic_rstream.c:PACKET_null_init Unexecuted instantiation: quic_sf_list.c:PACKET_null_init Unexecuted instantiation: quic_srtm.c:PACKET_null_init Unexecuted instantiation: quic_sstream.c:PACKET_null_init Unexecuted instantiation: quic_stream_map.c:PACKET_null_init Unexecuted instantiation: quic_thread_assist.c:PACKET_null_init Unexecuted instantiation: quic_tls.c:PACKET_null_init Unexecuted instantiation: quic_txp.c:PACKET_null_init Unexecuted instantiation: quic_txpim.c:PACKET_null_init Unexecuted instantiation: quic_wire.c:PACKET_null_init Unexecuted instantiation: quic_wire_pkt.c:PACKET_null_init Unexecuted instantiation: rec_layer_s3.c:PACKET_null_init Unexecuted instantiation: dtls_meth.c:PACKET_null_init Unexecuted instantiation: tls1_meth.c:PACKET_null_init Unexecuted instantiation: tls_common.c:PACKET_null_init Unexecuted instantiation: tls_multib.c:PACKET_null_init Unexecuted instantiation: tlsany_meth.c:PACKET_null_init Unexecuted instantiation: extensions.c:PACKET_null_init Unexecuted instantiation: extensions_clnt.c:PACKET_null_init Unexecuted instantiation: extensions_cust.c:PACKET_null_init Unexecuted instantiation: extensions_srvr.c:PACKET_null_init Unexecuted instantiation: statem.c:PACKET_null_init statem_clnt.c:PACKET_null_init Line | Count | Source | 95 | 3.57k | { | 96 | | pkt->curr = pkt->msgstart = NULL; | 97 | 3.57k | pkt->remaining = 0; | 98 | 3.57k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_null_init Unexecuted instantiation: statem_lib.c:PACKET_null_init statem_srvr.c:PACKET_null_init Line | Count | Source | 95 | 53.8k | { | 96 | | pkt->curr = pkt->msgstart = NULL; | 97 | 53.8k | pkt->remaining = 0; | 98 | 53.8k | } |
Unexecuted instantiation: ech_helper.c:PACKET_null_init Unexecuted instantiation: ech_internal.c:PACKET_null_init Unexecuted instantiation: ech_store.c:PACKET_null_init Unexecuted instantiation: d1_lib.c:PACKET_null_init Unexecuted instantiation: d1_srtp.c:PACKET_null_init Unexecuted instantiation: methods.c:PACKET_null_init Unexecuted instantiation: pqueue.c:PACKET_null_init Unexecuted instantiation: s3_enc.c:PACKET_null_init Unexecuted instantiation: s3_lib.c:PACKET_null_init Unexecuted instantiation: s3_msg.c:PACKET_null_init Unexecuted instantiation: ssl_asn1.c:PACKET_null_init Unexecuted instantiation: ssl_conf.c:PACKET_null_init Unexecuted instantiation: ssl_rsa.c:PACKET_null_init Unexecuted instantiation: t1_enc.c:PACKET_null_init Unexecuted instantiation: qlog_event_helpers.c:PACKET_null_init Unexecuted instantiation: quic_ackm.c:PACKET_null_init Unexecuted instantiation: quic_channel.c:PACKET_null_init Unexecuted instantiation: quic_demux.c:PACKET_null_init Unexecuted instantiation: quic_engine.c:PACKET_null_init Unexecuted instantiation: quic_fifd.c:PACKET_null_init Unexecuted instantiation: quic_lcidm.c:PACKET_null_init Unexecuted instantiation: quic_rx_depack.c:PACKET_null_init Unexecuted instantiation: rec_layer_d1.c:PACKET_null_init Unexecuted instantiation: tls13_meth.c:PACKET_null_init Unexecuted instantiation: d1_msg.c:PACKET_null_init Unexecuted instantiation: quic-server.c:PACKET_null_init Unexecuted instantiation: quic-srtm.c:PACKET_null_init Unexecuted instantiation: ssl_txt.c:PACKET_null_init Unexecuted instantiation: quic-rcidm.c:PACKET_null_init Unexecuted instantiation: quic_rcidm.c:PACKET_null_init Unexecuted instantiation: quic-lcidm.c:PACKET_null_init |
99 | | |
100 | | /* |
101 | | * Returns 1 if the packet has length |num| and its contents equal the |num| |
102 | | * bytes read from |ptr|. Returns 0 otherwise (lengths or contents not equal). |
103 | | * If lengths are equal, performs the comparison in constant time. |
104 | | */ |
105 | | __owur static ossl_inline int PACKET_equal(const PACKET *pkt, const void *ptr, |
106 | | size_t num) |
107 | 6 | { |
108 | 6 | if (PACKET_remaining(pkt) != num) |
109 | 6 | return 0; |
110 | 0 | return CRYPTO_memcmp(pkt->curr, ptr, num) == 0; |
111 | 6 | } Unexecuted instantiation: params.c:PACKET_equal Unexecuted instantiation: encode_key2any.c:PACKET_equal Unexecuted instantiation: hkdf.c:PACKET_equal Unexecuted instantiation: x942kdf.c:PACKET_equal Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_equal Unexecuted instantiation: dsa_sig.c:PACKET_equal Unexecuted instantiation: ecdsa_sig.c:PACKET_equal Unexecuted instantiation: eddsa_sig.c:PACKET_equal Unexecuted instantiation: ml_dsa_sig.c:PACKET_equal Unexecuted instantiation: rsa_sig.c:PACKET_equal Unexecuted instantiation: slh_dsa_sig.c:PACKET_equal Unexecuted instantiation: sm2_sig.c:PACKET_equal Unexecuted instantiation: der_dsa_sig.c:PACKET_equal Unexecuted instantiation: der_ec_sig.c:PACKET_equal Unexecuted instantiation: der_ecx_key.c:PACKET_equal Unexecuted instantiation: der_hkdf_gen.c:PACKET_equal Unexecuted instantiation: der_ml_dsa_key.c:PACKET_equal Unexecuted instantiation: der_rsa_key.c:PACKET_equal Unexecuted instantiation: der_slh_dsa_key.c:PACKET_equal Unexecuted instantiation: der_wrap_gen.c:PACKET_equal Unexecuted instantiation: dsa_asn1.c:PACKET_equal Unexecuted instantiation: dsa_sign.c:PACKET_equal Unexecuted instantiation: ec_asn1.c:PACKET_equal Unexecuted instantiation: hpke_util.c:PACKET_equal Unexecuted instantiation: asn1_dsa.c:PACKET_equal Unexecuted instantiation: der_writer.c:PACKET_equal Unexecuted instantiation: packet.c:PACKET_equal Unexecuted instantiation: ml_dsa_encoders.c:PACKET_equal Unexecuted instantiation: ml_dsa_key.c:PACKET_equal Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_equal Unexecuted instantiation: ml_dsa_matrix.c:PACKET_equal Unexecuted instantiation: ml_dsa_ntt.c:PACKET_equal Unexecuted instantiation: ml_dsa_params.c:PACKET_equal Unexecuted instantiation: ml_dsa_sample.c:PACKET_equal Unexecuted instantiation: ml_dsa_sign.c:PACKET_equal Unexecuted instantiation: slh_dsa.c:PACKET_equal Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_equal Unexecuted instantiation: slh_dsa_key.c:PACKET_equal Unexecuted instantiation: slh_fors.c:PACKET_equal Unexecuted instantiation: slh_hash.c:PACKET_equal Unexecuted instantiation: slh_hypertree.c:PACKET_equal Unexecuted instantiation: slh_xmss.c:PACKET_equal Unexecuted instantiation: der_rsa_sig.c:PACKET_equal Unexecuted instantiation: der_sm2_sig.c:PACKET_equal Unexecuted instantiation: der_digests_gen.c:PACKET_equal Unexecuted instantiation: der_dsa_gen.c:PACKET_equal Unexecuted instantiation: der_ec_gen.c:PACKET_equal Unexecuted instantiation: der_ecx_gen.c:PACKET_equal Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_equal Unexecuted instantiation: der_rsa_gen.c:PACKET_equal Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_equal Unexecuted instantiation: punycode.c:PACKET_equal Unexecuted instantiation: slh_wots.c:PACKET_equal Unexecuted instantiation: der_sm2_gen.c:PACKET_equal Unexecuted instantiation: quic-client.c:PACKET_equal Unexecuted instantiation: ssl_cert.c:PACKET_equal Unexecuted instantiation: ssl_ciph.c:PACKET_equal Unexecuted instantiation: ssl_init.c:PACKET_equal Unexecuted instantiation: ssl_lib.c:PACKET_equal Unexecuted instantiation: ssl_mcnf.c:PACKET_equal Unexecuted instantiation: ssl_sess.c:PACKET_equal Unexecuted instantiation: t1_lib.c:PACKET_equal Unexecuted instantiation: tls13_enc.c:PACKET_equal Unexecuted instantiation: tls_depr.c:PACKET_equal Unexecuted instantiation: tls_srp.c:PACKET_equal Unexecuted instantiation: quic_impl.c:PACKET_equal Unexecuted instantiation: quic_method.c:PACKET_equal Unexecuted instantiation: quic_obj.c:PACKET_equal Unexecuted instantiation: quic_port.c:PACKET_equal Unexecuted instantiation: quic_record_rx.c:PACKET_equal Unexecuted instantiation: quic_record_shared.c:PACKET_equal Unexecuted instantiation: quic_record_tx.c:PACKET_equal Unexecuted instantiation: quic_record_util.c:PACKET_equal Unexecuted instantiation: quic_rstream.c:PACKET_equal Unexecuted instantiation: quic_sf_list.c:PACKET_equal Unexecuted instantiation: quic_srtm.c:PACKET_equal Unexecuted instantiation: quic_sstream.c:PACKET_equal Unexecuted instantiation: quic_stream_map.c:PACKET_equal Unexecuted instantiation: quic_thread_assist.c:PACKET_equal Unexecuted instantiation: quic_tls.c:PACKET_equal Unexecuted instantiation: quic_txp.c:PACKET_equal Unexecuted instantiation: quic_txpim.c:PACKET_equal Unexecuted instantiation: quic_wire.c:PACKET_equal Unexecuted instantiation: quic_wire_pkt.c:PACKET_equal Unexecuted instantiation: rec_layer_s3.c:PACKET_equal Unexecuted instantiation: dtls_meth.c:PACKET_equal Unexecuted instantiation: tls1_meth.c:PACKET_equal Unexecuted instantiation: tls_common.c:PACKET_equal Unexecuted instantiation: tls_multib.c:PACKET_equal Unexecuted instantiation: tlsany_meth.c:PACKET_equal Unexecuted instantiation: extensions.c:PACKET_equal Unexecuted instantiation: extensions_clnt.c:PACKET_equal Unexecuted instantiation: extensions_cust.c:PACKET_equal extensions_srvr.c:PACKET_equal Line | Count | Source | 107 | 6 | { | 108 | 6 | if (PACKET_remaining(pkt) != num) | 109 | 6 | return 0; | 110 | 0 | return CRYPTO_memcmp(pkt->curr, ptr, num) == 0; | 111 | 6 | } |
Unexecuted instantiation: statem.c:PACKET_equal Unexecuted instantiation: statem_clnt.c:PACKET_equal Unexecuted instantiation: statem_dtls.c:PACKET_equal Unexecuted instantiation: statem_lib.c:PACKET_equal Unexecuted instantiation: statem_srvr.c:PACKET_equal Unexecuted instantiation: ech_helper.c:PACKET_equal Unexecuted instantiation: ech_internal.c:PACKET_equal Unexecuted instantiation: ech_store.c:PACKET_equal Unexecuted instantiation: d1_lib.c:PACKET_equal Unexecuted instantiation: d1_srtp.c:PACKET_equal Unexecuted instantiation: methods.c:PACKET_equal Unexecuted instantiation: pqueue.c:PACKET_equal Unexecuted instantiation: s3_enc.c:PACKET_equal Unexecuted instantiation: s3_lib.c:PACKET_equal Unexecuted instantiation: s3_msg.c:PACKET_equal Unexecuted instantiation: ssl_asn1.c:PACKET_equal Unexecuted instantiation: ssl_conf.c:PACKET_equal Unexecuted instantiation: ssl_rsa.c:PACKET_equal Unexecuted instantiation: t1_enc.c:PACKET_equal Unexecuted instantiation: qlog_event_helpers.c:PACKET_equal Unexecuted instantiation: quic_ackm.c:PACKET_equal Unexecuted instantiation: quic_channel.c:PACKET_equal Unexecuted instantiation: quic_demux.c:PACKET_equal Unexecuted instantiation: quic_engine.c:PACKET_equal Unexecuted instantiation: quic_fifd.c:PACKET_equal Unexecuted instantiation: quic_lcidm.c:PACKET_equal Unexecuted instantiation: quic_rx_depack.c:PACKET_equal Unexecuted instantiation: rec_layer_d1.c:PACKET_equal Unexecuted instantiation: tls13_meth.c:PACKET_equal Unexecuted instantiation: d1_msg.c:PACKET_equal Unexecuted instantiation: quic-server.c:PACKET_equal Unexecuted instantiation: quic-srtm.c:PACKET_equal Unexecuted instantiation: ssl_txt.c:PACKET_equal Unexecuted instantiation: quic-rcidm.c:PACKET_equal Unexecuted instantiation: quic_rcidm.c:PACKET_equal Unexecuted instantiation: quic-lcidm.c:PACKET_equal |
112 | | |
113 | | /* |
114 | | * Peek ahead and initialize |subpkt| with the next |len| bytes read from |pkt|. |
115 | | * Data is not copied: the |subpkt| packet will share its underlying buffer with |
116 | | * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|. |
117 | | */ |
118 | | __owur static ossl_inline int PACKET_peek_sub_packet(const PACKET *pkt, |
119 | | PACKET *subpkt, size_t len) |
120 | 11.7k | { |
121 | 11.7k | if (PACKET_remaining(pkt) < len) |
122 | 126 | return 0; |
123 | | |
124 | 11.6k | if (!PACKET_buf_init(subpkt, pkt->curr, len)) |
125 | 0 | return 0; |
126 | | |
127 | 11.6k | subpkt->msgstart = pkt->msgstart; |
128 | 11.6k | return 1; |
129 | 11.6k | } Unexecuted instantiation: params.c:PACKET_peek_sub_packet Unexecuted instantiation: encode_key2any.c:PACKET_peek_sub_packet Unexecuted instantiation: hkdf.c:PACKET_peek_sub_packet Unexecuted instantiation: x942kdf.c:PACKET_peek_sub_packet Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_peek_sub_packet Unexecuted instantiation: dsa_sig.c:PACKET_peek_sub_packet Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_sub_packet Unexecuted instantiation: eddsa_sig.c:PACKET_peek_sub_packet Unexecuted instantiation: ml_dsa_sig.c:PACKET_peek_sub_packet Unexecuted instantiation: rsa_sig.c:PACKET_peek_sub_packet Unexecuted instantiation: slh_dsa_sig.c:PACKET_peek_sub_packet Unexecuted instantiation: sm2_sig.c:PACKET_peek_sub_packet Unexecuted instantiation: der_dsa_sig.c:PACKET_peek_sub_packet Unexecuted instantiation: der_ec_sig.c:PACKET_peek_sub_packet Unexecuted instantiation: der_ecx_key.c:PACKET_peek_sub_packet Unexecuted instantiation: der_hkdf_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: der_ml_dsa_key.c:PACKET_peek_sub_packet Unexecuted instantiation: der_rsa_key.c:PACKET_peek_sub_packet Unexecuted instantiation: der_slh_dsa_key.c:PACKET_peek_sub_packet Unexecuted instantiation: der_wrap_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: dsa_asn1.c:PACKET_peek_sub_packet Unexecuted instantiation: dsa_sign.c:PACKET_peek_sub_packet Unexecuted instantiation: ec_asn1.c:PACKET_peek_sub_packet Unexecuted instantiation: hpke_util.c:PACKET_peek_sub_packet asn1_dsa.c:PACKET_peek_sub_packet Line | Count | Source | 120 | 11.1k | { | 121 | 11.1k | if (PACKET_remaining(pkt) < len) | 122 | 126 | return 0; | 123 | | | 124 | 10.9k | if (!PACKET_buf_init(subpkt, pkt->curr, len)) | 125 | 0 | return 0; | 126 | | | 127 | 10.9k | subpkt->msgstart = pkt->msgstart; | 128 | 10.9k | return 1; | 129 | 10.9k | } |
Unexecuted instantiation: der_writer.c:PACKET_peek_sub_packet Unexecuted instantiation: packet.c:PACKET_peek_sub_packet Unexecuted instantiation: ml_dsa_encoders.c:PACKET_peek_sub_packet Unexecuted instantiation: ml_dsa_key.c:PACKET_peek_sub_packet Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_peek_sub_packet Unexecuted instantiation: ml_dsa_matrix.c:PACKET_peek_sub_packet Unexecuted instantiation: ml_dsa_ntt.c:PACKET_peek_sub_packet Unexecuted instantiation: ml_dsa_params.c:PACKET_peek_sub_packet Unexecuted instantiation: ml_dsa_sample.c:PACKET_peek_sub_packet Unexecuted instantiation: ml_dsa_sign.c:PACKET_peek_sub_packet Unexecuted instantiation: slh_dsa.c:PACKET_peek_sub_packet Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_peek_sub_packet Unexecuted instantiation: slh_dsa_key.c:PACKET_peek_sub_packet Unexecuted instantiation: slh_fors.c:PACKET_peek_sub_packet Unexecuted instantiation: slh_hash.c:PACKET_peek_sub_packet Unexecuted instantiation: slh_hypertree.c:PACKET_peek_sub_packet Unexecuted instantiation: slh_xmss.c:PACKET_peek_sub_packet Unexecuted instantiation: der_rsa_sig.c:PACKET_peek_sub_packet Unexecuted instantiation: der_sm2_sig.c:PACKET_peek_sub_packet Unexecuted instantiation: der_digests_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: der_dsa_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: der_ec_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: der_ecx_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: der_rsa_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: punycode.c:PACKET_peek_sub_packet Unexecuted instantiation: slh_wots.c:PACKET_peek_sub_packet Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: quic-client.c:PACKET_peek_sub_packet Unexecuted instantiation: ssl_cert.c:PACKET_peek_sub_packet Unexecuted instantiation: ssl_ciph.c:PACKET_peek_sub_packet Unexecuted instantiation: ssl_init.c:PACKET_peek_sub_packet Unexecuted instantiation: ssl_lib.c:PACKET_peek_sub_packet Unexecuted instantiation: ssl_mcnf.c:PACKET_peek_sub_packet Unexecuted instantiation: ssl_sess.c:PACKET_peek_sub_packet Unexecuted instantiation: t1_lib.c:PACKET_peek_sub_packet Unexecuted instantiation: tls13_enc.c:PACKET_peek_sub_packet Unexecuted instantiation: tls_depr.c:PACKET_peek_sub_packet Unexecuted instantiation: tls_srp.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_impl.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_method.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_obj.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_port.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_record_rx.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_record_shared.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_record_tx.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_record_util.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_rstream.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_sf_list.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_srtm.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_sstream.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_stream_map.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_thread_assist.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_tls.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_txp.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_txpim.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_wire.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_wire_pkt.c:PACKET_peek_sub_packet Unexecuted instantiation: rec_layer_s3.c:PACKET_peek_sub_packet Unexecuted instantiation: dtls_meth.c:PACKET_peek_sub_packet Unexecuted instantiation: tls1_meth.c:PACKET_peek_sub_packet Unexecuted instantiation: tls_common.c:PACKET_peek_sub_packet Unexecuted instantiation: tls_multib.c:PACKET_peek_sub_packet Unexecuted instantiation: tlsany_meth.c:PACKET_peek_sub_packet Unexecuted instantiation: extensions.c:PACKET_peek_sub_packet Unexecuted instantiation: extensions_clnt.c:PACKET_peek_sub_packet Unexecuted instantiation: extensions_cust.c:PACKET_peek_sub_packet Unexecuted instantiation: extensions_srvr.c:PACKET_peek_sub_packet Unexecuted instantiation: statem.c:PACKET_peek_sub_packet statem_clnt.c:PACKET_peek_sub_packet Line | Count | Source | 120 | 663 | { | 121 | 663 | if (PACKET_remaining(pkt) < len) | 122 | 0 | return 0; | 123 | | | 124 | 663 | if (!PACKET_buf_init(subpkt, pkt->curr, len)) | 125 | 0 | return 0; | 126 | | | 127 | 663 | subpkt->msgstart = pkt->msgstart; | 128 | 663 | return 1; | 129 | 663 | } |
Unexecuted instantiation: statem_dtls.c:PACKET_peek_sub_packet Unexecuted instantiation: statem_lib.c:PACKET_peek_sub_packet Unexecuted instantiation: ech_helper.c:PACKET_peek_sub_packet Unexecuted instantiation: ech_internal.c:PACKET_peek_sub_packet Unexecuted instantiation: ech_store.c:PACKET_peek_sub_packet Unexecuted instantiation: d1_lib.c:PACKET_peek_sub_packet Unexecuted instantiation: d1_srtp.c:PACKET_peek_sub_packet Unexecuted instantiation: methods.c:PACKET_peek_sub_packet Unexecuted instantiation: pqueue.c:PACKET_peek_sub_packet Unexecuted instantiation: s3_enc.c:PACKET_peek_sub_packet Unexecuted instantiation: s3_lib.c:PACKET_peek_sub_packet Unexecuted instantiation: s3_msg.c:PACKET_peek_sub_packet Unexecuted instantiation: ssl_asn1.c:PACKET_peek_sub_packet Unexecuted instantiation: ssl_conf.c:PACKET_peek_sub_packet Unexecuted instantiation: ssl_rsa.c:PACKET_peek_sub_packet Unexecuted instantiation: t1_enc.c:PACKET_peek_sub_packet Unexecuted instantiation: qlog_event_helpers.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_ackm.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_channel.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_demux.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_engine.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_fifd.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_lcidm.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_rx_depack.c:PACKET_peek_sub_packet Unexecuted instantiation: rec_layer_d1.c:PACKET_peek_sub_packet Unexecuted instantiation: tls13_meth.c:PACKET_peek_sub_packet Unexecuted instantiation: d1_msg.c:PACKET_peek_sub_packet Unexecuted instantiation: quic-server.c:PACKET_peek_sub_packet Unexecuted instantiation: quic-srtm.c:PACKET_peek_sub_packet Unexecuted instantiation: ssl_txt.c:PACKET_peek_sub_packet Unexecuted instantiation: quic-rcidm.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_rcidm.c:PACKET_peek_sub_packet Unexecuted instantiation: quic-lcidm.c:PACKET_peek_sub_packet |
130 | | |
131 | | /* |
132 | | * Initialize |subpkt| with the next |len| bytes read from |pkt|. Data is not |
133 | | * copied: the |subpkt| packet will share its underlying buffer with the |
134 | | * original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|. |
135 | | */ |
136 | | __owur static ossl_inline int PACKET_get_sub_packet(PACKET *pkt, |
137 | | PACKET *subpkt, size_t len) |
138 | 76.2k | { |
139 | 76.2k | if (!PACKET_peek_sub_packet(pkt, subpkt, len)) |
140 | 672 | return 0; |
141 | | |
142 | 75.6k | packet_forward(pkt, len); |
143 | | |
144 | 75.6k | return 1; |
145 | 76.2k | } Unexecuted instantiation: params.c:PACKET_get_sub_packet Unexecuted instantiation: encode_key2any.c:PACKET_get_sub_packet Unexecuted instantiation: hkdf.c:PACKET_get_sub_packet Unexecuted instantiation: x942kdf.c:PACKET_get_sub_packet Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_sub_packet Unexecuted instantiation: dsa_sig.c:PACKET_get_sub_packet Unexecuted instantiation: ecdsa_sig.c:PACKET_get_sub_packet Unexecuted instantiation: eddsa_sig.c:PACKET_get_sub_packet Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_sub_packet Unexecuted instantiation: rsa_sig.c:PACKET_get_sub_packet Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_sub_packet Unexecuted instantiation: sm2_sig.c:PACKET_get_sub_packet Unexecuted instantiation: der_dsa_sig.c:PACKET_get_sub_packet Unexecuted instantiation: der_ec_sig.c:PACKET_get_sub_packet Unexecuted instantiation: der_ecx_key.c:PACKET_get_sub_packet Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_sub_packet Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_sub_packet Unexecuted instantiation: der_rsa_key.c:PACKET_get_sub_packet Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_sub_packet Unexecuted instantiation: der_wrap_gen.c:PACKET_get_sub_packet Unexecuted instantiation: dsa_asn1.c:PACKET_get_sub_packet Unexecuted instantiation: dsa_sign.c:PACKET_get_sub_packet Unexecuted instantiation: ec_asn1.c:PACKET_get_sub_packet Unexecuted instantiation: hpke_util.c:PACKET_get_sub_packet asn1_dsa.c:PACKET_get_sub_packet Line | Count | Source | 138 | 70.6k | { | 139 | 70.6k | if (!PACKET_peek_sub_packet(pkt, subpkt, len)) | 140 | 672 | return 0; | 141 | | | 142 | 70.0k | packet_forward(pkt, len); | 143 | | | 144 | 70.0k | return 1; | 145 | 70.6k | } |
Unexecuted instantiation: der_writer.c:PACKET_get_sub_packet Unexecuted instantiation: packet.c:PACKET_get_sub_packet Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_sub_packet Unexecuted instantiation: ml_dsa_key.c:PACKET_get_sub_packet Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_sub_packet Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_sub_packet Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_sub_packet Unexecuted instantiation: ml_dsa_params.c:PACKET_get_sub_packet Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_sub_packet Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_sub_packet Unexecuted instantiation: slh_dsa.c:PACKET_get_sub_packet Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_sub_packet Unexecuted instantiation: slh_dsa_key.c:PACKET_get_sub_packet Unexecuted instantiation: slh_fors.c:PACKET_get_sub_packet Unexecuted instantiation: slh_hash.c:PACKET_get_sub_packet Unexecuted instantiation: slh_hypertree.c:PACKET_get_sub_packet Unexecuted instantiation: slh_xmss.c:PACKET_get_sub_packet Unexecuted instantiation: der_rsa_sig.c:PACKET_get_sub_packet Unexecuted instantiation: der_sm2_sig.c:PACKET_get_sub_packet Unexecuted instantiation: der_digests_gen.c:PACKET_get_sub_packet Unexecuted instantiation: der_dsa_gen.c:PACKET_get_sub_packet Unexecuted instantiation: der_ec_gen.c:PACKET_get_sub_packet Unexecuted instantiation: der_ecx_gen.c:PACKET_get_sub_packet Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_sub_packet Unexecuted instantiation: der_rsa_gen.c:PACKET_get_sub_packet Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_sub_packet Unexecuted instantiation: punycode.c:PACKET_get_sub_packet Unexecuted instantiation: slh_wots.c:PACKET_get_sub_packet Unexecuted instantiation: der_sm2_gen.c:PACKET_get_sub_packet Unexecuted instantiation: quic-client.c:PACKET_get_sub_packet Unexecuted instantiation: ssl_cert.c:PACKET_get_sub_packet Unexecuted instantiation: ssl_ciph.c:PACKET_get_sub_packet Unexecuted instantiation: ssl_init.c:PACKET_get_sub_packet Unexecuted instantiation: ssl_lib.c:PACKET_get_sub_packet Unexecuted instantiation: ssl_mcnf.c:PACKET_get_sub_packet Unexecuted instantiation: ssl_sess.c:PACKET_get_sub_packet Unexecuted instantiation: t1_lib.c:PACKET_get_sub_packet Unexecuted instantiation: tls13_enc.c:PACKET_get_sub_packet Unexecuted instantiation: tls_depr.c:PACKET_get_sub_packet Unexecuted instantiation: tls_srp.c:PACKET_get_sub_packet Unexecuted instantiation: quic_impl.c:PACKET_get_sub_packet Unexecuted instantiation: quic_method.c:PACKET_get_sub_packet Unexecuted instantiation: quic_obj.c:PACKET_get_sub_packet Unexecuted instantiation: quic_port.c:PACKET_get_sub_packet Unexecuted instantiation: quic_record_rx.c:PACKET_get_sub_packet Unexecuted instantiation: quic_record_shared.c:PACKET_get_sub_packet Unexecuted instantiation: quic_record_tx.c:PACKET_get_sub_packet Unexecuted instantiation: quic_record_util.c:PACKET_get_sub_packet Unexecuted instantiation: quic_rstream.c:PACKET_get_sub_packet Unexecuted instantiation: quic_sf_list.c:PACKET_get_sub_packet Unexecuted instantiation: quic_srtm.c:PACKET_get_sub_packet Unexecuted instantiation: quic_sstream.c:PACKET_get_sub_packet Unexecuted instantiation: quic_stream_map.c:PACKET_get_sub_packet Unexecuted instantiation: quic_thread_assist.c:PACKET_get_sub_packet Unexecuted instantiation: quic_tls.c:PACKET_get_sub_packet Unexecuted instantiation: quic_txp.c:PACKET_get_sub_packet Unexecuted instantiation: quic_txpim.c:PACKET_get_sub_packet Unexecuted instantiation: quic_wire.c:PACKET_get_sub_packet Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_sub_packet Unexecuted instantiation: rec_layer_s3.c:PACKET_get_sub_packet Unexecuted instantiation: dtls_meth.c:PACKET_get_sub_packet Unexecuted instantiation: tls1_meth.c:PACKET_get_sub_packet Unexecuted instantiation: tls_common.c:PACKET_get_sub_packet Unexecuted instantiation: tls_multib.c:PACKET_get_sub_packet Unexecuted instantiation: tlsany_meth.c:PACKET_get_sub_packet Unexecuted instantiation: extensions.c:PACKET_get_sub_packet Unexecuted instantiation: extensions_clnt.c:PACKET_get_sub_packet Unexecuted instantiation: extensions_cust.c:PACKET_get_sub_packet Unexecuted instantiation: extensions_srvr.c:PACKET_get_sub_packet Unexecuted instantiation: statem.c:PACKET_get_sub_packet statem_clnt.c:PACKET_get_sub_packet Line | Count | Source | 138 | 5.59k | { | 139 | 5.59k | if (!PACKET_peek_sub_packet(pkt, subpkt, len)) | 140 | 0 | return 0; | 141 | | | 142 | 5.59k | packet_forward(pkt, len); | 143 | | | 144 | 5.59k | return 1; | 145 | 5.59k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_get_sub_packet Unexecuted instantiation: statem_lib.c:PACKET_get_sub_packet Unexecuted instantiation: ech_helper.c:PACKET_get_sub_packet Unexecuted instantiation: ech_internal.c:PACKET_get_sub_packet Unexecuted instantiation: ech_store.c:PACKET_get_sub_packet Unexecuted instantiation: d1_lib.c:PACKET_get_sub_packet Unexecuted instantiation: d1_srtp.c:PACKET_get_sub_packet Unexecuted instantiation: methods.c:PACKET_get_sub_packet Unexecuted instantiation: pqueue.c:PACKET_get_sub_packet Unexecuted instantiation: s3_enc.c:PACKET_get_sub_packet Unexecuted instantiation: s3_lib.c:PACKET_get_sub_packet Unexecuted instantiation: s3_msg.c:PACKET_get_sub_packet Unexecuted instantiation: ssl_asn1.c:PACKET_get_sub_packet Unexecuted instantiation: ssl_conf.c:PACKET_get_sub_packet Unexecuted instantiation: ssl_rsa.c:PACKET_get_sub_packet Unexecuted instantiation: t1_enc.c:PACKET_get_sub_packet Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_sub_packet Unexecuted instantiation: quic_ackm.c:PACKET_get_sub_packet Unexecuted instantiation: quic_channel.c:PACKET_get_sub_packet Unexecuted instantiation: quic_demux.c:PACKET_get_sub_packet Unexecuted instantiation: quic_engine.c:PACKET_get_sub_packet Unexecuted instantiation: quic_fifd.c:PACKET_get_sub_packet Unexecuted instantiation: quic_lcidm.c:PACKET_get_sub_packet Unexecuted instantiation: quic_rx_depack.c:PACKET_get_sub_packet Unexecuted instantiation: rec_layer_d1.c:PACKET_get_sub_packet Unexecuted instantiation: tls13_meth.c:PACKET_get_sub_packet Unexecuted instantiation: d1_msg.c:PACKET_get_sub_packet Unexecuted instantiation: quic-server.c:PACKET_get_sub_packet Unexecuted instantiation: quic-srtm.c:PACKET_get_sub_packet Unexecuted instantiation: ssl_txt.c:PACKET_get_sub_packet Unexecuted instantiation: quic-rcidm.c:PACKET_get_sub_packet Unexecuted instantiation: quic_rcidm.c:PACKET_get_sub_packet Unexecuted instantiation: quic-lcidm.c:PACKET_get_sub_packet |
146 | | |
147 | | /* |
148 | | * Peek ahead at 2 bytes in network order from |pkt| and store the value in |
149 | | * |*data| |
150 | | */ |
151 | | __owur static ossl_inline int PACKET_peek_net_2(const PACKET *pkt, |
152 | | unsigned int *data) |
153 | 3.02M | { |
154 | 3.02M | if (PACKET_remaining(pkt) < 2) |
155 | 7.39k | return 0; |
156 | | |
157 | 3.01M | *data = ((unsigned int)(*pkt->curr)) << 8; |
158 | 3.01M | *data |= *(pkt->curr + 1); |
159 | | |
160 | 3.01M | return 1; |
161 | 3.02M | } Unexecuted instantiation: params.c:PACKET_peek_net_2 Unexecuted instantiation: encode_key2any.c:PACKET_peek_net_2 Unexecuted instantiation: hkdf.c:PACKET_peek_net_2 Unexecuted instantiation: x942kdf.c:PACKET_peek_net_2 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_peek_net_2 Unexecuted instantiation: dsa_sig.c:PACKET_peek_net_2 Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_net_2 Unexecuted instantiation: eddsa_sig.c:PACKET_peek_net_2 Unexecuted instantiation: ml_dsa_sig.c:PACKET_peek_net_2 Unexecuted instantiation: rsa_sig.c:PACKET_peek_net_2 Unexecuted instantiation: slh_dsa_sig.c:PACKET_peek_net_2 Unexecuted instantiation: sm2_sig.c:PACKET_peek_net_2 Unexecuted instantiation: der_dsa_sig.c:PACKET_peek_net_2 Unexecuted instantiation: der_ec_sig.c:PACKET_peek_net_2 Unexecuted instantiation: der_ecx_key.c:PACKET_peek_net_2 Unexecuted instantiation: der_hkdf_gen.c:PACKET_peek_net_2 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_peek_net_2 Unexecuted instantiation: der_rsa_key.c:PACKET_peek_net_2 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_peek_net_2 Unexecuted instantiation: der_wrap_gen.c:PACKET_peek_net_2 Unexecuted instantiation: dsa_asn1.c:PACKET_peek_net_2 Unexecuted instantiation: dsa_sign.c:PACKET_peek_net_2 Unexecuted instantiation: ec_asn1.c:PACKET_peek_net_2 Unexecuted instantiation: hpke_util.c:PACKET_peek_net_2 asn1_dsa.c:PACKET_peek_net_2 Line | Count | Source | 153 | 8.54k | { | 154 | 8.54k | if (PACKET_remaining(pkt) < 2) | 155 | 129 | return 0; | 156 | | | 157 | 8.41k | *data = ((unsigned int)(*pkt->curr)) << 8; | 158 | 8.41k | *data |= *(pkt->curr + 1); | 159 | | | 160 | 8.41k | return 1; | 161 | 8.54k | } |
Unexecuted instantiation: der_writer.c:PACKET_peek_net_2 Unexecuted instantiation: packet.c:PACKET_peek_net_2 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_peek_net_2 Unexecuted instantiation: ml_dsa_key.c:PACKET_peek_net_2 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_peek_net_2 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_peek_net_2 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_peek_net_2 Unexecuted instantiation: ml_dsa_params.c:PACKET_peek_net_2 Unexecuted instantiation: ml_dsa_sample.c:PACKET_peek_net_2 Unexecuted instantiation: ml_dsa_sign.c:PACKET_peek_net_2 Unexecuted instantiation: slh_dsa.c:PACKET_peek_net_2 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_peek_net_2 Unexecuted instantiation: slh_dsa_key.c:PACKET_peek_net_2 Unexecuted instantiation: slh_fors.c:PACKET_peek_net_2 Unexecuted instantiation: slh_hash.c:PACKET_peek_net_2 Unexecuted instantiation: slh_hypertree.c:PACKET_peek_net_2 Unexecuted instantiation: slh_xmss.c:PACKET_peek_net_2 Unexecuted instantiation: der_rsa_sig.c:PACKET_peek_net_2 Unexecuted instantiation: der_sm2_sig.c:PACKET_peek_net_2 Unexecuted instantiation: der_digests_gen.c:PACKET_peek_net_2 Unexecuted instantiation: der_dsa_gen.c:PACKET_peek_net_2 Unexecuted instantiation: der_ec_gen.c:PACKET_peek_net_2 Unexecuted instantiation: der_ecx_gen.c:PACKET_peek_net_2 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_peek_net_2 Unexecuted instantiation: der_rsa_gen.c:PACKET_peek_net_2 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_peek_net_2 Unexecuted instantiation: punycode.c:PACKET_peek_net_2 Unexecuted instantiation: slh_wots.c:PACKET_peek_net_2 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_net_2 Unexecuted instantiation: quic-client.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_cert.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_ciph.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_init.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_lib.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_mcnf.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_sess.c:PACKET_peek_net_2 t1_lib.c:PACKET_peek_net_2 Line | Count | Source | 153 | 315k | { | 154 | 315k | if (PACKET_remaining(pkt) < 2) | 155 | 0 | return 0; | 156 | | | 157 | 315k | *data = ((unsigned int)(*pkt->curr)) << 8; | 158 | 315k | *data |= *(pkt->curr + 1); | 159 | | | 160 | 315k | return 1; | 161 | 315k | } |
Unexecuted instantiation: tls13_enc.c:PACKET_peek_net_2 Unexecuted instantiation: tls_depr.c:PACKET_peek_net_2 Unexecuted instantiation: tls_srp.c:PACKET_peek_net_2 Unexecuted instantiation: quic_impl.c:PACKET_peek_net_2 Unexecuted instantiation: quic_method.c:PACKET_peek_net_2 Unexecuted instantiation: quic_obj.c:PACKET_peek_net_2 Unexecuted instantiation: quic_port.c:PACKET_peek_net_2 Unexecuted instantiation: quic_record_rx.c:PACKET_peek_net_2 Unexecuted instantiation: quic_record_shared.c:PACKET_peek_net_2 Unexecuted instantiation: quic_record_tx.c:PACKET_peek_net_2 Unexecuted instantiation: quic_record_util.c:PACKET_peek_net_2 Unexecuted instantiation: quic_rstream.c:PACKET_peek_net_2 Unexecuted instantiation: quic_sf_list.c:PACKET_peek_net_2 Unexecuted instantiation: quic_srtm.c:PACKET_peek_net_2 Unexecuted instantiation: quic_sstream.c:PACKET_peek_net_2 Unexecuted instantiation: quic_stream_map.c:PACKET_peek_net_2 Unexecuted instantiation: quic_thread_assist.c:PACKET_peek_net_2 Unexecuted instantiation: quic_tls.c:PACKET_peek_net_2 Unexecuted instantiation: quic_txp.c:PACKET_peek_net_2 Unexecuted instantiation: quic_txpim.c:PACKET_peek_net_2 quic_wire.c:PACKET_peek_net_2 Line | Count | Source | 153 | 76 | { | 154 | 76 | if (PACKET_remaining(pkt) < 2) | 155 | 0 | return 0; | 156 | | | 157 | 76 | *data = ((unsigned int)(*pkt->curr)) << 8; | 158 | 76 | *data |= *(pkt->curr + 1); | 159 | | | 160 | 76 | return 1; | 161 | 76 | } |
Unexecuted instantiation: quic_wire_pkt.c:PACKET_peek_net_2 Unexecuted instantiation: rec_layer_s3.c:PACKET_peek_net_2 Unexecuted instantiation: dtls_meth.c:PACKET_peek_net_2 Unexecuted instantiation: tls1_meth.c:PACKET_peek_net_2 tls_common.c:PACKET_peek_net_2 Line | Count | Source | 153 | 1.20M | { | 154 | 1.20M | if (PACKET_remaining(pkt) < 2) | 155 | 0 | return 0; | 156 | | | 157 | 1.20M | *data = ((unsigned int)(*pkt->curr)) << 8; | 158 | 1.20M | *data |= *(pkt->curr + 1); | 159 | | | 160 | 1.20M | return 1; | 161 | 1.20M | } |
Unexecuted instantiation: tls_multib.c:PACKET_peek_net_2 Unexecuted instantiation: tlsany_meth.c:PACKET_peek_net_2 extensions.c:PACKET_peek_net_2 Line | Count | Source | 153 | 813k | { | 154 | 813k | if (PACKET_remaining(pkt) < 2) | 155 | 159 | return 0; | 156 | | | 157 | 813k | *data = ((unsigned int)(*pkt->curr)) << 8; | 158 | 813k | *data |= *(pkt->curr + 1); | 159 | | | 160 | 813k | return 1; | 161 | 813k | } |
extensions_clnt.c:PACKET_peek_net_2 Line | Count | Source | 153 | 101k | { | 154 | 101k | if (PACKET_remaining(pkt) < 2) | 155 | 146 | return 0; | 156 | | | 157 | 100k | *data = ((unsigned int)(*pkt->curr)) << 8; | 158 | 100k | *data |= *(pkt->curr + 1); | 159 | | | 160 | 100k | return 1; | 161 | 101k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_peek_net_2 extensions_srvr.c:PACKET_peek_net_2 Line | Count | Source | 153 | 79.7k | { | 154 | 79.7k | if (PACKET_remaining(pkt) < 2) | 155 | 288 | return 0; | 156 | | | 157 | 79.4k | *data = ((unsigned int)(*pkt->curr)) << 8; | 158 | 79.4k | *data |= *(pkt->curr + 1); | 159 | | | 160 | 79.4k | return 1; | 161 | 79.7k | } |
Unexecuted instantiation: statem.c:PACKET_peek_net_2 statem_clnt.c:PACKET_peek_net_2 Line | Count | Source | 153 | 256k | { | 154 | 256k | if (PACKET_remaining(pkt) < 2) | 155 | 281 | return 0; | 156 | | | 157 | 255k | *data = ((unsigned int)(*pkt->curr)) << 8; | 158 | 255k | *data |= *(pkt->curr + 1); | 159 | | | 160 | 255k | return 1; | 161 | 256k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_peek_net_2 statem_lib.c:PACKET_peek_net_2 Line | Count | Source | 153 | 76.1k | { | 154 | 76.1k | if (PACKET_remaining(pkt) < 2) | 155 | 6.18k | return 0; | 156 | | | 157 | 70.0k | *data = ((unsigned int)(*pkt->curr)) << 8; | 158 | 70.0k | *data |= *(pkt->curr + 1); | 159 | | | 160 | 70.0k | return 1; | 161 | 76.1k | } |
statem_srvr.c:PACKET_peek_net_2 Line | Count | Source | 153 | 140k | { | 154 | 140k | if (PACKET_remaining(pkt) < 2) | 155 | 155 | return 0; | 156 | | | 157 | 140k | *data = ((unsigned int)(*pkt->curr)) << 8; | 158 | 140k | *data |= *(pkt->curr + 1); | 159 | | | 160 | 140k | return 1; | 161 | 140k | } |
ech_helper.c:PACKET_peek_net_2 Line | Count | Source | 153 | 23.2k | { | 154 | 23.2k | if (PACKET_remaining(pkt) < 2) | 155 | 52 | return 0; | 156 | | | 157 | 23.1k | *data = ((unsigned int)(*pkt->curr)) << 8; | 158 | 23.1k | *data |= *(pkt->curr + 1); | 159 | | | 160 | 23.1k | return 1; | 161 | 23.2k | } |
Unexecuted instantiation: ech_internal.c:PACKET_peek_net_2 Unexecuted instantiation: ech_store.c:PACKET_peek_net_2 Unexecuted instantiation: d1_lib.c:PACKET_peek_net_2 Unexecuted instantiation: d1_srtp.c:PACKET_peek_net_2 Unexecuted instantiation: methods.c:PACKET_peek_net_2 Unexecuted instantiation: pqueue.c:PACKET_peek_net_2 Unexecuted instantiation: s3_enc.c:PACKET_peek_net_2 Unexecuted instantiation: s3_lib.c:PACKET_peek_net_2 Unexecuted instantiation: s3_msg.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_asn1.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_conf.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_rsa.c:PACKET_peek_net_2 Unexecuted instantiation: t1_enc.c:PACKET_peek_net_2 Unexecuted instantiation: qlog_event_helpers.c:PACKET_peek_net_2 Unexecuted instantiation: quic_ackm.c:PACKET_peek_net_2 Unexecuted instantiation: quic_channel.c:PACKET_peek_net_2 Unexecuted instantiation: quic_demux.c:PACKET_peek_net_2 Unexecuted instantiation: quic_engine.c:PACKET_peek_net_2 Unexecuted instantiation: quic_fifd.c:PACKET_peek_net_2 Unexecuted instantiation: quic_lcidm.c:PACKET_peek_net_2 Unexecuted instantiation: quic_rx_depack.c:PACKET_peek_net_2 Unexecuted instantiation: rec_layer_d1.c:PACKET_peek_net_2 Unexecuted instantiation: tls13_meth.c:PACKET_peek_net_2 Unexecuted instantiation: d1_msg.c:PACKET_peek_net_2 Unexecuted instantiation: quic-server.c:PACKET_peek_net_2 Unexecuted instantiation: quic-srtm.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_txt.c:PACKET_peek_net_2 Unexecuted instantiation: quic-rcidm.c:PACKET_peek_net_2 Unexecuted instantiation: quic_rcidm.c:PACKET_peek_net_2 Unexecuted instantiation: quic-lcidm.c:PACKET_peek_net_2 |
162 | | |
163 | | /* Equivalent of n2s */ |
164 | | /* Get 2 bytes in network order from |pkt| and store the value in |*data| */ |
165 | | __owur static ossl_inline int PACKET_get_net_2(PACKET *pkt, unsigned int *data) |
166 | 3.02M | { |
167 | 3.02M | if (!PACKET_peek_net_2(pkt, data)) |
168 | 7.39k | return 0; |
169 | | |
170 | 3.01M | packet_forward(pkt, 2); |
171 | | |
172 | 3.01M | return 1; |
173 | 3.02M | } Unexecuted instantiation: params.c:PACKET_get_net_2 Unexecuted instantiation: encode_key2any.c:PACKET_get_net_2 Unexecuted instantiation: hkdf.c:PACKET_get_net_2 Unexecuted instantiation: x942kdf.c:PACKET_get_net_2 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_net_2 Unexecuted instantiation: dsa_sig.c:PACKET_get_net_2 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_net_2 Unexecuted instantiation: eddsa_sig.c:PACKET_get_net_2 Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_net_2 Unexecuted instantiation: rsa_sig.c:PACKET_get_net_2 Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_net_2 Unexecuted instantiation: sm2_sig.c:PACKET_get_net_2 Unexecuted instantiation: der_dsa_sig.c:PACKET_get_net_2 Unexecuted instantiation: der_ec_sig.c:PACKET_get_net_2 Unexecuted instantiation: der_ecx_key.c:PACKET_get_net_2 Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_net_2 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_net_2 Unexecuted instantiation: der_rsa_key.c:PACKET_get_net_2 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_net_2 Unexecuted instantiation: der_wrap_gen.c:PACKET_get_net_2 Unexecuted instantiation: dsa_asn1.c:PACKET_get_net_2 Unexecuted instantiation: dsa_sign.c:PACKET_get_net_2 Unexecuted instantiation: ec_asn1.c:PACKET_get_net_2 Unexecuted instantiation: hpke_util.c:PACKET_get_net_2 asn1_dsa.c:PACKET_get_net_2 Line | Count | Source | 166 | 8.54k | { | 167 | 8.54k | if (!PACKET_peek_net_2(pkt, data)) | 168 | 129 | return 0; | 169 | | | 170 | 8.41k | packet_forward(pkt, 2); | 171 | | | 172 | 8.41k | return 1; | 173 | 8.54k | } |
Unexecuted instantiation: der_writer.c:PACKET_get_net_2 Unexecuted instantiation: packet.c:PACKET_get_net_2 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_net_2 Unexecuted instantiation: ml_dsa_key.c:PACKET_get_net_2 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_net_2 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_net_2 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_net_2 Unexecuted instantiation: ml_dsa_params.c:PACKET_get_net_2 Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_net_2 Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_net_2 Unexecuted instantiation: slh_dsa.c:PACKET_get_net_2 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_net_2 Unexecuted instantiation: slh_dsa_key.c:PACKET_get_net_2 Unexecuted instantiation: slh_fors.c:PACKET_get_net_2 Unexecuted instantiation: slh_hash.c:PACKET_get_net_2 Unexecuted instantiation: slh_hypertree.c:PACKET_get_net_2 Unexecuted instantiation: slh_xmss.c:PACKET_get_net_2 Unexecuted instantiation: der_rsa_sig.c:PACKET_get_net_2 Unexecuted instantiation: der_sm2_sig.c:PACKET_get_net_2 Unexecuted instantiation: der_digests_gen.c:PACKET_get_net_2 Unexecuted instantiation: der_dsa_gen.c:PACKET_get_net_2 Unexecuted instantiation: der_ec_gen.c:PACKET_get_net_2 Unexecuted instantiation: der_ecx_gen.c:PACKET_get_net_2 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_net_2 Unexecuted instantiation: der_rsa_gen.c:PACKET_get_net_2 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_net_2 Unexecuted instantiation: punycode.c:PACKET_get_net_2 Unexecuted instantiation: slh_wots.c:PACKET_get_net_2 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_2 Unexecuted instantiation: quic-client.c:PACKET_get_net_2 Unexecuted instantiation: ssl_cert.c:PACKET_get_net_2 Unexecuted instantiation: ssl_ciph.c:PACKET_get_net_2 Unexecuted instantiation: ssl_init.c:PACKET_get_net_2 Unexecuted instantiation: ssl_lib.c:PACKET_get_net_2 Unexecuted instantiation: ssl_mcnf.c:PACKET_get_net_2 Unexecuted instantiation: ssl_sess.c:PACKET_get_net_2 t1_lib.c:PACKET_get_net_2 Line | Count | Source | 166 | 315k | { | 167 | 315k | if (!PACKET_peek_net_2(pkt, data)) | 168 | 0 | return 0; | 169 | | | 170 | 315k | packet_forward(pkt, 2); | 171 | | | 172 | 315k | return 1; | 173 | 315k | } |
Unexecuted instantiation: tls13_enc.c:PACKET_get_net_2 Unexecuted instantiation: tls_depr.c:PACKET_get_net_2 Unexecuted instantiation: tls_srp.c:PACKET_get_net_2 Unexecuted instantiation: quic_impl.c:PACKET_get_net_2 Unexecuted instantiation: quic_method.c:PACKET_get_net_2 Unexecuted instantiation: quic_obj.c:PACKET_get_net_2 Unexecuted instantiation: quic_port.c:PACKET_get_net_2 Unexecuted instantiation: quic_record_rx.c:PACKET_get_net_2 Unexecuted instantiation: quic_record_shared.c:PACKET_get_net_2 Unexecuted instantiation: quic_record_tx.c:PACKET_get_net_2 Unexecuted instantiation: quic_record_util.c:PACKET_get_net_2 Unexecuted instantiation: quic_rstream.c:PACKET_get_net_2 Unexecuted instantiation: quic_sf_list.c:PACKET_get_net_2 Unexecuted instantiation: quic_srtm.c:PACKET_get_net_2 Unexecuted instantiation: quic_sstream.c:PACKET_get_net_2 Unexecuted instantiation: quic_stream_map.c:PACKET_get_net_2 Unexecuted instantiation: quic_thread_assist.c:PACKET_get_net_2 Unexecuted instantiation: quic_tls.c:PACKET_get_net_2 Unexecuted instantiation: quic_txp.c:PACKET_get_net_2 Unexecuted instantiation: quic_txpim.c:PACKET_get_net_2 quic_wire.c:PACKET_get_net_2 Line | Count | Source | 166 | 76 | { | 167 | 76 | if (!PACKET_peek_net_2(pkt, data)) | 168 | 0 | return 0; | 169 | | | 170 | 76 | packet_forward(pkt, 2); | 171 | | | 172 | 76 | return 1; | 173 | 76 | } |
Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_net_2 Unexecuted instantiation: rec_layer_s3.c:PACKET_get_net_2 Unexecuted instantiation: dtls_meth.c:PACKET_get_net_2 Unexecuted instantiation: tls1_meth.c:PACKET_get_net_2 tls_common.c:PACKET_get_net_2 Line | Count | Source | 166 | 1.20M | { | 167 | 1.20M | if (!PACKET_peek_net_2(pkt, data)) | 168 | 0 | return 0; | 169 | | | 170 | 1.20M | packet_forward(pkt, 2); | 171 | | | 172 | 1.20M | return 1; | 173 | 1.20M | } |
Unexecuted instantiation: tls_multib.c:PACKET_get_net_2 Unexecuted instantiation: tlsany_meth.c:PACKET_get_net_2 extensions.c:PACKET_get_net_2 Line | Count | Source | 166 | 813k | { | 167 | 813k | if (!PACKET_peek_net_2(pkt, data)) | 168 | 159 | return 0; | 169 | | | 170 | 813k | packet_forward(pkt, 2); | 171 | | | 172 | 813k | return 1; | 173 | 813k | } |
extensions_clnt.c:PACKET_get_net_2 Line | Count | Source | 166 | 101k | { | 167 | 101k | if (!PACKET_peek_net_2(pkt, data)) | 168 | 146 | return 0; | 169 | | | 170 | 100k | packet_forward(pkt, 2); | 171 | | | 172 | 100k | return 1; | 173 | 101k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_get_net_2 extensions_srvr.c:PACKET_get_net_2 Line | Count | Source | 166 | 79.7k | { | 167 | 79.7k | if (!PACKET_peek_net_2(pkt, data)) | 168 | 288 | return 0; | 169 | | | 170 | 79.4k | packet_forward(pkt, 2); | 171 | | | 172 | 79.4k | return 1; | 173 | 79.7k | } |
Unexecuted instantiation: statem.c:PACKET_get_net_2 statem_clnt.c:PACKET_get_net_2 Line | Count | Source | 166 | 256k | { | 167 | 256k | if (!PACKET_peek_net_2(pkt, data)) | 168 | 281 | return 0; | 169 | | | 170 | 255k | packet_forward(pkt, 2); | 171 | | | 172 | 255k | return 1; | 173 | 256k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_get_net_2 statem_lib.c:PACKET_get_net_2 Line | Count | Source | 166 | 76.1k | { | 167 | 76.1k | if (!PACKET_peek_net_2(pkt, data)) | 168 | 6.18k | return 0; | 169 | | | 170 | 70.0k | packet_forward(pkt, 2); | 171 | | | 172 | 70.0k | return 1; | 173 | 76.1k | } |
statem_srvr.c:PACKET_get_net_2 Line | Count | Source | 166 | 140k | { | 167 | 140k | if (!PACKET_peek_net_2(pkt, data)) | 168 | 155 | return 0; | 169 | | | 170 | 140k | packet_forward(pkt, 2); | 171 | | | 172 | 140k | return 1; | 173 | 140k | } |
ech_helper.c:PACKET_get_net_2 Line | Count | Source | 166 | 23.2k | { | 167 | 23.2k | if (!PACKET_peek_net_2(pkt, data)) | 168 | 52 | return 0; | 169 | | | 170 | 23.1k | packet_forward(pkt, 2); | 171 | | | 172 | 23.1k | return 1; | 173 | 23.2k | } |
Unexecuted instantiation: ech_internal.c:PACKET_get_net_2 Unexecuted instantiation: ech_store.c:PACKET_get_net_2 Unexecuted instantiation: d1_lib.c:PACKET_get_net_2 Unexecuted instantiation: d1_srtp.c:PACKET_get_net_2 Unexecuted instantiation: methods.c:PACKET_get_net_2 Unexecuted instantiation: pqueue.c:PACKET_get_net_2 Unexecuted instantiation: s3_enc.c:PACKET_get_net_2 Unexecuted instantiation: s3_lib.c:PACKET_get_net_2 Unexecuted instantiation: s3_msg.c:PACKET_get_net_2 Unexecuted instantiation: ssl_asn1.c:PACKET_get_net_2 Unexecuted instantiation: ssl_conf.c:PACKET_get_net_2 Unexecuted instantiation: ssl_rsa.c:PACKET_get_net_2 Unexecuted instantiation: t1_enc.c:PACKET_get_net_2 Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_net_2 Unexecuted instantiation: quic_ackm.c:PACKET_get_net_2 Unexecuted instantiation: quic_channel.c:PACKET_get_net_2 Unexecuted instantiation: quic_demux.c:PACKET_get_net_2 Unexecuted instantiation: quic_engine.c:PACKET_get_net_2 Unexecuted instantiation: quic_fifd.c:PACKET_get_net_2 Unexecuted instantiation: quic_lcidm.c:PACKET_get_net_2 Unexecuted instantiation: quic_rx_depack.c:PACKET_get_net_2 Unexecuted instantiation: rec_layer_d1.c:PACKET_get_net_2 Unexecuted instantiation: tls13_meth.c:PACKET_get_net_2 Unexecuted instantiation: d1_msg.c:PACKET_get_net_2 Unexecuted instantiation: quic-server.c:PACKET_get_net_2 Unexecuted instantiation: quic-srtm.c:PACKET_get_net_2 Unexecuted instantiation: ssl_txt.c:PACKET_get_net_2 Unexecuted instantiation: quic-rcidm.c:PACKET_get_net_2 Unexecuted instantiation: quic_rcidm.c:PACKET_get_net_2 Unexecuted instantiation: quic-lcidm.c:PACKET_get_net_2 |
174 | | |
175 | | /* Same as PACKET_get_net_2() but for a size_t */ |
176 | | __owur static ossl_inline int PACKET_get_net_2_len(PACKET *pkt, size_t *data) |
177 | 802k | { |
178 | 802k | unsigned int i; |
179 | 802k | int ret = PACKET_get_net_2(pkt, &i); |
180 | | |
181 | 802k | if (ret) |
182 | 802k | *data = (size_t)i; |
183 | | |
184 | 802k | return ret; |
185 | 802k | } Unexecuted instantiation: params.c:PACKET_get_net_2_len Unexecuted instantiation: encode_key2any.c:PACKET_get_net_2_len Unexecuted instantiation: hkdf.c:PACKET_get_net_2_len Unexecuted instantiation: x942kdf.c:PACKET_get_net_2_len Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_net_2_len Unexecuted instantiation: dsa_sig.c:PACKET_get_net_2_len Unexecuted instantiation: ecdsa_sig.c:PACKET_get_net_2_len Unexecuted instantiation: eddsa_sig.c:PACKET_get_net_2_len Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_net_2_len Unexecuted instantiation: rsa_sig.c:PACKET_get_net_2_len Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_net_2_len Unexecuted instantiation: sm2_sig.c:PACKET_get_net_2_len Unexecuted instantiation: der_dsa_sig.c:PACKET_get_net_2_len Unexecuted instantiation: der_ec_sig.c:PACKET_get_net_2_len Unexecuted instantiation: der_ecx_key.c:PACKET_get_net_2_len Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_net_2_len Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_net_2_len Unexecuted instantiation: der_rsa_key.c:PACKET_get_net_2_len Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_net_2_len Unexecuted instantiation: der_wrap_gen.c:PACKET_get_net_2_len Unexecuted instantiation: dsa_asn1.c:PACKET_get_net_2_len Unexecuted instantiation: dsa_sign.c:PACKET_get_net_2_len Unexecuted instantiation: ec_asn1.c:PACKET_get_net_2_len Unexecuted instantiation: hpke_util.c:PACKET_get_net_2_len Unexecuted instantiation: asn1_dsa.c:PACKET_get_net_2_len Unexecuted instantiation: der_writer.c:PACKET_get_net_2_len Unexecuted instantiation: packet.c:PACKET_get_net_2_len Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_net_2_len Unexecuted instantiation: ml_dsa_key.c:PACKET_get_net_2_len Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_net_2_len Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_net_2_len Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_net_2_len Unexecuted instantiation: ml_dsa_params.c:PACKET_get_net_2_len Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_net_2_len Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_net_2_len Unexecuted instantiation: slh_dsa.c:PACKET_get_net_2_len Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_net_2_len Unexecuted instantiation: slh_dsa_key.c:PACKET_get_net_2_len Unexecuted instantiation: slh_fors.c:PACKET_get_net_2_len Unexecuted instantiation: slh_hash.c:PACKET_get_net_2_len Unexecuted instantiation: slh_hypertree.c:PACKET_get_net_2_len Unexecuted instantiation: slh_xmss.c:PACKET_get_net_2_len Unexecuted instantiation: der_rsa_sig.c:PACKET_get_net_2_len Unexecuted instantiation: der_sm2_sig.c:PACKET_get_net_2_len Unexecuted instantiation: der_digests_gen.c:PACKET_get_net_2_len Unexecuted instantiation: der_dsa_gen.c:PACKET_get_net_2_len Unexecuted instantiation: der_ec_gen.c:PACKET_get_net_2_len Unexecuted instantiation: der_ecx_gen.c:PACKET_get_net_2_len Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_net_2_len Unexecuted instantiation: der_rsa_gen.c:PACKET_get_net_2_len Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_net_2_len Unexecuted instantiation: punycode.c:PACKET_get_net_2_len Unexecuted instantiation: slh_wots.c:PACKET_get_net_2_len Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_2_len Unexecuted instantiation: quic-client.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_cert.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_ciph.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_init.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_lib.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_mcnf.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_sess.c:PACKET_get_net_2_len Unexecuted instantiation: t1_lib.c:PACKET_get_net_2_len Unexecuted instantiation: tls13_enc.c:PACKET_get_net_2_len Unexecuted instantiation: tls_depr.c:PACKET_get_net_2_len Unexecuted instantiation: tls_srp.c:PACKET_get_net_2_len Unexecuted instantiation: quic_impl.c:PACKET_get_net_2_len Unexecuted instantiation: quic_method.c:PACKET_get_net_2_len Unexecuted instantiation: quic_obj.c:PACKET_get_net_2_len Unexecuted instantiation: quic_port.c:PACKET_get_net_2_len Unexecuted instantiation: quic_record_rx.c:PACKET_get_net_2_len Unexecuted instantiation: quic_record_shared.c:PACKET_get_net_2_len Unexecuted instantiation: quic_record_tx.c:PACKET_get_net_2_len Unexecuted instantiation: quic_record_util.c:PACKET_get_net_2_len Unexecuted instantiation: quic_rstream.c:PACKET_get_net_2_len Unexecuted instantiation: quic_sf_list.c:PACKET_get_net_2_len Unexecuted instantiation: quic_srtm.c:PACKET_get_net_2_len Unexecuted instantiation: quic_sstream.c:PACKET_get_net_2_len Unexecuted instantiation: quic_stream_map.c:PACKET_get_net_2_len Unexecuted instantiation: quic_thread_assist.c:PACKET_get_net_2_len Unexecuted instantiation: quic_tls.c:PACKET_get_net_2_len Unexecuted instantiation: quic_txp.c:PACKET_get_net_2_len Unexecuted instantiation: quic_txpim.c:PACKET_get_net_2_len Unexecuted instantiation: quic_wire.c:PACKET_get_net_2_len Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_net_2_len Unexecuted instantiation: rec_layer_s3.c:PACKET_get_net_2_len Unexecuted instantiation: dtls_meth.c:PACKET_get_net_2_len Unexecuted instantiation: tls1_meth.c:PACKET_get_net_2_len tls_common.c:PACKET_get_net_2_len Line | Count | Source | 177 | 780k | { | 178 | 780k | unsigned int i; | 179 | 780k | int ret = PACKET_get_net_2(pkt, &i); | 180 | | | 181 | 780k | if (ret) | 182 | 780k | *data = (size_t)i; | 183 | | | 184 | 780k | return ret; | 185 | 780k | } |
Unexecuted instantiation: tls_multib.c:PACKET_get_net_2_len Unexecuted instantiation: tlsany_meth.c:PACKET_get_net_2_len Unexecuted instantiation: extensions.c:PACKET_get_net_2_len extensions_clnt.c:PACKET_get_net_2_len Line | Count | Source | 177 | 21.1k | { | 178 | 21.1k | unsigned int i; | 179 | 21.1k | int ret = PACKET_get_net_2(pkt, &i); | 180 | | | 181 | 21.1k | if (ret) | 182 | 21.1k | *data = (size_t)i; | 183 | | | 184 | 21.1k | return ret; | 185 | 21.1k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_get_net_2_len Unexecuted instantiation: extensions_srvr.c:PACKET_get_net_2_len Unexecuted instantiation: statem.c:PACKET_get_net_2_len Unexecuted instantiation: statem_clnt.c:PACKET_get_net_2_len Unexecuted instantiation: statem_dtls.c:PACKET_get_net_2_len Unexecuted instantiation: statem_lib.c:PACKET_get_net_2_len Unexecuted instantiation: statem_srvr.c:PACKET_get_net_2_len Unexecuted instantiation: ech_helper.c:PACKET_get_net_2_len Unexecuted instantiation: ech_internal.c:PACKET_get_net_2_len Unexecuted instantiation: ech_store.c:PACKET_get_net_2_len Unexecuted instantiation: d1_lib.c:PACKET_get_net_2_len Unexecuted instantiation: d1_srtp.c:PACKET_get_net_2_len Unexecuted instantiation: methods.c:PACKET_get_net_2_len Unexecuted instantiation: pqueue.c:PACKET_get_net_2_len Unexecuted instantiation: s3_enc.c:PACKET_get_net_2_len Unexecuted instantiation: s3_lib.c:PACKET_get_net_2_len Unexecuted instantiation: s3_msg.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_asn1.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_conf.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_rsa.c:PACKET_get_net_2_len Unexecuted instantiation: t1_enc.c:PACKET_get_net_2_len Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_net_2_len Unexecuted instantiation: quic_ackm.c:PACKET_get_net_2_len Unexecuted instantiation: quic_channel.c:PACKET_get_net_2_len Unexecuted instantiation: quic_demux.c:PACKET_get_net_2_len Unexecuted instantiation: quic_engine.c:PACKET_get_net_2_len Unexecuted instantiation: quic_fifd.c:PACKET_get_net_2_len Unexecuted instantiation: quic_lcidm.c:PACKET_get_net_2_len Unexecuted instantiation: quic_rx_depack.c:PACKET_get_net_2_len Unexecuted instantiation: rec_layer_d1.c:PACKET_get_net_2_len Unexecuted instantiation: tls13_meth.c:PACKET_get_net_2_len Unexecuted instantiation: d1_msg.c:PACKET_get_net_2_len Unexecuted instantiation: quic-server.c:PACKET_get_net_2_len Unexecuted instantiation: quic-srtm.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_txt.c:PACKET_get_net_2_len Unexecuted instantiation: quic-rcidm.c:PACKET_get_net_2_len Unexecuted instantiation: quic_rcidm.c:PACKET_get_net_2_len Unexecuted instantiation: quic-lcidm.c:PACKET_get_net_2_len |
186 | | |
187 | | /* |
188 | | * Peek ahead at 3 bytes in network order from |pkt| and store the value in |
189 | | * |*data| |
190 | | */ |
191 | | __owur static ossl_inline int PACKET_peek_net_3(const PACKET *pkt, |
192 | | unsigned long *data) |
193 | 120k | { |
194 | 120k | if (PACKET_remaining(pkt) < 3) |
195 | 35 | return 0; |
196 | | |
197 | 120k | *data = ((unsigned long)(*pkt->curr)) << 16; |
198 | 120k | *data |= ((unsigned long)(*(pkt->curr + 1))) << 8; |
199 | 120k | *data |= *(pkt->curr + 2); |
200 | | |
201 | 120k | return 1; |
202 | 120k | } Unexecuted instantiation: params.c:PACKET_peek_net_3 Unexecuted instantiation: encode_key2any.c:PACKET_peek_net_3 Unexecuted instantiation: hkdf.c:PACKET_peek_net_3 Unexecuted instantiation: x942kdf.c:PACKET_peek_net_3 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_peek_net_3 Unexecuted instantiation: dsa_sig.c:PACKET_peek_net_3 Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_net_3 Unexecuted instantiation: eddsa_sig.c:PACKET_peek_net_3 Unexecuted instantiation: ml_dsa_sig.c:PACKET_peek_net_3 Unexecuted instantiation: rsa_sig.c:PACKET_peek_net_3 Unexecuted instantiation: slh_dsa_sig.c:PACKET_peek_net_3 Unexecuted instantiation: sm2_sig.c:PACKET_peek_net_3 Unexecuted instantiation: der_dsa_sig.c:PACKET_peek_net_3 Unexecuted instantiation: der_ec_sig.c:PACKET_peek_net_3 Unexecuted instantiation: der_ecx_key.c:PACKET_peek_net_3 Unexecuted instantiation: der_hkdf_gen.c:PACKET_peek_net_3 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_peek_net_3 Unexecuted instantiation: der_rsa_key.c:PACKET_peek_net_3 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_peek_net_3 Unexecuted instantiation: der_wrap_gen.c:PACKET_peek_net_3 Unexecuted instantiation: dsa_asn1.c:PACKET_peek_net_3 Unexecuted instantiation: dsa_sign.c:PACKET_peek_net_3 Unexecuted instantiation: ec_asn1.c:PACKET_peek_net_3 Unexecuted instantiation: hpke_util.c:PACKET_peek_net_3 Unexecuted instantiation: asn1_dsa.c:PACKET_peek_net_3 Unexecuted instantiation: der_writer.c:PACKET_peek_net_3 Unexecuted instantiation: packet.c:PACKET_peek_net_3 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_peek_net_3 Unexecuted instantiation: ml_dsa_key.c:PACKET_peek_net_3 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_peek_net_3 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_peek_net_3 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_peek_net_3 Unexecuted instantiation: ml_dsa_params.c:PACKET_peek_net_3 Unexecuted instantiation: ml_dsa_sample.c:PACKET_peek_net_3 Unexecuted instantiation: ml_dsa_sign.c:PACKET_peek_net_3 Unexecuted instantiation: slh_dsa.c:PACKET_peek_net_3 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_peek_net_3 Unexecuted instantiation: slh_dsa_key.c:PACKET_peek_net_3 Unexecuted instantiation: slh_fors.c:PACKET_peek_net_3 Unexecuted instantiation: slh_hash.c:PACKET_peek_net_3 Unexecuted instantiation: slh_hypertree.c:PACKET_peek_net_3 Unexecuted instantiation: slh_xmss.c:PACKET_peek_net_3 Unexecuted instantiation: der_rsa_sig.c:PACKET_peek_net_3 Unexecuted instantiation: der_sm2_sig.c:PACKET_peek_net_3 Unexecuted instantiation: der_digests_gen.c:PACKET_peek_net_3 Unexecuted instantiation: der_dsa_gen.c:PACKET_peek_net_3 Unexecuted instantiation: der_ec_gen.c:PACKET_peek_net_3 Unexecuted instantiation: der_ecx_gen.c:PACKET_peek_net_3 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_peek_net_3 Unexecuted instantiation: der_rsa_gen.c:PACKET_peek_net_3 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_peek_net_3 Unexecuted instantiation: punycode.c:PACKET_peek_net_3 Unexecuted instantiation: slh_wots.c:PACKET_peek_net_3 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_net_3 Unexecuted instantiation: quic-client.c:PACKET_peek_net_3 Unexecuted instantiation: ssl_cert.c:PACKET_peek_net_3 Unexecuted instantiation: ssl_ciph.c:PACKET_peek_net_3 Unexecuted instantiation: ssl_init.c:PACKET_peek_net_3 Unexecuted instantiation: ssl_lib.c:PACKET_peek_net_3 Unexecuted instantiation: ssl_mcnf.c:PACKET_peek_net_3 Unexecuted instantiation: ssl_sess.c:PACKET_peek_net_3 Unexecuted instantiation: t1_lib.c:PACKET_peek_net_3 Unexecuted instantiation: tls13_enc.c:PACKET_peek_net_3 Unexecuted instantiation: tls_depr.c:PACKET_peek_net_3 Unexecuted instantiation: tls_srp.c:PACKET_peek_net_3 Unexecuted instantiation: quic_impl.c:PACKET_peek_net_3 Unexecuted instantiation: quic_method.c:PACKET_peek_net_3 Unexecuted instantiation: quic_obj.c:PACKET_peek_net_3 Unexecuted instantiation: quic_port.c:PACKET_peek_net_3 Unexecuted instantiation: quic_record_rx.c:PACKET_peek_net_3 Unexecuted instantiation: quic_record_shared.c:PACKET_peek_net_3 Unexecuted instantiation: quic_record_tx.c:PACKET_peek_net_3 Unexecuted instantiation: quic_record_util.c:PACKET_peek_net_3 Unexecuted instantiation: quic_rstream.c:PACKET_peek_net_3 Unexecuted instantiation: quic_sf_list.c:PACKET_peek_net_3 Unexecuted instantiation: quic_srtm.c:PACKET_peek_net_3 Unexecuted instantiation: quic_sstream.c:PACKET_peek_net_3 Unexecuted instantiation: quic_stream_map.c:PACKET_peek_net_3 Unexecuted instantiation: quic_thread_assist.c:PACKET_peek_net_3 Unexecuted instantiation: quic_tls.c:PACKET_peek_net_3 Unexecuted instantiation: quic_txp.c:PACKET_peek_net_3 Unexecuted instantiation: quic_txpim.c:PACKET_peek_net_3 Unexecuted instantiation: quic_wire.c:PACKET_peek_net_3 Unexecuted instantiation: quic_wire_pkt.c:PACKET_peek_net_3 Unexecuted instantiation: rec_layer_s3.c:PACKET_peek_net_3 Unexecuted instantiation: dtls_meth.c:PACKET_peek_net_3 Unexecuted instantiation: tls1_meth.c:PACKET_peek_net_3 Unexecuted instantiation: tls_common.c:PACKET_peek_net_3 Unexecuted instantiation: tls_multib.c:PACKET_peek_net_3 Unexecuted instantiation: tlsany_meth.c:PACKET_peek_net_3 extensions.c:PACKET_peek_net_3 Line | Count | Source | 193 | 4 | { | 194 | 4 | if (PACKET_remaining(pkt) < 3) | 195 | 0 | return 0; | 196 | | | 197 | 4 | *data = ((unsigned long)(*pkt->curr)) << 16; | 198 | 4 | *data |= ((unsigned long)(*(pkt->curr + 1))) << 8; | 199 | 4 | *data |= *(pkt->curr + 2); | 200 | | | 201 | 4 | return 1; | 202 | 4 | } |
Unexecuted instantiation: extensions_clnt.c:PACKET_peek_net_3 Unexecuted instantiation: extensions_cust.c:PACKET_peek_net_3 Unexecuted instantiation: extensions_srvr.c:PACKET_peek_net_3 Unexecuted instantiation: statem.c:PACKET_peek_net_3 statem_clnt.c:PACKET_peek_net_3 Line | Count | Source | 193 | 120k | { | 194 | 120k | if (PACKET_remaining(pkt) < 3) | 195 | 35 | return 0; | 196 | | | 197 | 120k | *data = ((unsigned long)(*pkt->curr)) << 16; | 198 | 120k | *data |= ((unsigned long)(*(pkt->curr + 1))) << 8; | 199 | 120k | *data |= *(pkt->curr + 2); | 200 | | | 201 | 120k | return 1; | 202 | 120k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_peek_net_3 Unexecuted instantiation: statem_lib.c:PACKET_peek_net_3 Unexecuted instantiation: statem_srvr.c:PACKET_peek_net_3 Unexecuted instantiation: ech_helper.c:PACKET_peek_net_3 Unexecuted instantiation: ech_internal.c:PACKET_peek_net_3 Unexecuted instantiation: ech_store.c:PACKET_peek_net_3 Unexecuted instantiation: d1_lib.c:PACKET_peek_net_3 Unexecuted instantiation: d1_srtp.c:PACKET_peek_net_3 Unexecuted instantiation: methods.c:PACKET_peek_net_3 Unexecuted instantiation: pqueue.c:PACKET_peek_net_3 Unexecuted instantiation: s3_enc.c:PACKET_peek_net_3 Unexecuted instantiation: s3_lib.c:PACKET_peek_net_3 Unexecuted instantiation: s3_msg.c:PACKET_peek_net_3 Unexecuted instantiation: ssl_asn1.c:PACKET_peek_net_3 Unexecuted instantiation: ssl_conf.c:PACKET_peek_net_3 Unexecuted instantiation: ssl_rsa.c:PACKET_peek_net_3 Unexecuted instantiation: t1_enc.c:PACKET_peek_net_3 Unexecuted instantiation: qlog_event_helpers.c:PACKET_peek_net_3 Unexecuted instantiation: quic_ackm.c:PACKET_peek_net_3 Unexecuted instantiation: quic_channel.c:PACKET_peek_net_3 Unexecuted instantiation: quic_demux.c:PACKET_peek_net_3 Unexecuted instantiation: quic_engine.c:PACKET_peek_net_3 Unexecuted instantiation: quic_fifd.c:PACKET_peek_net_3 Unexecuted instantiation: quic_lcidm.c:PACKET_peek_net_3 Unexecuted instantiation: quic_rx_depack.c:PACKET_peek_net_3 Unexecuted instantiation: rec_layer_d1.c:PACKET_peek_net_3 Unexecuted instantiation: tls13_meth.c:PACKET_peek_net_3 Unexecuted instantiation: d1_msg.c:PACKET_peek_net_3 Unexecuted instantiation: quic-server.c:PACKET_peek_net_3 Unexecuted instantiation: quic-srtm.c:PACKET_peek_net_3 Unexecuted instantiation: ssl_txt.c:PACKET_peek_net_3 Unexecuted instantiation: quic-rcidm.c:PACKET_peek_net_3 Unexecuted instantiation: quic_rcidm.c:PACKET_peek_net_3 Unexecuted instantiation: quic-lcidm.c:PACKET_peek_net_3 |
203 | | |
204 | | /* Equivalent of n2l3 */ |
205 | | /* Get 3 bytes in network order from |pkt| and store the value in |*data| */ |
206 | | __owur static ossl_inline int PACKET_get_net_3(PACKET *pkt, unsigned long *data) |
207 | 120k | { |
208 | 120k | if (!PACKET_peek_net_3(pkt, data)) |
209 | 35 | return 0; |
210 | | |
211 | 120k | packet_forward(pkt, 3); |
212 | | |
213 | 120k | return 1; |
214 | 120k | } Unexecuted instantiation: params.c:PACKET_get_net_3 Unexecuted instantiation: encode_key2any.c:PACKET_get_net_3 Unexecuted instantiation: hkdf.c:PACKET_get_net_3 Unexecuted instantiation: x942kdf.c:PACKET_get_net_3 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_net_3 Unexecuted instantiation: dsa_sig.c:PACKET_get_net_3 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_net_3 Unexecuted instantiation: eddsa_sig.c:PACKET_get_net_3 Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_net_3 Unexecuted instantiation: rsa_sig.c:PACKET_get_net_3 Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_net_3 Unexecuted instantiation: sm2_sig.c:PACKET_get_net_3 Unexecuted instantiation: der_dsa_sig.c:PACKET_get_net_3 Unexecuted instantiation: der_ec_sig.c:PACKET_get_net_3 Unexecuted instantiation: der_ecx_key.c:PACKET_get_net_3 Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_net_3 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_net_3 Unexecuted instantiation: der_rsa_key.c:PACKET_get_net_3 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_net_3 Unexecuted instantiation: der_wrap_gen.c:PACKET_get_net_3 Unexecuted instantiation: dsa_asn1.c:PACKET_get_net_3 Unexecuted instantiation: dsa_sign.c:PACKET_get_net_3 Unexecuted instantiation: ec_asn1.c:PACKET_get_net_3 Unexecuted instantiation: hpke_util.c:PACKET_get_net_3 Unexecuted instantiation: asn1_dsa.c:PACKET_get_net_3 Unexecuted instantiation: der_writer.c:PACKET_get_net_3 Unexecuted instantiation: packet.c:PACKET_get_net_3 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_net_3 Unexecuted instantiation: ml_dsa_key.c:PACKET_get_net_3 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_net_3 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_net_3 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_net_3 Unexecuted instantiation: ml_dsa_params.c:PACKET_get_net_3 Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_net_3 Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_net_3 Unexecuted instantiation: slh_dsa.c:PACKET_get_net_3 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_net_3 Unexecuted instantiation: slh_dsa_key.c:PACKET_get_net_3 Unexecuted instantiation: slh_fors.c:PACKET_get_net_3 Unexecuted instantiation: slh_hash.c:PACKET_get_net_3 Unexecuted instantiation: slh_hypertree.c:PACKET_get_net_3 Unexecuted instantiation: slh_xmss.c:PACKET_get_net_3 Unexecuted instantiation: der_rsa_sig.c:PACKET_get_net_3 Unexecuted instantiation: der_sm2_sig.c:PACKET_get_net_3 Unexecuted instantiation: der_digests_gen.c:PACKET_get_net_3 Unexecuted instantiation: der_dsa_gen.c:PACKET_get_net_3 Unexecuted instantiation: der_ec_gen.c:PACKET_get_net_3 Unexecuted instantiation: der_ecx_gen.c:PACKET_get_net_3 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_net_3 Unexecuted instantiation: der_rsa_gen.c:PACKET_get_net_3 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_net_3 Unexecuted instantiation: punycode.c:PACKET_get_net_3 Unexecuted instantiation: slh_wots.c:PACKET_get_net_3 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_3 Unexecuted instantiation: quic-client.c:PACKET_get_net_3 Unexecuted instantiation: ssl_cert.c:PACKET_get_net_3 Unexecuted instantiation: ssl_ciph.c:PACKET_get_net_3 Unexecuted instantiation: ssl_init.c:PACKET_get_net_3 Unexecuted instantiation: ssl_lib.c:PACKET_get_net_3 Unexecuted instantiation: ssl_mcnf.c:PACKET_get_net_3 Unexecuted instantiation: ssl_sess.c:PACKET_get_net_3 Unexecuted instantiation: t1_lib.c:PACKET_get_net_3 Unexecuted instantiation: tls13_enc.c:PACKET_get_net_3 Unexecuted instantiation: tls_depr.c:PACKET_get_net_3 Unexecuted instantiation: tls_srp.c:PACKET_get_net_3 Unexecuted instantiation: quic_impl.c:PACKET_get_net_3 Unexecuted instantiation: quic_method.c:PACKET_get_net_3 Unexecuted instantiation: quic_obj.c:PACKET_get_net_3 Unexecuted instantiation: quic_port.c:PACKET_get_net_3 Unexecuted instantiation: quic_record_rx.c:PACKET_get_net_3 Unexecuted instantiation: quic_record_shared.c:PACKET_get_net_3 Unexecuted instantiation: quic_record_tx.c:PACKET_get_net_3 Unexecuted instantiation: quic_record_util.c:PACKET_get_net_3 Unexecuted instantiation: quic_rstream.c:PACKET_get_net_3 Unexecuted instantiation: quic_sf_list.c:PACKET_get_net_3 Unexecuted instantiation: quic_srtm.c:PACKET_get_net_3 Unexecuted instantiation: quic_sstream.c:PACKET_get_net_3 Unexecuted instantiation: quic_stream_map.c:PACKET_get_net_3 Unexecuted instantiation: quic_thread_assist.c:PACKET_get_net_3 Unexecuted instantiation: quic_tls.c:PACKET_get_net_3 Unexecuted instantiation: quic_txp.c:PACKET_get_net_3 Unexecuted instantiation: quic_txpim.c:PACKET_get_net_3 Unexecuted instantiation: quic_wire.c:PACKET_get_net_3 Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_net_3 Unexecuted instantiation: rec_layer_s3.c:PACKET_get_net_3 Unexecuted instantiation: dtls_meth.c:PACKET_get_net_3 Unexecuted instantiation: tls1_meth.c:PACKET_get_net_3 Unexecuted instantiation: tls_common.c:PACKET_get_net_3 Unexecuted instantiation: tls_multib.c:PACKET_get_net_3 Unexecuted instantiation: tlsany_meth.c:PACKET_get_net_3 extensions.c:PACKET_get_net_3 Line | Count | Source | 207 | 4 | { | 208 | 4 | if (!PACKET_peek_net_3(pkt, data)) | 209 | 0 | return 0; | 210 | | | 211 | 4 | packet_forward(pkt, 3); | 212 | | | 213 | 4 | return 1; | 214 | 4 | } |
Unexecuted instantiation: extensions_clnt.c:PACKET_get_net_3 Unexecuted instantiation: extensions_cust.c:PACKET_get_net_3 Unexecuted instantiation: extensions_srvr.c:PACKET_get_net_3 Unexecuted instantiation: statem.c:PACKET_get_net_3 statem_clnt.c:PACKET_get_net_3 Line | Count | Source | 207 | 120k | { | 208 | 120k | if (!PACKET_peek_net_3(pkt, data)) | 209 | 35 | return 0; | 210 | | | 211 | 120k | packet_forward(pkt, 3); | 212 | | | 213 | 120k | return 1; | 214 | 120k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_get_net_3 Unexecuted instantiation: statem_lib.c:PACKET_get_net_3 Unexecuted instantiation: statem_srvr.c:PACKET_get_net_3 Unexecuted instantiation: ech_helper.c:PACKET_get_net_3 Unexecuted instantiation: ech_internal.c:PACKET_get_net_3 Unexecuted instantiation: ech_store.c:PACKET_get_net_3 Unexecuted instantiation: d1_lib.c:PACKET_get_net_3 Unexecuted instantiation: d1_srtp.c:PACKET_get_net_3 Unexecuted instantiation: methods.c:PACKET_get_net_3 Unexecuted instantiation: pqueue.c:PACKET_get_net_3 Unexecuted instantiation: s3_enc.c:PACKET_get_net_3 Unexecuted instantiation: s3_lib.c:PACKET_get_net_3 Unexecuted instantiation: s3_msg.c:PACKET_get_net_3 Unexecuted instantiation: ssl_asn1.c:PACKET_get_net_3 Unexecuted instantiation: ssl_conf.c:PACKET_get_net_3 Unexecuted instantiation: ssl_rsa.c:PACKET_get_net_3 Unexecuted instantiation: t1_enc.c:PACKET_get_net_3 Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_net_3 Unexecuted instantiation: quic_ackm.c:PACKET_get_net_3 Unexecuted instantiation: quic_channel.c:PACKET_get_net_3 Unexecuted instantiation: quic_demux.c:PACKET_get_net_3 Unexecuted instantiation: quic_engine.c:PACKET_get_net_3 Unexecuted instantiation: quic_fifd.c:PACKET_get_net_3 Unexecuted instantiation: quic_lcidm.c:PACKET_get_net_3 Unexecuted instantiation: quic_rx_depack.c:PACKET_get_net_3 Unexecuted instantiation: rec_layer_d1.c:PACKET_get_net_3 Unexecuted instantiation: tls13_meth.c:PACKET_get_net_3 Unexecuted instantiation: d1_msg.c:PACKET_get_net_3 Unexecuted instantiation: quic-server.c:PACKET_get_net_3 Unexecuted instantiation: quic-srtm.c:PACKET_get_net_3 Unexecuted instantiation: ssl_txt.c:PACKET_get_net_3 Unexecuted instantiation: quic-rcidm.c:PACKET_get_net_3 Unexecuted instantiation: quic_rcidm.c:PACKET_get_net_3 Unexecuted instantiation: quic-lcidm.c:PACKET_get_net_3 |
215 | | |
216 | | /* Same as PACKET_get_net_3() but for a size_t */ |
217 | | __owur static ossl_inline int PACKET_get_net_3_len(PACKET *pkt, size_t *data) |
218 | 0 | { |
219 | 0 | unsigned long i; |
220 | 0 | int ret = PACKET_get_net_3(pkt, &i); |
221 | |
|
222 | 0 | if (ret) |
223 | 0 | *data = (size_t)i; |
224 | |
|
225 | 0 | return ret; |
226 | 0 | } Unexecuted instantiation: params.c:PACKET_get_net_3_len Unexecuted instantiation: encode_key2any.c:PACKET_get_net_3_len Unexecuted instantiation: hkdf.c:PACKET_get_net_3_len Unexecuted instantiation: x942kdf.c:PACKET_get_net_3_len Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_net_3_len Unexecuted instantiation: dsa_sig.c:PACKET_get_net_3_len Unexecuted instantiation: ecdsa_sig.c:PACKET_get_net_3_len Unexecuted instantiation: eddsa_sig.c:PACKET_get_net_3_len Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_net_3_len Unexecuted instantiation: rsa_sig.c:PACKET_get_net_3_len Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_net_3_len Unexecuted instantiation: sm2_sig.c:PACKET_get_net_3_len Unexecuted instantiation: der_dsa_sig.c:PACKET_get_net_3_len Unexecuted instantiation: der_ec_sig.c:PACKET_get_net_3_len Unexecuted instantiation: der_ecx_key.c:PACKET_get_net_3_len Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_net_3_len Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_net_3_len Unexecuted instantiation: der_rsa_key.c:PACKET_get_net_3_len Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_net_3_len Unexecuted instantiation: der_wrap_gen.c:PACKET_get_net_3_len Unexecuted instantiation: dsa_asn1.c:PACKET_get_net_3_len Unexecuted instantiation: dsa_sign.c:PACKET_get_net_3_len Unexecuted instantiation: ec_asn1.c:PACKET_get_net_3_len Unexecuted instantiation: hpke_util.c:PACKET_get_net_3_len Unexecuted instantiation: asn1_dsa.c:PACKET_get_net_3_len Unexecuted instantiation: der_writer.c:PACKET_get_net_3_len Unexecuted instantiation: packet.c:PACKET_get_net_3_len Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_net_3_len Unexecuted instantiation: ml_dsa_key.c:PACKET_get_net_3_len Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_net_3_len Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_net_3_len Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_net_3_len Unexecuted instantiation: ml_dsa_params.c:PACKET_get_net_3_len Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_net_3_len Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_net_3_len Unexecuted instantiation: slh_dsa.c:PACKET_get_net_3_len Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_net_3_len Unexecuted instantiation: slh_dsa_key.c:PACKET_get_net_3_len Unexecuted instantiation: slh_fors.c:PACKET_get_net_3_len Unexecuted instantiation: slh_hash.c:PACKET_get_net_3_len Unexecuted instantiation: slh_hypertree.c:PACKET_get_net_3_len Unexecuted instantiation: slh_xmss.c:PACKET_get_net_3_len Unexecuted instantiation: der_rsa_sig.c:PACKET_get_net_3_len Unexecuted instantiation: der_sm2_sig.c:PACKET_get_net_3_len Unexecuted instantiation: der_digests_gen.c:PACKET_get_net_3_len Unexecuted instantiation: der_dsa_gen.c:PACKET_get_net_3_len Unexecuted instantiation: der_ec_gen.c:PACKET_get_net_3_len Unexecuted instantiation: der_ecx_gen.c:PACKET_get_net_3_len Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_net_3_len Unexecuted instantiation: der_rsa_gen.c:PACKET_get_net_3_len Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_net_3_len Unexecuted instantiation: punycode.c:PACKET_get_net_3_len Unexecuted instantiation: slh_wots.c:PACKET_get_net_3_len Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_3_len Unexecuted instantiation: quic-client.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_cert.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_ciph.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_init.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_lib.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_mcnf.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_sess.c:PACKET_get_net_3_len Unexecuted instantiation: t1_lib.c:PACKET_get_net_3_len Unexecuted instantiation: tls13_enc.c:PACKET_get_net_3_len Unexecuted instantiation: tls_depr.c:PACKET_get_net_3_len Unexecuted instantiation: tls_srp.c:PACKET_get_net_3_len Unexecuted instantiation: quic_impl.c:PACKET_get_net_3_len Unexecuted instantiation: quic_method.c:PACKET_get_net_3_len Unexecuted instantiation: quic_obj.c:PACKET_get_net_3_len Unexecuted instantiation: quic_port.c:PACKET_get_net_3_len Unexecuted instantiation: quic_record_rx.c:PACKET_get_net_3_len Unexecuted instantiation: quic_record_shared.c:PACKET_get_net_3_len Unexecuted instantiation: quic_record_tx.c:PACKET_get_net_3_len Unexecuted instantiation: quic_record_util.c:PACKET_get_net_3_len Unexecuted instantiation: quic_rstream.c:PACKET_get_net_3_len Unexecuted instantiation: quic_sf_list.c:PACKET_get_net_3_len Unexecuted instantiation: quic_srtm.c:PACKET_get_net_3_len Unexecuted instantiation: quic_sstream.c:PACKET_get_net_3_len Unexecuted instantiation: quic_stream_map.c:PACKET_get_net_3_len Unexecuted instantiation: quic_thread_assist.c:PACKET_get_net_3_len Unexecuted instantiation: quic_tls.c:PACKET_get_net_3_len Unexecuted instantiation: quic_txp.c:PACKET_get_net_3_len Unexecuted instantiation: quic_txpim.c:PACKET_get_net_3_len Unexecuted instantiation: quic_wire.c:PACKET_get_net_3_len Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_net_3_len Unexecuted instantiation: rec_layer_s3.c:PACKET_get_net_3_len Unexecuted instantiation: dtls_meth.c:PACKET_get_net_3_len Unexecuted instantiation: tls1_meth.c:PACKET_get_net_3_len Unexecuted instantiation: tls_common.c:PACKET_get_net_3_len Unexecuted instantiation: tls_multib.c:PACKET_get_net_3_len Unexecuted instantiation: tlsany_meth.c:PACKET_get_net_3_len Unexecuted instantiation: extensions.c:PACKET_get_net_3_len Unexecuted instantiation: extensions_clnt.c:PACKET_get_net_3_len Unexecuted instantiation: extensions_cust.c:PACKET_get_net_3_len Unexecuted instantiation: extensions_srvr.c:PACKET_get_net_3_len Unexecuted instantiation: statem.c:PACKET_get_net_3_len Unexecuted instantiation: statem_clnt.c:PACKET_get_net_3_len Unexecuted instantiation: statem_dtls.c:PACKET_get_net_3_len Unexecuted instantiation: statem_lib.c:PACKET_get_net_3_len Unexecuted instantiation: statem_srvr.c:PACKET_get_net_3_len Unexecuted instantiation: ech_helper.c:PACKET_get_net_3_len Unexecuted instantiation: ech_internal.c:PACKET_get_net_3_len Unexecuted instantiation: ech_store.c:PACKET_get_net_3_len Unexecuted instantiation: d1_lib.c:PACKET_get_net_3_len Unexecuted instantiation: d1_srtp.c:PACKET_get_net_3_len Unexecuted instantiation: methods.c:PACKET_get_net_3_len Unexecuted instantiation: pqueue.c:PACKET_get_net_3_len Unexecuted instantiation: s3_enc.c:PACKET_get_net_3_len Unexecuted instantiation: s3_lib.c:PACKET_get_net_3_len Unexecuted instantiation: s3_msg.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_asn1.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_conf.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_rsa.c:PACKET_get_net_3_len Unexecuted instantiation: t1_enc.c:PACKET_get_net_3_len Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_net_3_len Unexecuted instantiation: quic_ackm.c:PACKET_get_net_3_len Unexecuted instantiation: quic_channel.c:PACKET_get_net_3_len Unexecuted instantiation: quic_demux.c:PACKET_get_net_3_len Unexecuted instantiation: quic_engine.c:PACKET_get_net_3_len Unexecuted instantiation: quic_fifd.c:PACKET_get_net_3_len Unexecuted instantiation: quic_lcidm.c:PACKET_get_net_3_len Unexecuted instantiation: quic_rx_depack.c:PACKET_get_net_3_len Unexecuted instantiation: rec_layer_d1.c:PACKET_get_net_3_len Unexecuted instantiation: tls13_meth.c:PACKET_get_net_3_len Unexecuted instantiation: d1_msg.c:PACKET_get_net_3_len Unexecuted instantiation: quic-server.c:PACKET_get_net_3_len Unexecuted instantiation: quic-srtm.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_txt.c:PACKET_get_net_3_len Unexecuted instantiation: quic-rcidm.c:PACKET_get_net_3_len Unexecuted instantiation: quic_rcidm.c:PACKET_get_net_3_len Unexecuted instantiation: quic-lcidm.c:PACKET_get_net_3_len |
227 | | |
228 | | /* |
229 | | * Peek ahead at 4 bytes in network order from |pkt| and store the value in |
230 | | * |*data| |
231 | | */ |
232 | | __owur static ossl_inline int PACKET_peek_net_4(const PACKET *pkt, |
233 | | unsigned long *data) |
234 | 5.82M | { |
235 | 5.82M | if (PACKET_remaining(pkt) < 4) |
236 | 43 | return 0; |
237 | | |
238 | 5.82M | *data = ((unsigned long)(*pkt->curr)) << 24; |
239 | 5.82M | *data |= ((unsigned long)(*(pkt->curr + 1))) << 16; |
240 | 5.82M | *data |= ((unsigned long)(*(pkt->curr + 2))) << 8; |
241 | 5.82M | *data |= *(pkt->curr + 3); |
242 | | |
243 | 5.82M | return 1; |
244 | 5.82M | } Unexecuted instantiation: params.c:PACKET_peek_net_4 Unexecuted instantiation: encode_key2any.c:PACKET_peek_net_4 Unexecuted instantiation: hkdf.c:PACKET_peek_net_4 Unexecuted instantiation: x942kdf.c:PACKET_peek_net_4 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_peek_net_4 Unexecuted instantiation: dsa_sig.c:PACKET_peek_net_4 Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_net_4 Unexecuted instantiation: eddsa_sig.c:PACKET_peek_net_4 Unexecuted instantiation: ml_dsa_sig.c:PACKET_peek_net_4 Unexecuted instantiation: rsa_sig.c:PACKET_peek_net_4 Unexecuted instantiation: slh_dsa_sig.c:PACKET_peek_net_4 Unexecuted instantiation: sm2_sig.c:PACKET_peek_net_4 Unexecuted instantiation: der_dsa_sig.c:PACKET_peek_net_4 Unexecuted instantiation: der_ec_sig.c:PACKET_peek_net_4 Unexecuted instantiation: der_ecx_key.c:PACKET_peek_net_4 Unexecuted instantiation: der_hkdf_gen.c:PACKET_peek_net_4 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_peek_net_4 Unexecuted instantiation: der_rsa_key.c:PACKET_peek_net_4 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_peek_net_4 Unexecuted instantiation: der_wrap_gen.c:PACKET_peek_net_4 Unexecuted instantiation: dsa_asn1.c:PACKET_peek_net_4 Unexecuted instantiation: dsa_sign.c:PACKET_peek_net_4 Unexecuted instantiation: ec_asn1.c:PACKET_peek_net_4 Unexecuted instantiation: hpke_util.c:PACKET_peek_net_4 Unexecuted instantiation: asn1_dsa.c:PACKET_peek_net_4 Unexecuted instantiation: der_writer.c:PACKET_peek_net_4 Unexecuted instantiation: packet.c:PACKET_peek_net_4 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_peek_net_4 Unexecuted instantiation: ml_dsa_key.c:PACKET_peek_net_4 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_peek_net_4 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_peek_net_4 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_peek_net_4 Unexecuted instantiation: ml_dsa_params.c:PACKET_peek_net_4 Unexecuted instantiation: ml_dsa_sample.c:PACKET_peek_net_4 Unexecuted instantiation: ml_dsa_sign.c:PACKET_peek_net_4 Unexecuted instantiation: slh_dsa.c:PACKET_peek_net_4 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_peek_net_4 Unexecuted instantiation: slh_dsa_key.c:PACKET_peek_net_4 Unexecuted instantiation: slh_fors.c:PACKET_peek_net_4 Unexecuted instantiation: slh_hash.c:PACKET_peek_net_4 Unexecuted instantiation: slh_hypertree.c:PACKET_peek_net_4 Unexecuted instantiation: slh_xmss.c:PACKET_peek_net_4 Unexecuted instantiation: der_rsa_sig.c:PACKET_peek_net_4 Unexecuted instantiation: der_sm2_sig.c:PACKET_peek_net_4 Unexecuted instantiation: der_digests_gen.c:PACKET_peek_net_4 Unexecuted instantiation: der_dsa_gen.c:PACKET_peek_net_4 Unexecuted instantiation: der_ec_gen.c:PACKET_peek_net_4 Unexecuted instantiation: der_ecx_gen.c:PACKET_peek_net_4 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_peek_net_4 Unexecuted instantiation: der_rsa_gen.c:PACKET_peek_net_4 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_peek_net_4 Unexecuted instantiation: punycode.c:PACKET_peek_net_4 Unexecuted instantiation: slh_wots.c:PACKET_peek_net_4 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_net_4 Unexecuted instantiation: quic-client.c:PACKET_peek_net_4 Unexecuted instantiation: ssl_cert.c:PACKET_peek_net_4 Unexecuted instantiation: ssl_ciph.c:PACKET_peek_net_4 Unexecuted instantiation: ssl_init.c:PACKET_peek_net_4 Unexecuted instantiation: ssl_lib.c:PACKET_peek_net_4 Unexecuted instantiation: ssl_mcnf.c:PACKET_peek_net_4 Unexecuted instantiation: ssl_sess.c:PACKET_peek_net_4 Unexecuted instantiation: t1_lib.c:PACKET_peek_net_4 Unexecuted instantiation: tls13_enc.c:PACKET_peek_net_4 Unexecuted instantiation: tls_depr.c:PACKET_peek_net_4 Unexecuted instantiation: tls_srp.c:PACKET_peek_net_4 Unexecuted instantiation: quic_impl.c:PACKET_peek_net_4 Unexecuted instantiation: quic_method.c:PACKET_peek_net_4 Unexecuted instantiation: quic_obj.c:PACKET_peek_net_4 Unexecuted instantiation: quic_port.c:PACKET_peek_net_4 Unexecuted instantiation: quic_record_rx.c:PACKET_peek_net_4 Unexecuted instantiation: quic_record_shared.c:PACKET_peek_net_4 Unexecuted instantiation: quic_record_tx.c:PACKET_peek_net_4 Unexecuted instantiation: quic_record_util.c:PACKET_peek_net_4 Unexecuted instantiation: quic_rstream.c:PACKET_peek_net_4 Unexecuted instantiation: quic_sf_list.c:PACKET_peek_net_4 Unexecuted instantiation: quic_srtm.c:PACKET_peek_net_4 Unexecuted instantiation: quic_sstream.c:PACKET_peek_net_4 Unexecuted instantiation: quic_stream_map.c:PACKET_peek_net_4 Unexecuted instantiation: quic_thread_assist.c:PACKET_peek_net_4 Unexecuted instantiation: quic_tls.c:PACKET_peek_net_4 Unexecuted instantiation: quic_txp.c:PACKET_peek_net_4 Unexecuted instantiation: quic_txpim.c:PACKET_peek_net_4 Unexecuted instantiation: quic_wire.c:PACKET_peek_net_4 quic_wire_pkt.c:PACKET_peek_net_4 Line | Count | Source | 234 | 5.81M | { | 235 | 5.81M | if (PACKET_remaining(pkt) < 4) | 236 | 0 | return 0; | 237 | | | 238 | 5.81M | *data = ((unsigned long)(*pkt->curr)) << 24; | 239 | 5.81M | *data |= ((unsigned long)(*(pkt->curr + 1))) << 16; | 240 | 5.81M | *data |= ((unsigned long)(*(pkt->curr + 2))) << 8; | 241 | 5.81M | *data |= *(pkt->curr + 3); | 242 | | | 243 | 5.81M | return 1; | 244 | 5.81M | } |
Unexecuted instantiation: rec_layer_s3.c:PACKET_peek_net_4 Unexecuted instantiation: dtls_meth.c:PACKET_peek_net_4 Unexecuted instantiation: tls1_meth.c:PACKET_peek_net_4 Unexecuted instantiation: tls_common.c:PACKET_peek_net_4 Unexecuted instantiation: tls_multib.c:PACKET_peek_net_4 Unexecuted instantiation: tlsany_meth.c:PACKET_peek_net_4 Unexecuted instantiation: extensions.c:PACKET_peek_net_4 Unexecuted instantiation: extensions_clnt.c:PACKET_peek_net_4 Unexecuted instantiation: extensions_cust.c:PACKET_peek_net_4 extensions_srvr.c:PACKET_peek_net_4 Line | Count | Source | 234 | 1.04k | { | 235 | 1.04k | if (PACKET_remaining(pkt) < 4) | 236 | 14 | return 0; | 237 | | | 238 | 1.02k | *data = ((unsigned long)(*pkt->curr)) << 24; | 239 | 1.02k | *data |= ((unsigned long)(*(pkt->curr + 1))) << 16; | 240 | 1.02k | *data |= ((unsigned long)(*(pkt->curr + 2))) << 8; | 241 | 1.02k | *data |= *(pkt->curr + 3); | 242 | | | 243 | 1.02k | return 1; | 244 | 1.04k | } |
Unexecuted instantiation: statem.c:PACKET_peek_net_4 statem_clnt.c:PACKET_peek_net_4 Line | Count | Source | 234 | 5.29k | { | 235 | 5.29k | if (PACKET_remaining(pkt) < 4) | 236 | 29 | return 0; | 237 | | | 238 | 5.26k | *data = ((unsigned long)(*pkt->curr)) << 24; | 239 | 5.26k | *data |= ((unsigned long)(*(pkt->curr + 1))) << 16; | 240 | 5.26k | *data |= ((unsigned long)(*(pkt->curr + 2))) << 8; | 241 | 5.26k | *data |= *(pkt->curr + 3); | 242 | | | 243 | 5.26k | return 1; | 244 | 5.29k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_peek_net_4 Unexecuted instantiation: statem_lib.c:PACKET_peek_net_4 Unexecuted instantiation: statem_srvr.c:PACKET_peek_net_4 Unexecuted instantiation: ech_helper.c:PACKET_peek_net_4 Unexecuted instantiation: ech_internal.c:PACKET_peek_net_4 Unexecuted instantiation: ech_store.c:PACKET_peek_net_4 Unexecuted instantiation: d1_lib.c:PACKET_peek_net_4 Unexecuted instantiation: d1_srtp.c:PACKET_peek_net_4 Unexecuted instantiation: methods.c:PACKET_peek_net_4 Unexecuted instantiation: pqueue.c:PACKET_peek_net_4 Unexecuted instantiation: s3_enc.c:PACKET_peek_net_4 Unexecuted instantiation: s3_lib.c:PACKET_peek_net_4 Unexecuted instantiation: s3_msg.c:PACKET_peek_net_4 Unexecuted instantiation: ssl_asn1.c:PACKET_peek_net_4 Unexecuted instantiation: ssl_conf.c:PACKET_peek_net_4 Unexecuted instantiation: ssl_rsa.c:PACKET_peek_net_4 Unexecuted instantiation: t1_enc.c:PACKET_peek_net_4 Unexecuted instantiation: qlog_event_helpers.c:PACKET_peek_net_4 Unexecuted instantiation: quic_ackm.c:PACKET_peek_net_4 quic_channel.c:PACKET_peek_net_4 Line | Count | Source | 234 | 2.02k | { | 235 | 2.02k | if (PACKET_remaining(pkt) < 4) | 236 | 0 | return 0; | 237 | | | 238 | 2.02k | *data = ((unsigned long)(*pkt->curr)) << 24; | 239 | 2.02k | *data |= ((unsigned long)(*(pkt->curr + 1))) << 16; | 240 | 2.02k | *data |= ((unsigned long)(*(pkt->curr + 2))) << 8; | 241 | 2.02k | *data |= *(pkt->curr + 3); | 242 | | | 243 | 2.02k | return 1; | 244 | 2.02k | } |
Unexecuted instantiation: quic_demux.c:PACKET_peek_net_4 Unexecuted instantiation: quic_engine.c:PACKET_peek_net_4 Unexecuted instantiation: quic_fifd.c:PACKET_peek_net_4 Unexecuted instantiation: quic_lcidm.c:PACKET_peek_net_4 Unexecuted instantiation: quic_rx_depack.c:PACKET_peek_net_4 Unexecuted instantiation: rec_layer_d1.c:PACKET_peek_net_4 Unexecuted instantiation: tls13_meth.c:PACKET_peek_net_4 Unexecuted instantiation: d1_msg.c:PACKET_peek_net_4 Unexecuted instantiation: quic-server.c:PACKET_peek_net_4 Unexecuted instantiation: quic-srtm.c:PACKET_peek_net_4 Unexecuted instantiation: ssl_txt.c:PACKET_peek_net_4 Unexecuted instantiation: quic-rcidm.c:PACKET_peek_net_4 Unexecuted instantiation: quic_rcidm.c:PACKET_peek_net_4 Unexecuted instantiation: quic-lcidm.c:PACKET_peek_net_4 |
245 | | |
246 | | /* |
247 | | * Peek ahead at 8 bytes in network order from |pkt| and store the value in |
248 | | * |*data| |
249 | | */ |
250 | | __owur static ossl_inline int PACKET_peek_net_8(const PACKET *pkt, |
251 | | uint64_t *data) |
252 | 26.0M | { |
253 | 26.0M | if (PACKET_remaining(pkt) < 8) |
254 | 5.89k | return 0; |
255 | | |
256 | 26.0M | *data = ((uint64_t)(*pkt->curr)) << 56; |
257 | 26.0M | *data |= ((uint64_t)(*(pkt->curr + 1))) << 48; |
258 | 26.0M | *data |= ((uint64_t)(*(pkt->curr + 2))) << 40; |
259 | 26.0M | *data |= ((uint64_t)(*(pkt->curr + 3))) << 32; |
260 | 26.0M | *data |= ((uint64_t)(*(pkt->curr + 4))) << 24; |
261 | 26.0M | *data |= ((uint64_t)(*(pkt->curr + 5))) << 16; |
262 | 26.0M | *data |= ((uint64_t)(*(pkt->curr + 6))) << 8; |
263 | 26.0M | *data |= *(pkt->curr + 7); |
264 | | |
265 | 26.0M | return 1; |
266 | 26.0M | } Unexecuted instantiation: params.c:PACKET_peek_net_8 Unexecuted instantiation: encode_key2any.c:PACKET_peek_net_8 Unexecuted instantiation: hkdf.c:PACKET_peek_net_8 Unexecuted instantiation: x942kdf.c:PACKET_peek_net_8 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_peek_net_8 Unexecuted instantiation: dsa_sig.c:PACKET_peek_net_8 Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_net_8 Unexecuted instantiation: eddsa_sig.c:PACKET_peek_net_8 Unexecuted instantiation: ml_dsa_sig.c:PACKET_peek_net_8 Unexecuted instantiation: rsa_sig.c:PACKET_peek_net_8 Unexecuted instantiation: slh_dsa_sig.c:PACKET_peek_net_8 Unexecuted instantiation: sm2_sig.c:PACKET_peek_net_8 Unexecuted instantiation: der_dsa_sig.c:PACKET_peek_net_8 Unexecuted instantiation: der_ec_sig.c:PACKET_peek_net_8 Unexecuted instantiation: der_ecx_key.c:PACKET_peek_net_8 Unexecuted instantiation: der_hkdf_gen.c:PACKET_peek_net_8 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_peek_net_8 Unexecuted instantiation: der_rsa_key.c:PACKET_peek_net_8 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_peek_net_8 Unexecuted instantiation: der_wrap_gen.c:PACKET_peek_net_8 Unexecuted instantiation: dsa_asn1.c:PACKET_peek_net_8 Unexecuted instantiation: dsa_sign.c:PACKET_peek_net_8 Unexecuted instantiation: ec_asn1.c:PACKET_peek_net_8 Unexecuted instantiation: hpke_util.c:PACKET_peek_net_8 Unexecuted instantiation: asn1_dsa.c:PACKET_peek_net_8 Unexecuted instantiation: der_writer.c:PACKET_peek_net_8 Unexecuted instantiation: packet.c:PACKET_peek_net_8 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_peek_net_8 Unexecuted instantiation: ml_dsa_key.c:PACKET_peek_net_8 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_peek_net_8 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_peek_net_8 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_peek_net_8 Unexecuted instantiation: ml_dsa_params.c:PACKET_peek_net_8 Unexecuted instantiation: ml_dsa_sample.c:PACKET_peek_net_8 Unexecuted instantiation: ml_dsa_sign.c:PACKET_peek_net_8 Unexecuted instantiation: slh_dsa.c:PACKET_peek_net_8 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_peek_net_8 Unexecuted instantiation: slh_dsa_key.c:PACKET_peek_net_8 Unexecuted instantiation: slh_fors.c:PACKET_peek_net_8 Unexecuted instantiation: slh_hash.c:PACKET_peek_net_8 Unexecuted instantiation: slh_hypertree.c:PACKET_peek_net_8 Unexecuted instantiation: slh_xmss.c:PACKET_peek_net_8 Unexecuted instantiation: der_rsa_sig.c:PACKET_peek_net_8 Unexecuted instantiation: der_sm2_sig.c:PACKET_peek_net_8 Unexecuted instantiation: der_digests_gen.c:PACKET_peek_net_8 Unexecuted instantiation: der_dsa_gen.c:PACKET_peek_net_8 Unexecuted instantiation: der_ec_gen.c:PACKET_peek_net_8 Unexecuted instantiation: der_ecx_gen.c:PACKET_peek_net_8 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_peek_net_8 Unexecuted instantiation: der_rsa_gen.c:PACKET_peek_net_8 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_peek_net_8 Unexecuted instantiation: punycode.c:PACKET_peek_net_8 Unexecuted instantiation: slh_wots.c:PACKET_peek_net_8 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_net_8 Unexecuted instantiation: quic-client.c:PACKET_peek_net_8 Unexecuted instantiation: ssl_cert.c:PACKET_peek_net_8 Unexecuted instantiation: ssl_ciph.c:PACKET_peek_net_8 Unexecuted instantiation: ssl_init.c:PACKET_peek_net_8 Unexecuted instantiation: ssl_lib.c:PACKET_peek_net_8 Unexecuted instantiation: ssl_mcnf.c:PACKET_peek_net_8 Unexecuted instantiation: ssl_sess.c:PACKET_peek_net_8 Unexecuted instantiation: t1_lib.c:PACKET_peek_net_8 Unexecuted instantiation: tls13_enc.c:PACKET_peek_net_8 Unexecuted instantiation: tls_depr.c:PACKET_peek_net_8 Unexecuted instantiation: tls_srp.c:PACKET_peek_net_8 Unexecuted instantiation: quic_impl.c:PACKET_peek_net_8 Unexecuted instantiation: quic_method.c:PACKET_peek_net_8 Unexecuted instantiation: quic_obj.c:PACKET_peek_net_8 Unexecuted instantiation: quic_port.c:PACKET_peek_net_8 Unexecuted instantiation: quic_record_rx.c:PACKET_peek_net_8 Unexecuted instantiation: quic_record_shared.c:PACKET_peek_net_8 Unexecuted instantiation: quic_record_tx.c:PACKET_peek_net_8 Unexecuted instantiation: quic_record_util.c:PACKET_peek_net_8 Unexecuted instantiation: quic_rstream.c:PACKET_peek_net_8 Unexecuted instantiation: quic_sf_list.c:PACKET_peek_net_8 Unexecuted instantiation: quic_srtm.c:PACKET_peek_net_8 Unexecuted instantiation: quic_sstream.c:PACKET_peek_net_8 Unexecuted instantiation: quic_stream_map.c:PACKET_peek_net_8 Unexecuted instantiation: quic_thread_assist.c:PACKET_peek_net_8 Unexecuted instantiation: quic_tls.c:PACKET_peek_net_8 Unexecuted instantiation: quic_txp.c:PACKET_peek_net_8 Unexecuted instantiation: quic_txpim.c:PACKET_peek_net_8 quic_wire.c:PACKET_peek_net_8 Line | Count | Source | 252 | 296k | { | 253 | 296k | if (PACKET_remaining(pkt) < 8) | 254 | 88 | return 0; | 255 | | | 256 | 296k | *data = ((uint64_t)(*pkt->curr)) << 56; | 257 | 296k | *data |= ((uint64_t)(*(pkt->curr + 1))) << 48; | 258 | 296k | *data |= ((uint64_t)(*(pkt->curr + 2))) << 40; | 259 | 296k | *data |= ((uint64_t)(*(pkt->curr + 3))) << 32; | 260 | 296k | *data |= ((uint64_t)(*(pkt->curr + 4))) << 24; | 261 | 296k | *data |= ((uint64_t)(*(pkt->curr + 5))) << 16; | 262 | 296k | *data |= ((uint64_t)(*(pkt->curr + 6))) << 8; | 263 | 296k | *data |= *(pkt->curr + 7); | 264 | | | 265 | 296k | return 1; | 266 | 296k | } |
Unexecuted instantiation: quic_wire_pkt.c:PACKET_peek_net_8 Unexecuted instantiation: rec_layer_s3.c:PACKET_peek_net_8 Unexecuted instantiation: dtls_meth.c:PACKET_peek_net_8 Unexecuted instantiation: tls1_meth.c:PACKET_peek_net_8 Unexecuted instantiation: tls_common.c:PACKET_peek_net_8 Unexecuted instantiation: tls_multib.c:PACKET_peek_net_8 Unexecuted instantiation: tlsany_meth.c:PACKET_peek_net_8 Unexecuted instantiation: extensions.c:PACKET_peek_net_8 Unexecuted instantiation: extensions_clnt.c:PACKET_peek_net_8 Unexecuted instantiation: extensions_cust.c:PACKET_peek_net_8 Unexecuted instantiation: extensions_srvr.c:PACKET_peek_net_8 Unexecuted instantiation: statem.c:PACKET_peek_net_8 Unexecuted instantiation: statem_clnt.c:PACKET_peek_net_8 Unexecuted instantiation: statem_dtls.c:PACKET_peek_net_8 Unexecuted instantiation: statem_lib.c:PACKET_peek_net_8 Unexecuted instantiation: statem_srvr.c:PACKET_peek_net_8 Unexecuted instantiation: ech_helper.c:PACKET_peek_net_8 Unexecuted instantiation: ech_internal.c:PACKET_peek_net_8 Unexecuted instantiation: ech_store.c:PACKET_peek_net_8 Unexecuted instantiation: d1_lib.c:PACKET_peek_net_8 Unexecuted instantiation: d1_srtp.c:PACKET_peek_net_8 Unexecuted instantiation: methods.c:PACKET_peek_net_8 Unexecuted instantiation: pqueue.c:PACKET_peek_net_8 Unexecuted instantiation: s3_enc.c:PACKET_peek_net_8 Unexecuted instantiation: s3_lib.c:PACKET_peek_net_8 Unexecuted instantiation: s3_msg.c:PACKET_peek_net_8 Unexecuted instantiation: ssl_asn1.c:PACKET_peek_net_8 Unexecuted instantiation: ssl_conf.c:PACKET_peek_net_8 Unexecuted instantiation: ssl_rsa.c:PACKET_peek_net_8 Unexecuted instantiation: t1_enc.c:PACKET_peek_net_8 Unexecuted instantiation: qlog_event_helpers.c:PACKET_peek_net_8 Unexecuted instantiation: quic_ackm.c:PACKET_peek_net_8 Unexecuted instantiation: quic_channel.c:PACKET_peek_net_8 Unexecuted instantiation: quic_demux.c:PACKET_peek_net_8 Unexecuted instantiation: quic_engine.c:PACKET_peek_net_8 Unexecuted instantiation: quic_fifd.c:PACKET_peek_net_8 Unexecuted instantiation: quic_lcidm.c:PACKET_peek_net_8 Unexecuted instantiation: quic_rx_depack.c:PACKET_peek_net_8 Unexecuted instantiation: rec_layer_d1.c:PACKET_peek_net_8 Unexecuted instantiation: tls13_meth.c:PACKET_peek_net_8 Unexecuted instantiation: d1_msg.c:PACKET_peek_net_8 Unexecuted instantiation: quic-server.c:PACKET_peek_net_8 quic-srtm.c:PACKET_peek_net_8 Line | Count | Source | 252 | 6.24M | { | 253 | 6.24M | if (PACKET_remaining(pkt) < 8) | 254 | 4.99k | return 0; | 255 | | | 256 | 6.23M | *data = ((uint64_t)(*pkt->curr)) << 56; | 257 | 6.23M | *data |= ((uint64_t)(*(pkt->curr + 1))) << 48; | 258 | 6.23M | *data |= ((uint64_t)(*(pkt->curr + 2))) << 40; | 259 | 6.23M | *data |= ((uint64_t)(*(pkt->curr + 3))) << 32; | 260 | 6.23M | *data |= ((uint64_t)(*(pkt->curr + 4))) << 24; | 261 | 6.23M | *data |= ((uint64_t)(*(pkt->curr + 5))) << 16; | 262 | 6.23M | *data |= ((uint64_t)(*(pkt->curr + 6))) << 8; | 263 | 6.23M | *data |= *(pkt->curr + 7); | 264 | | | 265 | 6.23M | return 1; | 266 | 6.24M | } |
Unexecuted instantiation: ssl_txt.c:PACKET_peek_net_8 quic-rcidm.c:PACKET_peek_net_8 Line | Count | Source | 252 | 15.1M | { | 253 | 15.1M | if (PACKET_remaining(pkt) < 8) | 254 | 350 | return 0; | 255 | | | 256 | 15.1M | *data = ((uint64_t)(*pkt->curr)) << 56; | 257 | 15.1M | *data |= ((uint64_t)(*(pkt->curr + 1))) << 48; | 258 | 15.1M | *data |= ((uint64_t)(*(pkt->curr + 2))) << 40; | 259 | 15.1M | *data |= ((uint64_t)(*(pkt->curr + 3))) << 32; | 260 | 15.1M | *data |= ((uint64_t)(*(pkt->curr + 4))) << 24; | 261 | 15.1M | *data |= ((uint64_t)(*(pkt->curr + 5))) << 16; | 262 | 15.1M | *data |= ((uint64_t)(*(pkt->curr + 6))) << 8; | 263 | 15.1M | *data |= *(pkt->curr + 7); | 264 | | | 265 | 15.1M | return 1; | 266 | 15.1M | } |
Unexecuted instantiation: quic_rcidm.c:PACKET_peek_net_8 quic-lcidm.c:PACKET_peek_net_8 Line | Count | Source | 252 | 4.33M | { | 253 | 4.33M | if (PACKET_remaining(pkt) < 8) | 254 | 461 | return 0; | 255 | | | 256 | 4.33M | *data = ((uint64_t)(*pkt->curr)) << 56; | 257 | 4.33M | *data |= ((uint64_t)(*(pkt->curr + 1))) << 48; | 258 | 4.33M | *data |= ((uint64_t)(*(pkt->curr + 2))) << 40; | 259 | 4.33M | *data |= ((uint64_t)(*(pkt->curr + 3))) << 32; | 260 | 4.33M | *data |= ((uint64_t)(*(pkt->curr + 4))) << 24; | 261 | 4.33M | *data |= ((uint64_t)(*(pkt->curr + 5))) << 16; | 262 | 4.33M | *data |= ((uint64_t)(*(pkt->curr + 6))) << 8; | 263 | 4.33M | *data |= *(pkt->curr + 7); | 264 | | | 265 | 4.33M | return 1; | 266 | 4.33M | } |
|
267 | | |
268 | | /* Equivalent of n2l */ |
269 | | /* Get 4 bytes in network order from |pkt| and store the value in |*data| */ |
270 | | __owur static ossl_inline int PACKET_get_net_4(PACKET *pkt, unsigned long *data) |
271 | 5.82M | { |
272 | 5.82M | if (!PACKET_peek_net_4(pkt, data)) |
273 | 43 | return 0; |
274 | | |
275 | 5.82M | packet_forward(pkt, 4); |
276 | | |
277 | 5.82M | return 1; |
278 | 5.82M | } Unexecuted instantiation: params.c:PACKET_get_net_4 Unexecuted instantiation: encode_key2any.c:PACKET_get_net_4 Unexecuted instantiation: hkdf.c:PACKET_get_net_4 Unexecuted instantiation: x942kdf.c:PACKET_get_net_4 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_net_4 Unexecuted instantiation: dsa_sig.c:PACKET_get_net_4 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_net_4 Unexecuted instantiation: eddsa_sig.c:PACKET_get_net_4 Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_net_4 Unexecuted instantiation: rsa_sig.c:PACKET_get_net_4 Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_net_4 Unexecuted instantiation: sm2_sig.c:PACKET_get_net_4 Unexecuted instantiation: der_dsa_sig.c:PACKET_get_net_4 Unexecuted instantiation: der_ec_sig.c:PACKET_get_net_4 Unexecuted instantiation: der_ecx_key.c:PACKET_get_net_4 Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_net_4 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_net_4 Unexecuted instantiation: der_rsa_key.c:PACKET_get_net_4 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_net_4 Unexecuted instantiation: der_wrap_gen.c:PACKET_get_net_4 Unexecuted instantiation: dsa_asn1.c:PACKET_get_net_4 Unexecuted instantiation: dsa_sign.c:PACKET_get_net_4 Unexecuted instantiation: ec_asn1.c:PACKET_get_net_4 Unexecuted instantiation: hpke_util.c:PACKET_get_net_4 Unexecuted instantiation: asn1_dsa.c:PACKET_get_net_4 Unexecuted instantiation: der_writer.c:PACKET_get_net_4 Unexecuted instantiation: packet.c:PACKET_get_net_4 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_net_4 Unexecuted instantiation: ml_dsa_key.c:PACKET_get_net_4 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_net_4 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_net_4 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_net_4 Unexecuted instantiation: ml_dsa_params.c:PACKET_get_net_4 Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_net_4 Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_net_4 Unexecuted instantiation: slh_dsa.c:PACKET_get_net_4 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_net_4 Unexecuted instantiation: slh_dsa_key.c:PACKET_get_net_4 Unexecuted instantiation: slh_fors.c:PACKET_get_net_4 Unexecuted instantiation: slh_hash.c:PACKET_get_net_4 Unexecuted instantiation: slh_hypertree.c:PACKET_get_net_4 Unexecuted instantiation: slh_xmss.c:PACKET_get_net_4 Unexecuted instantiation: der_rsa_sig.c:PACKET_get_net_4 Unexecuted instantiation: der_sm2_sig.c:PACKET_get_net_4 Unexecuted instantiation: der_digests_gen.c:PACKET_get_net_4 Unexecuted instantiation: der_dsa_gen.c:PACKET_get_net_4 Unexecuted instantiation: der_ec_gen.c:PACKET_get_net_4 Unexecuted instantiation: der_ecx_gen.c:PACKET_get_net_4 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_net_4 Unexecuted instantiation: der_rsa_gen.c:PACKET_get_net_4 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_net_4 Unexecuted instantiation: punycode.c:PACKET_get_net_4 Unexecuted instantiation: slh_wots.c:PACKET_get_net_4 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_4 Unexecuted instantiation: quic-client.c:PACKET_get_net_4 Unexecuted instantiation: ssl_cert.c:PACKET_get_net_4 Unexecuted instantiation: ssl_ciph.c:PACKET_get_net_4 Unexecuted instantiation: ssl_init.c:PACKET_get_net_4 Unexecuted instantiation: ssl_lib.c:PACKET_get_net_4 Unexecuted instantiation: ssl_mcnf.c:PACKET_get_net_4 Unexecuted instantiation: ssl_sess.c:PACKET_get_net_4 Unexecuted instantiation: t1_lib.c:PACKET_get_net_4 Unexecuted instantiation: tls13_enc.c:PACKET_get_net_4 Unexecuted instantiation: tls_depr.c:PACKET_get_net_4 Unexecuted instantiation: tls_srp.c:PACKET_get_net_4 Unexecuted instantiation: quic_impl.c:PACKET_get_net_4 Unexecuted instantiation: quic_method.c:PACKET_get_net_4 Unexecuted instantiation: quic_obj.c:PACKET_get_net_4 Unexecuted instantiation: quic_port.c:PACKET_get_net_4 Unexecuted instantiation: quic_record_rx.c:PACKET_get_net_4 Unexecuted instantiation: quic_record_shared.c:PACKET_get_net_4 Unexecuted instantiation: quic_record_tx.c:PACKET_get_net_4 Unexecuted instantiation: quic_record_util.c:PACKET_get_net_4 Unexecuted instantiation: quic_rstream.c:PACKET_get_net_4 Unexecuted instantiation: quic_sf_list.c:PACKET_get_net_4 Unexecuted instantiation: quic_srtm.c:PACKET_get_net_4 Unexecuted instantiation: quic_sstream.c:PACKET_get_net_4 Unexecuted instantiation: quic_stream_map.c:PACKET_get_net_4 Unexecuted instantiation: quic_thread_assist.c:PACKET_get_net_4 Unexecuted instantiation: quic_tls.c:PACKET_get_net_4 Unexecuted instantiation: quic_txp.c:PACKET_get_net_4 Unexecuted instantiation: quic_txpim.c:PACKET_get_net_4 Unexecuted instantiation: quic_wire.c:PACKET_get_net_4 quic_wire_pkt.c:PACKET_get_net_4 Line | Count | Source | 271 | 5.81M | { | 272 | 5.81M | if (!PACKET_peek_net_4(pkt, data)) | 273 | 0 | return 0; | 274 | | | 275 | 5.81M | packet_forward(pkt, 4); | 276 | | | 277 | 5.81M | return 1; | 278 | 5.81M | } |
Unexecuted instantiation: rec_layer_s3.c:PACKET_get_net_4 Unexecuted instantiation: dtls_meth.c:PACKET_get_net_4 Unexecuted instantiation: tls1_meth.c:PACKET_get_net_4 Unexecuted instantiation: tls_common.c:PACKET_get_net_4 Unexecuted instantiation: tls_multib.c:PACKET_get_net_4 Unexecuted instantiation: tlsany_meth.c:PACKET_get_net_4 Unexecuted instantiation: extensions.c:PACKET_get_net_4 Unexecuted instantiation: extensions_clnt.c:PACKET_get_net_4 Unexecuted instantiation: extensions_cust.c:PACKET_get_net_4 extensions_srvr.c:PACKET_get_net_4 Line | Count | Source | 271 | 1.04k | { | 272 | 1.04k | if (!PACKET_peek_net_4(pkt, data)) | 273 | 14 | return 0; | 274 | | | 275 | 1.02k | packet_forward(pkt, 4); | 276 | | | 277 | 1.02k | return 1; | 278 | 1.04k | } |
Unexecuted instantiation: statem.c:PACKET_get_net_4 statem_clnt.c:PACKET_get_net_4 Line | Count | Source | 271 | 5.29k | { | 272 | 5.29k | if (!PACKET_peek_net_4(pkt, data)) | 273 | 29 | return 0; | 274 | | | 275 | 5.26k | packet_forward(pkt, 4); | 276 | | | 277 | 5.26k | return 1; | 278 | 5.29k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_get_net_4 Unexecuted instantiation: statem_lib.c:PACKET_get_net_4 Unexecuted instantiation: statem_srvr.c:PACKET_get_net_4 Unexecuted instantiation: ech_helper.c:PACKET_get_net_4 Unexecuted instantiation: ech_internal.c:PACKET_get_net_4 Unexecuted instantiation: ech_store.c:PACKET_get_net_4 Unexecuted instantiation: d1_lib.c:PACKET_get_net_4 Unexecuted instantiation: d1_srtp.c:PACKET_get_net_4 Unexecuted instantiation: methods.c:PACKET_get_net_4 Unexecuted instantiation: pqueue.c:PACKET_get_net_4 Unexecuted instantiation: s3_enc.c:PACKET_get_net_4 Unexecuted instantiation: s3_lib.c:PACKET_get_net_4 Unexecuted instantiation: s3_msg.c:PACKET_get_net_4 Unexecuted instantiation: ssl_asn1.c:PACKET_get_net_4 Unexecuted instantiation: ssl_conf.c:PACKET_get_net_4 Unexecuted instantiation: ssl_rsa.c:PACKET_get_net_4 Unexecuted instantiation: t1_enc.c:PACKET_get_net_4 Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_net_4 Unexecuted instantiation: quic_ackm.c:PACKET_get_net_4 quic_channel.c:PACKET_get_net_4 Line | Count | Source | 271 | 2.02k | { | 272 | 2.02k | if (!PACKET_peek_net_4(pkt, data)) | 273 | 0 | return 0; | 274 | | | 275 | 2.02k | packet_forward(pkt, 4); | 276 | | | 277 | 2.02k | return 1; | 278 | 2.02k | } |
Unexecuted instantiation: quic_demux.c:PACKET_get_net_4 Unexecuted instantiation: quic_engine.c:PACKET_get_net_4 Unexecuted instantiation: quic_fifd.c:PACKET_get_net_4 Unexecuted instantiation: quic_lcidm.c:PACKET_get_net_4 Unexecuted instantiation: quic_rx_depack.c:PACKET_get_net_4 Unexecuted instantiation: rec_layer_d1.c:PACKET_get_net_4 Unexecuted instantiation: tls13_meth.c:PACKET_get_net_4 Unexecuted instantiation: d1_msg.c:PACKET_get_net_4 Unexecuted instantiation: quic-server.c:PACKET_get_net_4 Unexecuted instantiation: quic-srtm.c:PACKET_get_net_4 Unexecuted instantiation: ssl_txt.c:PACKET_get_net_4 Unexecuted instantiation: quic-rcidm.c:PACKET_get_net_4 Unexecuted instantiation: quic_rcidm.c:PACKET_get_net_4 Unexecuted instantiation: quic-lcidm.c:PACKET_get_net_4 |
279 | | |
280 | | /* Same as PACKET_get_net_4() but for a size_t */ |
281 | | __owur static ossl_inline int PACKET_get_net_4_len(PACKET *pkt, size_t *data) |
282 | 0 | { |
283 | 0 | unsigned long i; |
284 | 0 | int ret = PACKET_get_net_4(pkt, &i); |
285 | 0 |
|
286 | 0 | if (ret) |
287 | 0 | *data = (size_t)i; |
288 | 0 |
|
289 | 0 | return ret; |
290 | 0 | } Unexecuted instantiation: params.c:PACKET_get_net_4_len Unexecuted instantiation: encode_key2any.c:PACKET_get_net_4_len Unexecuted instantiation: hkdf.c:PACKET_get_net_4_len Unexecuted instantiation: x942kdf.c:PACKET_get_net_4_len Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_net_4_len Unexecuted instantiation: dsa_sig.c:PACKET_get_net_4_len Unexecuted instantiation: ecdsa_sig.c:PACKET_get_net_4_len Unexecuted instantiation: eddsa_sig.c:PACKET_get_net_4_len Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_net_4_len Unexecuted instantiation: rsa_sig.c:PACKET_get_net_4_len Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_net_4_len Unexecuted instantiation: sm2_sig.c:PACKET_get_net_4_len Unexecuted instantiation: der_dsa_sig.c:PACKET_get_net_4_len Unexecuted instantiation: der_ec_sig.c:PACKET_get_net_4_len Unexecuted instantiation: der_ecx_key.c:PACKET_get_net_4_len Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_net_4_len Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_net_4_len Unexecuted instantiation: der_rsa_key.c:PACKET_get_net_4_len Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_net_4_len Unexecuted instantiation: der_wrap_gen.c:PACKET_get_net_4_len Unexecuted instantiation: dsa_asn1.c:PACKET_get_net_4_len Unexecuted instantiation: dsa_sign.c:PACKET_get_net_4_len Unexecuted instantiation: ec_asn1.c:PACKET_get_net_4_len Unexecuted instantiation: hpke_util.c:PACKET_get_net_4_len Unexecuted instantiation: asn1_dsa.c:PACKET_get_net_4_len Unexecuted instantiation: der_writer.c:PACKET_get_net_4_len Unexecuted instantiation: packet.c:PACKET_get_net_4_len Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_net_4_len Unexecuted instantiation: ml_dsa_key.c:PACKET_get_net_4_len Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_net_4_len Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_net_4_len Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_net_4_len Unexecuted instantiation: ml_dsa_params.c:PACKET_get_net_4_len Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_net_4_len Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_net_4_len Unexecuted instantiation: slh_dsa.c:PACKET_get_net_4_len Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_net_4_len Unexecuted instantiation: slh_dsa_key.c:PACKET_get_net_4_len Unexecuted instantiation: slh_fors.c:PACKET_get_net_4_len Unexecuted instantiation: slh_hash.c:PACKET_get_net_4_len Unexecuted instantiation: slh_hypertree.c:PACKET_get_net_4_len Unexecuted instantiation: slh_xmss.c:PACKET_get_net_4_len Unexecuted instantiation: der_rsa_sig.c:PACKET_get_net_4_len Unexecuted instantiation: der_sm2_sig.c:PACKET_get_net_4_len Unexecuted instantiation: der_digests_gen.c:PACKET_get_net_4_len Unexecuted instantiation: der_dsa_gen.c:PACKET_get_net_4_len Unexecuted instantiation: der_ec_gen.c:PACKET_get_net_4_len Unexecuted instantiation: der_ecx_gen.c:PACKET_get_net_4_len Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_net_4_len Unexecuted instantiation: der_rsa_gen.c:PACKET_get_net_4_len Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_net_4_len Unexecuted instantiation: punycode.c:PACKET_get_net_4_len Unexecuted instantiation: slh_wots.c:PACKET_get_net_4_len Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_4_len Unexecuted instantiation: quic-client.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_cert.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_ciph.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_init.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_lib.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_mcnf.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_sess.c:PACKET_get_net_4_len Unexecuted instantiation: t1_lib.c:PACKET_get_net_4_len Unexecuted instantiation: tls13_enc.c:PACKET_get_net_4_len Unexecuted instantiation: tls_depr.c:PACKET_get_net_4_len Unexecuted instantiation: tls_srp.c:PACKET_get_net_4_len Unexecuted instantiation: quic_impl.c:PACKET_get_net_4_len Unexecuted instantiation: quic_method.c:PACKET_get_net_4_len Unexecuted instantiation: quic_obj.c:PACKET_get_net_4_len Unexecuted instantiation: quic_port.c:PACKET_get_net_4_len Unexecuted instantiation: quic_record_rx.c:PACKET_get_net_4_len Unexecuted instantiation: quic_record_shared.c:PACKET_get_net_4_len Unexecuted instantiation: quic_record_tx.c:PACKET_get_net_4_len Unexecuted instantiation: quic_record_util.c:PACKET_get_net_4_len Unexecuted instantiation: quic_rstream.c:PACKET_get_net_4_len Unexecuted instantiation: quic_sf_list.c:PACKET_get_net_4_len Unexecuted instantiation: quic_srtm.c:PACKET_get_net_4_len Unexecuted instantiation: quic_sstream.c:PACKET_get_net_4_len Unexecuted instantiation: quic_stream_map.c:PACKET_get_net_4_len Unexecuted instantiation: quic_thread_assist.c:PACKET_get_net_4_len Unexecuted instantiation: quic_tls.c:PACKET_get_net_4_len Unexecuted instantiation: quic_txp.c:PACKET_get_net_4_len Unexecuted instantiation: quic_txpim.c:PACKET_get_net_4_len Unexecuted instantiation: quic_wire.c:PACKET_get_net_4_len Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_net_4_len Unexecuted instantiation: rec_layer_s3.c:PACKET_get_net_4_len Unexecuted instantiation: dtls_meth.c:PACKET_get_net_4_len Unexecuted instantiation: tls1_meth.c:PACKET_get_net_4_len Unexecuted instantiation: tls_common.c:PACKET_get_net_4_len Unexecuted instantiation: tls_multib.c:PACKET_get_net_4_len Unexecuted instantiation: tlsany_meth.c:PACKET_get_net_4_len Unexecuted instantiation: extensions.c:PACKET_get_net_4_len Unexecuted instantiation: extensions_clnt.c:PACKET_get_net_4_len Unexecuted instantiation: extensions_cust.c:PACKET_get_net_4_len Unexecuted instantiation: extensions_srvr.c:PACKET_get_net_4_len Unexecuted instantiation: statem.c:PACKET_get_net_4_len Unexecuted instantiation: statem_clnt.c:PACKET_get_net_4_len Unexecuted instantiation: statem_dtls.c:PACKET_get_net_4_len Unexecuted instantiation: statem_lib.c:PACKET_get_net_4_len Unexecuted instantiation: statem_srvr.c:PACKET_get_net_4_len Unexecuted instantiation: ech_helper.c:PACKET_get_net_4_len Unexecuted instantiation: ech_internal.c:PACKET_get_net_4_len Unexecuted instantiation: ech_store.c:PACKET_get_net_4_len Unexecuted instantiation: d1_lib.c:PACKET_get_net_4_len Unexecuted instantiation: d1_srtp.c:PACKET_get_net_4_len Unexecuted instantiation: methods.c:PACKET_get_net_4_len Unexecuted instantiation: pqueue.c:PACKET_get_net_4_len Unexecuted instantiation: s3_enc.c:PACKET_get_net_4_len Unexecuted instantiation: s3_lib.c:PACKET_get_net_4_len Unexecuted instantiation: s3_msg.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_asn1.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_conf.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_rsa.c:PACKET_get_net_4_len Unexecuted instantiation: t1_enc.c:PACKET_get_net_4_len Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_net_4_len Unexecuted instantiation: quic_ackm.c:PACKET_get_net_4_len Unexecuted instantiation: quic_channel.c:PACKET_get_net_4_len Unexecuted instantiation: quic_demux.c:PACKET_get_net_4_len Unexecuted instantiation: quic_engine.c:PACKET_get_net_4_len Unexecuted instantiation: quic_fifd.c:PACKET_get_net_4_len Unexecuted instantiation: quic_lcidm.c:PACKET_get_net_4_len Unexecuted instantiation: quic_rx_depack.c:PACKET_get_net_4_len Unexecuted instantiation: rec_layer_d1.c:PACKET_get_net_4_len Unexecuted instantiation: tls13_meth.c:PACKET_get_net_4_len Unexecuted instantiation: d1_msg.c:PACKET_get_net_4_len Unexecuted instantiation: quic-server.c:PACKET_get_net_4_len Unexecuted instantiation: quic-srtm.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_txt.c:PACKET_get_net_4_len Unexecuted instantiation: quic-rcidm.c:PACKET_get_net_4_len Unexecuted instantiation: quic_rcidm.c:PACKET_get_net_4_len Unexecuted instantiation: quic-lcidm.c:PACKET_get_net_4_len |
291 | | |
292 | | /** |
293 | | * @brief Get 4 bytes in network order from |pkt| and store the value in |*data| |
294 | | * Similar to PACKET_get_net_4() except the data is uint32_t |
295 | | * |
296 | | * @param pkt Contains a buffer to read from |
297 | | * @param data The object to write the data to. |
298 | | * @returns 1 on success, or 0 otherwise. |
299 | | */ |
300 | | static ossl_unused ossl_inline int PACKET_get_net_4_len_u32(PACKET *pkt, uint32_t *data) |
301 | 0 | { |
302 | 0 | size_t i = 0; |
303 | 0 | int ret = PACKET_get_net_4_len(pkt, &i); |
304 | 0 |
|
305 | 0 | if (ret) |
306 | 0 | *data = (uint32_t)i; |
307 | 0 | return ret; |
308 | 0 | } Unexecuted instantiation: params.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: encode_key2any.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: hkdf.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: x942kdf.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: dsa_sig.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: eddsa_sig.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: rsa_sig.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: sm2_sig.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_dsa_sig.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_ec_sig.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_ecx_key.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_rsa_key.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_wrap_gen.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: dsa_asn1.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: dsa_sign.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ec_asn1.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: hpke_util.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: asn1_dsa.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_writer.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: packet.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ml_dsa_key.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ml_dsa_params.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: slh_dsa.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: slh_dsa_key.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: slh_fors.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: slh_hash.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: slh_hypertree.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: slh_xmss.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_rsa_sig.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_sm2_sig.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_digests_gen.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_dsa_gen.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_ec_gen.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_ecx_gen.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_rsa_gen.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: punycode.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: slh_wots.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic-client.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ssl_cert.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ssl_ciph.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ssl_init.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ssl_lib.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ssl_mcnf.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ssl_sess.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: t1_lib.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: tls13_enc.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: tls_depr.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: tls_srp.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_impl.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_method.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_obj.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_port.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_record_rx.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_record_shared.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_record_tx.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_record_util.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_rstream.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_sf_list.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_srtm.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_sstream.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_stream_map.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_thread_assist.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_tls.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_txp.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_txpim.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_wire.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: rec_layer_s3.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: dtls_meth.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: tls1_meth.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: tls_common.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: tls_multib.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: tlsany_meth.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: extensions.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: extensions_clnt.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: extensions_cust.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: extensions_srvr.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: statem.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: statem_clnt.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: statem_dtls.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: statem_lib.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: statem_srvr.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ech_helper.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ech_internal.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ech_store.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: d1_lib.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: d1_srtp.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: methods.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: pqueue.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: s3_enc.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: s3_lib.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: s3_msg.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ssl_asn1.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ssl_conf.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ssl_rsa.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: t1_enc.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_ackm.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_channel.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_demux.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_engine.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_fifd.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_lcidm.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_rx_depack.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: rec_layer_d1.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: tls13_meth.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: d1_msg.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic-server.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic-srtm.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: ssl_txt.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic-rcidm.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic_rcidm.c:PACKET_get_net_4_len_u32 Unexecuted instantiation: quic-lcidm.c:PACKET_get_net_4_len_u32 |
309 | | |
310 | | /* Get 8 bytes in network order from |pkt| and store the value in |*data| */ |
311 | | __owur static ossl_inline int PACKET_get_net_8(PACKET *pkt, uint64_t *data) |
312 | 26.0M | { |
313 | 26.0M | if (!PACKET_peek_net_8(pkt, data)) |
314 | 5.89k | return 0; |
315 | | |
316 | 26.0M | packet_forward(pkt, 8); |
317 | | |
318 | 26.0M | return 1; |
319 | 26.0M | } Unexecuted instantiation: params.c:PACKET_get_net_8 Unexecuted instantiation: encode_key2any.c:PACKET_get_net_8 Unexecuted instantiation: hkdf.c:PACKET_get_net_8 Unexecuted instantiation: x942kdf.c:PACKET_get_net_8 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_net_8 Unexecuted instantiation: dsa_sig.c:PACKET_get_net_8 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_net_8 Unexecuted instantiation: eddsa_sig.c:PACKET_get_net_8 Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_net_8 Unexecuted instantiation: rsa_sig.c:PACKET_get_net_8 Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_net_8 Unexecuted instantiation: sm2_sig.c:PACKET_get_net_8 Unexecuted instantiation: der_dsa_sig.c:PACKET_get_net_8 Unexecuted instantiation: der_ec_sig.c:PACKET_get_net_8 Unexecuted instantiation: der_ecx_key.c:PACKET_get_net_8 Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_net_8 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_net_8 Unexecuted instantiation: der_rsa_key.c:PACKET_get_net_8 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_net_8 Unexecuted instantiation: der_wrap_gen.c:PACKET_get_net_8 Unexecuted instantiation: dsa_asn1.c:PACKET_get_net_8 Unexecuted instantiation: dsa_sign.c:PACKET_get_net_8 Unexecuted instantiation: ec_asn1.c:PACKET_get_net_8 Unexecuted instantiation: hpke_util.c:PACKET_get_net_8 Unexecuted instantiation: asn1_dsa.c:PACKET_get_net_8 Unexecuted instantiation: der_writer.c:PACKET_get_net_8 Unexecuted instantiation: packet.c:PACKET_get_net_8 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_net_8 Unexecuted instantiation: ml_dsa_key.c:PACKET_get_net_8 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_net_8 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_net_8 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_net_8 Unexecuted instantiation: ml_dsa_params.c:PACKET_get_net_8 Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_net_8 Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_net_8 Unexecuted instantiation: slh_dsa.c:PACKET_get_net_8 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_net_8 Unexecuted instantiation: slh_dsa_key.c:PACKET_get_net_8 Unexecuted instantiation: slh_fors.c:PACKET_get_net_8 Unexecuted instantiation: slh_hash.c:PACKET_get_net_8 Unexecuted instantiation: slh_hypertree.c:PACKET_get_net_8 Unexecuted instantiation: slh_xmss.c:PACKET_get_net_8 Unexecuted instantiation: der_rsa_sig.c:PACKET_get_net_8 Unexecuted instantiation: der_sm2_sig.c:PACKET_get_net_8 Unexecuted instantiation: der_digests_gen.c:PACKET_get_net_8 Unexecuted instantiation: der_dsa_gen.c:PACKET_get_net_8 Unexecuted instantiation: der_ec_gen.c:PACKET_get_net_8 Unexecuted instantiation: der_ecx_gen.c:PACKET_get_net_8 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_net_8 Unexecuted instantiation: der_rsa_gen.c:PACKET_get_net_8 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_net_8 Unexecuted instantiation: punycode.c:PACKET_get_net_8 Unexecuted instantiation: slh_wots.c:PACKET_get_net_8 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_8 Unexecuted instantiation: quic-client.c:PACKET_get_net_8 Unexecuted instantiation: ssl_cert.c:PACKET_get_net_8 Unexecuted instantiation: ssl_ciph.c:PACKET_get_net_8 Unexecuted instantiation: ssl_init.c:PACKET_get_net_8 Unexecuted instantiation: ssl_lib.c:PACKET_get_net_8 Unexecuted instantiation: ssl_mcnf.c:PACKET_get_net_8 Unexecuted instantiation: ssl_sess.c:PACKET_get_net_8 Unexecuted instantiation: t1_lib.c:PACKET_get_net_8 Unexecuted instantiation: tls13_enc.c:PACKET_get_net_8 Unexecuted instantiation: tls_depr.c:PACKET_get_net_8 Unexecuted instantiation: tls_srp.c:PACKET_get_net_8 Unexecuted instantiation: quic_impl.c:PACKET_get_net_8 Unexecuted instantiation: quic_method.c:PACKET_get_net_8 Unexecuted instantiation: quic_obj.c:PACKET_get_net_8 Unexecuted instantiation: quic_port.c:PACKET_get_net_8 Unexecuted instantiation: quic_record_rx.c:PACKET_get_net_8 Unexecuted instantiation: quic_record_shared.c:PACKET_get_net_8 Unexecuted instantiation: quic_record_tx.c:PACKET_get_net_8 Unexecuted instantiation: quic_record_util.c:PACKET_get_net_8 Unexecuted instantiation: quic_rstream.c:PACKET_get_net_8 Unexecuted instantiation: quic_sf_list.c:PACKET_get_net_8 Unexecuted instantiation: quic_srtm.c:PACKET_get_net_8 Unexecuted instantiation: quic_sstream.c:PACKET_get_net_8 Unexecuted instantiation: quic_stream_map.c:PACKET_get_net_8 Unexecuted instantiation: quic_thread_assist.c:PACKET_get_net_8 Unexecuted instantiation: quic_tls.c:PACKET_get_net_8 Unexecuted instantiation: quic_txp.c:PACKET_get_net_8 Unexecuted instantiation: quic_txpim.c:PACKET_get_net_8 quic_wire.c:PACKET_get_net_8 Line | Count | Source | 312 | 296k | { | 313 | 296k | if (!PACKET_peek_net_8(pkt, data)) | 314 | 88 | return 0; | 315 | | | 316 | 296k | packet_forward(pkt, 8); | 317 | | | 318 | 296k | return 1; | 319 | 296k | } |
Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_net_8 Unexecuted instantiation: rec_layer_s3.c:PACKET_get_net_8 Unexecuted instantiation: dtls_meth.c:PACKET_get_net_8 Unexecuted instantiation: tls1_meth.c:PACKET_get_net_8 Unexecuted instantiation: tls_common.c:PACKET_get_net_8 Unexecuted instantiation: tls_multib.c:PACKET_get_net_8 Unexecuted instantiation: tlsany_meth.c:PACKET_get_net_8 Unexecuted instantiation: extensions.c:PACKET_get_net_8 Unexecuted instantiation: extensions_clnt.c:PACKET_get_net_8 Unexecuted instantiation: extensions_cust.c:PACKET_get_net_8 Unexecuted instantiation: extensions_srvr.c:PACKET_get_net_8 Unexecuted instantiation: statem.c:PACKET_get_net_8 Unexecuted instantiation: statem_clnt.c:PACKET_get_net_8 Unexecuted instantiation: statem_dtls.c:PACKET_get_net_8 Unexecuted instantiation: statem_lib.c:PACKET_get_net_8 Unexecuted instantiation: statem_srvr.c:PACKET_get_net_8 Unexecuted instantiation: ech_helper.c:PACKET_get_net_8 Unexecuted instantiation: ech_internal.c:PACKET_get_net_8 Unexecuted instantiation: ech_store.c:PACKET_get_net_8 Unexecuted instantiation: d1_lib.c:PACKET_get_net_8 Unexecuted instantiation: d1_srtp.c:PACKET_get_net_8 Unexecuted instantiation: methods.c:PACKET_get_net_8 Unexecuted instantiation: pqueue.c:PACKET_get_net_8 Unexecuted instantiation: s3_enc.c:PACKET_get_net_8 Unexecuted instantiation: s3_lib.c:PACKET_get_net_8 Unexecuted instantiation: s3_msg.c:PACKET_get_net_8 Unexecuted instantiation: ssl_asn1.c:PACKET_get_net_8 Unexecuted instantiation: ssl_conf.c:PACKET_get_net_8 Unexecuted instantiation: ssl_rsa.c:PACKET_get_net_8 Unexecuted instantiation: t1_enc.c:PACKET_get_net_8 Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_net_8 Unexecuted instantiation: quic_ackm.c:PACKET_get_net_8 Unexecuted instantiation: quic_channel.c:PACKET_get_net_8 Unexecuted instantiation: quic_demux.c:PACKET_get_net_8 Unexecuted instantiation: quic_engine.c:PACKET_get_net_8 Unexecuted instantiation: quic_fifd.c:PACKET_get_net_8 Unexecuted instantiation: quic_lcidm.c:PACKET_get_net_8 Unexecuted instantiation: quic_rx_depack.c:PACKET_get_net_8 Unexecuted instantiation: rec_layer_d1.c:PACKET_get_net_8 Unexecuted instantiation: tls13_meth.c:PACKET_get_net_8 Unexecuted instantiation: d1_msg.c:PACKET_get_net_8 Unexecuted instantiation: quic-server.c:PACKET_get_net_8 quic-srtm.c:PACKET_get_net_8 Line | Count | Source | 312 | 6.24M | { | 313 | 6.24M | if (!PACKET_peek_net_8(pkt, data)) | 314 | 4.99k | return 0; | 315 | | | 316 | 6.23M | packet_forward(pkt, 8); | 317 | | | 318 | 6.23M | return 1; | 319 | 6.24M | } |
Unexecuted instantiation: ssl_txt.c:PACKET_get_net_8 quic-rcidm.c:PACKET_get_net_8 Line | Count | Source | 312 | 15.1M | { | 313 | 15.1M | if (!PACKET_peek_net_8(pkt, data)) | 314 | 350 | return 0; | 315 | | | 316 | 15.1M | packet_forward(pkt, 8); | 317 | | | 318 | 15.1M | return 1; | 319 | 15.1M | } |
Unexecuted instantiation: quic_rcidm.c:PACKET_get_net_8 quic-lcidm.c:PACKET_get_net_8 Line | Count | Source | 312 | 4.33M | { | 313 | 4.33M | if (!PACKET_peek_net_8(pkt, data)) | 314 | 461 | return 0; | 315 | | | 316 | 4.33M | packet_forward(pkt, 8); | 317 | | | 318 | 4.33M | return 1; | 319 | 4.33M | } |
|
320 | | |
321 | | /* Peek ahead at 1 byte from |pkt| and store the value in |*data| */ |
322 | | __owur static ossl_inline int PACKET_peek_1(const PACKET *pkt, |
323 | | unsigned int *data) |
324 | 66.6M | { |
325 | 66.6M | if (!PACKET_remaining(pkt)) |
326 | 10.2k | return 0; |
327 | | |
328 | 66.6M | *data = *pkt->curr; |
329 | | |
330 | 66.6M | return 1; |
331 | 66.6M | } Unexecuted instantiation: params.c:PACKET_peek_1 Unexecuted instantiation: encode_key2any.c:PACKET_peek_1 Unexecuted instantiation: hkdf.c:PACKET_peek_1 Unexecuted instantiation: x942kdf.c:PACKET_peek_1 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_peek_1 Unexecuted instantiation: dsa_sig.c:PACKET_peek_1 Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_1 Unexecuted instantiation: eddsa_sig.c:PACKET_peek_1 Unexecuted instantiation: ml_dsa_sig.c:PACKET_peek_1 Unexecuted instantiation: rsa_sig.c:PACKET_peek_1 Unexecuted instantiation: slh_dsa_sig.c:PACKET_peek_1 Unexecuted instantiation: sm2_sig.c:PACKET_peek_1 Unexecuted instantiation: der_dsa_sig.c:PACKET_peek_1 Unexecuted instantiation: der_ec_sig.c:PACKET_peek_1 Unexecuted instantiation: der_ecx_key.c:PACKET_peek_1 Unexecuted instantiation: der_hkdf_gen.c:PACKET_peek_1 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_peek_1 Unexecuted instantiation: der_rsa_key.c:PACKET_peek_1 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_peek_1 Unexecuted instantiation: der_wrap_gen.c:PACKET_peek_1 Unexecuted instantiation: dsa_asn1.c:PACKET_peek_1 Unexecuted instantiation: dsa_sign.c:PACKET_peek_1 Unexecuted instantiation: ec_asn1.c:PACKET_peek_1 Unexecuted instantiation: hpke_util.c:PACKET_peek_1 Line | Count | Source | 324 | 424k | { | 325 | 424k | if (!PACKET_remaining(pkt)) | 326 | 6.44k | return 0; | 327 | | | 328 | 417k | *data = *pkt->curr; | 329 | | | 330 | 417k | return 1; | 331 | 424k | } |
Unexecuted instantiation: der_writer.c:PACKET_peek_1 Unexecuted instantiation: packet.c:PACKET_peek_1 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_peek_1 Unexecuted instantiation: ml_dsa_key.c:PACKET_peek_1 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_peek_1 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_peek_1 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_peek_1 Unexecuted instantiation: ml_dsa_params.c:PACKET_peek_1 Unexecuted instantiation: ml_dsa_sample.c:PACKET_peek_1 Unexecuted instantiation: ml_dsa_sign.c:PACKET_peek_1 Unexecuted instantiation: slh_dsa.c:PACKET_peek_1 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_peek_1 Unexecuted instantiation: slh_dsa_key.c:PACKET_peek_1 Unexecuted instantiation: slh_fors.c:PACKET_peek_1 Unexecuted instantiation: slh_hash.c:PACKET_peek_1 Unexecuted instantiation: slh_hypertree.c:PACKET_peek_1 Unexecuted instantiation: slh_xmss.c:PACKET_peek_1 Unexecuted instantiation: der_rsa_sig.c:PACKET_peek_1 Unexecuted instantiation: der_sm2_sig.c:PACKET_peek_1 Unexecuted instantiation: der_digests_gen.c:PACKET_peek_1 Unexecuted instantiation: der_dsa_gen.c:PACKET_peek_1 Unexecuted instantiation: der_ec_gen.c:PACKET_peek_1 Unexecuted instantiation: der_ecx_gen.c:PACKET_peek_1 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_peek_1 Unexecuted instantiation: der_rsa_gen.c:PACKET_peek_1 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_peek_1 Unexecuted instantiation: punycode.c:PACKET_peek_1 Unexecuted instantiation: slh_wots.c:PACKET_peek_1 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_1 Unexecuted instantiation: quic-client.c:PACKET_peek_1 Unexecuted instantiation: ssl_cert.c:PACKET_peek_1 Unexecuted instantiation: ssl_ciph.c:PACKET_peek_1 Unexecuted instantiation: ssl_init.c:PACKET_peek_1 Line | Count | Source | 324 | 147k | { | 325 | 147k | if (!PACKET_remaining(pkt)) | 326 | 0 | return 0; | 327 | | | 328 | 147k | *data = *pkt->curr; | 329 | | | 330 | 147k | return 1; | 331 | 147k | } |
Unexecuted instantiation: ssl_mcnf.c:PACKET_peek_1 Unexecuted instantiation: ssl_sess.c:PACKET_peek_1 Unexecuted instantiation: t1_lib.c:PACKET_peek_1 Unexecuted instantiation: tls13_enc.c:PACKET_peek_1 Unexecuted instantiation: tls_depr.c:PACKET_peek_1 Unexecuted instantiation: tls_srp.c:PACKET_peek_1 Unexecuted instantiation: quic_impl.c:PACKET_peek_1 Unexecuted instantiation: quic_method.c:PACKET_peek_1 Unexecuted instantiation: quic_obj.c:PACKET_peek_1 Unexecuted instantiation: quic_port.c:PACKET_peek_1 Unexecuted instantiation: quic_record_rx.c:PACKET_peek_1 Unexecuted instantiation: quic_record_shared.c:PACKET_peek_1 Unexecuted instantiation: quic_record_tx.c:PACKET_peek_1 Unexecuted instantiation: quic_record_util.c:PACKET_peek_1 Unexecuted instantiation: quic_rstream.c:PACKET_peek_1 Unexecuted instantiation: quic_sf_list.c:PACKET_peek_1 Unexecuted instantiation: quic_srtm.c:PACKET_peek_1 Unexecuted instantiation: quic_sstream.c:PACKET_peek_1 Unexecuted instantiation: quic_stream_map.c:PACKET_peek_1 Unexecuted instantiation: quic_thread_assist.c:PACKET_peek_1 Unexecuted instantiation: quic_tls.c:PACKET_peek_1 Unexecuted instantiation: quic_txp.c:PACKET_peek_1 Unexecuted instantiation: quic_txpim.c:PACKET_peek_1 quic_wire.c:PACKET_peek_1 Line | Count | Source | 324 | 17.8k | { | 325 | 17.8k | if (!PACKET_remaining(pkt)) | 326 | 7 | return 0; | 327 | | | 328 | 17.8k | *data = *pkt->curr; | 329 | | | 330 | 17.8k | return 1; | 331 | 17.8k | } |
quic_wire_pkt.c:PACKET_peek_1 Line | Count | Source | 324 | 17.8M | { | 325 | 17.8M | if (!PACKET_remaining(pkt)) | 326 | 758 | return 0; | 327 | | | 328 | 17.8M | *data = *pkt->curr; | 329 | | | 330 | 17.8M | return 1; | 331 | 17.8M | } |
rec_layer_s3.c:PACKET_peek_1 Line | Count | Source | 324 | 4.89k | { | 325 | 4.89k | if (!PACKET_remaining(pkt)) | 326 | 113 | return 0; | 327 | | | 328 | 4.78k | *data = *pkt->curr; | 329 | | | 330 | 4.78k | return 1; | 331 | 4.89k | } |
Unexecuted instantiation: dtls_meth.c:PACKET_peek_1 Unexecuted instantiation: tls1_meth.c:PACKET_peek_1 tls_common.c:PACKET_peek_1 Line | Count | Source | 324 | 780k | { | 325 | 780k | if (!PACKET_remaining(pkt)) | 326 | 0 | return 0; | 327 | | | 328 | 780k | *data = *pkt->curr; | 329 | | | 330 | 780k | return 1; | 331 | 780k | } |
Unexecuted instantiation: tls_multib.c:PACKET_peek_1 Unexecuted instantiation: tlsany_meth.c:PACKET_peek_1 Unexecuted instantiation: extensions.c:PACKET_peek_1 extensions_clnt.c:PACKET_peek_1 Line | Count | Source | 324 | 95.5k | { | 325 | 95.5k | if (!PACKET_remaining(pkt)) | 326 | 95 | return 0; | 327 | | | 328 | 95.4k | *data = *pkt->curr; | 329 | | | 330 | 95.4k | return 1; | 331 | 95.5k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_peek_1 extensions_srvr.c:PACKET_peek_1 Line | Count | Source | 324 | 46.0k | { | 325 | 46.0k | if (!PACKET_remaining(pkt)) | 326 | 2.01k | return 0; | 327 | | | 328 | 44.0k | *data = *pkt->curr; | 329 | | | 330 | 44.0k | return 1; | 331 | 46.0k | } |
Unexecuted instantiation: statem.c:PACKET_peek_1 statem_clnt.c:PACKET_peek_1 Line | Count | Source | 324 | 207k | { | 325 | 207k | if (!PACKET_remaining(pkt)) | 326 | 359 | return 0; | 327 | | | 328 | 207k | *data = *pkt->curr; | 329 | | | 330 | 207k | return 1; | 331 | 207k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_peek_1 statem_lib.c:PACKET_peek_1 Line | Count | Source | 324 | 6.08k | { | 325 | 6.08k | if (!PACKET_remaining(pkt)) | 326 | 11 | return 0; | 327 | | | 328 | 6.06k | *data = *pkt->curr; | 329 | | | 330 | 6.06k | return 1; | 331 | 6.08k | } |
statem_srvr.c:PACKET_peek_1 Line | Count | Source | 324 | 106k | { | 325 | 106k | if (!PACKET_remaining(pkt)) | 326 | 32 | return 0; | 327 | | | 328 | 106k | *data = *pkt->curr; | 329 | | | 330 | 106k | return 1; | 331 | 106k | } |
ech_helper.c:PACKET_peek_1 Line | Count | Source | 324 | 1.84k | { | 325 | 1.84k | if (!PACKET_remaining(pkt)) | 326 | 4 | return 0; | 327 | | | 328 | 1.83k | *data = *pkt->curr; | 329 | | | 330 | 1.83k | return 1; | 331 | 1.84k | } |
Unexecuted instantiation: ech_internal.c:PACKET_peek_1 Unexecuted instantiation: ech_store.c:PACKET_peek_1 Unexecuted instantiation: d1_lib.c:PACKET_peek_1 Unexecuted instantiation: d1_srtp.c:PACKET_peek_1 Unexecuted instantiation: methods.c:PACKET_peek_1 Unexecuted instantiation: pqueue.c:PACKET_peek_1 Unexecuted instantiation: s3_enc.c:PACKET_peek_1 Unexecuted instantiation: s3_lib.c:PACKET_peek_1 Unexecuted instantiation: s3_msg.c:PACKET_peek_1 Unexecuted instantiation: ssl_asn1.c:PACKET_peek_1 Unexecuted instantiation: ssl_conf.c:PACKET_peek_1 Unexecuted instantiation: ssl_rsa.c:PACKET_peek_1 Unexecuted instantiation: t1_enc.c:PACKET_peek_1 Unexecuted instantiation: qlog_event_helpers.c:PACKET_peek_1 Unexecuted instantiation: quic_ackm.c:PACKET_peek_1 Unexecuted instantiation: quic_channel.c:PACKET_peek_1 Unexecuted instantiation: quic_demux.c:PACKET_peek_1 Unexecuted instantiation: quic_engine.c:PACKET_peek_1 Unexecuted instantiation: quic_fifd.c:PACKET_peek_1 Unexecuted instantiation: quic_lcidm.c:PACKET_peek_1 Unexecuted instantiation: quic_rx_depack.c:PACKET_peek_1 rec_layer_d1.c:PACKET_peek_1 Line | Count | Source | 324 | 6.56k | { | 325 | 6.56k | if (!PACKET_remaining(pkt)) | 326 | 158 | return 0; | 327 | | | 328 | 6.40k | *data = *pkt->curr; | 329 | | | 330 | 6.40k | return 1; | 331 | 6.56k | } |
Unexecuted instantiation: tls13_meth.c:PACKET_peek_1 Unexecuted instantiation: d1_msg.c:PACKET_peek_1 Unexecuted instantiation: quic-server.c:PACKET_peek_1 quic-srtm.c:PACKET_peek_1 Line | Count | Source | 324 | 12.7M | { | 325 | 12.7M | if (!PACKET_remaining(pkt)) | 326 | 0 | return 0; | 327 | | | 328 | 12.7M | *data = *pkt->curr; | 329 | | | 330 | 12.7M | return 1; | 331 | 12.7M | } |
Unexecuted instantiation: ssl_txt.c:PACKET_peek_1 quic-rcidm.c:PACKET_peek_1 Line | Count | Source | 324 | 28.5M | { | 325 | 28.5M | if (!PACKET_remaining(pkt)) | 326 | 130 | return 0; | 327 | | | 328 | 28.5M | *data = *pkt->curr; | 329 | | | 330 | 28.5M | return 1; | 331 | 28.5M | } |
Unexecuted instantiation: quic_rcidm.c:PACKET_peek_1 quic-lcidm.c:PACKET_peek_1 Line | Count | Source | 324 | 5.76M | { | 325 | 5.76M | if (!PACKET_remaining(pkt)) | 326 | 99 | return 0; | 327 | | | 328 | 5.76M | *data = *pkt->curr; | 329 | | | 330 | 5.76M | return 1; | 331 | 5.76M | } |
|
332 | | |
333 | | /* Get 1 byte from |pkt| and store the value in |*data| */ |
334 | | __owur static ossl_inline int PACKET_get_1(PACKET *pkt, unsigned int *data) |
335 | 66.6M | { |
336 | 66.6M | if (!PACKET_peek_1(pkt, data)) |
337 | 10.2k | return 0; |
338 | | |
339 | 66.6M | packet_forward(pkt, 1); |
340 | | |
341 | 66.6M | return 1; |
342 | 66.6M | } Unexecuted instantiation: params.c:PACKET_get_1 Unexecuted instantiation: encode_key2any.c:PACKET_get_1 Unexecuted instantiation: hkdf.c:PACKET_get_1 Unexecuted instantiation: x942kdf.c:PACKET_get_1 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_1 Unexecuted instantiation: dsa_sig.c:PACKET_get_1 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_1 Unexecuted instantiation: eddsa_sig.c:PACKET_get_1 Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_1 Unexecuted instantiation: rsa_sig.c:PACKET_get_1 Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_1 Unexecuted instantiation: sm2_sig.c:PACKET_get_1 Unexecuted instantiation: der_dsa_sig.c:PACKET_get_1 Unexecuted instantiation: der_ec_sig.c:PACKET_get_1 Unexecuted instantiation: der_ecx_key.c:PACKET_get_1 Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_1 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_1 Unexecuted instantiation: der_rsa_key.c:PACKET_get_1 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_1 Unexecuted instantiation: der_wrap_gen.c:PACKET_get_1 Unexecuted instantiation: dsa_asn1.c:PACKET_get_1 Unexecuted instantiation: dsa_sign.c:PACKET_get_1 Unexecuted instantiation: ec_asn1.c:PACKET_get_1 Unexecuted instantiation: hpke_util.c:PACKET_get_1 Line | Count | Source | 335 | 424k | { | 336 | 424k | if (!PACKET_peek_1(pkt, data)) | 337 | 6.44k | return 0; | 338 | | | 339 | 417k | packet_forward(pkt, 1); | 340 | | | 341 | 417k | return 1; | 342 | 424k | } |
Unexecuted instantiation: der_writer.c:PACKET_get_1 Unexecuted instantiation: packet.c:PACKET_get_1 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_1 Unexecuted instantiation: ml_dsa_key.c:PACKET_get_1 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_1 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_1 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_1 Unexecuted instantiation: ml_dsa_params.c:PACKET_get_1 Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_1 Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_1 Unexecuted instantiation: slh_dsa.c:PACKET_get_1 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_1 Unexecuted instantiation: slh_dsa_key.c:PACKET_get_1 Unexecuted instantiation: slh_fors.c:PACKET_get_1 Unexecuted instantiation: slh_hash.c:PACKET_get_1 Unexecuted instantiation: slh_hypertree.c:PACKET_get_1 Unexecuted instantiation: slh_xmss.c:PACKET_get_1 Unexecuted instantiation: der_rsa_sig.c:PACKET_get_1 Unexecuted instantiation: der_sm2_sig.c:PACKET_get_1 Unexecuted instantiation: der_digests_gen.c:PACKET_get_1 Unexecuted instantiation: der_dsa_gen.c:PACKET_get_1 Unexecuted instantiation: der_ec_gen.c:PACKET_get_1 Unexecuted instantiation: der_ecx_gen.c:PACKET_get_1 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_1 Unexecuted instantiation: der_rsa_gen.c:PACKET_get_1 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_1 Unexecuted instantiation: punycode.c:PACKET_get_1 Unexecuted instantiation: slh_wots.c:PACKET_get_1 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_1 Unexecuted instantiation: quic-client.c:PACKET_get_1 Unexecuted instantiation: ssl_cert.c:PACKET_get_1 Unexecuted instantiation: ssl_ciph.c:PACKET_get_1 Unexecuted instantiation: ssl_init.c:PACKET_get_1 Line | Count | Source | 335 | 147k | { | 336 | 147k | if (!PACKET_peek_1(pkt, data)) | 337 | 0 | return 0; | 338 | | | 339 | 147k | packet_forward(pkt, 1); | 340 | | | 341 | 147k | return 1; | 342 | 147k | } |
Unexecuted instantiation: ssl_mcnf.c:PACKET_get_1 Unexecuted instantiation: ssl_sess.c:PACKET_get_1 Unexecuted instantiation: t1_lib.c:PACKET_get_1 Unexecuted instantiation: tls13_enc.c:PACKET_get_1 Unexecuted instantiation: tls_depr.c:PACKET_get_1 Unexecuted instantiation: tls_srp.c:PACKET_get_1 Unexecuted instantiation: quic_impl.c:PACKET_get_1 Unexecuted instantiation: quic_method.c:PACKET_get_1 Unexecuted instantiation: quic_obj.c:PACKET_get_1 Unexecuted instantiation: quic_port.c:PACKET_get_1 Unexecuted instantiation: quic_record_rx.c:PACKET_get_1 Unexecuted instantiation: quic_record_shared.c:PACKET_get_1 Unexecuted instantiation: quic_record_tx.c:PACKET_get_1 Unexecuted instantiation: quic_record_util.c:PACKET_get_1 Unexecuted instantiation: quic_rstream.c:PACKET_get_1 Unexecuted instantiation: quic_sf_list.c:PACKET_get_1 Unexecuted instantiation: quic_srtm.c:PACKET_get_1 Unexecuted instantiation: quic_sstream.c:PACKET_get_1 Unexecuted instantiation: quic_stream_map.c:PACKET_get_1 Unexecuted instantiation: quic_thread_assist.c:PACKET_get_1 Unexecuted instantiation: quic_tls.c:PACKET_get_1 Unexecuted instantiation: quic_txp.c:PACKET_get_1 Unexecuted instantiation: quic_txpim.c:PACKET_get_1 Line | Count | Source | 335 | 17.8k | { | 336 | 17.8k | if (!PACKET_peek_1(pkt, data)) | 337 | 7 | return 0; | 338 | | | 339 | 17.8k | packet_forward(pkt, 1); | 340 | | | 341 | 17.8k | return 1; | 342 | 17.8k | } |
quic_wire_pkt.c:PACKET_get_1 Line | Count | Source | 335 | 17.8M | { | 336 | 17.8M | if (!PACKET_peek_1(pkt, data)) | 337 | 758 | return 0; | 338 | | | 339 | 17.8M | packet_forward(pkt, 1); | 340 | | | 341 | 17.8M | return 1; | 342 | 17.8M | } |
rec_layer_s3.c:PACKET_get_1 Line | Count | Source | 335 | 4.89k | { | 336 | 4.89k | if (!PACKET_peek_1(pkt, data)) | 337 | 113 | return 0; | 338 | | | 339 | 4.78k | packet_forward(pkt, 1); | 340 | | | 341 | 4.78k | return 1; | 342 | 4.89k | } |
Unexecuted instantiation: dtls_meth.c:PACKET_get_1 Unexecuted instantiation: tls1_meth.c:PACKET_get_1 tls_common.c:PACKET_get_1 Line | Count | Source | 335 | 780k | { | 336 | 780k | if (!PACKET_peek_1(pkt, data)) | 337 | 0 | return 0; | 338 | | | 339 | 780k | packet_forward(pkt, 1); | 340 | | | 341 | 780k | return 1; | 342 | 780k | } |
Unexecuted instantiation: tls_multib.c:PACKET_get_1 Unexecuted instantiation: tlsany_meth.c:PACKET_get_1 Unexecuted instantiation: extensions.c:PACKET_get_1 extensions_clnt.c:PACKET_get_1 Line | Count | Source | 335 | 95.5k | { | 336 | 95.5k | if (!PACKET_peek_1(pkt, data)) | 337 | 95 | return 0; | 338 | | | 339 | 95.4k | packet_forward(pkt, 1); | 340 | | | 341 | 95.4k | return 1; | 342 | 95.5k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_get_1 extensions_srvr.c:PACKET_get_1 Line | Count | Source | 335 | 46.0k | { | 336 | 46.0k | if (!PACKET_peek_1(pkt, data)) | 337 | 2.01k | return 0; | 338 | | | 339 | 44.0k | packet_forward(pkt, 1); | 340 | | | 341 | 44.0k | return 1; | 342 | 46.0k | } |
Unexecuted instantiation: statem.c:PACKET_get_1 statem_clnt.c:PACKET_get_1 Line | Count | Source | 335 | 207k | { | 336 | 207k | if (!PACKET_peek_1(pkt, data)) | 337 | 359 | return 0; | 338 | | | 339 | 207k | packet_forward(pkt, 1); | 340 | | | 341 | 207k | return 1; | 342 | 207k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_get_1 statem_lib.c:PACKET_get_1 Line | Count | Source | 335 | 6.08k | { | 336 | 6.08k | if (!PACKET_peek_1(pkt, data)) | 337 | 11 | return 0; | 338 | | | 339 | 6.06k | packet_forward(pkt, 1); | 340 | | | 341 | 6.06k | return 1; | 342 | 6.08k | } |
statem_srvr.c:PACKET_get_1 Line | Count | Source | 335 | 106k | { | 336 | 106k | if (!PACKET_peek_1(pkt, data)) | 337 | 32 | return 0; | 338 | | | 339 | 106k | packet_forward(pkt, 1); | 340 | | | 341 | 106k | return 1; | 342 | 106k | } |
ech_helper.c:PACKET_get_1 Line | Count | Source | 335 | 1.84k | { | 336 | 1.84k | if (!PACKET_peek_1(pkt, data)) | 337 | 4 | return 0; | 338 | | | 339 | 1.83k | packet_forward(pkt, 1); | 340 | | | 341 | 1.83k | return 1; | 342 | 1.84k | } |
Unexecuted instantiation: ech_internal.c:PACKET_get_1 Unexecuted instantiation: ech_store.c:PACKET_get_1 Unexecuted instantiation: d1_lib.c:PACKET_get_1 Unexecuted instantiation: d1_srtp.c:PACKET_get_1 Unexecuted instantiation: methods.c:PACKET_get_1 Unexecuted instantiation: pqueue.c:PACKET_get_1 Unexecuted instantiation: s3_enc.c:PACKET_get_1 Unexecuted instantiation: s3_lib.c:PACKET_get_1 Unexecuted instantiation: s3_msg.c:PACKET_get_1 Unexecuted instantiation: ssl_asn1.c:PACKET_get_1 Unexecuted instantiation: ssl_conf.c:PACKET_get_1 Unexecuted instantiation: ssl_rsa.c:PACKET_get_1 Unexecuted instantiation: t1_enc.c:PACKET_get_1 Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_1 Unexecuted instantiation: quic_ackm.c:PACKET_get_1 Unexecuted instantiation: quic_channel.c:PACKET_get_1 Unexecuted instantiation: quic_demux.c:PACKET_get_1 Unexecuted instantiation: quic_engine.c:PACKET_get_1 Unexecuted instantiation: quic_fifd.c:PACKET_get_1 Unexecuted instantiation: quic_lcidm.c:PACKET_get_1 Unexecuted instantiation: quic_rx_depack.c:PACKET_get_1 rec_layer_d1.c:PACKET_get_1 Line | Count | Source | 335 | 6.56k | { | 336 | 6.56k | if (!PACKET_peek_1(pkt, data)) | 337 | 158 | return 0; | 338 | | | 339 | 6.40k | packet_forward(pkt, 1); | 340 | | | 341 | 6.40k | return 1; | 342 | 6.56k | } |
Unexecuted instantiation: tls13_meth.c:PACKET_get_1 Unexecuted instantiation: d1_msg.c:PACKET_get_1 Unexecuted instantiation: quic-server.c:PACKET_get_1 Line | Count | Source | 335 | 12.7M | { | 336 | 12.7M | if (!PACKET_peek_1(pkt, data)) | 337 | 0 | return 0; | 338 | | | 339 | 12.7M | packet_forward(pkt, 1); | 340 | | | 341 | 12.7M | return 1; | 342 | 12.7M | } |
Unexecuted instantiation: ssl_txt.c:PACKET_get_1 quic-rcidm.c:PACKET_get_1 Line | Count | Source | 335 | 28.5M | { | 336 | 28.5M | if (!PACKET_peek_1(pkt, data)) | 337 | 130 | return 0; | 338 | | | 339 | 28.5M | packet_forward(pkt, 1); | 340 | | | 341 | 28.5M | return 1; | 342 | 28.5M | } |
Unexecuted instantiation: quic_rcidm.c:PACKET_get_1 quic-lcidm.c:PACKET_get_1 Line | Count | Source | 335 | 5.76M | { | 336 | 5.76M | if (!PACKET_peek_1(pkt, data)) | 337 | 99 | return 0; | 338 | | | 339 | 5.76M | packet_forward(pkt, 1); | 340 | | | 341 | 5.76M | return 1; | 342 | 5.76M | } |
|
343 | | |
344 | | /* Same as PACKET_get_1() but for a size_t */ |
345 | | __owur static ossl_inline int PACKET_get_1_len(PACKET *pkt, size_t *data) |
346 | 70.7k | { |
347 | 70.7k | unsigned int i; |
348 | 70.7k | int ret = PACKET_get_1(pkt, &i); |
349 | | |
350 | 70.7k | if (ret) |
351 | 70.6k | *data = (size_t)i; |
352 | | |
353 | 70.7k | return ret; |
354 | 70.7k | } Unexecuted instantiation: params.c:PACKET_get_1_len Unexecuted instantiation: encode_key2any.c:PACKET_get_1_len Unexecuted instantiation: hkdf.c:PACKET_get_1_len Unexecuted instantiation: x942kdf.c:PACKET_get_1_len Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_1_len Unexecuted instantiation: dsa_sig.c:PACKET_get_1_len Unexecuted instantiation: ecdsa_sig.c:PACKET_get_1_len Unexecuted instantiation: eddsa_sig.c:PACKET_get_1_len Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_1_len Unexecuted instantiation: rsa_sig.c:PACKET_get_1_len Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_1_len Unexecuted instantiation: sm2_sig.c:PACKET_get_1_len Unexecuted instantiation: der_dsa_sig.c:PACKET_get_1_len Unexecuted instantiation: der_ec_sig.c:PACKET_get_1_len Unexecuted instantiation: der_ecx_key.c:PACKET_get_1_len Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_1_len Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_1_len Unexecuted instantiation: der_rsa_key.c:PACKET_get_1_len Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_1_len Unexecuted instantiation: der_wrap_gen.c:PACKET_get_1_len Unexecuted instantiation: dsa_asn1.c:PACKET_get_1_len Unexecuted instantiation: dsa_sign.c:PACKET_get_1_len Unexecuted instantiation: ec_asn1.c:PACKET_get_1_len Unexecuted instantiation: hpke_util.c:PACKET_get_1_len Unexecuted instantiation: asn1_dsa.c:PACKET_get_1_len Unexecuted instantiation: der_writer.c:PACKET_get_1_len Unexecuted instantiation: packet.c:PACKET_get_1_len Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_1_len Unexecuted instantiation: ml_dsa_key.c:PACKET_get_1_len Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_1_len Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_1_len Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_1_len Unexecuted instantiation: ml_dsa_params.c:PACKET_get_1_len Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_1_len Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_1_len Unexecuted instantiation: slh_dsa.c:PACKET_get_1_len Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_1_len Unexecuted instantiation: slh_dsa_key.c:PACKET_get_1_len Unexecuted instantiation: slh_fors.c:PACKET_get_1_len Unexecuted instantiation: slh_hash.c:PACKET_get_1_len Unexecuted instantiation: slh_hypertree.c:PACKET_get_1_len Unexecuted instantiation: slh_xmss.c:PACKET_get_1_len Unexecuted instantiation: der_rsa_sig.c:PACKET_get_1_len Unexecuted instantiation: der_sm2_sig.c:PACKET_get_1_len Unexecuted instantiation: der_digests_gen.c:PACKET_get_1_len Unexecuted instantiation: der_dsa_gen.c:PACKET_get_1_len Unexecuted instantiation: der_ec_gen.c:PACKET_get_1_len Unexecuted instantiation: der_ecx_gen.c:PACKET_get_1_len Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_1_len Unexecuted instantiation: der_rsa_gen.c:PACKET_get_1_len Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_1_len Unexecuted instantiation: punycode.c:PACKET_get_1_len Unexecuted instantiation: slh_wots.c:PACKET_get_1_len Unexecuted instantiation: der_sm2_gen.c:PACKET_get_1_len Unexecuted instantiation: quic-client.c:PACKET_get_1_len Unexecuted instantiation: ssl_cert.c:PACKET_get_1_len Unexecuted instantiation: ssl_ciph.c:PACKET_get_1_len Unexecuted instantiation: ssl_init.c:PACKET_get_1_len Unexecuted instantiation: ssl_lib.c:PACKET_get_1_len Unexecuted instantiation: ssl_mcnf.c:PACKET_get_1_len Unexecuted instantiation: ssl_sess.c:PACKET_get_1_len Unexecuted instantiation: t1_lib.c:PACKET_get_1_len Unexecuted instantiation: tls13_enc.c:PACKET_get_1_len Unexecuted instantiation: tls_depr.c:PACKET_get_1_len Unexecuted instantiation: tls_srp.c:PACKET_get_1_len Unexecuted instantiation: quic_impl.c:PACKET_get_1_len Unexecuted instantiation: quic_method.c:PACKET_get_1_len Unexecuted instantiation: quic_obj.c:PACKET_get_1_len Unexecuted instantiation: quic_port.c:PACKET_get_1_len Unexecuted instantiation: quic_record_rx.c:PACKET_get_1_len Unexecuted instantiation: quic_record_shared.c:PACKET_get_1_len Unexecuted instantiation: quic_record_tx.c:PACKET_get_1_len Unexecuted instantiation: quic_record_util.c:PACKET_get_1_len Unexecuted instantiation: quic_rstream.c:PACKET_get_1_len Unexecuted instantiation: quic_sf_list.c:PACKET_get_1_len Unexecuted instantiation: quic_srtm.c:PACKET_get_1_len Unexecuted instantiation: quic_sstream.c:PACKET_get_1_len Unexecuted instantiation: quic_stream_map.c:PACKET_get_1_len Unexecuted instantiation: quic_thread_assist.c:PACKET_get_1_len Unexecuted instantiation: quic_tls.c:PACKET_get_1_len Unexecuted instantiation: quic_txp.c:PACKET_get_1_len Unexecuted instantiation: quic_txpim.c:PACKET_get_1_len Unexecuted instantiation: quic_wire.c:PACKET_get_1_len Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_1_len Unexecuted instantiation: rec_layer_s3.c:PACKET_get_1_len Unexecuted instantiation: dtls_meth.c:PACKET_get_1_len Unexecuted instantiation: tls1_meth.c:PACKET_get_1_len Unexecuted instantiation: tls_common.c:PACKET_get_1_len Unexecuted instantiation: tls_multib.c:PACKET_get_1_len Unexecuted instantiation: tlsany_meth.c:PACKET_get_1_len Unexecuted instantiation: extensions.c:PACKET_get_1_len extensions_clnt.c:PACKET_get_1_len Line | Count | Source | 346 | 70.7k | { | 347 | 70.7k | unsigned int i; | 348 | 70.7k | int ret = PACKET_get_1(pkt, &i); | 349 | | | 350 | 70.7k | if (ret) | 351 | 70.6k | *data = (size_t)i; | 352 | | | 353 | 70.7k | return ret; | 354 | 70.7k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_get_1_len Unexecuted instantiation: extensions_srvr.c:PACKET_get_1_len Unexecuted instantiation: statem.c:PACKET_get_1_len Unexecuted instantiation: statem_clnt.c:PACKET_get_1_len Unexecuted instantiation: statem_dtls.c:PACKET_get_1_len Unexecuted instantiation: statem_lib.c:PACKET_get_1_len Unexecuted instantiation: statem_srvr.c:PACKET_get_1_len Unexecuted instantiation: ech_helper.c:PACKET_get_1_len Unexecuted instantiation: ech_internal.c:PACKET_get_1_len Unexecuted instantiation: ech_store.c:PACKET_get_1_len Unexecuted instantiation: d1_lib.c:PACKET_get_1_len Unexecuted instantiation: d1_srtp.c:PACKET_get_1_len Unexecuted instantiation: methods.c:PACKET_get_1_len Unexecuted instantiation: pqueue.c:PACKET_get_1_len Unexecuted instantiation: s3_enc.c:PACKET_get_1_len Unexecuted instantiation: s3_lib.c:PACKET_get_1_len Unexecuted instantiation: s3_msg.c:PACKET_get_1_len Unexecuted instantiation: ssl_asn1.c:PACKET_get_1_len Unexecuted instantiation: ssl_conf.c:PACKET_get_1_len Unexecuted instantiation: ssl_rsa.c:PACKET_get_1_len Unexecuted instantiation: t1_enc.c:PACKET_get_1_len Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_1_len Unexecuted instantiation: quic_ackm.c:PACKET_get_1_len Unexecuted instantiation: quic_channel.c:PACKET_get_1_len Unexecuted instantiation: quic_demux.c:PACKET_get_1_len Unexecuted instantiation: quic_engine.c:PACKET_get_1_len Unexecuted instantiation: quic_fifd.c:PACKET_get_1_len Unexecuted instantiation: quic_lcidm.c:PACKET_get_1_len Unexecuted instantiation: quic_rx_depack.c:PACKET_get_1_len Unexecuted instantiation: rec_layer_d1.c:PACKET_get_1_len Unexecuted instantiation: tls13_meth.c:PACKET_get_1_len Unexecuted instantiation: d1_msg.c:PACKET_get_1_len Unexecuted instantiation: quic-server.c:PACKET_get_1_len Unexecuted instantiation: quic-srtm.c:PACKET_get_1_len Unexecuted instantiation: ssl_txt.c:PACKET_get_1_len Unexecuted instantiation: quic-rcidm.c:PACKET_get_1_len Unexecuted instantiation: quic_rcidm.c:PACKET_get_1_len Unexecuted instantiation: quic-lcidm.c:PACKET_get_1_len |
355 | | |
356 | | /* |
357 | | * Peek ahead at 4 bytes in reverse network order from |pkt| and store the value |
358 | | * in |*data| |
359 | | */ |
360 | | __owur static ossl_inline int PACKET_peek_4(const PACKET *pkt, |
361 | | unsigned long *data) |
362 | 0 | { |
363 | 0 | if (PACKET_remaining(pkt) < 4) |
364 | 0 | return 0; |
365 | 0 |
|
366 | 0 | *data = *pkt->curr; |
367 | 0 | *data |= ((unsigned long)(*(pkt->curr + 1))) << 8; |
368 | 0 | *data |= ((unsigned long)(*(pkt->curr + 2))) << 16; |
369 | 0 | *data |= ((unsigned long)(*(pkt->curr + 3))) << 24; |
370 | 0 |
|
371 | 0 | return 1; |
372 | 0 | } Unexecuted instantiation: params.c:PACKET_peek_4 Unexecuted instantiation: encode_key2any.c:PACKET_peek_4 Unexecuted instantiation: hkdf.c:PACKET_peek_4 Unexecuted instantiation: x942kdf.c:PACKET_peek_4 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_peek_4 Unexecuted instantiation: dsa_sig.c:PACKET_peek_4 Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_4 Unexecuted instantiation: eddsa_sig.c:PACKET_peek_4 Unexecuted instantiation: ml_dsa_sig.c:PACKET_peek_4 Unexecuted instantiation: rsa_sig.c:PACKET_peek_4 Unexecuted instantiation: slh_dsa_sig.c:PACKET_peek_4 Unexecuted instantiation: sm2_sig.c:PACKET_peek_4 Unexecuted instantiation: der_dsa_sig.c:PACKET_peek_4 Unexecuted instantiation: der_ec_sig.c:PACKET_peek_4 Unexecuted instantiation: der_ecx_key.c:PACKET_peek_4 Unexecuted instantiation: der_hkdf_gen.c:PACKET_peek_4 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_peek_4 Unexecuted instantiation: der_rsa_key.c:PACKET_peek_4 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_peek_4 Unexecuted instantiation: der_wrap_gen.c:PACKET_peek_4 Unexecuted instantiation: dsa_asn1.c:PACKET_peek_4 Unexecuted instantiation: dsa_sign.c:PACKET_peek_4 Unexecuted instantiation: ec_asn1.c:PACKET_peek_4 Unexecuted instantiation: hpke_util.c:PACKET_peek_4 Unexecuted instantiation: asn1_dsa.c:PACKET_peek_4 Unexecuted instantiation: der_writer.c:PACKET_peek_4 Unexecuted instantiation: packet.c:PACKET_peek_4 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_peek_4 Unexecuted instantiation: ml_dsa_key.c:PACKET_peek_4 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_peek_4 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_peek_4 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_peek_4 Unexecuted instantiation: ml_dsa_params.c:PACKET_peek_4 Unexecuted instantiation: ml_dsa_sample.c:PACKET_peek_4 Unexecuted instantiation: ml_dsa_sign.c:PACKET_peek_4 Unexecuted instantiation: slh_dsa.c:PACKET_peek_4 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_peek_4 Unexecuted instantiation: slh_dsa_key.c:PACKET_peek_4 Unexecuted instantiation: slh_fors.c:PACKET_peek_4 Unexecuted instantiation: slh_hash.c:PACKET_peek_4 Unexecuted instantiation: slh_hypertree.c:PACKET_peek_4 Unexecuted instantiation: slh_xmss.c:PACKET_peek_4 Unexecuted instantiation: der_rsa_sig.c:PACKET_peek_4 Unexecuted instantiation: der_sm2_sig.c:PACKET_peek_4 Unexecuted instantiation: der_digests_gen.c:PACKET_peek_4 Unexecuted instantiation: der_dsa_gen.c:PACKET_peek_4 Unexecuted instantiation: der_ec_gen.c:PACKET_peek_4 Unexecuted instantiation: der_ecx_gen.c:PACKET_peek_4 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_peek_4 Unexecuted instantiation: der_rsa_gen.c:PACKET_peek_4 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_peek_4 Unexecuted instantiation: punycode.c:PACKET_peek_4 Unexecuted instantiation: slh_wots.c:PACKET_peek_4 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_4 Unexecuted instantiation: quic-client.c:PACKET_peek_4 Unexecuted instantiation: ssl_cert.c:PACKET_peek_4 Unexecuted instantiation: ssl_ciph.c:PACKET_peek_4 Unexecuted instantiation: ssl_init.c:PACKET_peek_4 Unexecuted instantiation: ssl_lib.c:PACKET_peek_4 Unexecuted instantiation: ssl_mcnf.c:PACKET_peek_4 Unexecuted instantiation: ssl_sess.c:PACKET_peek_4 Unexecuted instantiation: t1_lib.c:PACKET_peek_4 Unexecuted instantiation: tls13_enc.c:PACKET_peek_4 Unexecuted instantiation: tls_depr.c:PACKET_peek_4 Unexecuted instantiation: tls_srp.c:PACKET_peek_4 Unexecuted instantiation: quic_impl.c:PACKET_peek_4 Unexecuted instantiation: quic_method.c:PACKET_peek_4 Unexecuted instantiation: quic_obj.c:PACKET_peek_4 Unexecuted instantiation: quic_port.c:PACKET_peek_4 Unexecuted instantiation: quic_record_rx.c:PACKET_peek_4 Unexecuted instantiation: quic_record_shared.c:PACKET_peek_4 Unexecuted instantiation: quic_record_tx.c:PACKET_peek_4 Unexecuted instantiation: quic_record_util.c:PACKET_peek_4 Unexecuted instantiation: quic_rstream.c:PACKET_peek_4 Unexecuted instantiation: quic_sf_list.c:PACKET_peek_4 Unexecuted instantiation: quic_srtm.c:PACKET_peek_4 Unexecuted instantiation: quic_sstream.c:PACKET_peek_4 Unexecuted instantiation: quic_stream_map.c:PACKET_peek_4 Unexecuted instantiation: quic_thread_assist.c:PACKET_peek_4 Unexecuted instantiation: quic_tls.c:PACKET_peek_4 Unexecuted instantiation: quic_txp.c:PACKET_peek_4 Unexecuted instantiation: quic_txpim.c:PACKET_peek_4 Unexecuted instantiation: quic_wire.c:PACKET_peek_4 Unexecuted instantiation: quic_wire_pkt.c:PACKET_peek_4 Unexecuted instantiation: rec_layer_s3.c:PACKET_peek_4 Unexecuted instantiation: dtls_meth.c:PACKET_peek_4 Unexecuted instantiation: tls1_meth.c:PACKET_peek_4 Unexecuted instantiation: tls_common.c:PACKET_peek_4 Unexecuted instantiation: tls_multib.c:PACKET_peek_4 Unexecuted instantiation: tlsany_meth.c:PACKET_peek_4 Unexecuted instantiation: extensions.c:PACKET_peek_4 Unexecuted instantiation: extensions_clnt.c:PACKET_peek_4 Unexecuted instantiation: extensions_cust.c:PACKET_peek_4 Unexecuted instantiation: extensions_srvr.c:PACKET_peek_4 Unexecuted instantiation: statem.c:PACKET_peek_4 Unexecuted instantiation: statem_clnt.c:PACKET_peek_4 Unexecuted instantiation: statem_dtls.c:PACKET_peek_4 Unexecuted instantiation: statem_lib.c:PACKET_peek_4 Unexecuted instantiation: statem_srvr.c:PACKET_peek_4 Unexecuted instantiation: ech_helper.c:PACKET_peek_4 Unexecuted instantiation: ech_internal.c:PACKET_peek_4 Unexecuted instantiation: ech_store.c:PACKET_peek_4 Unexecuted instantiation: d1_lib.c:PACKET_peek_4 Unexecuted instantiation: d1_srtp.c:PACKET_peek_4 Unexecuted instantiation: methods.c:PACKET_peek_4 Unexecuted instantiation: pqueue.c:PACKET_peek_4 Unexecuted instantiation: s3_enc.c:PACKET_peek_4 Unexecuted instantiation: s3_lib.c:PACKET_peek_4 Unexecuted instantiation: s3_msg.c:PACKET_peek_4 Unexecuted instantiation: ssl_asn1.c:PACKET_peek_4 Unexecuted instantiation: ssl_conf.c:PACKET_peek_4 Unexecuted instantiation: ssl_rsa.c:PACKET_peek_4 Unexecuted instantiation: t1_enc.c:PACKET_peek_4 Unexecuted instantiation: qlog_event_helpers.c:PACKET_peek_4 Unexecuted instantiation: quic_ackm.c:PACKET_peek_4 Unexecuted instantiation: quic_channel.c:PACKET_peek_4 Unexecuted instantiation: quic_demux.c:PACKET_peek_4 Unexecuted instantiation: quic_engine.c:PACKET_peek_4 Unexecuted instantiation: quic_fifd.c:PACKET_peek_4 Unexecuted instantiation: quic_lcidm.c:PACKET_peek_4 Unexecuted instantiation: quic_rx_depack.c:PACKET_peek_4 Unexecuted instantiation: rec_layer_d1.c:PACKET_peek_4 Unexecuted instantiation: tls13_meth.c:PACKET_peek_4 Unexecuted instantiation: d1_msg.c:PACKET_peek_4 Unexecuted instantiation: quic-server.c:PACKET_peek_4 Unexecuted instantiation: quic-srtm.c:PACKET_peek_4 Unexecuted instantiation: ssl_txt.c:PACKET_peek_4 Unexecuted instantiation: quic-rcidm.c:PACKET_peek_4 Unexecuted instantiation: quic_rcidm.c:PACKET_peek_4 Unexecuted instantiation: quic-lcidm.c:PACKET_peek_4 |
373 | | |
374 | | /* Equivalent of c2l */ |
375 | | /* |
376 | | * Get 4 bytes in reverse network order from |pkt| and store the value in |
377 | | * |*data| |
378 | | */ |
379 | | __owur static ossl_inline int PACKET_get_4(PACKET *pkt, unsigned long *data) |
380 | 0 | { |
381 | 0 | if (!PACKET_peek_4(pkt, data)) |
382 | 0 | return 0; |
383 | 0 |
|
384 | 0 | packet_forward(pkt, 4); |
385 | 0 |
|
386 | 0 | return 1; |
387 | 0 | } Unexecuted instantiation: params.c:PACKET_get_4 Unexecuted instantiation: encode_key2any.c:PACKET_get_4 Unexecuted instantiation: hkdf.c:PACKET_get_4 Unexecuted instantiation: x942kdf.c:PACKET_get_4 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_4 Unexecuted instantiation: dsa_sig.c:PACKET_get_4 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_4 Unexecuted instantiation: eddsa_sig.c:PACKET_get_4 Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_4 Unexecuted instantiation: rsa_sig.c:PACKET_get_4 Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_4 Unexecuted instantiation: sm2_sig.c:PACKET_get_4 Unexecuted instantiation: der_dsa_sig.c:PACKET_get_4 Unexecuted instantiation: der_ec_sig.c:PACKET_get_4 Unexecuted instantiation: der_ecx_key.c:PACKET_get_4 Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_4 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_4 Unexecuted instantiation: der_rsa_key.c:PACKET_get_4 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_4 Unexecuted instantiation: der_wrap_gen.c:PACKET_get_4 Unexecuted instantiation: dsa_asn1.c:PACKET_get_4 Unexecuted instantiation: dsa_sign.c:PACKET_get_4 Unexecuted instantiation: ec_asn1.c:PACKET_get_4 Unexecuted instantiation: hpke_util.c:PACKET_get_4 Unexecuted instantiation: asn1_dsa.c:PACKET_get_4 Unexecuted instantiation: der_writer.c:PACKET_get_4 Unexecuted instantiation: packet.c:PACKET_get_4 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_4 Unexecuted instantiation: ml_dsa_key.c:PACKET_get_4 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_4 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_4 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_4 Unexecuted instantiation: ml_dsa_params.c:PACKET_get_4 Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_4 Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_4 Unexecuted instantiation: slh_dsa.c:PACKET_get_4 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_4 Unexecuted instantiation: slh_dsa_key.c:PACKET_get_4 Unexecuted instantiation: slh_fors.c:PACKET_get_4 Unexecuted instantiation: slh_hash.c:PACKET_get_4 Unexecuted instantiation: slh_hypertree.c:PACKET_get_4 Unexecuted instantiation: slh_xmss.c:PACKET_get_4 Unexecuted instantiation: der_rsa_sig.c:PACKET_get_4 Unexecuted instantiation: der_sm2_sig.c:PACKET_get_4 Unexecuted instantiation: der_digests_gen.c:PACKET_get_4 Unexecuted instantiation: der_dsa_gen.c:PACKET_get_4 Unexecuted instantiation: der_ec_gen.c:PACKET_get_4 Unexecuted instantiation: der_ecx_gen.c:PACKET_get_4 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_4 Unexecuted instantiation: der_rsa_gen.c:PACKET_get_4 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_4 Unexecuted instantiation: punycode.c:PACKET_get_4 Unexecuted instantiation: slh_wots.c:PACKET_get_4 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_4 Unexecuted instantiation: quic-client.c:PACKET_get_4 Unexecuted instantiation: ssl_cert.c:PACKET_get_4 Unexecuted instantiation: ssl_ciph.c:PACKET_get_4 Unexecuted instantiation: ssl_init.c:PACKET_get_4 Unexecuted instantiation: ssl_lib.c:PACKET_get_4 Unexecuted instantiation: ssl_mcnf.c:PACKET_get_4 Unexecuted instantiation: ssl_sess.c:PACKET_get_4 Unexecuted instantiation: t1_lib.c:PACKET_get_4 Unexecuted instantiation: tls13_enc.c:PACKET_get_4 Unexecuted instantiation: tls_depr.c:PACKET_get_4 Unexecuted instantiation: tls_srp.c:PACKET_get_4 Unexecuted instantiation: quic_impl.c:PACKET_get_4 Unexecuted instantiation: quic_method.c:PACKET_get_4 Unexecuted instantiation: quic_obj.c:PACKET_get_4 Unexecuted instantiation: quic_port.c:PACKET_get_4 Unexecuted instantiation: quic_record_rx.c:PACKET_get_4 Unexecuted instantiation: quic_record_shared.c:PACKET_get_4 Unexecuted instantiation: quic_record_tx.c:PACKET_get_4 Unexecuted instantiation: quic_record_util.c:PACKET_get_4 Unexecuted instantiation: quic_rstream.c:PACKET_get_4 Unexecuted instantiation: quic_sf_list.c:PACKET_get_4 Unexecuted instantiation: quic_srtm.c:PACKET_get_4 Unexecuted instantiation: quic_sstream.c:PACKET_get_4 Unexecuted instantiation: quic_stream_map.c:PACKET_get_4 Unexecuted instantiation: quic_thread_assist.c:PACKET_get_4 Unexecuted instantiation: quic_tls.c:PACKET_get_4 Unexecuted instantiation: quic_txp.c:PACKET_get_4 Unexecuted instantiation: quic_txpim.c:PACKET_get_4 Unexecuted instantiation: quic_wire.c:PACKET_get_4 Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_4 Unexecuted instantiation: rec_layer_s3.c:PACKET_get_4 Unexecuted instantiation: dtls_meth.c:PACKET_get_4 Unexecuted instantiation: tls1_meth.c:PACKET_get_4 Unexecuted instantiation: tls_common.c:PACKET_get_4 Unexecuted instantiation: tls_multib.c:PACKET_get_4 Unexecuted instantiation: tlsany_meth.c:PACKET_get_4 Unexecuted instantiation: extensions.c:PACKET_get_4 Unexecuted instantiation: extensions_clnt.c:PACKET_get_4 Unexecuted instantiation: extensions_cust.c:PACKET_get_4 Unexecuted instantiation: extensions_srvr.c:PACKET_get_4 Unexecuted instantiation: statem.c:PACKET_get_4 Unexecuted instantiation: statem_clnt.c:PACKET_get_4 Unexecuted instantiation: statem_dtls.c:PACKET_get_4 Unexecuted instantiation: statem_lib.c:PACKET_get_4 Unexecuted instantiation: statem_srvr.c:PACKET_get_4 Unexecuted instantiation: ech_helper.c:PACKET_get_4 Unexecuted instantiation: ech_internal.c:PACKET_get_4 Unexecuted instantiation: ech_store.c:PACKET_get_4 Unexecuted instantiation: d1_lib.c:PACKET_get_4 Unexecuted instantiation: d1_srtp.c:PACKET_get_4 Unexecuted instantiation: methods.c:PACKET_get_4 Unexecuted instantiation: pqueue.c:PACKET_get_4 Unexecuted instantiation: s3_enc.c:PACKET_get_4 Unexecuted instantiation: s3_lib.c:PACKET_get_4 Unexecuted instantiation: s3_msg.c:PACKET_get_4 Unexecuted instantiation: ssl_asn1.c:PACKET_get_4 Unexecuted instantiation: ssl_conf.c:PACKET_get_4 Unexecuted instantiation: ssl_rsa.c:PACKET_get_4 Unexecuted instantiation: t1_enc.c:PACKET_get_4 Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_4 Unexecuted instantiation: quic_ackm.c:PACKET_get_4 Unexecuted instantiation: quic_channel.c:PACKET_get_4 Unexecuted instantiation: quic_demux.c:PACKET_get_4 Unexecuted instantiation: quic_engine.c:PACKET_get_4 Unexecuted instantiation: quic_fifd.c:PACKET_get_4 Unexecuted instantiation: quic_lcidm.c:PACKET_get_4 Unexecuted instantiation: quic_rx_depack.c:PACKET_get_4 Unexecuted instantiation: rec_layer_d1.c:PACKET_get_4 Unexecuted instantiation: tls13_meth.c:PACKET_get_4 Unexecuted instantiation: d1_msg.c:PACKET_get_4 Unexecuted instantiation: quic-server.c:PACKET_get_4 Unexecuted instantiation: quic-srtm.c:PACKET_get_4 Unexecuted instantiation: ssl_txt.c:PACKET_get_4 Unexecuted instantiation: quic-rcidm.c:PACKET_get_4 Unexecuted instantiation: quic_rcidm.c:PACKET_get_4 Unexecuted instantiation: quic-lcidm.c:PACKET_get_4 |
388 | | |
389 | | /* |
390 | | * Peek ahead at |len| bytes from the |pkt| and store a pointer to them in |
391 | | * |*data|. This just points at the underlying buffer that |pkt| is using. The |
392 | | * caller should not free this data directly (it will be freed when the |
393 | | * underlying buffer gets freed |
394 | | */ |
395 | | __owur static ossl_inline int PACKET_peek_bytes(const PACKET *pkt, |
396 | | const unsigned char **data, |
397 | | size_t len) |
398 | 7.25M | { |
399 | 7.25M | if (PACKET_remaining(pkt) < len) |
400 | 10.6k | return 0; |
401 | | |
402 | 7.24M | *data = pkt->curr; |
403 | | |
404 | 7.24M | return 1; |
405 | 7.25M | } Unexecuted instantiation: params.c:PACKET_peek_bytes Unexecuted instantiation: encode_key2any.c:PACKET_peek_bytes Unexecuted instantiation: hkdf.c:PACKET_peek_bytes Unexecuted instantiation: x942kdf.c:PACKET_peek_bytes Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_peek_bytes Unexecuted instantiation: dsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: eddsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: ml_dsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: rsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: slh_dsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: sm2_sig.c:PACKET_peek_bytes Unexecuted instantiation: der_dsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: der_ec_sig.c:PACKET_peek_bytes Unexecuted instantiation: der_ecx_key.c:PACKET_peek_bytes Unexecuted instantiation: der_hkdf_gen.c:PACKET_peek_bytes Unexecuted instantiation: der_ml_dsa_key.c:PACKET_peek_bytes Unexecuted instantiation: der_rsa_key.c:PACKET_peek_bytes Unexecuted instantiation: der_slh_dsa_key.c:PACKET_peek_bytes Unexecuted instantiation: der_wrap_gen.c:PACKET_peek_bytes Unexecuted instantiation: dsa_asn1.c:PACKET_peek_bytes Unexecuted instantiation: dsa_sign.c:PACKET_peek_bytes Unexecuted instantiation: ec_asn1.c:PACKET_peek_bytes Unexecuted instantiation: hpke_util.c:PACKET_peek_bytes asn1_dsa.c:PACKET_peek_bytes Line | Count | Source | 398 | 10.7k | { | 399 | 10.7k | if (PACKET_remaining(pkt) < len) | 400 | 1.38k | return 0; | 401 | | | 402 | 9.39k | *data = pkt->curr; | 403 | | | 404 | 9.39k | return 1; | 405 | 10.7k | } |
Unexecuted instantiation: der_writer.c:PACKET_peek_bytes Unexecuted instantiation: packet.c:PACKET_peek_bytes ml_dsa_encoders.c:PACKET_peek_bytes Line | Count | Source | 398 | 1.05M | { | 399 | 1.05M | if (PACKET_remaining(pkt) < len) | 400 | 0 | return 0; | 401 | | | 402 | 1.05M | *data = pkt->curr; | 403 | | | 404 | 1.05M | return 1; | 405 | 1.05M | } |
Unexecuted instantiation: ml_dsa_key.c:PACKET_peek_bytes Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_peek_bytes Unexecuted instantiation: ml_dsa_matrix.c:PACKET_peek_bytes Unexecuted instantiation: ml_dsa_ntt.c:PACKET_peek_bytes Unexecuted instantiation: ml_dsa_params.c:PACKET_peek_bytes Unexecuted instantiation: ml_dsa_sample.c:PACKET_peek_bytes Unexecuted instantiation: ml_dsa_sign.c:PACKET_peek_bytes slh_dsa.c:PACKET_peek_bytes Line | Count | Source | 398 | 7.24k | { | 399 | 7.24k | if (PACKET_remaining(pkt) < len) | 400 | 0 | return 0; | 401 | | | 402 | 7.24k | *data = pkt->curr; | 403 | | | 404 | 7.24k | return 1; | 405 | 7.24k | } |
Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_peek_bytes Unexecuted instantiation: slh_dsa_key.c:PACKET_peek_bytes slh_fors.c:PACKET_peek_bytes Line | Count | Source | 398 | 577k | { | 399 | 577k | if (PACKET_remaining(pkt) < len) | 400 | 0 | return 0; | 401 | | | 402 | 577k | *data = pkt->curr; | 403 | | | 404 | 577k | return 1; | 405 | 577k | } |
Unexecuted instantiation: slh_hash.c:PACKET_peek_bytes Unexecuted instantiation: slh_hypertree.c:PACKET_peek_bytes slh_xmss.c:PACKET_peek_bytes Line | Count | Source | 398 | 130k | { | 399 | 130k | if (PACKET_remaining(pkt) < len) | 400 | 0 | return 0; | 401 | | | 402 | 130k | *data = pkt->curr; | 403 | | | 404 | 130k | return 1; | 405 | 130k | } |
Unexecuted instantiation: der_rsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: der_sm2_sig.c:PACKET_peek_bytes Unexecuted instantiation: der_digests_gen.c:PACKET_peek_bytes Unexecuted instantiation: der_dsa_gen.c:PACKET_peek_bytes Unexecuted instantiation: der_ec_gen.c:PACKET_peek_bytes Unexecuted instantiation: der_ecx_gen.c:PACKET_peek_bytes Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_peek_bytes Unexecuted instantiation: der_rsa_gen.c:PACKET_peek_bytes Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_peek_bytes Unexecuted instantiation: punycode.c:PACKET_peek_bytes slh_wots.c:PACKET_peek_bytes Line | Count | Source | 398 | 1.60M | { | 399 | 1.60M | if (PACKET_remaining(pkt) < len) | 400 | 0 | return 0; | 401 | | | 402 | 1.60M | *data = pkt->curr; | 403 | | | 404 | 1.60M | return 1; | 405 | 1.60M | } |
Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_bytes Unexecuted instantiation: quic-client.c:PACKET_peek_bytes Unexecuted instantiation: ssl_cert.c:PACKET_peek_bytes Unexecuted instantiation: ssl_ciph.c:PACKET_peek_bytes Unexecuted instantiation: ssl_init.c:PACKET_peek_bytes Unexecuted instantiation: ssl_lib.c:PACKET_peek_bytes Unexecuted instantiation: ssl_mcnf.c:PACKET_peek_bytes Unexecuted instantiation: ssl_sess.c:PACKET_peek_bytes Unexecuted instantiation: t1_lib.c:PACKET_peek_bytes Unexecuted instantiation: tls13_enc.c:PACKET_peek_bytes Unexecuted instantiation: tls_depr.c:PACKET_peek_bytes Unexecuted instantiation: tls_srp.c:PACKET_peek_bytes Unexecuted instantiation: quic_impl.c:PACKET_peek_bytes Unexecuted instantiation: quic_method.c:PACKET_peek_bytes Unexecuted instantiation: quic_obj.c:PACKET_peek_bytes Unexecuted instantiation: quic_port.c:PACKET_peek_bytes Unexecuted instantiation: quic_record_rx.c:PACKET_peek_bytes Unexecuted instantiation: quic_record_shared.c:PACKET_peek_bytes Unexecuted instantiation: quic_record_tx.c:PACKET_peek_bytes Unexecuted instantiation: quic_record_util.c:PACKET_peek_bytes Unexecuted instantiation: quic_rstream.c:PACKET_peek_bytes Unexecuted instantiation: quic_sf_list.c:PACKET_peek_bytes Unexecuted instantiation: quic_srtm.c:PACKET_peek_bytes Unexecuted instantiation: quic_sstream.c:PACKET_peek_bytes Unexecuted instantiation: quic_stream_map.c:PACKET_peek_bytes Unexecuted instantiation: quic_thread_assist.c:PACKET_peek_bytes Unexecuted instantiation: quic_tls.c:PACKET_peek_bytes Unexecuted instantiation: quic_txp.c:PACKET_peek_bytes Unexecuted instantiation: quic_txpim.c:PACKET_peek_bytes quic_wire.c:PACKET_peek_bytes Line | Count | Source | 398 | 236k | { | 399 | 236k | if (PACKET_remaining(pkt) < len) | 400 | 565 | return 0; | 401 | | | 402 | 235k | *data = pkt->curr; | 403 | | | 404 | 235k | return 1; | 405 | 236k | } |
quic_wire_pkt.c:PACKET_peek_bytes Line | Count | Source | 398 | 2.33M | { | 399 | 2.33M | if (PACKET_remaining(pkt) < len) | 400 | 3.51k | return 0; | 401 | | | 402 | 2.32M | *data = pkt->curr; | 403 | | | 404 | 2.32M | return 1; | 405 | 2.33M | } |
Unexecuted instantiation: rec_layer_s3.c:PACKET_peek_bytes Unexecuted instantiation: dtls_meth.c:PACKET_peek_bytes Unexecuted instantiation: tls1_meth.c:PACKET_peek_bytes Unexecuted instantiation: tls_common.c:PACKET_peek_bytes Unexecuted instantiation: tls_multib.c:PACKET_peek_bytes Unexecuted instantiation: tlsany_meth.c:PACKET_peek_bytes extensions.c:PACKET_peek_bytes Line | Count | Source | 398 | 406k | { | 399 | 406k | if (PACKET_remaining(pkt) < len) | 400 | 532 | return 0; | 401 | | | 402 | 406k | *data = pkt->curr; | 403 | | | 404 | 406k | return 1; | 405 | 406k | } |
extensions_clnt.c:PACKET_peek_bytes Line | Count | Source | 398 | 149k | { | 399 | 149k | if (PACKET_remaining(pkt) < len) | 400 | 160 | return 0; | 401 | | | 402 | 149k | *data = pkt->curr; | 403 | | | 404 | 149k | return 1; | 405 | 149k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_peek_bytes extensions_srvr.c:PACKET_peek_bytes Line | Count | Source | 398 | 91.2k | { | 399 | 91.2k | if (PACKET_remaining(pkt) < len) | 400 | 1.49k | return 0; | 401 | | | 402 | 89.7k | *data = pkt->curr; | 403 | | | 404 | 89.7k | return 1; | 405 | 91.2k | } |
Unexecuted instantiation: statem.c:PACKET_peek_bytes statem_clnt.c:PACKET_peek_bytes Line | Count | Source | 398 | 415k | { | 399 | 415k | if (PACKET_remaining(pkt) < len) | 400 | 1.64k | return 0; | 401 | | | 402 | 413k | *data = pkt->curr; | 403 | | | 404 | 413k | return 1; | 405 | 415k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_peek_bytes statem_lib.c:PACKET_peek_bytes Line | Count | Source | 398 | 24.2k | { | 399 | 24.2k | if (PACKET_remaining(pkt) < len) | 400 | 523 | return 0; | 401 | | | 402 | 23.7k | *data = pkt->curr; | 403 | | | 404 | 23.7k | return 1; | 405 | 24.2k | } |
statem_srvr.c:PACKET_peek_bytes Line | Count | Source | 398 | 184k | { | 399 | 184k | if (PACKET_remaining(pkt) < len) | 400 | 667 | return 0; | 401 | | | 402 | 183k | *data = pkt->curr; | 403 | | | 404 | 183k | return 1; | 405 | 184k | } |
ech_helper.c:PACKET_peek_bytes Line | Count | Source | 398 | 9.87k | { | 399 | 9.87k | if (PACKET_remaining(pkt) < len) | 400 | 184 | return 0; | 401 | | | 402 | 9.69k | *data = pkt->curr; | 403 | | | 404 | 9.69k | return 1; | 405 | 9.87k | } |
ech_internal.c:PACKET_peek_bytes Line | Count | Source | 398 | 9.10k | { | 399 | 9.10k | if (PACKET_remaining(pkt) < len) | 400 | 0 | return 0; | 401 | | | 402 | 9.10k | *data = pkt->curr; | 403 | | | 404 | 9.10k | return 1; | 405 | 9.10k | } |
Unexecuted instantiation: ech_store.c:PACKET_peek_bytes Unexecuted instantiation: d1_lib.c:PACKET_peek_bytes Unexecuted instantiation: d1_srtp.c:PACKET_peek_bytes Unexecuted instantiation: methods.c:PACKET_peek_bytes Unexecuted instantiation: pqueue.c:PACKET_peek_bytes Unexecuted instantiation: s3_enc.c:PACKET_peek_bytes Unexecuted instantiation: s3_lib.c:PACKET_peek_bytes Unexecuted instantiation: s3_msg.c:PACKET_peek_bytes Unexecuted instantiation: ssl_asn1.c:PACKET_peek_bytes Unexecuted instantiation: ssl_conf.c:PACKET_peek_bytes Unexecuted instantiation: ssl_rsa.c:PACKET_peek_bytes Unexecuted instantiation: t1_enc.c:PACKET_peek_bytes Unexecuted instantiation: qlog_event_helpers.c:PACKET_peek_bytes Unexecuted instantiation: quic_ackm.c:PACKET_peek_bytes Unexecuted instantiation: quic_channel.c:PACKET_peek_bytes Unexecuted instantiation: quic_demux.c:PACKET_peek_bytes Unexecuted instantiation: quic_engine.c:PACKET_peek_bytes Unexecuted instantiation: quic_fifd.c:PACKET_peek_bytes Unexecuted instantiation: quic_lcidm.c:PACKET_peek_bytes Unexecuted instantiation: quic_rx_depack.c:PACKET_peek_bytes Unexecuted instantiation: rec_layer_d1.c:PACKET_peek_bytes Unexecuted instantiation: tls13_meth.c:PACKET_peek_bytes Unexecuted instantiation: d1_msg.c:PACKET_peek_bytes Unexecuted instantiation: quic-server.c:PACKET_peek_bytes Unexecuted instantiation: quic-srtm.c:PACKET_peek_bytes Unexecuted instantiation: ssl_txt.c:PACKET_peek_bytes Unexecuted instantiation: quic-rcidm.c:PACKET_peek_bytes Unexecuted instantiation: quic_rcidm.c:PACKET_peek_bytes Unexecuted instantiation: quic-lcidm.c:PACKET_peek_bytes |
406 | | |
407 | | /* |
408 | | * Read |len| bytes from the |pkt| and store a pointer to them in |*data|. This |
409 | | * just points at the underlying buffer that |pkt| is using. The caller should |
410 | | * not free this data directly (it will be freed when the underlying buffer gets |
411 | | * freed |
412 | | */ |
413 | | __owur static ossl_inline int PACKET_get_bytes(PACKET *pkt, |
414 | | const unsigned char **data, |
415 | | size_t len) |
416 | 7.23M | { |
417 | 7.23M | if (!PACKET_peek_bytes(pkt, data, len)) |
418 | 10.6k | return 0; |
419 | | |
420 | 7.21M | packet_forward(pkt, len); |
421 | | |
422 | 7.21M | return 1; |
423 | 7.23M | } Unexecuted instantiation: params.c:PACKET_get_bytes Unexecuted instantiation: encode_key2any.c:PACKET_get_bytes Unexecuted instantiation: hkdf.c:PACKET_get_bytes Unexecuted instantiation: x942kdf.c:PACKET_get_bytes Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_bytes Unexecuted instantiation: dsa_sig.c:PACKET_get_bytes Unexecuted instantiation: ecdsa_sig.c:PACKET_get_bytes Unexecuted instantiation: eddsa_sig.c:PACKET_get_bytes Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_bytes Unexecuted instantiation: rsa_sig.c:PACKET_get_bytes Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_bytes Unexecuted instantiation: sm2_sig.c:PACKET_get_bytes Unexecuted instantiation: der_dsa_sig.c:PACKET_get_bytes Unexecuted instantiation: der_ec_sig.c:PACKET_get_bytes Unexecuted instantiation: der_ecx_key.c:PACKET_get_bytes Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_bytes Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_bytes Unexecuted instantiation: der_rsa_key.c:PACKET_get_bytes Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_bytes Unexecuted instantiation: der_wrap_gen.c:PACKET_get_bytes Unexecuted instantiation: dsa_asn1.c:PACKET_get_bytes Unexecuted instantiation: dsa_sign.c:PACKET_get_bytes Unexecuted instantiation: ec_asn1.c:PACKET_get_bytes Unexecuted instantiation: hpke_util.c:PACKET_get_bytes asn1_dsa.c:PACKET_get_bytes Line | Count | Source | 416 | 10.7k | { | 417 | 10.7k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 1.38k | return 0; | 419 | | | 420 | 9.39k | packet_forward(pkt, len); | 421 | | | 422 | 9.39k | return 1; | 423 | 10.7k | } |
Unexecuted instantiation: der_writer.c:PACKET_get_bytes Unexecuted instantiation: packet.c:PACKET_get_bytes ml_dsa_encoders.c:PACKET_get_bytes Line | Count | Source | 416 | 1.05M | { | 417 | 1.05M | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 0 | return 0; | 419 | | | 420 | 1.05M | packet_forward(pkt, len); | 421 | | | 422 | 1.05M | return 1; | 423 | 1.05M | } |
Unexecuted instantiation: ml_dsa_key.c:PACKET_get_bytes Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_bytes Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_bytes Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_bytes Unexecuted instantiation: ml_dsa_params.c:PACKET_get_bytes Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_bytes Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_bytes slh_dsa.c:PACKET_get_bytes Line | Count | Source | 416 | 7.24k | { | 417 | 7.24k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 0 | return 0; | 419 | | | 420 | 7.24k | packet_forward(pkt, len); | 421 | | | 422 | 7.24k | return 1; | 423 | 7.24k | } |
Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_bytes Unexecuted instantiation: slh_dsa_key.c:PACKET_get_bytes slh_fors.c:PACKET_get_bytes Line | Count | Source | 416 | 577k | { | 417 | 577k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 0 | return 0; | 419 | | | 420 | 577k | packet_forward(pkt, len); | 421 | | | 422 | 577k | return 1; | 423 | 577k | } |
Unexecuted instantiation: slh_hash.c:PACKET_get_bytes Unexecuted instantiation: slh_hypertree.c:PACKET_get_bytes slh_xmss.c:PACKET_get_bytes Line | Count | Source | 416 | 130k | { | 417 | 130k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 0 | return 0; | 419 | | | 420 | 130k | packet_forward(pkt, len); | 421 | | | 422 | 130k | return 1; | 423 | 130k | } |
Unexecuted instantiation: der_rsa_sig.c:PACKET_get_bytes Unexecuted instantiation: der_sm2_sig.c:PACKET_get_bytes Unexecuted instantiation: der_digests_gen.c:PACKET_get_bytes Unexecuted instantiation: der_dsa_gen.c:PACKET_get_bytes Unexecuted instantiation: der_ec_gen.c:PACKET_get_bytes Unexecuted instantiation: der_ecx_gen.c:PACKET_get_bytes Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_bytes Unexecuted instantiation: der_rsa_gen.c:PACKET_get_bytes Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_bytes Unexecuted instantiation: punycode.c:PACKET_get_bytes slh_wots.c:PACKET_get_bytes Line | Count | Source | 416 | 1.60M | { | 417 | 1.60M | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 0 | return 0; | 419 | | | 420 | 1.60M | packet_forward(pkt, len); | 421 | | | 422 | 1.60M | return 1; | 423 | 1.60M | } |
Unexecuted instantiation: der_sm2_gen.c:PACKET_get_bytes Unexecuted instantiation: quic-client.c:PACKET_get_bytes Unexecuted instantiation: ssl_cert.c:PACKET_get_bytes Unexecuted instantiation: ssl_ciph.c:PACKET_get_bytes Unexecuted instantiation: ssl_init.c:PACKET_get_bytes Unexecuted instantiation: ssl_lib.c:PACKET_get_bytes Unexecuted instantiation: ssl_mcnf.c:PACKET_get_bytes Unexecuted instantiation: ssl_sess.c:PACKET_get_bytes Unexecuted instantiation: t1_lib.c:PACKET_get_bytes Unexecuted instantiation: tls13_enc.c:PACKET_get_bytes Unexecuted instantiation: tls_depr.c:PACKET_get_bytes Unexecuted instantiation: tls_srp.c:PACKET_get_bytes Unexecuted instantiation: quic_impl.c:PACKET_get_bytes Unexecuted instantiation: quic_method.c:PACKET_get_bytes Unexecuted instantiation: quic_obj.c:PACKET_get_bytes Unexecuted instantiation: quic_port.c:PACKET_get_bytes Unexecuted instantiation: quic_record_rx.c:PACKET_get_bytes Unexecuted instantiation: quic_record_shared.c:PACKET_get_bytes Unexecuted instantiation: quic_record_tx.c:PACKET_get_bytes Unexecuted instantiation: quic_record_util.c:PACKET_get_bytes Unexecuted instantiation: quic_rstream.c:PACKET_get_bytes Unexecuted instantiation: quic_sf_list.c:PACKET_get_bytes Unexecuted instantiation: quic_srtm.c:PACKET_get_bytes Unexecuted instantiation: quic_sstream.c:PACKET_get_bytes Unexecuted instantiation: quic_stream_map.c:PACKET_get_bytes Unexecuted instantiation: quic_thread_assist.c:PACKET_get_bytes Unexecuted instantiation: quic_tls.c:PACKET_get_bytes Unexecuted instantiation: quic_txp.c:PACKET_get_bytes Unexecuted instantiation: quic_txpim.c:PACKET_get_bytes quic_wire.c:PACKET_get_bytes Line | Count | Source | 416 | 236k | { | 417 | 236k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 565 | return 0; | 419 | | | 420 | 235k | packet_forward(pkt, len); | 421 | | | 422 | 235k | return 1; | 423 | 236k | } |
quic_wire_pkt.c:PACKET_get_bytes Line | Count | Source | 416 | 2.33M | { | 417 | 2.33M | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 3.51k | return 0; | 419 | | | 420 | 2.32M | packet_forward(pkt, len); | 421 | | | 422 | 2.32M | return 1; | 423 | 2.33M | } |
Unexecuted instantiation: rec_layer_s3.c:PACKET_get_bytes Unexecuted instantiation: dtls_meth.c:PACKET_get_bytes Unexecuted instantiation: tls1_meth.c:PACKET_get_bytes Unexecuted instantiation: tls_common.c:PACKET_get_bytes Unexecuted instantiation: tls_multib.c:PACKET_get_bytes Unexecuted instantiation: tlsany_meth.c:PACKET_get_bytes extensions.c:PACKET_get_bytes Line | Count | Source | 416 | 406k | { | 417 | 406k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 532 | return 0; | 419 | | | 420 | 406k | packet_forward(pkt, len); | 421 | | | 422 | 406k | return 1; | 423 | 406k | } |
extensions_clnt.c:PACKET_get_bytes Line | Count | Source | 416 | 149k | { | 417 | 149k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 160 | return 0; | 419 | | | 420 | 149k | packet_forward(pkt, len); | 421 | | | 422 | 149k | return 1; | 423 | 149k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_get_bytes extensions_srvr.c:PACKET_get_bytes Line | Count | Source | 416 | 91.2k | { | 417 | 91.2k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 1.49k | return 0; | 419 | | | 420 | 89.7k | packet_forward(pkt, len); | 421 | | | 422 | 89.7k | return 1; | 423 | 91.2k | } |
Unexecuted instantiation: statem.c:PACKET_get_bytes statem_clnt.c:PACKET_get_bytes Line | Count | Source | 416 | 402k | { | 417 | 402k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 1.64k | return 0; | 419 | | | 420 | 400k | packet_forward(pkt, len); | 421 | | | 422 | 400k | return 1; | 423 | 402k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_get_bytes statem_lib.c:PACKET_get_bytes Line | Count | Source | 416 | 24.2k | { | 417 | 24.2k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 523 | return 0; | 419 | | | 420 | 23.7k | packet_forward(pkt, len); | 421 | | | 422 | 23.7k | return 1; | 423 | 24.2k | } |
statem_srvr.c:PACKET_get_bytes Line | Count | Source | 416 | 184k | { | 417 | 184k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 667 | return 0; | 419 | | | 420 | 183k | packet_forward(pkt, len); | 421 | | | 422 | 183k | return 1; | 423 | 184k | } |
ech_helper.c:PACKET_get_bytes Line | Count | Source | 416 | 9.87k | { | 417 | 9.87k | if (!PACKET_peek_bytes(pkt, data, len)) | 418 | 184 | return 0; | 419 | | | 420 | 9.69k | packet_forward(pkt, len); | 421 | | | 422 | 9.69k | return 1; | 423 | 9.87k | } |
Unexecuted instantiation: ech_internal.c:PACKET_get_bytes Unexecuted instantiation: ech_store.c:PACKET_get_bytes Unexecuted instantiation: d1_lib.c:PACKET_get_bytes Unexecuted instantiation: d1_srtp.c:PACKET_get_bytes Unexecuted instantiation: methods.c:PACKET_get_bytes Unexecuted instantiation: pqueue.c:PACKET_get_bytes Unexecuted instantiation: s3_enc.c:PACKET_get_bytes Unexecuted instantiation: s3_lib.c:PACKET_get_bytes Unexecuted instantiation: s3_msg.c:PACKET_get_bytes Unexecuted instantiation: ssl_asn1.c:PACKET_get_bytes Unexecuted instantiation: ssl_conf.c:PACKET_get_bytes Unexecuted instantiation: ssl_rsa.c:PACKET_get_bytes Unexecuted instantiation: t1_enc.c:PACKET_get_bytes Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_bytes Unexecuted instantiation: quic_ackm.c:PACKET_get_bytes Unexecuted instantiation: quic_channel.c:PACKET_get_bytes Unexecuted instantiation: quic_demux.c:PACKET_get_bytes Unexecuted instantiation: quic_engine.c:PACKET_get_bytes Unexecuted instantiation: quic_fifd.c:PACKET_get_bytes Unexecuted instantiation: quic_lcidm.c:PACKET_get_bytes Unexecuted instantiation: quic_rx_depack.c:PACKET_get_bytes Unexecuted instantiation: rec_layer_d1.c:PACKET_get_bytes Unexecuted instantiation: tls13_meth.c:PACKET_get_bytes Unexecuted instantiation: d1_msg.c:PACKET_get_bytes Unexecuted instantiation: quic-server.c:PACKET_get_bytes Unexecuted instantiation: quic-srtm.c:PACKET_get_bytes Unexecuted instantiation: ssl_txt.c:PACKET_get_bytes Unexecuted instantiation: quic-rcidm.c:PACKET_get_bytes Unexecuted instantiation: quic_rcidm.c:PACKET_get_bytes Unexecuted instantiation: quic-lcidm.c:PACKET_get_bytes |
424 | | |
425 | | /* Peek ahead at |len| bytes from |pkt| and copy them to |data| */ |
426 | | __owur static ossl_inline int PACKET_peek_copy_bytes(const PACKET *pkt, |
427 | | unsigned char *data, |
428 | | size_t len) |
429 | 29.5M | { |
430 | 29.5M | if (PACKET_remaining(pkt) < len) |
431 | 98.4k | return 0; |
432 | | |
433 | 29.4M | memcpy(data, pkt->curr, len); |
434 | | |
435 | 29.4M | return 1; |
436 | 29.5M | } Unexecuted instantiation: params.c:PACKET_peek_copy_bytes Unexecuted instantiation: encode_key2any.c:PACKET_peek_copy_bytes Unexecuted instantiation: hkdf.c:PACKET_peek_copy_bytes Unexecuted instantiation: x942kdf.c:PACKET_peek_copy_bytes Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_peek_copy_bytes Unexecuted instantiation: dsa_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: eddsa_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: ml_dsa_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: rsa_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: slh_dsa_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: sm2_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_dsa_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_ec_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_ecx_key.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_hkdf_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_ml_dsa_key.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_rsa_key.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_slh_dsa_key.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_wrap_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: dsa_asn1.c:PACKET_peek_copy_bytes Unexecuted instantiation: dsa_sign.c:PACKET_peek_copy_bytes Unexecuted instantiation: ec_asn1.c:PACKET_peek_copy_bytes Unexecuted instantiation: hpke_util.c:PACKET_peek_copy_bytes Unexecuted instantiation: asn1_dsa.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_writer.c:PACKET_peek_copy_bytes Unexecuted instantiation: packet.c:PACKET_peek_copy_bytes ml_dsa_encoders.c:PACKET_peek_copy_bytes Line | Count | Source | 429 | 833 | { | 430 | 833 | if (PACKET_remaining(pkt) < len) | 431 | 0 | return 0; | 432 | | | 433 | 833 | memcpy(data, pkt->curr, len); | 434 | | | 435 | 833 | return 1; | 436 | 833 | } |
Unexecuted instantiation: ml_dsa_key.c:PACKET_peek_copy_bytes Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_peek_copy_bytes Unexecuted instantiation: ml_dsa_matrix.c:PACKET_peek_copy_bytes Unexecuted instantiation: ml_dsa_ntt.c:PACKET_peek_copy_bytes Unexecuted instantiation: ml_dsa_params.c:PACKET_peek_copy_bytes Unexecuted instantiation: ml_dsa_sample.c:PACKET_peek_copy_bytes Unexecuted instantiation: ml_dsa_sign.c:PACKET_peek_copy_bytes Unexecuted instantiation: slh_dsa.c:PACKET_peek_copy_bytes Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_peek_copy_bytes Unexecuted instantiation: slh_dsa_key.c:PACKET_peek_copy_bytes Unexecuted instantiation: slh_fors.c:PACKET_peek_copy_bytes Unexecuted instantiation: slh_hash.c:PACKET_peek_copy_bytes Unexecuted instantiation: slh_hypertree.c:PACKET_peek_copy_bytes Unexecuted instantiation: slh_xmss.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_rsa_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_sm2_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_digests_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_dsa_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_ec_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_ecx_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_rsa_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: punycode.c:PACKET_peek_copy_bytes Unexecuted instantiation: slh_wots.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic-client.c:PACKET_peek_copy_bytes Unexecuted instantiation: ssl_cert.c:PACKET_peek_copy_bytes Unexecuted instantiation: ssl_ciph.c:PACKET_peek_copy_bytes Unexecuted instantiation: ssl_init.c:PACKET_peek_copy_bytes ssl_lib.c:PACKET_peek_copy_bytes Line | Count | Source | 429 | 882k | { | 430 | 882k | if (PACKET_remaining(pkt) < len) | 431 | 41.3k | return 0; | 432 | | | 433 | 840k | memcpy(data, pkt->curr, len); | 434 | | | 435 | 840k | return 1; | 436 | 882k | } |
Unexecuted instantiation: ssl_mcnf.c:PACKET_peek_copy_bytes Unexecuted instantiation: ssl_sess.c:PACKET_peek_copy_bytes Unexecuted instantiation: t1_lib.c:PACKET_peek_copy_bytes Unexecuted instantiation: tls13_enc.c:PACKET_peek_copy_bytes Unexecuted instantiation: tls_depr.c:PACKET_peek_copy_bytes Unexecuted instantiation: tls_srp.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_impl.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_method.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_obj.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_port.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_record_rx.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_record_shared.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_record_tx.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_record_util.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_rstream.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_sf_list.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_srtm.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_sstream.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_stream_map.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_thread_assist.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_tls.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_txp.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_txpim.c:PACKET_peek_copy_bytes quic_wire.c:PACKET_peek_copy_bytes Line | Count | Source | 429 | 35.6k | { | 430 | 35.6k | if (PACKET_remaining(pkt) < len) | 431 | 53 | return 0; | 432 | | | 433 | 35.5k | memcpy(data, pkt->curr, len); | 434 | | | 435 | 35.5k | return 1; | 436 | 35.6k | } |
quic_wire_pkt.c:PACKET_peek_copy_bytes Line | Count | Source | 429 | 12.9M | { | 430 | 12.9M | if (PACKET_remaining(pkt) < len) | 431 | 54.7k | return 0; | 432 | | | 433 | 12.9M | memcpy(data, pkt->curr, len); | 434 | | | 435 | 12.9M | return 1; | 436 | 12.9M | } |
Unexecuted instantiation: rec_layer_s3.c:PACKET_peek_copy_bytes Unexecuted instantiation: dtls_meth.c:PACKET_peek_copy_bytes Unexecuted instantiation: tls1_meth.c:PACKET_peek_copy_bytes Unexecuted instantiation: tls_common.c:PACKET_peek_copy_bytes Unexecuted instantiation: tls_multib.c:PACKET_peek_copy_bytes Unexecuted instantiation: tlsany_meth.c:PACKET_peek_copy_bytes Unexecuted instantiation: extensions.c:PACKET_peek_copy_bytes extensions_clnt.c:PACKET_peek_copy_bytes Line | Count | Source | 429 | 24.6k | { | 430 | 24.6k | if (PACKET_remaining(pkt) < len) | 431 | 0 | return 0; | 432 | | | 433 | 24.6k | memcpy(data, pkt->curr, len); | 434 | | | 435 | 24.6k | return 1; | 436 | 24.6k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_peek_copy_bytes Unexecuted instantiation: extensions_srvr.c:PACKET_peek_copy_bytes Unexecuted instantiation: statem.c:PACKET_peek_copy_bytes statem_clnt.c:PACKET_peek_copy_bytes Line | Count | Source | 429 | 86.9k | { | 430 | 86.9k | if (PACKET_remaining(pkt) < len) | 431 | 208 | return 0; | 432 | | | 433 | 86.7k | memcpy(data, pkt->curr, len); | 434 | | | 435 | 86.7k | return 1; | 436 | 86.9k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_peek_copy_bytes Unexecuted instantiation: statem_lib.c:PACKET_peek_copy_bytes statem_srvr.c:PACKET_peek_copy_bytes Line | Count | Source | 429 | 47.9k | { | 430 | 47.9k | if (PACKET_remaining(pkt) < len) | 431 | 63 | return 0; | 432 | | | 433 | 47.9k | memcpy(data, pkt->curr, len); | 434 | | | 435 | 47.9k | return 1; | 436 | 47.9k | } |
Unexecuted instantiation: ech_helper.c:PACKET_peek_copy_bytes Unexecuted instantiation: ech_internal.c:PACKET_peek_copy_bytes Unexecuted instantiation: ech_store.c:PACKET_peek_copy_bytes Unexecuted instantiation: d1_lib.c:PACKET_peek_copy_bytes Unexecuted instantiation: d1_srtp.c:PACKET_peek_copy_bytes Unexecuted instantiation: methods.c:PACKET_peek_copy_bytes Unexecuted instantiation: pqueue.c:PACKET_peek_copy_bytes Unexecuted instantiation: s3_enc.c:PACKET_peek_copy_bytes Unexecuted instantiation: s3_lib.c:PACKET_peek_copy_bytes Unexecuted instantiation: s3_msg.c:PACKET_peek_copy_bytes Unexecuted instantiation: ssl_asn1.c:PACKET_peek_copy_bytes Unexecuted instantiation: ssl_conf.c:PACKET_peek_copy_bytes Unexecuted instantiation: ssl_rsa.c:PACKET_peek_copy_bytes Unexecuted instantiation: t1_enc.c:PACKET_peek_copy_bytes Unexecuted instantiation: qlog_event_helpers.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_ackm.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_channel.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_demux.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_engine.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_fifd.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_lcidm.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_rx_depack.c:PACKET_peek_copy_bytes Unexecuted instantiation: rec_layer_d1.c:PACKET_peek_copy_bytes Unexecuted instantiation: tls13_meth.c:PACKET_peek_copy_bytes Unexecuted instantiation: d1_msg.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic-server.c:PACKET_peek_copy_bytes quic-srtm.c:PACKET_peek_copy_bytes Line | Count | Source | 429 | 2.34M | { | 430 | 2.34M | if (PACKET_remaining(pkt) < len) | 431 | 1.60k | return 0; | 432 | | | 433 | 2.34M | memcpy(data, pkt->curr, len); | 434 | | | 435 | 2.34M | return 1; | 436 | 2.34M | } |
Unexecuted instantiation: ssl_txt.c:PACKET_peek_copy_bytes quic-rcidm.c:PACKET_peek_copy_bytes Line | Count | Source | 429 | 11.9M | { | 430 | 11.9M | if (PACKET_remaining(pkt) < len) | 431 | 247 | return 0; | 432 | | | 433 | 11.9M | memcpy(data, pkt->curr, len); | 434 | | | 435 | 11.9M | return 1; | 436 | 11.9M | } |
Unexecuted instantiation: quic_rcidm.c:PACKET_peek_copy_bytes quic-lcidm.c:PACKET_peek_copy_bytes Line | Count | Source | 429 | 1.16M | { | 430 | 1.16M | if (PACKET_remaining(pkt) < len) | 431 | 90 | return 0; | 432 | | | 433 | 1.16M | memcpy(data, pkt->curr, len); | 434 | | | 435 | 1.16M | return 1; | 436 | 1.16M | } |
|
437 | | |
438 | | /* |
439 | | * Read |len| bytes from |pkt| and copy them to |data|. |
440 | | * The caller is responsible for ensuring that |data| can hold |len| bytes. |
441 | | */ |
442 | | __owur static ossl_inline int PACKET_copy_bytes(PACKET *pkt, |
443 | | unsigned char *data, size_t len) |
444 | 29.5M | { |
445 | 29.5M | if (!PACKET_peek_copy_bytes(pkt, data, len)) |
446 | 98.4k | return 0; |
447 | | |
448 | 29.4M | packet_forward(pkt, len); |
449 | | |
450 | 29.4M | return 1; |
451 | 29.5M | } Unexecuted instantiation: params.c:PACKET_copy_bytes Unexecuted instantiation: encode_key2any.c:PACKET_copy_bytes Unexecuted instantiation: hkdf.c:PACKET_copy_bytes Unexecuted instantiation: x942kdf.c:PACKET_copy_bytes Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_copy_bytes Unexecuted instantiation: dsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: ecdsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: eddsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: ml_dsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: rsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: slh_dsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: sm2_sig.c:PACKET_copy_bytes Unexecuted instantiation: der_dsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: der_ec_sig.c:PACKET_copy_bytes Unexecuted instantiation: der_ecx_key.c:PACKET_copy_bytes Unexecuted instantiation: der_hkdf_gen.c:PACKET_copy_bytes Unexecuted instantiation: der_ml_dsa_key.c:PACKET_copy_bytes Unexecuted instantiation: der_rsa_key.c:PACKET_copy_bytes Unexecuted instantiation: der_slh_dsa_key.c:PACKET_copy_bytes Unexecuted instantiation: der_wrap_gen.c:PACKET_copy_bytes Unexecuted instantiation: dsa_asn1.c:PACKET_copy_bytes Unexecuted instantiation: dsa_sign.c:PACKET_copy_bytes Unexecuted instantiation: ec_asn1.c:PACKET_copy_bytes Unexecuted instantiation: hpke_util.c:PACKET_copy_bytes Unexecuted instantiation: asn1_dsa.c:PACKET_copy_bytes Unexecuted instantiation: der_writer.c:PACKET_copy_bytes Unexecuted instantiation: packet.c:PACKET_copy_bytes ml_dsa_encoders.c:PACKET_copy_bytes Line | Count | Source | 444 | 833 | { | 445 | 833 | if (!PACKET_peek_copy_bytes(pkt, data, len)) | 446 | 0 | return 0; | 447 | | | 448 | 833 | packet_forward(pkt, len); | 449 | | | 450 | 833 | return 1; | 451 | 833 | } |
Unexecuted instantiation: ml_dsa_key.c:PACKET_copy_bytes Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_copy_bytes Unexecuted instantiation: ml_dsa_matrix.c:PACKET_copy_bytes Unexecuted instantiation: ml_dsa_ntt.c:PACKET_copy_bytes Unexecuted instantiation: ml_dsa_params.c:PACKET_copy_bytes Unexecuted instantiation: ml_dsa_sample.c:PACKET_copy_bytes Unexecuted instantiation: ml_dsa_sign.c:PACKET_copy_bytes Unexecuted instantiation: slh_dsa.c:PACKET_copy_bytes Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_copy_bytes Unexecuted instantiation: slh_dsa_key.c:PACKET_copy_bytes Unexecuted instantiation: slh_fors.c:PACKET_copy_bytes Unexecuted instantiation: slh_hash.c:PACKET_copy_bytes Unexecuted instantiation: slh_hypertree.c:PACKET_copy_bytes Unexecuted instantiation: slh_xmss.c:PACKET_copy_bytes Unexecuted instantiation: der_rsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: der_sm2_sig.c:PACKET_copy_bytes Unexecuted instantiation: der_digests_gen.c:PACKET_copy_bytes Unexecuted instantiation: der_dsa_gen.c:PACKET_copy_bytes Unexecuted instantiation: der_ec_gen.c:PACKET_copy_bytes Unexecuted instantiation: der_ecx_gen.c:PACKET_copy_bytes Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_copy_bytes Unexecuted instantiation: der_rsa_gen.c:PACKET_copy_bytes Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_copy_bytes Unexecuted instantiation: punycode.c:PACKET_copy_bytes Unexecuted instantiation: slh_wots.c:PACKET_copy_bytes Unexecuted instantiation: der_sm2_gen.c:PACKET_copy_bytes Unexecuted instantiation: quic-client.c:PACKET_copy_bytes Unexecuted instantiation: ssl_cert.c:PACKET_copy_bytes Unexecuted instantiation: ssl_ciph.c:PACKET_copy_bytes Unexecuted instantiation: ssl_init.c:PACKET_copy_bytes ssl_lib.c:PACKET_copy_bytes Line | Count | Source | 444 | 882k | { | 445 | 882k | if (!PACKET_peek_copy_bytes(pkt, data, len)) | 446 | 41.3k | return 0; | 447 | | | 448 | 840k | packet_forward(pkt, len); | 449 | | | 450 | 840k | return 1; | 451 | 882k | } |
Unexecuted instantiation: ssl_mcnf.c:PACKET_copy_bytes Unexecuted instantiation: ssl_sess.c:PACKET_copy_bytes Unexecuted instantiation: t1_lib.c:PACKET_copy_bytes Unexecuted instantiation: tls13_enc.c:PACKET_copy_bytes Unexecuted instantiation: tls_depr.c:PACKET_copy_bytes Unexecuted instantiation: tls_srp.c:PACKET_copy_bytes Unexecuted instantiation: quic_impl.c:PACKET_copy_bytes Unexecuted instantiation: quic_method.c:PACKET_copy_bytes Unexecuted instantiation: quic_obj.c:PACKET_copy_bytes Unexecuted instantiation: quic_port.c:PACKET_copy_bytes Unexecuted instantiation: quic_record_rx.c:PACKET_copy_bytes Unexecuted instantiation: quic_record_shared.c:PACKET_copy_bytes Unexecuted instantiation: quic_record_tx.c:PACKET_copy_bytes Unexecuted instantiation: quic_record_util.c:PACKET_copy_bytes Unexecuted instantiation: quic_rstream.c:PACKET_copy_bytes Unexecuted instantiation: quic_sf_list.c:PACKET_copy_bytes Unexecuted instantiation: quic_srtm.c:PACKET_copy_bytes Unexecuted instantiation: quic_sstream.c:PACKET_copy_bytes Unexecuted instantiation: quic_stream_map.c:PACKET_copy_bytes Unexecuted instantiation: quic_thread_assist.c:PACKET_copy_bytes Unexecuted instantiation: quic_tls.c:PACKET_copy_bytes Unexecuted instantiation: quic_txp.c:PACKET_copy_bytes Unexecuted instantiation: quic_txpim.c:PACKET_copy_bytes quic_wire.c:PACKET_copy_bytes Line | Count | Source | 444 | 35.6k | { | 445 | 35.6k | if (!PACKET_peek_copy_bytes(pkt, data, len)) | 446 | 53 | return 0; | 447 | | | 448 | 35.5k | packet_forward(pkt, len); | 449 | | | 450 | 35.5k | return 1; | 451 | 35.6k | } |
quic_wire_pkt.c:PACKET_copy_bytes Line | Count | Source | 444 | 12.9M | { | 445 | 12.9M | if (!PACKET_peek_copy_bytes(pkt, data, len)) | 446 | 54.7k | return 0; | 447 | | | 448 | 12.9M | packet_forward(pkt, len); | 449 | | | 450 | 12.9M | return 1; | 451 | 12.9M | } |
Unexecuted instantiation: rec_layer_s3.c:PACKET_copy_bytes Unexecuted instantiation: dtls_meth.c:PACKET_copy_bytes Unexecuted instantiation: tls1_meth.c:PACKET_copy_bytes Unexecuted instantiation: tls_common.c:PACKET_copy_bytes Unexecuted instantiation: tls_multib.c:PACKET_copy_bytes Unexecuted instantiation: tlsany_meth.c:PACKET_copy_bytes Unexecuted instantiation: extensions.c:PACKET_copy_bytes extensions_clnt.c:PACKET_copy_bytes Line | Count | Source | 444 | 24.6k | { | 445 | 24.6k | if (!PACKET_peek_copy_bytes(pkt, data, len)) | 446 | 0 | return 0; | 447 | | | 448 | 24.6k | packet_forward(pkt, len); | 449 | | | 450 | 24.6k | return 1; | 451 | 24.6k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_copy_bytes Unexecuted instantiation: extensions_srvr.c:PACKET_copy_bytes Unexecuted instantiation: statem.c:PACKET_copy_bytes statem_clnt.c:PACKET_copy_bytes Line | Count | Source | 444 | 86.9k | { | 445 | 86.9k | if (!PACKET_peek_copy_bytes(pkt, data, len)) | 446 | 208 | return 0; | 447 | | | 448 | 86.7k | packet_forward(pkt, len); | 449 | | | 450 | 86.7k | return 1; | 451 | 86.9k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_copy_bytes Unexecuted instantiation: statem_lib.c:PACKET_copy_bytes statem_srvr.c:PACKET_copy_bytes Line | Count | Source | 444 | 47.9k | { | 445 | 47.9k | if (!PACKET_peek_copy_bytes(pkt, data, len)) | 446 | 63 | return 0; | 447 | | | 448 | 47.9k | packet_forward(pkt, len); | 449 | | | 450 | 47.9k | return 1; | 451 | 47.9k | } |
Unexecuted instantiation: ech_helper.c:PACKET_copy_bytes Unexecuted instantiation: ech_internal.c:PACKET_copy_bytes Unexecuted instantiation: ech_store.c:PACKET_copy_bytes Unexecuted instantiation: d1_lib.c:PACKET_copy_bytes Unexecuted instantiation: d1_srtp.c:PACKET_copy_bytes Unexecuted instantiation: methods.c:PACKET_copy_bytes Unexecuted instantiation: pqueue.c:PACKET_copy_bytes Unexecuted instantiation: s3_enc.c:PACKET_copy_bytes Unexecuted instantiation: s3_lib.c:PACKET_copy_bytes Unexecuted instantiation: s3_msg.c:PACKET_copy_bytes Unexecuted instantiation: ssl_asn1.c:PACKET_copy_bytes Unexecuted instantiation: ssl_conf.c:PACKET_copy_bytes Unexecuted instantiation: ssl_rsa.c:PACKET_copy_bytes Unexecuted instantiation: t1_enc.c:PACKET_copy_bytes Unexecuted instantiation: qlog_event_helpers.c:PACKET_copy_bytes Unexecuted instantiation: quic_ackm.c:PACKET_copy_bytes Unexecuted instantiation: quic_channel.c:PACKET_copy_bytes Unexecuted instantiation: quic_demux.c:PACKET_copy_bytes Unexecuted instantiation: quic_engine.c:PACKET_copy_bytes Unexecuted instantiation: quic_fifd.c:PACKET_copy_bytes Unexecuted instantiation: quic_lcidm.c:PACKET_copy_bytes Unexecuted instantiation: quic_rx_depack.c:PACKET_copy_bytes Unexecuted instantiation: rec_layer_d1.c:PACKET_copy_bytes Unexecuted instantiation: tls13_meth.c:PACKET_copy_bytes Unexecuted instantiation: d1_msg.c:PACKET_copy_bytes Unexecuted instantiation: quic-server.c:PACKET_copy_bytes quic-srtm.c:PACKET_copy_bytes Line | Count | Source | 444 | 2.34M | { | 445 | 2.34M | if (!PACKET_peek_copy_bytes(pkt, data, len)) | 446 | 1.60k | return 0; | 447 | | | 448 | 2.34M | packet_forward(pkt, len); | 449 | | | 450 | 2.34M | return 1; | 451 | 2.34M | } |
Unexecuted instantiation: ssl_txt.c:PACKET_copy_bytes quic-rcidm.c:PACKET_copy_bytes Line | Count | Source | 444 | 11.9M | { | 445 | 11.9M | if (!PACKET_peek_copy_bytes(pkt, data, len)) | 446 | 247 | return 0; | 447 | | | 448 | 11.9M | packet_forward(pkt, len); | 449 | | | 450 | 11.9M | return 1; | 451 | 11.9M | } |
Unexecuted instantiation: quic_rcidm.c:PACKET_copy_bytes quic-lcidm.c:PACKET_copy_bytes Line | Count | Source | 444 | 1.16M | { | 445 | 1.16M | if (!PACKET_peek_copy_bytes(pkt, data, len)) | 446 | 90 | return 0; | 447 | | | 448 | 1.16M | packet_forward(pkt, len); | 449 | | | 450 | 1.16M | return 1; | 451 | 1.16M | } |
|
452 | | |
453 | | /* |
454 | | * Copy packet data to |dest|, and set |len| to the number of copied bytes. |
455 | | * If the packet has more than |dest_len| bytes, nothing is copied. |
456 | | * Returns 1 if the packet data fits in |dest_len| bytes, 0 otherwise. |
457 | | * Does not forward PACKET position (because it is typically the last thing |
458 | | * done with a given PACKET). |
459 | | */ |
460 | | __owur static ossl_inline int PACKET_copy_all(const PACKET *pkt, |
461 | | unsigned char *dest, |
462 | | size_t dest_len, size_t *len) |
463 | 97.8k | { |
464 | 97.8k | if (PACKET_remaining(pkt) > dest_len) { |
465 | 66 | *len = 0; |
466 | 66 | return 0; |
467 | 66 | } |
468 | 97.7k | *len = pkt->remaining; |
469 | 97.7k | memcpy(dest, pkt->curr, pkt->remaining); |
470 | 97.7k | return 1; |
471 | 97.8k | } Unexecuted instantiation: params.c:PACKET_copy_all Unexecuted instantiation: encode_key2any.c:PACKET_copy_all Unexecuted instantiation: hkdf.c:PACKET_copy_all Unexecuted instantiation: x942kdf.c:PACKET_copy_all Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_copy_all Unexecuted instantiation: dsa_sig.c:PACKET_copy_all Unexecuted instantiation: ecdsa_sig.c:PACKET_copy_all Unexecuted instantiation: eddsa_sig.c:PACKET_copy_all Unexecuted instantiation: ml_dsa_sig.c:PACKET_copy_all Unexecuted instantiation: rsa_sig.c:PACKET_copy_all Unexecuted instantiation: slh_dsa_sig.c:PACKET_copy_all Unexecuted instantiation: sm2_sig.c:PACKET_copy_all Unexecuted instantiation: der_dsa_sig.c:PACKET_copy_all Unexecuted instantiation: der_ec_sig.c:PACKET_copy_all Unexecuted instantiation: der_ecx_key.c:PACKET_copy_all Unexecuted instantiation: der_hkdf_gen.c:PACKET_copy_all Unexecuted instantiation: der_ml_dsa_key.c:PACKET_copy_all Unexecuted instantiation: der_rsa_key.c:PACKET_copy_all Unexecuted instantiation: der_slh_dsa_key.c:PACKET_copy_all Unexecuted instantiation: der_wrap_gen.c:PACKET_copy_all Unexecuted instantiation: dsa_asn1.c:PACKET_copy_all Unexecuted instantiation: dsa_sign.c:PACKET_copy_all Unexecuted instantiation: ec_asn1.c:PACKET_copy_all Unexecuted instantiation: hpke_util.c:PACKET_copy_all Unexecuted instantiation: asn1_dsa.c:PACKET_copy_all Unexecuted instantiation: der_writer.c:PACKET_copy_all Unexecuted instantiation: packet.c:PACKET_copy_all Unexecuted instantiation: ml_dsa_encoders.c:PACKET_copy_all Unexecuted instantiation: ml_dsa_key.c:PACKET_copy_all Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_copy_all Unexecuted instantiation: ml_dsa_matrix.c:PACKET_copy_all Unexecuted instantiation: ml_dsa_ntt.c:PACKET_copy_all Unexecuted instantiation: ml_dsa_params.c:PACKET_copy_all Unexecuted instantiation: ml_dsa_sample.c:PACKET_copy_all Unexecuted instantiation: ml_dsa_sign.c:PACKET_copy_all Unexecuted instantiation: slh_dsa.c:PACKET_copy_all Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_copy_all Unexecuted instantiation: slh_dsa_key.c:PACKET_copy_all Unexecuted instantiation: slh_fors.c:PACKET_copy_all Unexecuted instantiation: slh_hash.c:PACKET_copy_all Unexecuted instantiation: slh_hypertree.c:PACKET_copy_all Unexecuted instantiation: slh_xmss.c:PACKET_copy_all Unexecuted instantiation: der_rsa_sig.c:PACKET_copy_all Unexecuted instantiation: der_sm2_sig.c:PACKET_copy_all Unexecuted instantiation: der_digests_gen.c:PACKET_copy_all Unexecuted instantiation: der_dsa_gen.c:PACKET_copy_all Unexecuted instantiation: der_ec_gen.c:PACKET_copy_all Unexecuted instantiation: der_ecx_gen.c:PACKET_copy_all Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_copy_all Unexecuted instantiation: der_rsa_gen.c:PACKET_copy_all Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_copy_all Unexecuted instantiation: punycode.c:PACKET_copy_all Unexecuted instantiation: slh_wots.c:PACKET_copy_all Unexecuted instantiation: der_sm2_gen.c:PACKET_copy_all Unexecuted instantiation: quic-client.c:PACKET_copy_all Unexecuted instantiation: ssl_cert.c:PACKET_copy_all Unexecuted instantiation: ssl_ciph.c:PACKET_copy_all Unexecuted instantiation: ssl_init.c:PACKET_copy_all Unexecuted instantiation: ssl_lib.c:PACKET_copy_all Unexecuted instantiation: ssl_mcnf.c:PACKET_copy_all Unexecuted instantiation: ssl_sess.c:PACKET_copy_all Unexecuted instantiation: t1_lib.c:PACKET_copy_all Unexecuted instantiation: tls13_enc.c:PACKET_copy_all Unexecuted instantiation: tls_depr.c:PACKET_copy_all Unexecuted instantiation: tls_srp.c:PACKET_copy_all Unexecuted instantiation: quic_impl.c:PACKET_copy_all Unexecuted instantiation: quic_method.c:PACKET_copy_all Unexecuted instantiation: quic_obj.c:PACKET_copy_all Unexecuted instantiation: quic_port.c:PACKET_copy_all Unexecuted instantiation: quic_record_rx.c:PACKET_copy_all Unexecuted instantiation: quic_record_shared.c:PACKET_copy_all Unexecuted instantiation: quic_record_tx.c:PACKET_copy_all Unexecuted instantiation: quic_record_util.c:PACKET_copy_all Unexecuted instantiation: quic_rstream.c:PACKET_copy_all Unexecuted instantiation: quic_sf_list.c:PACKET_copy_all Unexecuted instantiation: quic_srtm.c:PACKET_copy_all Unexecuted instantiation: quic_sstream.c:PACKET_copy_all Unexecuted instantiation: quic_stream_map.c:PACKET_copy_all Unexecuted instantiation: quic_thread_assist.c:PACKET_copy_all Unexecuted instantiation: quic_tls.c:PACKET_copy_all Unexecuted instantiation: quic_txp.c:PACKET_copy_all Unexecuted instantiation: quic_txpim.c:PACKET_copy_all Unexecuted instantiation: quic_wire.c:PACKET_copy_all Unexecuted instantiation: quic_wire_pkt.c:PACKET_copy_all Unexecuted instantiation: rec_layer_s3.c:PACKET_copy_all Unexecuted instantiation: dtls_meth.c:PACKET_copy_all Unexecuted instantiation: tls1_meth.c:PACKET_copy_all Unexecuted instantiation: tls_common.c:PACKET_copy_all Unexecuted instantiation: tls_multib.c:PACKET_copy_all Unexecuted instantiation: tlsany_meth.c:PACKET_copy_all Unexecuted instantiation: extensions.c:PACKET_copy_all Unexecuted instantiation: extensions_clnt.c:PACKET_copy_all Unexecuted instantiation: extensions_cust.c:PACKET_copy_all Unexecuted instantiation: extensions_srvr.c:PACKET_copy_all Unexecuted instantiation: statem.c:PACKET_copy_all Unexecuted instantiation: statem_clnt.c:PACKET_copy_all Unexecuted instantiation: statem_dtls.c:PACKET_copy_all Unexecuted instantiation: statem_lib.c:PACKET_copy_all statem_srvr.c:PACKET_copy_all Line | Count | Source | 463 | 97.8k | { | 464 | 97.8k | if (PACKET_remaining(pkt) > dest_len) { | 465 | 66 | *len = 0; | 466 | 66 | return 0; | 467 | 66 | } | 468 | 97.7k | *len = pkt->remaining; | 469 | 97.7k | memcpy(dest, pkt->curr, pkt->remaining); | 470 | 97.7k | return 1; | 471 | 97.8k | } |
Unexecuted instantiation: ech_helper.c:PACKET_copy_all Unexecuted instantiation: ech_internal.c:PACKET_copy_all Unexecuted instantiation: ech_store.c:PACKET_copy_all Unexecuted instantiation: d1_lib.c:PACKET_copy_all Unexecuted instantiation: d1_srtp.c:PACKET_copy_all Unexecuted instantiation: methods.c:PACKET_copy_all Unexecuted instantiation: pqueue.c:PACKET_copy_all Unexecuted instantiation: s3_enc.c:PACKET_copy_all Unexecuted instantiation: s3_lib.c:PACKET_copy_all Unexecuted instantiation: s3_msg.c:PACKET_copy_all Unexecuted instantiation: ssl_asn1.c:PACKET_copy_all Unexecuted instantiation: ssl_conf.c:PACKET_copy_all Unexecuted instantiation: ssl_rsa.c:PACKET_copy_all Unexecuted instantiation: t1_enc.c:PACKET_copy_all Unexecuted instantiation: qlog_event_helpers.c:PACKET_copy_all Unexecuted instantiation: quic_ackm.c:PACKET_copy_all Unexecuted instantiation: quic_channel.c:PACKET_copy_all Unexecuted instantiation: quic_demux.c:PACKET_copy_all Unexecuted instantiation: quic_engine.c:PACKET_copy_all Unexecuted instantiation: quic_fifd.c:PACKET_copy_all Unexecuted instantiation: quic_lcidm.c:PACKET_copy_all Unexecuted instantiation: quic_rx_depack.c:PACKET_copy_all Unexecuted instantiation: rec_layer_d1.c:PACKET_copy_all Unexecuted instantiation: tls13_meth.c:PACKET_copy_all Unexecuted instantiation: d1_msg.c:PACKET_copy_all Unexecuted instantiation: quic-server.c:PACKET_copy_all Unexecuted instantiation: quic-srtm.c:PACKET_copy_all Unexecuted instantiation: ssl_txt.c:PACKET_copy_all Unexecuted instantiation: quic-rcidm.c:PACKET_copy_all Unexecuted instantiation: quic_rcidm.c:PACKET_copy_all Unexecuted instantiation: quic-lcidm.c:PACKET_copy_all |
472 | | |
473 | | /* |
474 | | * Copy |pkt| bytes to a newly allocated buffer and store a pointer to the |
475 | | * result in |*data|, and the length in |len|. |
476 | | * If |*data| is not NULL, the old data is OPENSSL_free'd. |
477 | | * If the packet is empty, or malloc fails, |*data| will be set to NULL. |
478 | | * Returns 1 if the malloc succeeds and 0 otherwise. |
479 | | * Does not forward PACKET position (because it is typically the last thing |
480 | | * done with a given PACKET). |
481 | | */ |
482 | | __owur static ossl_inline int PACKET_memdup(const PACKET *pkt, |
483 | | unsigned char **data, size_t *len) |
484 | 44.0k | { |
485 | 44.0k | size_t length; |
486 | | |
487 | 44.0k | OPENSSL_free(*data); |
488 | 44.0k | *data = NULL; |
489 | 44.0k | *len = 0; |
490 | | |
491 | 44.0k | length = PACKET_remaining(pkt); |
492 | | |
493 | 44.0k | if (length == 0) |
494 | 457 | return 1; |
495 | | |
496 | 43.6k | *data = OPENSSL_memdup(pkt->curr, length); |
497 | 43.6k | if (*data == NULL) |
498 | 0 | return 0; |
499 | | |
500 | 43.6k | *len = length; |
501 | 43.6k | return 1; |
502 | 43.6k | } Unexecuted instantiation: params.c:PACKET_memdup Unexecuted instantiation: encode_key2any.c:PACKET_memdup Unexecuted instantiation: hkdf.c:PACKET_memdup Unexecuted instantiation: x942kdf.c:PACKET_memdup Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_memdup Unexecuted instantiation: dsa_sig.c:PACKET_memdup Unexecuted instantiation: ecdsa_sig.c:PACKET_memdup Unexecuted instantiation: eddsa_sig.c:PACKET_memdup Unexecuted instantiation: ml_dsa_sig.c:PACKET_memdup Unexecuted instantiation: rsa_sig.c:PACKET_memdup Unexecuted instantiation: slh_dsa_sig.c:PACKET_memdup Unexecuted instantiation: sm2_sig.c:PACKET_memdup Unexecuted instantiation: der_dsa_sig.c:PACKET_memdup Unexecuted instantiation: der_ec_sig.c:PACKET_memdup Unexecuted instantiation: der_ecx_key.c:PACKET_memdup Unexecuted instantiation: der_hkdf_gen.c:PACKET_memdup Unexecuted instantiation: der_ml_dsa_key.c:PACKET_memdup Unexecuted instantiation: der_rsa_key.c:PACKET_memdup Unexecuted instantiation: der_slh_dsa_key.c:PACKET_memdup Unexecuted instantiation: der_wrap_gen.c:PACKET_memdup Unexecuted instantiation: dsa_asn1.c:PACKET_memdup Unexecuted instantiation: dsa_sign.c:PACKET_memdup Unexecuted instantiation: ec_asn1.c:PACKET_memdup Unexecuted instantiation: hpke_util.c:PACKET_memdup Unexecuted instantiation: asn1_dsa.c:PACKET_memdup Unexecuted instantiation: der_writer.c:PACKET_memdup Unexecuted instantiation: packet.c:PACKET_memdup Unexecuted instantiation: ml_dsa_encoders.c:PACKET_memdup Unexecuted instantiation: ml_dsa_key.c:PACKET_memdup Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_memdup Unexecuted instantiation: ml_dsa_matrix.c:PACKET_memdup Unexecuted instantiation: ml_dsa_ntt.c:PACKET_memdup Unexecuted instantiation: ml_dsa_params.c:PACKET_memdup Unexecuted instantiation: ml_dsa_sample.c:PACKET_memdup Unexecuted instantiation: ml_dsa_sign.c:PACKET_memdup Unexecuted instantiation: slh_dsa.c:PACKET_memdup Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_memdup Unexecuted instantiation: slh_dsa_key.c:PACKET_memdup Unexecuted instantiation: slh_fors.c:PACKET_memdup Unexecuted instantiation: slh_hash.c:PACKET_memdup Unexecuted instantiation: slh_hypertree.c:PACKET_memdup Unexecuted instantiation: slh_xmss.c:PACKET_memdup Unexecuted instantiation: der_rsa_sig.c:PACKET_memdup Unexecuted instantiation: der_sm2_sig.c:PACKET_memdup Unexecuted instantiation: der_digests_gen.c:PACKET_memdup Unexecuted instantiation: der_dsa_gen.c:PACKET_memdup Unexecuted instantiation: der_ec_gen.c:PACKET_memdup Unexecuted instantiation: der_ecx_gen.c:PACKET_memdup Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_memdup Unexecuted instantiation: der_rsa_gen.c:PACKET_memdup Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_memdup Unexecuted instantiation: punycode.c:PACKET_memdup Unexecuted instantiation: slh_wots.c:PACKET_memdup Unexecuted instantiation: der_sm2_gen.c:PACKET_memdup Unexecuted instantiation: quic-client.c:PACKET_memdup Unexecuted instantiation: ssl_cert.c:PACKET_memdup Unexecuted instantiation: ssl_ciph.c:PACKET_memdup Unexecuted instantiation: ssl_init.c:PACKET_memdup Line | Count | Source | 484 | 36.9k | { | 485 | 36.9k | size_t length; | 486 | | | 487 | 36.9k | OPENSSL_free(*data); | 488 | 36.9k | *data = NULL; | 489 | 36.9k | *len = 0; | 490 | | | 491 | 36.9k | length = PACKET_remaining(pkt); | 492 | | | 493 | 36.9k | if (length == 0) | 494 | 0 | return 1; | 495 | | | 496 | 36.9k | *data = OPENSSL_memdup(pkt->curr, length); | 497 | 36.9k | if (*data == NULL) | 498 | 0 | return 0; | 499 | | | 500 | 36.9k | *len = length; | 501 | 36.9k | return 1; | 502 | 36.9k | } |
Unexecuted instantiation: ssl_mcnf.c:PACKET_memdup Unexecuted instantiation: ssl_sess.c:PACKET_memdup Unexecuted instantiation: t1_lib.c:PACKET_memdup Unexecuted instantiation: tls13_enc.c:PACKET_memdup Unexecuted instantiation: tls_depr.c:PACKET_memdup Unexecuted instantiation: tls_srp.c:PACKET_memdup Unexecuted instantiation: quic_impl.c:PACKET_memdup Unexecuted instantiation: quic_method.c:PACKET_memdup Unexecuted instantiation: quic_obj.c:PACKET_memdup Unexecuted instantiation: quic_port.c:PACKET_memdup Unexecuted instantiation: quic_record_rx.c:PACKET_memdup Unexecuted instantiation: quic_record_shared.c:PACKET_memdup Unexecuted instantiation: quic_record_tx.c:PACKET_memdup Unexecuted instantiation: quic_record_util.c:PACKET_memdup Unexecuted instantiation: quic_rstream.c:PACKET_memdup Unexecuted instantiation: quic_sf_list.c:PACKET_memdup Unexecuted instantiation: quic_srtm.c:PACKET_memdup Unexecuted instantiation: quic_sstream.c:PACKET_memdup Unexecuted instantiation: quic_stream_map.c:PACKET_memdup Unexecuted instantiation: quic_thread_assist.c:PACKET_memdup Unexecuted instantiation: quic_tls.c:PACKET_memdup Unexecuted instantiation: quic_txp.c:PACKET_memdup Unexecuted instantiation: quic_txpim.c:PACKET_memdup Unexecuted instantiation: quic_wire.c:PACKET_memdup Unexecuted instantiation: quic_wire_pkt.c:PACKET_memdup Unexecuted instantiation: rec_layer_s3.c:PACKET_memdup Unexecuted instantiation: dtls_meth.c:PACKET_memdup Unexecuted instantiation: tls1_meth.c:PACKET_memdup Unexecuted instantiation: tls_common.c:PACKET_memdup Unexecuted instantiation: tls_multib.c:PACKET_memdup Unexecuted instantiation: tlsany_meth.c:PACKET_memdup Unexecuted instantiation: extensions.c:PACKET_memdup extensions_clnt.c:PACKET_memdup Line | Count | Source | 484 | 55 | { | 485 | 55 | size_t length; | 486 | | | 487 | 55 | OPENSSL_free(*data); | 488 | 55 | *data = NULL; | 489 | 55 | *len = 0; | 490 | | | 491 | 55 | length = PACKET_remaining(pkt); | 492 | | | 493 | 55 | if (length == 0) | 494 | 11 | return 1; | 495 | | | 496 | 44 | *data = OPENSSL_memdup(pkt->curr, length); | 497 | 44 | if (*data == NULL) | 498 | 0 | return 0; | 499 | | | 500 | 44 | *len = length; | 501 | 44 | return 1; | 502 | 44 | } |
Unexecuted instantiation: extensions_cust.c:PACKET_memdup extensions_srvr.c:PACKET_memdup Line | Count | Source | 484 | 6.07k | { | 485 | 6.07k | size_t length; | 486 | | | 487 | 6.07k | OPENSSL_free(*data); | 488 | 6.07k | *data = NULL; | 489 | 6.07k | *len = 0; | 490 | | | 491 | 6.07k | length = PACKET_remaining(pkt); | 492 | | | 493 | 6.07k | if (length == 0) | 494 | 0 | return 1; | 495 | | | 496 | 6.07k | *data = OPENSSL_memdup(pkt->curr, length); | 497 | 6.07k | if (*data == NULL) | 498 | 0 | return 0; | 499 | | | 500 | 6.07k | *len = length; | 501 | 6.07k | return 1; | 502 | 6.07k | } |
Unexecuted instantiation: statem.c:PACKET_memdup statem_clnt.c:PACKET_memdup Line | Count | Source | 484 | 955 | { | 485 | 955 | size_t length; | 486 | | | 487 | 955 | OPENSSL_free(*data); | 488 | 955 | *data = NULL; | 489 | 955 | *len = 0; | 490 | | | 491 | 955 | length = PACKET_remaining(pkt); | 492 | | | 493 | 955 | if (length == 0) | 494 | 446 | return 1; | 495 | | | 496 | 509 | *data = OPENSSL_memdup(pkt->curr, length); | 497 | 509 | if (*data == NULL) | 498 | 0 | return 0; | 499 | | | 500 | 509 | *len = length; | 501 | 509 | return 1; | 502 | 509 | } |
Unexecuted instantiation: statem_dtls.c:PACKET_memdup Unexecuted instantiation: statem_lib.c:PACKET_memdup Unexecuted instantiation: statem_srvr.c:PACKET_memdup Unexecuted instantiation: ech_helper.c:PACKET_memdup Unexecuted instantiation: ech_internal.c:PACKET_memdup Unexecuted instantiation: ech_store.c:PACKET_memdup Unexecuted instantiation: d1_lib.c:PACKET_memdup Unexecuted instantiation: d1_srtp.c:PACKET_memdup Unexecuted instantiation: methods.c:PACKET_memdup Unexecuted instantiation: pqueue.c:PACKET_memdup Unexecuted instantiation: s3_enc.c:PACKET_memdup Unexecuted instantiation: s3_lib.c:PACKET_memdup Unexecuted instantiation: s3_msg.c:PACKET_memdup Unexecuted instantiation: ssl_asn1.c:PACKET_memdup Unexecuted instantiation: ssl_conf.c:PACKET_memdup Unexecuted instantiation: ssl_rsa.c:PACKET_memdup Unexecuted instantiation: t1_enc.c:PACKET_memdup Unexecuted instantiation: qlog_event_helpers.c:PACKET_memdup Unexecuted instantiation: quic_ackm.c:PACKET_memdup Unexecuted instantiation: quic_channel.c:PACKET_memdup Unexecuted instantiation: quic_demux.c:PACKET_memdup Unexecuted instantiation: quic_engine.c:PACKET_memdup Unexecuted instantiation: quic_fifd.c:PACKET_memdup Unexecuted instantiation: quic_lcidm.c:PACKET_memdup Unexecuted instantiation: quic_rx_depack.c:PACKET_memdup Unexecuted instantiation: rec_layer_d1.c:PACKET_memdup Unexecuted instantiation: tls13_meth.c:PACKET_memdup Unexecuted instantiation: d1_msg.c:PACKET_memdup Unexecuted instantiation: quic-server.c:PACKET_memdup Unexecuted instantiation: quic-srtm.c:PACKET_memdup Unexecuted instantiation: ssl_txt.c:PACKET_memdup Unexecuted instantiation: quic-rcidm.c:PACKET_memdup Unexecuted instantiation: quic_rcidm.c:PACKET_memdup Unexecuted instantiation: quic-lcidm.c:PACKET_memdup |
503 | | |
504 | | /* |
505 | | * Read a C string from |pkt| and copy to a newly allocated, NUL-terminated |
506 | | * buffer. Store a pointer to the result in |*data|. |
507 | | * If |*data| is not NULL, the old data is OPENSSL_free'd. |
508 | | * If the data in |pkt| does not contain a NUL-byte, the entire data is |
509 | | * copied and NUL-terminated. |
510 | | * Returns 1 if the malloc succeeds and 0 otherwise. |
511 | | * Does not forward PACKET position (because it is typically the last thing done |
512 | | * with a given PACKET). |
513 | | */ |
514 | | __owur static ossl_inline int PACKET_strndup(const PACKET *pkt, char **data) |
515 | 9.16k | { |
516 | 9.16k | OPENSSL_free(*data); |
517 | | |
518 | | /* This will succeed on an empty packet, unless pkt->curr == NULL. */ |
519 | 9.16k | *data = OPENSSL_strndup((const char *)pkt->curr, PACKET_remaining(pkt)); |
520 | 9.16k | return (*data != NULL); |
521 | 9.16k | } Unexecuted instantiation: params.c:PACKET_strndup Unexecuted instantiation: encode_key2any.c:PACKET_strndup Unexecuted instantiation: hkdf.c:PACKET_strndup Unexecuted instantiation: x942kdf.c:PACKET_strndup Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_strndup Unexecuted instantiation: dsa_sig.c:PACKET_strndup Unexecuted instantiation: ecdsa_sig.c:PACKET_strndup Unexecuted instantiation: eddsa_sig.c:PACKET_strndup Unexecuted instantiation: ml_dsa_sig.c:PACKET_strndup Unexecuted instantiation: rsa_sig.c:PACKET_strndup Unexecuted instantiation: slh_dsa_sig.c:PACKET_strndup Unexecuted instantiation: sm2_sig.c:PACKET_strndup Unexecuted instantiation: der_dsa_sig.c:PACKET_strndup Unexecuted instantiation: der_ec_sig.c:PACKET_strndup Unexecuted instantiation: der_ecx_key.c:PACKET_strndup Unexecuted instantiation: der_hkdf_gen.c:PACKET_strndup Unexecuted instantiation: der_ml_dsa_key.c:PACKET_strndup Unexecuted instantiation: der_rsa_key.c:PACKET_strndup Unexecuted instantiation: der_slh_dsa_key.c:PACKET_strndup Unexecuted instantiation: der_wrap_gen.c:PACKET_strndup Unexecuted instantiation: dsa_asn1.c:PACKET_strndup Unexecuted instantiation: dsa_sign.c:PACKET_strndup Unexecuted instantiation: ec_asn1.c:PACKET_strndup Unexecuted instantiation: hpke_util.c:PACKET_strndup Unexecuted instantiation: asn1_dsa.c:PACKET_strndup Unexecuted instantiation: der_writer.c:PACKET_strndup Unexecuted instantiation: packet.c:PACKET_strndup Unexecuted instantiation: ml_dsa_encoders.c:PACKET_strndup Unexecuted instantiation: ml_dsa_key.c:PACKET_strndup Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_strndup Unexecuted instantiation: ml_dsa_matrix.c:PACKET_strndup Unexecuted instantiation: ml_dsa_ntt.c:PACKET_strndup Unexecuted instantiation: ml_dsa_params.c:PACKET_strndup Unexecuted instantiation: ml_dsa_sample.c:PACKET_strndup Unexecuted instantiation: ml_dsa_sign.c:PACKET_strndup Unexecuted instantiation: slh_dsa.c:PACKET_strndup Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_strndup Unexecuted instantiation: slh_dsa_key.c:PACKET_strndup Unexecuted instantiation: slh_fors.c:PACKET_strndup Unexecuted instantiation: slh_hash.c:PACKET_strndup Unexecuted instantiation: slh_hypertree.c:PACKET_strndup Unexecuted instantiation: slh_xmss.c:PACKET_strndup Unexecuted instantiation: der_rsa_sig.c:PACKET_strndup Unexecuted instantiation: der_sm2_sig.c:PACKET_strndup Unexecuted instantiation: der_digests_gen.c:PACKET_strndup Unexecuted instantiation: der_dsa_gen.c:PACKET_strndup Unexecuted instantiation: der_ec_gen.c:PACKET_strndup Unexecuted instantiation: der_ecx_gen.c:PACKET_strndup Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_strndup Unexecuted instantiation: der_rsa_gen.c:PACKET_strndup Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_strndup Unexecuted instantiation: punycode.c:PACKET_strndup Unexecuted instantiation: slh_wots.c:PACKET_strndup Unexecuted instantiation: der_sm2_gen.c:PACKET_strndup Unexecuted instantiation: quic-client.c:PACKET_strndup Unexecuted instantiation: ssl_cert.c:PACKET_strndup Unexecuted instantiation: ssl_ciph.c:PACKET_strndup Unexecuted instantiation: ssl_init.c:PACKET_strndup Unexecuted instantiation: ssl_lib.c:PACKET_strndup Unexecuted instantiation: ssl_mcnf.c:PACKET_strndup Unexecuted instantiation: ssl_sess.c:PACKET_strndup Unexecuted instantiation: t1_lib.c:PACKET_strndup Unexecuted instantiation: tls13_enc.c:PACKET_strndup Unexecuted instantiation: tls_depr.c:PACKET_strndup Unexecuted instantiation: tls_srp.c:PACKET_strndup Unexecuted instantiation: quic_impl.c:PACKET_strndup Unexecuted instantiation: quic_method.c:PACKET_strndup Unexecuted instantiation: quic_obj.c:PACKET_strndup Unexecuted instantiation: quic_port.c:PACKET_strndup Unexecuted instantiation: quic_record_rx.c:PACKET_strndup Unexecuted instantiation: quic_record_shared.c:PACKET_strndup Unexecuted instantiation: quic_record_tx.c:PACKET_strndup Unexecuted instantiation: quic_record_util.c:PACKET_strndup Unexecuted instantiation: quic_rstream.c:PACKET_strndup Unexecuted instantiation: quic_sf_list.c:PACKET_strndup Unexecuted instantiation: quic_srtm.c:PACKET_strndup Unexecuted instantiation: quic_sstream.c:PACKET_strndup Unexecuted instantiation: quic_stream_map.c:PACKET_strndup Unexecuted instantiation: quic_thread_assist.c:PACKET_strndup Unexecuted instantiation: quic_tls.c:PACKET_strndup Unexecuted instantiation: quic_txp.c:PACKET_strndup Unexecuted instantiation: quic_txpim.c:PACKET_strndup Unexecuted instantiation: quic_wire.c:PACKET_strndup Unexecuted instantiation: quic_wire_pkt.c:PACKET_strndup Unexecuted instantiation: rec_layer_s3.c:PACKET_strndup Unexecuted instantiation: dtls_meth.c:PACKET_strndup Unexecuted instantiation: tls1_meth.c:PACKET_strndup Unexecuted instantiation: tls_common.c:PACKET_strndup Unexecuted instantiation: tls_multib.c:PACKET_strndup Unexecuted instantiation: tlsany_meth.c:PACKET_strndup Unexecuted instantiation: extensions.c:PACKET_strndup Unexecuted instantiation: extensions_clnt.c:PACKET_strndup Unexecuted instantiation: extensions_cust.c:PACKET_strndup extensions_srvr.c:PACKET_strndup Line | Count | Source | 515 | 9.16k | { | 516 | 9.16k | OPENSSL_free(*data); | 517 | | | 518 | | /* This will succeed on an empty packet, unless pkt->curr == NULL. */ | 519 | 9.16k | *data = OPENSSL_strndup((const char *)pkt->curr, PACKET_remaining(pkt)); | 520 | | return (*data != NULL); | 521 | 9.16k | } |
Unexecuted instantiation: statem.c:PACKET_strndup Unexecuted instantiation: statem_clnt.c:PACKET_strndup Unexecuted instantiation: statem_dtls.c:PACKET_strndup Unexecuted instantiation: statem_lib.c:PACKET_strndup Unexecuted instantiation: statem_srvr.c:PACKET_strndup Unexecuted instantiation: ech_helper.c:PACKET_strndup Unexecuted instantiation: ech_internal.c:PACKET_strndup Unexecuted instantiation: ech_store.c:PACKET_strndup Unexecuted instantiation: d1_lib.c:PACKET_strndup Unexecuted instantiation: d1_srtp.c:PACKET_strndup Unexecuted instantiation: methods.c:PACKET_strndup Unexecuted instantiation: pqueue.c:PACKET_strndup Unexecuted instantiation: s3_enc.c:PACKET_strndup Unexecuted instantiation: s3_lib.c:PACKET_strndup Unexecuted instantiation: s3_msg.c:PACKET_strndup Unexecuted instantiation: ssl_asn1.c:PACKET_strndup Unexecuted instantiation: ssl_conf.c:PACKET_strndup Unexecuted instantiation: ssl_rsa.c:PACKET_strndup Unexecuted instantiation: t1_enc.c:PACKET_strndup Unexecuted instantiation: qlog_event_helpers.c:PACKET_strndup Unexecuted instantiation: quic_ackm.c:PACKET_strndup Unexecuted instantiation: quic_channel.c:PACKET_strndup Unexecuted instantiation: quic_demux.c:PACKET_strndup Unexecuted instantiation: quic_engine.c:PACKET_strndup Unexecuted instantiation: quic_fifd.c:PACKET_strndup Unexecuted instantiation: quic_lcidm.c:PACKET_strndup Unexecuted instantiation: quic_rx_depack.c:PACKET_strndup Unexecuted instantiation: rec_layer_d1.c:PACKET_strndup Unexecuted instantiation: tls13_meth.c:PACKET_strndup Unexecuted instantiation: d1_msg.c:PACKET_strndup Unexecuted instantiation: quic-server.c:PACKET_strndup Unexecuted instantiation: quic-srtm.c:PACKET_strndup Unexecuted instantiation: ssl_txt.c:PACKET_strndup Unexecuted instantiation: quic-rcidm.c:PACKET_strndup Unexecuted instantiation: quic_rcidm.c:PACKET_strndup Unexecuted instantiation: quic-lcidm.c:PACKET_strndup |
522 | | |
523 | | /* Returns 1 if |pkt| contains at least one 0-byte, 0 otherwise. */ |
524 | | static ossl_inline int PACKET_contains_zero_byte(const PACKET *pkt) |
525 | 9.19k | { |
526 | 9.19k | return memchr(pkt->curr, 0, pkt->remaining) != NULL; |
527 | 9.19k | } Unexecuted instantiation: params.c:PACKET_contains_zero_byte Unexecuted instantiation: encode_key2any.c:PACKET_contains_zero_byte Unexecuted instantiation: hkdf.c:PACKET_contains_zero_byte Unexecuted instantiation: x942kdf.c:PACKET_contains_zero_byte Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_contains_zero_byte Unexecuted instantiation: dsa_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: ecdsa_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: eddsa_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: ml_dsa_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: rsa_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: slh_dsa_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: sm2_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: der_dsa_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: der_ec_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: der_ecx_key.c:PACKET_contains_zero_byte Unexecuted instantiation: der_hkdf_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: der_ml_dsa_key.c:PACKET_contains_zero_byte Unexecuted instantiation: der_rsa_key.c:PACKET_contains_zero_byte Unexecuted instantiation: der_slh_dsa_key.c:PACKET_contains_zero_byte Unexecuted instantiation: der_wrap_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: dsa_asn1.c:PACKET_contains_zero_byte Unexecuted instantiation: dsa_sign.c:PACKET_contains_zero_byte Unexecuted instantiation: ec_asn1.c:PACKET_contains_zero_byte Unexecuted instantiation: hpke_util.c:PACKET_contains_zero_byte Unexecuted instantiation: asn1_dsa.c:PACKET_contains_zero_byte Unexecuted instantiation: der_writer.c:PACKET_contains_zero_byte Unexecuted instantiation: packet.c:PACKET_contains_zero_byte Unexecuted instantiation: ml_dsa_encoders.c:PACKET_contains_zero_byte Unexecuted instantiation: ml_dsa_key.c:PACKET_contains_zero_byte Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_contains_zero_byte Unexecuted instantiation: ml_dsa_matrix.c:PACKET_contains_zero_byte Unexecuted instantiation: ml_dsa_ntt.c:PACKET_contains_zero_byte Unexecuted instantiation: ml_dsa_params.c:PACKET_contains_zero_byte Unexecuted instantiation: ml_dsa_sample.c:PACKET_contains_zero_byte Unexecuted instantiation: ml_dsa_sign.c:PACKET_contains_zero_byte Unexecuted instantiation: slh_dsa.c:PACKET_contains_zero_byte Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_contains_zero_byte Unexecuted instantiation: slh_dsa_key.c:PACKET_contains_zero_byte Unexecuted instantiation: slh_fors.c:PACKET_contains_zero_byte Unexecuted instantiation: slh_hash.c:PACKET_contains_zero_byte Unexecuted instantiation: slh_hypertree.c:PACKET_contains_zero_byte Unexecuted instantiation: slh_xmss.c:PACKET_contains_zero_byte Unexecuted instantiation: der_rsa_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: der_sm2_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: der_digests_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: der_dsa_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: der_ec_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: der_ecx_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: der_rsa_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: punycode.c:PACKET_contains_zero_byte Unexecuted instantiation: slh_wots.c:PACKET_contains_zero_byte Unexecuted instantiation: der_sm2_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: quic-client.c:PACKET_contains_zero_byte Unexecuted instantiation: ssl_cert.c:PACKET_contains_zero_byte Unexecuted instantiation: ssl_ciph.c:PACKET_contains_zero_byte Unexecuted instantiation: ssl_init.c:PACKET_contains_zero_byte Unexecuted instantiation: ssl_lib.c:PACKET_contains_zero_byte Unexecuted instantiation: ssl_mcnf.c:PACKET_contains_zero_byte Unexecuted instantiation: ssl_sess.c:PACKET_contains_zero_byte Unexecuted instantiation: t1_lib.c:PACKET_contains_zero_byte Unexecuted instantiation: tls13_enc.c:PACKET_contains_zero_byte Unexecuted instantiation: tls_depr.c:PACKET_contains_zero_byte Unexecuted instantiation: tls_srp.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_impl.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_method.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_obj.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_port.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_record_rx.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_record_shared.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_record_tx.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_record_util.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_rstream.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_sf_list.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_srtm.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_sstream.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_stream_map.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_thread_assist.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_tls.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_txp.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_txpim.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_wire.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_wire_pkt.c:PACKET_contains_zero_byte Unexecuted instantiation: rec_layer_s3.c:PACKET_contains_zero_byte Unexecuted instantiation: dtls_meth.c:PACKET_contains_zero_byte Unexecuted instantiation: tls1_meth.c:PACKET_contains_zero_byte Unexecuted instantiation: tls_common.c:PACKET_contains_zero_byte Unexecuted instantiation: tls_multib.c:PACKET_contains_zero_byte Unexecuted instantiation: tlsany_meth.c:PACKET_contains_zero_byte Unexecuted instantiation: extensions.c:PACKET_contains_zero_byte Unexecuted instantiation: extensions_clnt.c:PACKET_contains_zero_byte Unexecuted instantiation: extensions_cust.c:PACKET_contains_zero_byte extensions_srvr.c:PACKET_contains_zero_byte Line | Count | Source | 525 | 9.19k | { | 526 | | return memchr(pkt->curr, 0, pkt->remaining) != NULL; | 527 | 9.19k | } |
Unexecuted instantiation: statem.c:PACKET_contains_zero_byte Unexecuted instantiation: statem_clnt.c:PACKET_contains_zero_byte Unexecuted instantiation: statem_dtls.c:PACKET_contains_zero_byte Unexecuted instantiation: statem_lib.c:PACKET_contains_zero_byte Unexecuted instantiation: statem_srvr.c:PACKET_contains_zero_byte Unexecuted instantiation: ech_helper.c:PACKET_contains_zero_byte Unexecuted instantiation: ech_internal.c:PACKET_contains_zero_byte Unexecuted instantiation: ech_store.c:PACKET_contains_zero_byte Unexecuted instantiation: d1_lib.c:PACKET_contains_zero_byte Unexecuted instantiation: d1_srtp.c:PACKET_contains_zero_byte Unexecuted instantiation: methods.c:PACKET_contains_zero_byte Unexecuted instantiation: pqueue.c:PACKET_contains_zero_byte Unexecuted instantiation: s3_enc.c:PACKET_contains_zero_byte Unexecuted instantiation: s3_lib.c:PACKET_contains_zero_byte Unexecuted instantiation: s3_msg.c:PACKET_contains_zero_byte Unexecuted instantiation: ssl_asn1.c:PACKET_contains_zero_byte Unexecuted instantiation: ssl_conf.c:PACKET_contains_zero_byte Unexecuted instantiation: ssl_rsa.c:PACKET_contains_zero_byte Unexecuted instantiation: t1_enc.c:PACKET_contains_zero_byte Unexecuted instantiation: qlog_event_helpers.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_ackm.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_channel.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_demux.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_engine.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_fifd.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_lcidm.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_rx_depack.c:PACKET_contains_zero_byte Unexecuted instantiation: rec_layer_d1.c:PACKET_contains_zero_byte Unexecuted instantiation: tls13_meth.c:PACKET_contains_zero_byte Unexecuted instantiation: d1_msg.c:PACKET_contains_zero_byte Unexecuted instantiation: quic-server.c:PACKET_contains_zero_byte Unexecuted instantiation: quic-srtm.c:PACKET_contains_zero_byte Unexecuted instantiation: ssl_txt.c:PACKET_contains_zero_byte Unexecuted instantiation: quic-rcidm.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_rcidm.c:PACKET_contains_zero_byte Unexecuted instantiation: quic-lcidm.c:PACKET_contains_zero_byte |
528 | | |
529 | | /* Move the current reading position forward |len| bytes */ |
530 | | __owur static ossl_inline int PACKET_forward(PACKET *pkt, size_t len) |
531 | 9.39M | { |
532 | 9.39M | if (PACKET_remaining(pkt) < len) |
533 | 404 | return 0; |
534 | | |
535 | 9.39M | packet_forward(pkt, len); |
536 | | |
537 | 9.39M | return 1; |
538 | 9.39M | } Unexecuted instantiation: params.c:PACKET_forward Unexecuted instantiation: encode_key2any.c:PACKET_forward Unexecuted instantiation: hkdf.c:PACKET_forward Unexecuted instantiation: x942kdf.c:PACKET_forward Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_forward Unexecuted instantiation: dsa_sig.c:PACKET_forward Unexecuted instantiation: ecdsa_sig.c:PACKET_forward Unexecuted instantiation: eddsa_sig.c:PACKET_forward Unexecuted instantiation: ml_dsa_sig.c:PACKET_forward Unexecuted instantiation: rsa_sig.c:PACKET_forward Unexecuted instantiation: slh_dsa_sig.c:PACKET_forward Unexecuted instantiation: sm2_sig.c:PACKET_forward Unexecuted instantiation: der_dsa_sig.c:PACKET_forward Unexecuted instantiation: der_ec_sig.c:PACKET_forward Unexecuted instantiation: der_ecx_key.c:PACKET_forward Unexecuted instantiation: der_hkdf_gen.c:PACKET_forward Unexecuted instantiation: der_ml_dsa_key.c:PACKET_forward Unexecuted instantiation: der_rsa_key.c:PACKET_forward Unexecuted instantiation: der_slh_dsa_key.c:PACKET_forward Unexecuted instantiation: der_wrap_gen.c:PACKET_forward Unexecuted instantiation: dsa_asn1.c:PACKET_forward Unexecuted instantiation: dsa_sign.c:PACKET_forward Unexecuted instantiation: ec_asn1.c:PACKET_forward Unexecuted instantiation: hpke_util.c:PACKET_forward Unexecuted instantiation: asn1_dsa.c:PACKET_forward Unexecuted instantiation: der_writer.c:PACKET_forward Unexecuted instantiation: packet.c:PACKET_forward Unexecuted instantiation: ml_dsa_encoders.c:PACKET_forward Unexecuted instantiation: ml_dsa_key.c:PACKET_forward Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_forward Unexecuted instantiation: ml_dsa_matrix.c:PACKET_forward Unexecuted instantiation: ml_dsa_ntt.c:PACKET_forward Unexecuted instantiation: ml_dsa_params.c:PACKET_forward Unexecuted instantiation: ml_dsa_sample.c:PACKET_forward Unexecuted instantiation: ml_dsa_sign.c:PACKET_forward Unexecuted instantiation: slh_dsa.c:PACKET_forward Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_forward Unexecuted instantiation: slh_dsa_key.c:PACKET_forward Unexecuted instantiation: slh_fors.c:PACKET_forward Unexecuted instantiation: slh_hash.c:PACKET_forward Unexecuted instantiation: slh_hypertree.c:PACKET_forward Unexecuted instantiation: slh_xmss.c:PACKET_forward Unexecuted instantiation: der_rsa_sig.c:PACKET_forward Unexecuted instantiation: der_sm2_sig.c:PACKET_forward Unexecuted instantiation: der_digests_gen.c:PACKET_forward Unexecuted instantiation: der_dsa_gen.c:PACKET_forward Unexecuted instantiation: der_ec_gen.c:PACKET_forward Unexecuted instantiation: der_ecx_gen.c:PACKET_forward Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_forward Unexecuted instantiation: der_rsa_gen.c:PACKET_forward Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_forward Unexecuted instantiation: punycode.c:PACKET_forward Unexecuted instantiation: slh_wots.c:PACKET_forward Unexecuted instantiation: der_sm2_gen.c:PACKET_forward Unexecuted instantiation: quic-client.c:PACKET_forward Unexecuted instantiation: ssl_cert.c:PACKET_forward Unexecuted instantiation: ssl_ciph.c:PACKET_forward Unexecuted instantiation: ssl_init.c:PACKET_forward Unexecuted instantiation: ssl_mcnf.c:PACKET_forward Unexecuted instantiation: ssl_sess.c:PACKET_forward Unexecuted instantiation: t1_lib.c:PACKET_forward Unexecuted instantiation: tls13_enc.c:PACKET_forward Unexecuted instantiation: tls_depr.c:PACKET_forward Unexecuted instantiation: tls_srp.c:PACKET_forward Unexecuted instantiation: quic_impl.c:PACKET_forward Unexecuted instantiation: quic_method.c:PACKET_forward Unexecuted instantiation: quic_obj.c:PACKET_forward Unexecuted instantiation: quic_port.c:PACKET_forward quic_record_rx.c:PACKET_forward Line | Count | Source | 531 | 1.06M | { | 532 | 1.06M | if (PACKET_remaining(pkt) < len) | 533 | 0 | return 0; | 534 | | | 535 | 1.06M | packet_forward(pkt, len); | 536 | | | 537 | 1.06M | return 1; | 538 | 1.06M | } |
Unexecuted instantiation: quic_record_shared.c:PACKET_forward Unexecuted instantiation: quic_record_tx.c:PACKET_forward Unexecuted instantiation: quic_record_util.c:PACKET_forward Unexecuted instantiation: quic_rstream.c:PACKET_forward Unexecuted instantiation: quic_sf_list.c:PACKET_forward Unexecuted instantiation: quic_srtm.c:PACKET_forward Unexecuted instantiation: quic_sstream.c:PACKET_forward Unexecuted instantiation: quic_stream_map.c:PACKET_forward Unexecuted instantiation: quic_thread_assist.c:PACKET_forward Unexecuted instantiation: quic_tls.c:PACKET_forward Unexecuted instantiation: quic_txp.c:PACKET_forward Unexecuted instantiation: quic_txpim.c:PACKET_forward quic_wire.c:PACKET_forward Line | Count | Source | 531 | 1.04M | { | 532 | 1.04M | if (PACKET_remaining(pkt) < len) | 533 | 392 | return 0; | 534 | | | 535 | 1.04M | packet_forward(pkt, len); | 536 | | | 537 | 1.04M | return 1; | 538 | 1.04M | } |
quic_wire_pkt.c:PACKET_forward Line | Count | Source | 531 | 7.19M | { | 532 | 7.19M | if (PACKET_remaining(pkt) < len) | 533 | 0 | return 0; | 534 | | | 535 | 7.19M | packet_forward(pkt, len); | 536 | | | 537 | 7.19M | return 1; | 538 | 7.19M | } |
Unexecuted instantiation: rec_layer_s3.c:PACKET_forward Unexecuted instantiation: dtls_meth.c:PACKET_forward Unexecuted instantiation: tls1_meth.c:PACKET_forward Unexecuted instantiation: tls_common.c:PACKET_forward Unexecuted instantiation: tls_multib.c:PACKET_forward Unexecuted instantiation: tlsany_meth.c:PACKET_forward extensions.c:PACKET_forward Line | Count | Source | 531 | 4 | { | 532 | 4 | if (PACKET_remaining(pkt) < len) | 533 | 0 | return 0; | 534 | | | 535 | 4 | packet_forward(pkt, len); | 536 | | | 537 | 4 | return 1; | 538 | 4 | } |
Unexecuted instantiation: extensions_clnt.c:PACKET_forward Unexecuted instantiation: extensions_cust.c:PACKET_forward Unexecuted instantiation: extensions_srvr.c:PACKET_forward Line | Count | Source | 531 | 80.9k | { | 532 | 80.9k | if (PACKET_remaining(pkt) < len) | 533 | 0 | return 0; | 534 | | | 535 | 80.9k | packet_forward(pkt, len); | 536 | | | 537 | 80.9k | return 1; | 538 | 80.9k | } |
statem_clnt.c:PACKET_forward Line | Count | Source | 531 | 5.29k | { | 532 | 5.29k | if (PACKET_remaining(pkt) < len) | 533 | 12 | return 0; | 534 | | | 535 | 5.28k | packet_forward(pkt, len); | 536 | | | 537 | 5.28k | return 1; | 538 | 5.29k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_forward Unexecuted instantiation: statem_lib.c:PACKET_forward Unexecuted instantiation: statem_srvr.c:PACKET_forward Unexecuted instantiation: ech_helper.c:PACKET_forward Unexecuted instantiation: ech_internal.c:PACKET_forward Unexecuted instantiation: ech_store.c:PACKET_forward Unexecuted instantiation: d1_lib.c:PACKET_forward Unexecuted instantiation: d1_srtp.c:PACKET_forward Unexecuted instantiation: methods.c:PACKET_forward Unexecuted instantiation: pqueue.c:PACKET_forward Unexecuted instantiation: s3_enc.c:PACKET_forward Unexecuted instantiation: s3_lib.c:PACKET_forward Unexecuted instantiation: s3_msg.c:PACKET_forward Unexecuted instantiation: ssl_asn1.c:PACKET_forward Unexecuted instantiation: ssl_conf.c:PACKET_forward Unexecuted instantiation: ssl_rsa.c:PACKET_forward Unexecuted instantiation: t1_enc.c:PACKET_forward Unexecuted instantiation: qlog_event_helpers.c:PACKET_forward Unexecuted instantiation: quic_ackm.c:PACKET_forward Unexecuted instantiation: quic_channel.c:PACKET_forward Unexecuted instantiation: quic_demux.c:PACKET_forward Unexecuted instantiation: quic_engine.c:PACKET_forward Unexecuted instantiation: quic_fifd.c:PACKET_forward Unexecuted instantiation: quic_lcidm.c:PACKET_forward Unexecuted instantiation: quic_rx_depack.c:PACKET_forward Unexecuted instantiation: rec_layer_d1.c:PACKET_forward Unexecuted instantiation: tls13_meth.c:PACKET_forward Unexecuted instantiation: d1_msg.c:PACKET_forward Unexecuted instantiation: quic-server.c:PACKET_forward Unexecuted instantiation: quic-srtm.c:PACKET_forward Unexecuted instantiation: ssl_txt.c:PACKET_forward Unexecuted instantiation: quic-rcidm.c:PACKET_forward Unexecuted instantiation: quic_rcidm.c:PACKET_forward Unexecuted instantiation: quic-lcidm.c:PACKET_forward |
539 | | |
540 | | /* |
541 | | * Reads a variable-length vector prefixed with a one-byte length, and stores |
542 | | * the contents in |subpkt|. |pkt| can equal |subpkt|. |
543 | | * Data is not copied: the |subpkt| packet will share its underlying buffer with |
544 | | * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|. |
545 | | * Upon failure, the original |pkt| and |subpkt| are not modified. |
546 | | */ |
547 | | __owur static ossl_inline int PACKET_get_length_prefixed_1(PACKET *pkt, |
548 | | PACKET *subpkt) |
549 | 218k | { |
550 | 218k | unsigned int length; |
551 | 218k | const unsigned char *data; |
552 | 218k | PACKET tmp = *pkt; |
553 | 218k | if (!PACKET_get_1(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |
554 | 1.50k | return 0; |
555 | 1.50k | } |
556 | | |
557 | 216k | *pkt = tmp; |
558 | 216k | subpkt->curr = data; |
559 | 216k | subpkt->msgstart = pkt->msgstart; |
560 | 216k | subpkt->remaining = length; |
561 | | |
562 | 216k | return 1; |
563 | 218k | } Unexecuted instantiation: params.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: encode_key2any.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: hkdf.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: x942kdf.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: dsa_sig.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: eddsa_sig.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: rsa_sig.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: sm2_sig.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_dsa_sig.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_ec_sig.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_ecx_key.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_rsa_key.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_wrap_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: dsa_asn1.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: dsa_sign.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ec_asn1.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: hpke_util.c:PACKET_get_length_prefixed_1 asn1_dsa.c:PACKET_get_length_prefixed_1 Line | Count | Source | 549 | 2.47k | { | 550 | 2.47k | unsigned int length; | 551 | 2.47k | const unsigned char *data; | 552 | 2.47k | PACKET tmp = *pkt; | 553 | 2.47k | if (!PACKET_get_1(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 554 | 411 | return 0; | 555 | 411 | } | 556 | | | 557 | 2.06k | *pkt = tmp; | 558 | 2.06k | subpkt->curr = data; | 559 | 2.06k | subpkt->msgstart = pkt->msgstart; | 560 | 2.06k | subpkt->remaining = length; | 561 | | | 562 | 2.06k | return 1; | 563 | 2.47k | } |
Unexecuted instantiation: der_writer.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: packet.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ml_dsa_key.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ml_dsa_params.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: slh_dsa.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: slh_dsa_key.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: slh_fors.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: slh_hash.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: slh_hypertree.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: slh_xmss.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_rsa_sig.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_sm2_sig.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_digests_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_dsa_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_ec_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_ecx_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_rsa_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: punycode.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: slh_wots.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic-client.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_cert.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_ciph.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_init.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_lib.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_mcnf.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_sess.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: t1_lib.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: tls13_enc.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: tls_depr.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: tls_srp.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_impl.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_method.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_obj.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_port.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_record_rx.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_record_shared.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_record_tx.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_record_util.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_rstream.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_sf_list.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_srtm.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_sstream.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_stream_map.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_thread_assist.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_tls.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_txp.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_txpim.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_wire.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: rec_layer_s3.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: dtls_meth.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: tls1_meth.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: tls_common.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: tls_multib.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: tlsany_meth.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: extensions.c:PACKET_get_length_prefixed_1 extensions_clnt.c:PACKET_get_length_prefixed_1 Line | Count | Source | 549 | 21.1k | { | 550 | 21.1k | unsigned int length; | 551 | 21.1k | const unsigned char *data; | 552 | 21.1k | PACKET tmp = *pkt; | 553 | 21.1k | if (!PACKET_get_1(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 554 | 48 | return 0; | 555 | 48 | } | 556 | | | 557 | 21.1k | *pkt = tmp; | 558 | 21.1k | subpkt->curr = data; | 559 | 21.1k | subpkt->msgstart = pkt->msgstart; | 560 | 21.1k | subpkt->remaining = length; | 561 | | | 562 | 21.1k | return 1; | 563 | 21.1k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_get_length_prefixed_1 extensions_srvr.c:PACKET_get_length_prefixed_1 Line | Count | Source | 549 | 2.87k | { | 550 | 2.87k | unsigned int length; | 551 | 2.87k | const unsigned char *data; | 552 | 2.87k | PACKET tmp = *pkt; | 553 | 2.87k | if (!PACKET_get_1(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 554 | 115 | return 0; | 555 | 115 | } | 556 | | | 557 | 2.76k | *pkt = tmp; | 558 | 2.76k | subpkt->curr = data; | 559 | 2.76k | subpkt->msgstart = pkt->msgstart; | 560 | 2.76k | subpkt->remaining = length; | 561 | | | 562 | 2.76k | return 1; | 563 | 2.87k | } |
Unexecuted instantiation: statem.c:PACKET_get_length_prefixed_1 statem_clnt.c:PACKET_get_length_prefixed_1 Line | Count | Source | 549 | 97.7k | { | 550 | 97.7k | unsigned int length; | 551 | 97.7k | const unsigned char *data; | 552 | 97.7k | PACKET tmp = *pkt; | 553 | 97.7k | if (!PACKET_get_1(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 554 | 758 | return 0; | 555 | 758 | } | 556 | | | 557 | 96.9k | *pkt = tmp; | 558 | 96.9k | subpkt->curr = data; | 559 | 96.9k | subpkt->msgstart = pkt->msgstart; | 560 | 96.9k | subpkt->remaining = length; | 561 | | | 562 | 96.9k | return 1; | 563 | 97.7k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: statem_lib.c:PACKET_get_length_prefixed_1 statem_srvr.c:PACKET_get_length_prefixed_1 Line | Count | Source | 549 | 93.8k | { | 550 | 93.8k | unsigned int length; | 551 | 93.8k | const unsigned char *data; | 552 | 93.8k | PACKET tmp = *pkt; | 553 | 93.8k | if (!PACKET_get_1(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 554 | 169 | return 0; | 555 | 169 | } | 556 | | | 557 | 93.7k | *pkt = tmp; | 558 | 93.7k | subpkt->curr = data; | 559 | 93.7k | subpkt->msgstart = pkt->msgstart; | 560 | 93.7k | subpkt->remaining = length; | 561 | | | 562 | 93.7k | return 1; | 563 | 93.8k | } |
Unexecuted instantiation: ech_helper.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ech_internal.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ech_store.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: d1_lib.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: d1_srtp.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: methods.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: pqueue.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: s3_enc.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: s3_lib.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: s3_msg.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_asn1.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_conf.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_rsa.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: t1_enc.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_ackm.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_channel.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_demux.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_engine.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_fifd.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_lcidm.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_rx_depack.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: rec_layer_d1.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: tls13_meth.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: d1_msg.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic-server.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic-srtm.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_txt.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic-rcidm.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_rcidm.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic-lcidm.c:PACKET_get_length_prefixed_1 |
564 | | |
565 | | /* |
566 | | * Like PACKET_get_length_prefixed_1, but additionally, fails when there are |
567 | | * leftover bytes in |pkt|. |
568 | | */ |
569 | | __owur static ossl_inline int PACKET_as_length_prefixed_1(PACKET *pkt, |
570 | | PACKET *subpkt) |
571 | 18.1k | { |
572 | 18.1k | unsigned int length; |
573 | 18.1k | const unsigned char *data; |
574 | 18.1k | PACKET tmp = *pkt; |
575 | 18.1k | if (!PACKET_get_1(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length) || PACKET_remaining(&tmp) != 0) { |
576 | 442 | return 0; |
577 | 442 | } |
578 | | |
579 | 17.6k | *pkt = tmp; |
580 | 17.6k | subpkt->curr = data; |
581 | 17.6k | subpkt->msgstart = pkt->msgstart; |
582 | 17.6k | subpkt->remaining = length; |
583 | | |
584 | 17.6k | return 1; |
585 | 18.1k | } Unexecuted instantiation: params.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: encode_key2any.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: hkdf.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: x942kdf.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: dsa_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ecdsa_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: eddsa_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ml_dsa_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: rsa_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: slh_dsa_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: sm2_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_dsa_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_ec_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_ecx_key.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_hkdf_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_rsa_key.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_wrap_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: dsa_asn1.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: dsa_sign.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ec_asn1.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: hpke_util.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: asn1_dsa.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_writer.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: packet.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ml_dsa_key.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ml_dsa_params.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ml_dsa_sample.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ml_dsa_sign.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: slh_dsa.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: slh_dsa_key.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: slh_fors.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: slh_hash.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: slh_hypertree.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: slh_xmss.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_rsa_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_sm2_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_digests_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_dsa_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_ec_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_ecx_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_rsa_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: punycode.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: slh_wots.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_sm2_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic-client.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_cert.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_ciph.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_init.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_lib.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_mcnf.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_sess.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: t1_lib.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: tls13_enc.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: tls_depr.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: tls_srp.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_impl.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_method.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_obj.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_port.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_record_rx.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_record_shared.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_record_tx.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_record_util.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_rstream.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_sf_list.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_srtm.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_sstream.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_stream_map.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_thread_assist.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_tls.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_txp.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_txpim.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_wire.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_wire_pkt.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: rec_layer_s3.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: dtls_meth.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: tls1_meth.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: tls_common.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: tls_multib.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: tlsany_meth.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: extensions.c:PACKET_as_length_prefixed_1 extensions_clnt.c:PACKET_as_length_prefixed_1 Line | Count | Source | 571 | 3.70k | { | 572 | 3.70k | unsigned int length; | 573 | 3.70k | const unsigned char *data; | 574 | 3.70k | PACKET tmp = *pkt; | 575 | 3.70k | if (!PACKET_get_1(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length) || PACKET_remaining(&tmp) != 0) { | 576 | 108 | return 0; | 577 | 108 | } | 578 | | | 579 | 3.59k | *pkt = tmp; | 580 | 3.59k | subpkt->curr = data; | 581 | 3.59k | subpkt->msgstart = pkt->msgstart; | 582 | 3.59k | subpkt->remaining = length; | 583 | | | 584 | 3.59k | return 1; | 585 | 3.70k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_as_length_prefixed_1 extensions_srvr.c:PACKET_as_length_prefixed_1 Line | Count | Source | 571 | 8.32k | { | 572 | 8.32k | unsigned int length; | 573 | 8.32k | const unsigned char *data; | 574 | 8.32k | PACKET tmp = *pkt; | 575 | 8.32k | if (!PACKET_get_1(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length) || PACKET_remaining(&tmp) != 0) { | 576 | 268 | return 0; | 577 | 268 | } | 578 | | | 579 | 8.05k | *pkt = tmp; | 580 | 8.05k | subpkt->curr = data; | 581 | 8.05k | subpkt->msgstart = pkt->msgstart; | 582 | 8.05k | subpkt->remaining = length; | 583 | | | 584 | 8.05k | return 1; | 585 | 8.32k | } |
Unexecuted instantiation: statem.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: statem_clnt.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: statem_dtls.c:PACKET_as_length_prefixed_1 statem_lib.c:PACKET_as_length_prefixed_1 Line | Count | Source | 571 | 6.08k | { | 572 | 6.08k | unsigned int length; | 573 | 6.08k | const unsigned char *data; | 574 | 6.08k | PACKET tmp = *pkt; | 575 | 6.08k | if (!PACKET_get_1(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length) || PACKET_remaining(&tmp) != 0) { | 576 | 66 | return 0; | 577 | 66 | } | 578 | | | 579 | 6.01k | *pkt = tmp; | 580 | 6.01k | subpkt->curr = data; | 581 | 6.01k | subpkt->msgstart = pkt->msgstart; | 582 | 6.01k | subpkt->remaining = length; | 583 | | | 584 | 6.01k | return 1; | 585 | 6.08k | } |
Unexecuted instantiation: statem_srvr.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ech_helper.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ech_internal.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ech_store.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: d1_lib.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: d1_srtp.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: methods.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: pqueue.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: s3_enc.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: s3_lib.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: s3_msg.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_asn1.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_conf.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_rsa.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: t1_enc.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: qlog_event_helpers.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_ackm.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_channel.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_demux.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_engine.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_fifd.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_lcidm.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_rx_depack.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: rec_layer_d1.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: tls13_meth.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: d1_msg.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic-server.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic-srtm.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_txt.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic-rcidm.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_rcidm.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic-lcidm.c:PACKET_as_length_prefixed_1 |
586 | | |
587 | | /* |
588 | | * Reads a variable-length vector prefixed with a two-byte length, and stores |
589 | | * the contents in |subpkt|. |pkt| can equal |subpkt|. |
590 | | * Data is not copied: the |subpkt| packet will share its underlying buffer with |
591 | | * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|. |
592 | | * Upon failure, the original |pkt| and |subpkt| are not modified. |
593 | | */ |
594 | | __owur static ossl_inline int PACKET_get_length_prefixed_2(PACKET *pkt, |
595 | | PACKET *subpkt) |
596 | 571k | { |
597 | 571k | unsigned int length; |
598 | 571k | const unsigned char *data; |
599 | 571k | PACKET tmp = *pkt; |
600 | | |
601 | 571k | if (!PACKET_get_net_2(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |
602 | 3.94k | return 0; |
603 | 3.94k | } |
604 | | |
605 | 567k | *pkt = tmp; |
606 | 567k | subpkt->curr = data; |
607 | 567k | subpkt->msgstart = pkt->msgstart; |
608 | 567k | subpkt->remaining = length; |
609 | | |
610 | 567k | return 1; |
611 | 571k | } Unexecuted instantiation: params.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: encode_key2any.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: hkdf.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: x942kdf.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: dsa_sig.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: eddsa_sig.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: rsa_sig.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: sm2_sig.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_dsa_sig.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_ec_sig.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_ecx_key.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_rsa_key.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_wrap_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: dsa_asn1.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: dsa_sign.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ec_asn1.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: hpke_util.c:PACKET_get_length_prefixed_2 asn1_dsa.c:PACKET_get_length_prefixed_2 Line | Count | Source | 596 | 8.54k | { | 597 | 8.54k | unsigned int length; | 598 | 8.54k | const unsigned char *data; | 599 | 8.54k | PACKET tmp = *pkt; | 600 | | | 601 | 8.54k | if (!PACKET_get_net_2(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 602 | 1.21k | return 0; | 603 | 1.21k | } | 604 | | | 605 | 7.33k | *pkt = tmp; | 606 | 7.33k | subpkt->curr = data; | 607 | 7.33k | subpkt->msgstart = pkt->msgstart; | 608 | 7.33k | subpkt->remaining = length; | 609 | | | 610 | 7.33k | return 1; | 611 | 8.54k | } |
Unexecuted instantiation: der_writer.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: packet.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ml_dsa_key.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ml_dsa_params.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: slh_dsa.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: slh_dsa_key.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: slh_fors.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: slh_hash.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: slh_hypertree.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: slh_xmss.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_rsa_sig.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_sm2_sig.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_digests_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_dsa_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_ec_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_ecx_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_rsa_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: punycode.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: slh_wots.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic-client.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_cert.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_ciph.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_init.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_lib.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_mcnf.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_sess.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: t1_lib.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: tls13_enc.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: tls_depr.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: tls_srp.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_impl.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_method.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_obj.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_port.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_record_rx.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_record_shared.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_record_tx.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_record_util.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_rstream.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_sf_list.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_srtm.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_sstream.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_stream_map.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_thread_assist.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_tls.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_txp.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_txpim.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_wire.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: rec_layer_s3.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: dtls_meth.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: tls1_meth.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: tls_common.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: tls_multib.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: tlsany_meth.c:PACKET_get_length_prefixed_2 extensions.c:PACKET_get_length_prefixed_2 Line | Count | Source | 596 | 406k | { | 597 | 406k | unsigned int length; | 598 | 406k | const unsigned char *data; | 599 | 406k | PACKET tmp = *pkt; | 600 | | | 601 | 406k | if (!PACKET_get_net_2(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 602 | 617 | return 0; | 603 | 617 | } | 604 | | | 605 | 406k | *pkt = tmp; | 606 | 406k | subpkt->curr = data; | 607 | 406k | subpkt->msgstart = pkt->msgstart; | 608 | 406k | subpkt->remaining = length; | 609 | | | 610 | 406k | return 1; | 611 | 406k | } |
Unexecuted instantiation: extensions_clnt.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: extensions_cust.c:PACKET_get_length_prefixed_2 extensions_srvr.c:PACKET_get_length_prefixed_2 Line | Count | Source | 596 | 17.0k | { | 597 | 17.0k | unsigned int length; | 598 | 17.0k | const unsigned char *data; | 599 | 17.0k | PACKET tmp = *pkt; | 600 | | | 601 | 17.0k | if (!PACKET_get_net_2(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 602 | 616 | return 0; | 603 | 616 | } | 604 | | | 605 | 16.4k | *pkt = tmp; | 606 | 16.4k | subpkt->curr = data; | 607 | 16.4k | subpkt->msgstart = pkt->msgstart; | 608 | 16.4k | subpkt->remaining = length; | 609 | | | 610 | 16.4k | return 1; | 611 | 17.0k | } |
Unexecuted instantiation: statem.c:PACKET_get_length_prefixed_2 statem_clnt.c:PACKET_get_length_prefixed_2 Line | Count | Source | 596 | 55.4k | { | 597 | 55.4k | unsigned int length; | 598 | 55.4k | const unsigned char *data; | 599 | 55.4k | PACKET tmp = *pkt; | 600 | | | 601 | 55.4k | if (!PACKET_get_net_2(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 602 | 567 | return 0; | 603 | 567 | } | 604 | | | 605 | 54.8k | *pkt = tmp; | 606 | 54.8k | subpkt->curr = data; | 607 | 54.8k | subpkt->msgstart = pkt->msgstart; | 608 | 54.8k | subpkt->remaining = length; | 609 | | | 610 | 54.8k | return 1; | 611 | 55.4k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_get_length_prefixed_2 statem_lib.c:PACKET_get_length_prefixed_2 Line | Count | Source | 596 | 932 | { | 597 | 932 | unsigned int length; | 598 | 932 | const unsigned char *data; | 599 | 932 | PACKET tmp = *pkt; | 600 | | | 601 | 932 | if (!PACKET_get_net_2(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 602 | 457 | return 0; | 603 | 457 | } | 604 | | | 605 | 475 | *pkt = tmp; | 606 | 475 | subpkt->curr = data; | 607 | 475 | subpkt->msgstart = pkt->msgstart; | 608 | 475 | subpkt->remaining = length; | 609 | | | 610 | 475 | return 1; | 611 | 932 | } |
statem_srvr.c:PACKET_get_length_prefixed_2 Line | Count | Source | 596 | 82.4k | { | 597 | 82.4k | unsigned int length; | 598 | 82.4k | const unsigned char *data; | 599 | 82.4k | PACKET tmp = *pkt; | 600 | | | 601 | 82.4k | if (!PACKET_get_net_2(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 602 | 476 | return 0; | 603 | 476 | } | 604 | | | 605 | 81.9k | *pkt = tmp; | 606 | 81.9k | subpkt->curr = data; | 607 | 81.9k | subpkt->msgstart = pkt->msgstart; | 608 | 81.9k | subpkt->remaining = length; | 609 | | | 610 | 81.9k | return 1; | 611 | 82.4k | } |
Unexecuted instantiation: ech_helper.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ech_internal.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ech_store.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: d1_lib.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: d1_srtp.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: methods.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: pqueue.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: s3_enc.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: s3_lib.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: s3_msg.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_asn1.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_conf.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_rsa.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: t1_enc.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_ackm.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_channel.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_demux.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_engine.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_fifd.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_lcidm.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_rx_depack.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: rec_layer_d1.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: tls13_meth.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: d1_msg.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic-server.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic-srtm.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_txt.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic-rcidm.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_rcidm.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic-lcidm.c:PACKET_get_length_prefixed_2 |
612 | | |
613 | | /* |
614 | | * Like PACKET_get_length_prefixed_2, but additionally, fails when there are |
615 | | * leftover bytes in |pkt|. |
616 | | */ |
617 | | __owur static ossl_inline int PACKET_as_length_prefixed_2(PACKET *pkt, |
618 | | PACKET *subpkt) |
619 | 187k | { |
620 | 187k | unsigned int length; |
621 | 187k | const unsigned char *data; |
622 | 187k | PACKET tmp = *pkt; |
623 | | |
624 | 187k | if (!PACKET_get_net_2(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length) || PACKET_remaining(&tmp) != 0) { |
625 | 2.40k | return 0; |
626 | 2.40k | } |
627 | | |
628 | 185k | *pkt = tmp; |
629 | 185k | subpkt->curr = data; |
630 | 185k | subpkt->msgstart = pkt->msgstart; |
631 | 185k | subpkt->remaining = length; |
632 | | |
633 | 185k | return 1; |
634 | 187k | } Unexecuted instantiation: params.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: encode_key2any.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: hkdf.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: x942kdf.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: dsa_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ecdsa_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: eddsa_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ml_dsa_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: rsa_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: slh_dsa_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: sm2_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_dsa_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_ec_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_ecx_key.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_hkdf_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_rsa_key.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_wrap_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: dsa_asn1.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: dsa_sign.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ec_asn1.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: hpke_util.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: asn1_dsa.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_writer.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: packet.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ml_dsa_key.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ml_dsa_params.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ml_dsa_sample.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ml_dsa_sign.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: slh_dsa.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: slh_dsa_key.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: slh_fors.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: slh_hash.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: slh_hypertree.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: slh_xmss.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_rsa_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_sm2_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_digests_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_dsa_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_ec_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_ecx_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_rsa_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: punycode.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: slh_wots.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_sm2_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic-client.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_cert.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_ciph.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_init.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_lib.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_mcnf.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_sess.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: t1_lib.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: tls13_enc.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: tls_depr.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: tls_srp.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_impl.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_method.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_obj.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_port.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_record_rx.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_record_shared.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_record_tx.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_record_util.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_rstream.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_sf_list.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_srtm.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_sstream.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_stream_map.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_thread_assist.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_tls.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_txp.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_txpim.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_wire.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_wire_pkt.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: rec_layer_s3.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: dtls_meth.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: tls1_meth.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: tls_common.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: tls_multib.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: tlsany_meth.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: extensions.c:PACKET_as_length_prefixed_2 extensions_clnt.c:PACKET_as_length_prefixed_2 Line | Count | Source | 619 | 26.0k | { | 620 | 26.0k | unsigned int length; | 621 | 26.0k | const unsigned char *data; | 622 | 26.0k | PACKET tmp = *pkt; | 623 | | | 624 | 26.0k | if (!PACKET_get_net_2(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length) || PACKET_remaining(&tmp) != 0) { | 625 | 225 | return 0; | 626 | 225 | } | 627 | | | 628 | 25.8k | *pkt = tmp; | 629 | 25.8k | subpkt->curr = data; | 630 | 25.8k | subpkt->msgstart = pkt->msgstart; | 631 | 25.8k | subpkt->remaining = length; | 632 | | | 633 | 25.8k | return 1; | 634 | 26.0k | } |
Unexecuted instantiation: extensions_cust.c:PACKET_as_length_prefixed_2 extensions_srvr.c:PACKET_as_length_prefixed_2 Line | Count | Source | 619 | 57.9k | { | 620 | 57.9k | unsigned int length; | 621 | 57.9k | const unsigned char *data; | 622 | 57.9k | PACKET tmp = *pkt; | 623 | | | 624 | 57.9k | if (!PACKET_get_net_2(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length) || PACKET_remaining(&tmp) != 0) { | 625 | 1.34k | return 0; | 626 | 1.34k | } | 627 | | | 628 | 56.6k | *pkt = tmp; | 629 | 56.6k | subpkt->curr = data; | 630 | 56.6k | subpkt->msgstart = pkt->msgstart; | 631 | 56.6k | subpkt->remaining = length; | 632 | | | 633 | 56.6k | return 1; | 634 | 57.9k | } |
Unexecuted instantiation: statem.c:PACKET_as_length_prefixed_2 statem_clnt.c:PACKET_as_length_prefixed_2 Line | Count | Source | 619 | 103k | { | 620 | 103k | unsigned int length; | 621 | 103k | const unsigned char *data; | 622 | 103k | PACKET tmp = *pkt; | 623 | | | 624 | 103k | if (!PACKET_get_net_2(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length) || PACKET_remaining(&tmp) != 0) { | 625 | 841 | return 0; | 626 | 841 | } | 627 | | | 628 | 102k | *pkt = tmp; | 629 | 102k | subpkt->curr = data; | 630 | 102k | subpkt->msgstart = pkt->msgstart; | 631 | 102k | subpkt->remaining = length; | 632 | | | 633 | 102k | return 1; | 634 | 103k | } |
Unexecuted instantiation: statem_dtls.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: statem_lib.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: statem_srvr.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ech_helper.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ech_internal.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ech_store.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: d1_lib.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: d1_srtp.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: methods.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: pqueue.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: s3_enc.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: s3_lib.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: s3_msg.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_asn1.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_conf.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_rsa.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: t1_enc.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: qlog_event_helpers.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_ackm.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_channel.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_demux.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_engine.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_fifd.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_lcidm.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_rx_depack.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: rec_layer_d1.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: tls13_meth.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: d1_msg.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic-server.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic-srtm.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_txt.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic-rcidm.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_rcidm.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic-lcidm.c:PACKET_as_length_prefixed_2 |
635 | | |
636 | | /* |
637 | | * Reads a variable-length vector prefixed with a three-byte length, and stores |
638 | | * the contents in |subpkt|. |pkt| can equal |subpkt|. |
639 | | * Data is not copied: the |subpkt| packet will share its underlying buffer with |
640 | | * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|. |
641 | | * Upon failure, the original |pkt| and |subpkt| are not modified. |
642 | | */ |
643 | | __owur static ossl_inline int PACKET_get_length_prefixed_3(PACKET *pkt, |
644 | | PACKET *subpkt) |
645 | 4 | { |
646 | 4 | unsigned long length; |
647 | 4 | const unsigned char *data; |
648 | 4 | PACKET tmp = *pkt; |
649 | 4 | if (!PACKET_get_net_3(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |
650 | 0 | return 0; |
651 | 0 | } |
652 | | |
653 | 4 | *pkt = tmp; |
654 | 4 | subpkt->curr = data; |
655 | 4 | subpkt->msgstart = pkt->msgstart; |
656 | 4 | subpkt->remaining = length; |
657 | | |
658 | 4 | return 1; |
659 | 4 | } Unexecuted instantiation: params.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: encode_key2any.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: hkdf.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: x942kdf.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ml_kem_kmgmt.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: dsa_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: eddsa_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ml_dsa_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: rsa_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: slh_dsa_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: sm2_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_dsa_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_ec_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_ecx_key.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_hkdf_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_ml_dsa_key.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_rsa_key.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_slh_dsa_key.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_wrap_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: dsa_asn1.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: dsa_sign.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ec_asn1.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: hpke_util.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: asn1_dsa.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_writer.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: packet.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ml_dsa_encoders.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ml_dsa_key.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ml_dsa_key_compress.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ml_dsa_matrix.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ml_dsa_ntt.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ml_dsa_params.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ml_dsa_sample.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ml_dsa_sign.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: slh_dsa.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: slh_dsa_hash_ctx.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: slh_dsa_key.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: slh_fors.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: slh_hash.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: slh_hypertree.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: slh_xmss.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_rsa_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_sm2_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_digests_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_dsa_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_ec_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_ecx_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_ml_dsa_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_rsa_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_slh_dsa_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: punycode.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: slh_wots.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic-client.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_cert.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_ciph.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_init.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_lib.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_mcnf.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_sess.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: t1_lib.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: tls13_enc.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: tls_depr.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: tls_srp.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_impl.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_method.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_obj.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_port.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_record_rx.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_record_shared.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_record_tx.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_record_util.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_rstream.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_sf_list.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_srtm.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_sstream.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_stream_map.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_thread_assist.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_tls.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_txp.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_txpim.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_wire.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: rec_layer_s3.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: dtls_meth.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: tls1_meth.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: tls_common.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: tls_multib.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: tlsany_meth.c:PACKET_get_length_prefixed_3 extensions.c:PACKET_get_length_prefixed_3 Line | Count | Source | 645 | 4 | { | 646 | 4 | unsigned long length; | 647 | 4 | const unsigned char *data; | 648 | 4 | PACKET tmp = *pkt; | 649 | 4 | if (!PACKET_get_net_3(&tmp, &length) || !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 650 | 0 | return 0; | 651 | 0 | } | 652 | | | 653 | 4 | *pkt = tmp; | 654 | 4 | subpkt->curr = data; | 655 | 4 | subpkt->msgstart = pkt->msgstart; | 656 | 4 | subpkt->remaining = length; | 657 | | | 658 | 4 | return 1; | 659 | 4 | } |
Unexecuted instantiation: extensions_clnt.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: extensions_cust.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: extensions_srvr.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: statem.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: statem_clnt.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: statem_dtls.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: statem_lib.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: statem_srvr.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ech_helper.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ech_internal.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ech_store.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: d1_lib.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: d1_srtp.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: methods.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: pqueue.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: s3_enc.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: s3_lib.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: s3_msg.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_asn1.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_conf.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_rsa.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: t1_enc.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: qlog_event_helpers.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_ackm.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_channel.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_demux.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_engine.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_fifd.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_lcidm.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_rx_depack.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: rec_layer_d1.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: tls13_meth.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: d1_msg.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic-server.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic-srtm.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_txt.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic-rcidm.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_rcidm.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic-lcidm.c:PACKET_get_length_prefixed_3 |
660 | | |
661 | | /* Writable packets */ |
662 | | |
663 | | typedef struct wpacket_sub WPACKET_SUB; |
664 | | struct wpacket_sub { |
665 | | /* The parent WPACKET_SUB if we have one or NULL otherwise */ |
666 | | WPACKET_SUB *parent; |
667 | | |
668 | | /* |
669 | | * Offset into the buffer where the length of this WPACKET goes. We use an |
670 | | * offset in case the buffer grows and gets reallocated. |
671 | | */ |
672 | | size_t packet_len; |
673 | | |
674 | | /* Number of bytes in the packet_len or 0 if we don't write the length */ |
675 | | size_t lenbytes; |
676 | | |
677 | | /* Number of bytes written to the buf prior to this packet starting */ |
678 | | size_t pwritten; |
679 | | |
680 | | /* Flags for this sub-packet */ |
681 | | unsigned int flags; |
682 | | }; |
683 | | |
684 | | typedef struct wpacket_st WPACKET; |
685 | | struct wpacket_st { |
686 | | /* The buffer where we store the output data */ |
687 | | BUF_MEM *buf; |
688 | | |
689 | | /* Fixed sized buffer which can be used as an alternative to buf */ |
690 | | unsigned char *staticbuf; |
691 | | |
692 | | /* |
693 | | * Offset into the buffer where we are currently writing. We use an offset |
694 | | * in case the buffer grows and gets reallocated. |
695 | | */ |
696 | | size_t curr; |
697 | | |
698 | | /* Number of bytes written so far */ |
699 | | size_t written; |
700 | | |
701 | | /* Maximum number of bytes we will allow to be written to this WPACKET */ |
702 | | size_t maxsize; |
703 | | |
704 | | /* Our sub-packets (always at least one if not finished) */ |
705 | | WPACKET_SUB *subs; |
706 | | |
707 | | /* Writing from the end first? */ |
708 | | unsigned int endfirst : 1; |
709 | | }; |
710 | | |
711 | | /* Flags */ |
712 | | |
713 | | /* Default */ |
714 | | #define WPACKET_FLAGS_NONE 0 |
715 | | |
716 | | /* Error on WPACKET_close() if no data written to the WPACKET */ |
717 | 1.41M | #define WPACKET_FLAGS_NON_ZERO_LENGTH 1 |
718 | | |
719 | | /* |
720 | | * Abandon all changes on WPACKET_close() if no data written to the WPACKET, |
721 | | * i.e. this does not write out a zero packet length |
722 | | */ |
723 | 1.42M | #define WPACKET_FLAGS_ABANDON_ON_ZERO_LENGTH 2 |
724 | | |
725 | | /* QUIC variable-length integer length prefix */ |
726 | 5.72M | #define WPACKET_FLAGS_QUIC_VLINT 4 |
727 | | |
728 | | /* |
729 | | * Initialise a WPACKET with the buffer in |buf|. The buffer must exist |
730 | | * for the whole time that the WPACKET is being used. Additionally |lenbytes| of |
731 | | * data is preallocated at the start of the buffer to store the length of the |
732 | | * WPACKET once we know it. |
733 | | */ |
734 | | int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes); |
735 | | |
736 | | /* |
737 | | * Same as WPACKET_init_len except there is no preallocation of the WPACKET |
738 | | * length. |
739 | | */ |
740 | | int WPACKET_init(WPACKET *pkt, BUF_MEM *buf); |
741 | | |
742 | | /* |
743 | | * Same as WPACKET_init_len except there is no underlying buffer. No data is |
744 | | * ever actually written. We just keep track of how much data would have been |
745 | | * written if a buffer was there. |
746 | | */ |
747 | | int WPACKET_init_null(WPACKET *pkt, size_t lenbytes); |
748 | | |
749 | | /* |
750 | | * Same as WPACKET_init_null except we set the WPACKET to assume DER length |
751 | | * encoding for sub-packets. |
752 | | */ |
753 | | int WPACKET_init_null_der(WPACKET *pkt); |
754 | | |
755 | | /* |
756 | | * Same as WPACKET_init_len except we do not use a growable BUF_MEM structure. |
757 | | * A fixed buffer of memory |buf| of size |len| is used instead. A failure will |
758 | | * occur if you attempt to write beyond the end of the buffer |
759 | | */ |
760 | | int WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len, |
761 | | size_t lenbytes); |
762 | | |
763 | | /* |
764 | | * Same as WPACKET_init_static_len except lenbytes is always 0, and we set the |
765 | | * WPACKET to write to the end of the buffer moving towards the start and use |
766 | | * DER length encoding for sub-packets. |
767 | | */ |
768 | | int WPACKET_init_der(WPACKET *pkt, unsigned char *buf, size_t len); |
769 | | |
770 | | /* |
771 | | * Set the flags to be applied to the current sub-packet |
772 | | */ |
773 | | int WPACKET_set_flags(WPACKET *pkt, unsigned int flags); |
774 | | |
775 | | /* |
776 | | * Closes the most recent sub-packet. It also writes out the length of the |
777 | | * packet to the required location (normally the start of the WPACKET) if |
778 | | * appropriate. The top level WPACKET should be closed using WPACKET_finish() |
779 | | * instead of this function. |
780 | | */ |
781 | | int WPACKET_close(WPACKET *pkt); |
782 | | |
783 | | /* |
784 | | * The same as WPACKET_close() but only for the top most WPACKET. Additionally |
785 | | * frees memory resources for this WPACKET. |
786 | | */ |
787 | | int WPACKET_finish(WPACKET *pkt); |
788 | | |
789 | | /* |
790 | | * Iterate through all the sub-packets and write out their lengths as if they |
791 | | * were being closed. The lengths will be overwritten with the final lengths |
792 | | * when the sub-packets are eventually closed (which may be different if more |
793 | | * data is added to the WPACKET). This function fails if a sub-packet is of 0 |
794 | | * length and WPACKET_FLAGS_ABANDON_ON_ZERO_LENGTH is set. |
795 | | */ |
796 | | int WPACKET_fill_lengths(WPACKET *pkt); |
797 | | |
798 | | /* |
799 | | * Initialise a new sub-packet. Additionally |lenbytes| of data is preallocated |
800 | | * at the start of the sub-packet to store its length once we know it. Don't |
801 | | * call this directly. Use the convenience macros below instead. |
802 | | */ |
803 | | int WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes); |
804 | | |
805 | | /* |
806 | | * Convenience macros for calling WPACKET_start_sub_packet_len with different |
807 | | * lengths |
808 | | */ |
809 | | #define WPACKET_start_sub_packet_u8(pkt) \ |
810 | 2.69M | WPACKET_start_sub_packet_len__((pkt), 1) |
811 | | #define WPACKET_start_sub_packet_u16(pkt) \ |
812 | 1.36M | WPACKET_start_sub_packet_len__((pkt), 2) |
813 | | #define WPACKET_start_sub_packet_u24(pkt) \ |
814 | 212k | WPACKET_start_sub_packet_len__((pkt), 3) |
815 | | #define WPACKET_start_sub_packet_u32(pkt) \ |
816 | | WPACKET_start_sub_packet_len__((pkt), 4) |
817 | | |
818 | | /* |
819 | | * Same as WPACKET_start_sub_packet_len__() except no bytes are pre-allocated |
820 | | * for the sub-packet length. |
821 | | */ |
822 | | int WPACKET_start_sub_packet(WPACKET *pkt); |
823 | | |
824 | | /* |
825 | | * Allocate bytes in the WPACKET for the output. This reserves the bytes |
826 | | * and counts them as "written", but doesn't actually do the writing. A pointer |
827 | | * to the allocated bytes is stored in |*allocbytes|. |allocbytes| may be NULL. |
828 | | * WARNING: the allocated bytes must be filled in immediately, without further |
829 | | * WPACKET_* calls. If not then the underlying buffer may be realloc'd and |
830 | | * change its location. |
831 | | */ |
832 | | int WPACKET_allocate_bytes(WPACKET *pkt, size_t len, |
833 | | unsigned char **allocbytes); |
834 | | |
835 | | /* |
836 | | * The same as WPACKET_allocate_bytes() except additionally a new sub-packet is |
837 | | * started for the allocated bytes, and then closed immediately afterwards. The |
838 | | * number of length bytes for the sub-packet is in |lenbytes|. Don't call this |
839 | | * directly. Use the convenience macros below instead. |
840 | | */ |
841 | | int WPACKET_sub_allocate_bytes__(WPACKET *pkt, size_t len, |
842 | | unsigned char **allocbytes, size_t lenbytes); |
843 | | |
844 | | /* |
845 | | * Convenience macros for calling WPACKET_sub_allocate_bytes with different |
846 | | * lengths |
847 | | */ |
848 | | #define WPACKET_sub_allocate_bytes_u8(pkt, len, bytes) \ |
849 | 0 | WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 1) |
850 | | #define WPACKET_sub_allocate_bytes_u16(pkt, len, bytes) \ |
851 | 5.46k | WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 2) |
852 | | #define WPACKET_sub_allocate_bytes_u24(pkt, len, bytes) \ |
853 | 48.4k | WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 3) |
854 | | #define WPACKET_sub_allocate_bytes_u32(pkt, len, bytes) \ |
855 | | WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 4) |
856 | | |
857 | | /* |
858 | | * The same as WPACKET_allocate_bytes() except the reserved bytes are not |
859 | | * actually counted as written. Typically this will be for when we don't know |
860 | | * how big arbitrary data is going to be up front, but we do know what the |
861 | | * maximum size will be. If this function is used, then it should be immediately |
862 | | * followed by a WPACKET_allocate_bytes() call before any other WPACKET |
863 | | * functions are called (unless the write to the allocated bytes is abandoned). |
864 | | * |
865 | | * For example: If we are generating a signature, then the size of that |
866 | | * signature may not be known in advance. We can use WPACKET_reserve_bytes() to |
867 | | * handle this: |
868 | | * |
869 | | * if (!WPACKET_sub_reserve_bytes_u16(&pkt, EVP_PKEY_get_size(pkey), &sigbytes1) |
870 | | * || EVP_SignFinal(md_ctx, sigbytes1, &siglen, pkey) <= 0 |
871 | | * || !WPACKET_sub_allocate_bytes_u16(&pkt, siglen, &sigbytes2) |
872 | | * || sigbytes1 != sigbytes2) |
873 | | * goto err; |
874 | | */ |
875 | | int WPACKET_reserve_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes); |
876 | | |
877 | | /* |
878 | | * The "reserve_bytes" equivalent of WPACKET_sub_allocate_bytes__() |
879 | | */ |
880 | | int WPACKET_sub_reserve_bytes__(WPACKET *pkt, size_t len, |
881 | | unsigned char **allocbytes, size_t lenbytes); |
882 | | |
883 | | /* |
884 | | * Convenience macros for WPACKET_sub_reserve_bytes with different lengths |
885 | | */ |
886 | | #define WPACKET_sub_reserve_bytes_u8(pkt, len, bytes) \ |
887 | | WPACKET_reserve_bytes__((pkt), (len), (bytes), 1) |
888 | | #define WPACKET_sub_reserve_bytes_u16(pkt, len, bytes) \ |
889 | 5.47k | WPACKET_sub_reserve_bytes__((pkt), (len), (bytes), 2) |
890 | | #define WPACKET_sub_reserve_bytes_u24(pkt, len, bytes) \ |
891 | | WPACKET_sub_reserve_bytes__((pkt), (len), (bytes), 3) |
892 | | #define WPACKET_sub_reserve_bytes_u32(pkt, len, bytes) \ |
893 | | WPACKET_sub_reserve_bytes__((pkt), (len), (bytes), 4) |
894 | | |
895 | | /* |
896 | | * Write the value stored in |val| into the WPACKET. The value will consume |
897 | | * |bytes| amount of storage. An error will occur if |val| cannot be |
898 | | * accommodated in |bytes| storage, e.g. attempting to write the value 256 into |
899 | | * 1 byte will fail. Don't call this directly. Use the convenience macros below |
900 | | * instead. |
901 | | */ |
902 | | int WPACKET_put_bytes__(WPACKET *pkt, uint64_t val, size_t bytes); |
903 | | |
904 | | /* |
905 | | * Convenience macros for calling WPACKET_put_bytes with different |
906 | | * lengths |
907 | | */ |
908 | | #define WPACKET_put_bytes_u8(pkt, val) \ |
909 | 16.4M | WPACKET_put_bytes__((pkt), (val), 1) |
910 | | #define WPACKET_put_bytes_u16(pkt, val) \ |
911 | 14.9M | WPACKET_put_bytes__((pkt), (val), 2) |
912 | | #define WPACKET_put_bytes_u24(pkt, val) \ |
913 | 46 | WPACKET_put_bytes__((pkt), (val), 3) |
914 | | #define WPACKET_put_bytes_u32(pkt, val) \ |
915 | 2.57M | WPACKET_put_bytes__((pkt), (val), 4) |
916 | | #define WPACKET_put_bytes_u64(pkt, val) \ |
917 | 265k | WPACKET_put_bytes__((pkt), (val), 8) |
918 | | |
919 | | /* Set a maximum size that we will not allow the WPACKET to grow beyond */ |
920 | | int WPACKET_set_max_size(WPACKET *pkt, size_t maxsize); |
921 | | |
922 | | /* Copy |len| bytes of data from |*src| into the WPACKET. */ |
923 | | int WPACKET_memcpy(WPACKET *pkt, const void *src, size_t len); |
924 | | |
925 | | /* Set |len| bytes of data to |ch| into the WPACKET. */ |
926 | | int WPACKET_memset(WPACKET *pkt, int ch, size_t len); |
927 | | |
928 | | /* |
929 | | * Copy |len| bytes of data from |*src| into the WPACKET and prefix with its |
930 | | * length (consuming |lenbytes| of data for the length). Don't call this |
931 | | * directly. Use the convenience macros below instead. |
932 | | */ |
933 | | int WPACKET_sub_memcpy__(WPACKET *pkt, const void *src, size_t len, |
934 | | size_t lenbytes); |
935 | | |
936 | | /* Convenience macros for calling WPACKET_sub_memcpy with different lengths */ |
937 | | #define WPACKET_sub_memcpy_u8(pkt, src, len) \ |
938 | 2.61M | WPACKET_sub_memcpy__((pkt), (src), (len), 1) |
939 | | #define WPACKET_sub_memcpy_u16(pkt, src, len) \ |
940 | 196k | WPACKET_sub_memcpy__((pkt), (src), (len), 2) |
941 | | #define WPACKET_sub_memcpy_u24(pkt, src, len) \ |
942 | 0 | WPACKET_sub_memcpy__((pkt), (src), (len), 3) |
943 | | #define WPACKET_sub_memcpy_u32(pkt, src, len) \ |
944 | | WPACKET_sub_memcpy__((pkt), (src), (len), 4) |
945 | | |
946 | | /* |
947 | | * Return the total number of bytes written so far to the underlying buffer |
948 | | * including any storage allocated for length bytes |
949 | | */ |
950 | | int WPACKET_get_total_written(WPACKET *pkt, size_t *written); |
951 | | |
952 | | /* |
953 | | * Returns the length of the current sub-packet. This excludes any bytes |
954 | | * allocated for the length itself. |
955 | | */ |
956 | | int WPACKET_get_length(WPACKET *pkt, size_t *len); |
957 | | |
958 | | /* |
959 | | * Returns a pointer to the current write location, but does not allocate any |
960 | | * bytes. |
961 | | */ |
962 | | unsigned char *WPACKET_get_curr(WPACKET *pkt); |
963 | | |
964 | | /* Returns true if the underlying buffer is actually NULL */ |
965 | | int WPACKET_is_null_buf(WPACKET *pkt); |
966 | | |
967 | | /* Release resources in a WPACKET if a failure has occurred. */ |
968 | | void WPACKET_cleanup(WPACKET *pkt); |
969 | | |
970 | | #endif /* OSSL_INTERNAL_PACKET_H */ |