/src/openssl32/include/internal/packet.h
Line  | Count  | Source (jump to first uncovered line)  | 
1  |  | /*  | 
2  |  |  * Copyright 2015-2023 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  |  |     /* Number of bytes remaining */  | 
26  |  |     size_t remaining;  | 
27  |  | } PACKET;  | 
28  |  |  | 
29  |  | /* Internal unchecked shorthand; don't use outside this file. */  | 
30  |  | static ossl_inline void packet_forward(PACKET *pkt, size_t len)  | 
31  | 31.2M  | { | 
32  | 31.2M  |     pkt->curr += len;  | 
33  | 31.2M  |     pkt->remaining -= len;  | 
34  | 31.2M  | } 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: dsa_sig.c:packet_forward Unexecuted instantiation: ecdsa_sig.c:packet_forward Unexecuted instantiation: eddsa_sig.c:packet_forward Unexecuted instantiation: rsa_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_rsa_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  |  31  | 353k  | { |  32  | 353k  |     pkt->curr += len;  |  33  | 353k  |     pkt->remaining -= len;  |  34  | 353k  | }  |  
 Unexecuted instantiation: der_writer.c:packet_forward Unexecuted instantiation: packet.c:packet_forward Unexecuted instantiation: der_rsa_sig.c:packet_forward Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:packet_forward Unexecuted instantiation: punycode.c:packet_forward Unexecuted instantiation: der_sm2_gen.c:packet_forward Unexecuted instantiation: methods.c:packet_forward Unexecuted instantiation: s3_lib.c:packet_forward Unexecuted instantiation: s3_msg.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  |  31  | 672k  | { |  32  | 672k  |     pkt->curr += len;  |  33  | 672k  |     pkt->remaining -= len;  |  34  | 672k  | }  |  
 Unexecuted instantiation: ssl_mcnf.c:packet_forward Unexecuted instantiation: ssl_rsa.c:packet_forward Unexecuted instantiation: ssl_sess.c:packet_forward Line  | Count  | Source  |  31  | 175k  | { |  32  | 175k  |     pkt->curr += len;  |  33  | 175k  |     pkt->remaining -= len;  |  34  | 175k  | }  |  
 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_rstream.c:packet_forward Unexecuted instantiation: quic_sf_list.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 rec_layer_d1.c:packet_forward Line  | Count  | Source  |  31  | 1.22k  | { |  32  | 1.22k  |     pkt->curr += len;  |  33  | 1.22k  |     pkt->remaining -= len;  |  34  | 1.22k  | }  |  
 rec_layer_s3.c:packet_forward Line  | Count  | Source  |  31  | 4.56k  | { |  32  | 4.56k  |     pkt->curr += len;  |  33  | 4.56k  |     pkt->remaining -= len;  |  34  | 4.56k  | }  |  
 Unexecuted instantiation: dtls_meth.c:packet_forward Unexecuted instantiation: tls1_meth.c:packet_forward tls_common.c:packet_forward Line  | Count  | Source  |  31  | 1.09M  | { |  32  | 1.09M  |     pkt->curr += len;  |  33  | 1.09M  |     pkt->remaining -= len;  |  34  | 1.09M  | }  |  
 Unexecuted instantiation: tls_multib.c:packet_forward Unexecuted instantiation: tlsany_meth.c:packet_forward extensions.c:packet_forward Line  | Count  | Source  |  31  | 605k  | { |  32  | 605k  |     pkt->curr += len;  |  33  | 605k  |     pkt->remaining -= len;  |  34  | 605k  | }  |  
 extensions_clnt.c:packet_forward Line  | Count  | Source  |  31  | 173k  | { |  32  | 173k  |     pkt->curr += len;  |  33  | 173k  |     pkt->remaining -= len;  |  34  | 173k  | }  |  
 Unexecuted instantiation: extensions_cust.c:packet_forward extensions_srvr.c:packet_forward Line  | Count  | Source  |  31  | 101k  | { |  32  | 101k  |     pkt->curr += len;  |  33  | 101k  |     pkt->remaining -= len;  |  34  | 101k  | }  |  
 Unexecuted instantiation: statem.c:packet_forward statem_clnt.c:packet_forward Line  | Count  | Source  |  31  | 525k  | { |  32  | 525k  |     pkt->curr += len;  |  33  | 525k  |     pkt->remaining -= len;  |  34  | 525k  | }  |  
 Unexecuted instantiation: statem_dtls.c:packet_forward statem_lib.c:packet_forward Line  | Count  | Source  |  31  | 59.5k  | { |  32  | 59.5k  |     pkt->curr += len;  |  33  | 59.5k  |     pkt->remaining -= len;  |  34  | 59.5k  | }  |  
 statem_srvr.c:packet_forward Line  | Count  | Source  |  31  | 239k  | { |  32  | 239k  |     pkt->curr += len;  |  33  | 239k  |     pkt->remaining -= len;  |  34  | 239k  | }  |  
 Unexecuted instantiation: d1_lib.c:packet_forward Unexecuted instantiation: d1_msg.c:packet_forward Unexecuted instantiation: d1_srtp.c:packet_forward Unexecuted instantiation: pqueue.c:packet_forward Unexecuted instantiation: s3_enc.c:packet_forward Unexecuted instantiation: ssl_asn1.c:packet_forward Unexecuted instantiation: ssl_conf.c:packet_forward Unexecuted instantiation: t1_enc.c:packet_forward quic_channel.c:packet_forward Line  | Count  | Source  |  31  | 1.13k  | { |  32  | 1.13k  |     pkt->curr += len;  |  33  | 1.13k  |     pkt->remaining -= len;  |  34  | 1.13k  | }  |  
 Unexecuted instantiation: quic_demux.c:packet_forward quic_record_rx.c:packet_forward Line  | Count  | Source  |  31  | 431k  | { |  32  | 431k  |     pkt->curr += len;  |  33  | 431k  |     pkt->remaining -= len;  |  34  | 431k  | }  |  
 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_rx_depack.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  |  31  | 4.02M  | { |  32  | 4.02M  |     pkt->curr += len;  |  33  | 4.02M  |     pkt->remaining -= len;  |  34  | 4.02M  | }  |  
 quic_wire_pkt.c:packet_forward Line  | Count  | Source  |  31  | 22.7M  | { |  32  | 22.7M  |     pkt->curr += len;  |  33  | 22.7M  |     pkt->remaining -= len;  |  34  | 22.7M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:packet_forward Unexecuted instantiation: tls13_meth.c:packet_forward Unexecuted instantiation: quic_ackm.c:packet_forward Unexecuted instantiation: quic_fifd.c:packet_forward Unexecuted instantiation: ssl_txt.c:packet_forward Unexecuted instantiation: quic-client.c:packet_forward  | 
35  |  |  | 
36  |  | /*  | 
37  |  |  * Returns the number of bytes remaining to be read in the PACKET  | 
38  |  |  */  | 
39  |  | static ossl_inline size_t PACKET_remaining(const PACKET *pkt)  | 
40  | 59.0M  | { | 
41  | 59.0M  |     return pkt->remaining;  | 
42  | 59.0M  | } 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: dsa_sig.c:PACKET_remaining Unexecuted instantiation: ecdsa_sig.c:PACKET_remaining Unexecuted instantiation: eddsa_sig.c:PACKET_remaining Unexecuted instantiation: rsa_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_rsa_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  |  40  | 400k  | { |  41  | 400k  |     return pkt->remaining;  |  42  | 400k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_remaining Unexecuted instantiation: packet.c:PACKET_remaining Unexecuted instantiation: der_rsa_sig.c:PACKET_remaining Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_remaining Unexecuted instantiation: punycode.c:PACKET_remaining Unexecuted instantiation: der_sm2_gen.c:PACKET_remaining Unexecuted instantiation: methods.c:PACKET_remaining Unexecuted instantiation: s3_lib.c:PACKET_remaining Unexecuted instantiation: s3_msg.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  |  40  | 974k  | { |  41  | 974k  |     return pkt->remaining;  |  42  | 974k  | }  |  
 Unexecuted instantiation: ssl_mcnf.c:PACKET_remaining Unexecuted instantiation: ssl_rsa.c:PACKET_remaining Unexecuted instantiation: ssl_sess.c:PACKET_remaining t1_lib.c:PACKET_remaining Line  | Count  | Source  |  40  | 192k  | { |  41  | 192k  |     return pkt->remaining;  |  42  | 192k  | }  |  
 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_rstream.c:PACKET_remaining Unexecuted instantiation: quic_sf_list.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 rec_layer_d1.c:PACKET_remaining Line  | Count  | Source  |  40  | 1.86k  | { |  41  | 1.86k  |     return pkt->remaining;  |  42  | 1.86k  | }  |  
 rec_layer_s3.c:PACKET_remaining Line  | Count  | Source  |  40  | 6.92k  | { |  41  | 6.92k  |     return pkt->remaining;  |  42  | 6.92k  | }  |  
 Unexecuted instantiation: dtls_meth.c:PACKET_remaining Unexecuted instantiation: tls1_meth.c:PACKET_remaining tls_common.c:PACKET_remaining Line  | Count  | Source  |  40  | 1.09M  | { |  41  | 1.09M  |     return pkt->remaining;  |  42  | 1.09M  | }  |  
 Unexecuted instantiation: tls_multib.c:PACKET_remaining Unexecuted instantiation: tlsany_meth.c:PACKET_remaining extensions.c:PACKET_remaining Line  | Count  | Source  |  40  | 897k  | { |  41  | 897k  |     return pkt->remaining;  |  42  | 897k  | }  |  
 extensions_clnt.c:PACKET_remaining Line  | Count  | Source  |  40  | 286k  | { |  41  | 286k  |     return pkt->remaining;  |  42  | 286k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_remaining extensions_srvr.c:PACKET_remaining Line  | Count  | Source  |  40  | 203k  | { |  41  | 203k  |     return pkt->remaining;  |  42  | 203k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_remaining statem_clnt.c:PACKET_remaining Line  | Count  | Source  |  40  | 883k  | { |  41  | 883k  |     return pkt->remaining;  |  42  | 883k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_remaining statem_lib.c:PACKET_remaining Line  | Count  | Source  |  40  | 96.9k  | { |  41  | 96.9k  |     return pkt->remaining;  |  42  | 96.9k  | }  |  
 statem_srvr.c:PACKET_remaining Line  | Count  | Source  |  40  | 337k  | { |  41  | 337k  |     return pkt->remaining;  |  42  | 337k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_remaining Unexecuted instantiation: d1_msg.c:PACKET_remaining Unexecuted instantiation: d1_srtp.c:PACKET_remaining Unexecuted instantiation: pqueue.c:PACKET_remaining Unexecuted instantiation: s3_enc.c:PACKET_remaining Unexecuted instantiation: ssl_asn1.c:PACKET_remaining Unexecuted instantiation: ssl_conf.c:PACKET_remaining Unexecuted instantiation: t1_enc.c:PACKET_remaining quic_channel.c:PACKET_remaining Line  | Count  | Source  |  40  | 109k  | { |  41  | 109k  |     return pkt->remaining;  |  42  | 109k  | }  |  
 Unexecuted instantiation: quic_demux.c:PACKET_remaining quic_record_rx.c:PACKET_remaining Line  | Count  | Source  |  40  | 9.55M  | { |  41  | 9.55M  |     return pkt->remaining;  |  42  | 9.55M  | }  |  
 Unexecuted instantiation: quic_record_shared.c:PACKET_remaining Unexecuted instantiation: quic_record_tx.c:PACKET_remaining Unexecuted instantiation: quic_record_util.c:PACKET_remaining quic_rx_depack.c:PACKET_remaining Line  | Count  | Source  |  40  | 2.35M  | { |  41  | 2.35M  |     return pkt->remaining;  |  42  | 2.35M  | }  |  
 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  |  40  | 11.2M  | { |  41  | 11.2M  |     return pkt->remaining;  |  42  | 11.2M  | }  |  
 quic_wire_pkt.c:PACKET_remaining Line  | Count  | Source  |  40  | 30.3M  | { |  41  | 30.3M  |     return pkt->remaining;  |  42  | 30.3M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_remaining Unexecuted instantiation: tls13_meth.c:PACKET_remaining Unexecuted instantiation: quic_ackm.c:PACKET_remaining Unexecuted instantiation: quic_fifd.c:PACKET_remaining Unexecuted instantiation: ssl_txt.c:PACKET_remaining Unexecuted instantiation: quic-client.c:PACKET_remaining  | 
43  |  |  | 
44  |  | /*  | 
45  |  |  * Returns a pointer to the first byte after the packet data.  | 
46  |  |  * Useful for integrating with non-PACKET parsing code.  | 
47  |  |  * Specifically, we use PACKET_end() to verify that a d2i_... call  | 
48  |  |  * has consumed the entire packet contents.  | 
49  |  |  */  | 
50  |  | static ossl_inline const unsigned char *PACKET_end(const PACKET *pkt)  | 
51  | 949k  | { | 
52  | 949k  |     return pkt->curr + pkt->remaining;  | 
53  | 949k  | } 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: dsa_sig.c:PACKET_end Unexecuted instantiation: ecdsa_sig.c:PACKET_end Unexecuted instantiation: eddsa_sig.c:PACKET_end Unexecuted instantiation: rsa_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_rsa_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: der_rsa_sig.c:PACKET_end Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_end Unexecuted instantiation: punycode.c:PACKET_end Unexecuted instantiation: der_sm2_gen.c:PACKET_end Unexecuted instantiation: methods.c:PACKET_end Unexecuted instantiation: s3_lib.c:PACKET_end Unexecuted instantiation: s3_msg.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_rsa.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_rstream.c:PACKET_end Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.c:PACKET_end 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  |  51  | 126  | { |  52  | 126  |     return pkt->curr + pkt->remaining;  |  53  | 126  | }  |  
 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: d1_lib.c:PACKET_end Unexecuted instantiation: d1_msg.c:PACKET_end Unexecuted instantiation: d1_srtp.c:PACKET_end Unexecuted instantiation: pqueue.c:PACKET_end Unexecuted instantiation: s3_enc.c:PACKET_end Unexecuted instantiation: ssl_asn1.c:PACKET_end Unexecuted instantiation: ssl_conf.c:PACKET_end Unexecuted instantiation: t1_enc.c:PACKET_end Unexecuted instantiation: quic_channel.c:PACKET_end Unexecuted instantiation: quic_demux.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_rx_depack.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  |  51  | 269k  | { |  52  | 269k  |     return pkt->curr + pkt->remaining;  |  53  | 269k  | }  |  
 quic_wire_pkt.c:PACKET_end Line  | Count  | Source  |  51  | 679k  | { |  52  | 679k  |     return pkt->curr + pkt->remaining;  |  53  | 679k  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_end Unexecuted instantiation: tls13_meth.c:PACKET_end Unexecuted instantiation: quic_ackm.c:PACKET_end Unexecuted instantiation: quic_fifd.c:PACKET_end Unexecuted instantiation: ssl_txt.c:PACKET_end Unexecuted instantiation: quic-client.c:PACKET_end  | 
54  |  |  | 
55  |  | /*  | 
56  |  |  * Returns a pointer to the PACKET's current position.  | 
57  |  |  * For use in non-PACKETized APIs.  | 
58  |  |  */  | 
59  |  | static ossl_inline const unsigned char *PACKET_data(const PACKET *pkt)  | 
60  | 11.1M  | { | 
61  | 11.1M  |     return pkt->curr;  | 
62  | 11.1M  | } 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: dsa_sig.c:PACKET_data Unexecuted instantiation: ecdsa_sig.c:PACKET_data Unexecuted instantiation: eddsa_sig.c:PACKET_data Unexecuted instantiation: rsa_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_rsa_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  |  60  | 20.9k  | { |  61  | 20.9k  |     return pkt->curr;  |  62  | 20.9k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_data Unexecuted instantiation: packet.c:PACKET_data Unexecuted instantiation: der_rsa_sig.c:PACKET_data Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_data Unexecuted instantiation: punycode.c:PACKET_data Unexecuted instantiation: der_sm2_gen.c:PACKET_data Unexecuted instantiation: methods.c:PACKET_data Unexecuted instantiation: s3_lib.c:PACKET_data Unexecuted instantiation: s3_msg.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_rsa.c:PACKET_data Unexecuted instantiation: ssl_sess.c:PACKET_data Line  | Count  | Source  |  60  | 1.60k  | { |  61  | 1.60k  |     return pkt->curr;  |  62  | 1.60k  | }  |  
 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_rstream.c:PACKET_data Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.c:PACKET_data 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  |  60  | 10.1k  | { |  61  | 10.1k  |     return pkt->curr;  |  62  | 10.1k  | }  |  
 extensions_clnt.c:PACKET_data Line  | Count  | Source  |  60  | 29.2k  | { |  61  | 29.2k  |     return pkt->curr;  |  62  | 29.2k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_data extensions_srvr.c:PACKET_data Line  | Count  | Source  |  60  | 5.51k  | { |  61  | 5.51k  |     return pkt->curr;  |  62  | 5.51k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_data statem_clnt.c:PACKET_data Line  | Count  | Source  |  60  | 72.6k  | { |  61  | 72.6k  |     return pkt->curr;  |  62  | 72.6k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_data Line  | Count  | Source  |  60  | 14.8k  | { |  61  | 14.8k  |     return pkt->curr;  |  62  | 14.8k  | }  |  
 statem_srvr.c:PACKET_data Line  | Count  | Source  |  60  | 5.60k  | { |  61  | 5.60k  |     return pkt->curr;  |  62  | 5.60k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_data Unexecuted instantiation: d1_msg.c:PACKET_data Unexecuted instantiation: d1_srtp.c:PACKET_data Unexecuted instantiation: pqueue.c:PACKET_data Unexecuted instantiation: s3_enc.c:PACKET_data Unexecuted instantiation: ssl_asn1.c:PACKET_data Unexecuted instantiation: ssl_conf.c:PACKET_data Unexecuted instantiation: t1_enc.c:PACKET_data Unexecuted instantiation: quic_channel.c:PACKET_data Unexecuted instantiation: quic_demux.c:PACKET_data quic_record_rx.c:PACKET_data Line  | Count  | Source  |  60  | 4.57M  | { |  61  | 4.57M  |     return pkt->curr;  |  62  | 4.57M  | }  |  
 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_rx_depack.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  |  60  | 446k  | { |  61  | 446k  |     return pkt->curr;  |  62  | 446k  | }  |  
 quic_wire_pkt.c:PACKET_data Line  | Count  | Source  |  60  | 6.00M  | { |  61  | 6.00M  |     return pkt->curr;  |  62  | 6.00M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_data Unexecuted instantiation: tls13_meth.c:PACKET_data Unexecuted instantiation: quic_ackm.c:PACKET_data Unexecuted instantiation: quic_fifd.c:PACKET_data Unexecuted instantiation: ssl_txt.c:PACKET_data Unexecuted instantiation: quic-client.c:PACKET_data  | 
63  |  |  | 
64  |  | /*  | 
65  |  |  * Initialise a PACKET with |len| bytes held in |buf|. This does not make a  | 
66  |  |  * copy of the data so |buf| must be present for the whole time that the PACKET  | 
67  |  |  * is being used.  | 
68  |  |  */  | 
69  |  | __owur static ossl_inline int PACKET_buf_init(PACKET *pkt,  | 
70  |  |                                               const unsigned char *buf,  | 
71  |  |                                               size_t len)  | 
72  | 2.92M  | { | 
73  |  |     /* Sanity check for negative values. */  | 
74  | 2.92M  |     if (len > (size_t)(SIZE_MAX / 2))  | 
75  | 0  |         return 0;  | 
76  |  |  | 
77  | 2.92M  |     pkt->curr = buf;  | 
78  | 2.92M  |     pkt->remaining = len;  | 
79  | 2.92M  |     return 1;  | 
80  | 2.92M  | } 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: dsa_sig.c:PACKET_buf_init Unexecuted instantiation: ecdsa_sig.c:PACKET_buf_init Unexecuted instantiation: eddsa_sig.c:PACKET_buf_init Unexecuted instantiation: rsa_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_rsa_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  |  72  | 158k  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 158k  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 158k  |     pkt->curr = buf;  |  78  | 158k  |     pkt->remaining = len;  |  79  | 158k  |     return 1;  |  80  | 158k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_buf_init Unexecuted instantiation: packet.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_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_rsa_gen.c:PACKET_buf_init Unexecuted instantiation: punycode.c:PACKET_buf_init Unexecuted instantiation: der_sm2_gen.c:PACKET_buf_init Unexecuted instantiation: methods.c:PACKET_buf_init Unexecuted instantiation: s3_lib.c:PACKET_buf_init Unexecuted instantiation: s3_msg.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_rsa.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_rstream.c:PACKET_buf_init Unexecuted instantiation: quic_sf_list.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 rec_layer_d1.c:PACKET_buf_init Line  | Count  | Source  |  72  | 635  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 635  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 635  |     pkt->curr = buf;  |  78  | 635  |     pkt->remaining = len;  |  79  | 635  |     return 1;  |  80  | 635  | }  |  
 rec_layer_s3.c:PACKET_buf_init Line  | Count  | Source  |  72  | 2.35k  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 2.35k  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 2.35k  |     pkt->curr = buf;  |  78  | 2.35k  |     pkt->remaining = len;  |  79  | 2.35k  |     return 1;  |  80  | 2.35k  | }  |  
 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  |  72  | 221k  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 221k  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 221k  |     pkt->curr = buf;  |  78  | 221k  |     pkt->remaining = len;  |  79  | 221k  |     return 1;  |  80  | 221k  | }  |  
 Unexecuted instantiation: tls_multib.c:PACKET_buf_init Unexecuted instantiation: tlsany_meth.c:PACKET_buf_init extensions.c:PACKET_buf_init Line  | Count  | Source  |  72  | 4  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 4  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 4  |     pkt->curr = buf;  |  78  | 4  |     pkt->remaining = len;  |  79  | 4  |     return 1;  |  80  | 4  | }  |  
 extensions_clnt.c:PACKET_buf_init Line  | Count  | Source  |  72  | 8.93k  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 8.93k  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 8.93k  |     pkt->curr = buf;  |  78  | 8.93k  |     pkt->remaining = len;  |  79  | 8.93k  |     return 1;  |  80  | 8.93k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_buf_init Unexecuted instantiation: extensions_srvr.c:PACKET_buf_init Line  | Count  | Source  |  72  | 216k  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 216k  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 216k  |     pkt->curr = buf;  |  78  | 216k  |     pkt->remaining = len;  |  79  | 216k  |     return 1;  |  80  | 216k  | }  |  
 statem_clnt.c:PACKET_buf_init Line  | Count  | Source  |  72  | 2.72k  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 2.72k  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 2.72k  |     pkt->curr = buf;  |  78  | 2.72k  |     pkt->remaining = len;  |  79  | 2.72k  |     return 1;  |  80  | 2.72k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_buf_init Unexecuted instantiation: statem_lib.c:PACKET_buf_init statem_srvr.c:PACKET_buf_init Line  | Count  | Source  |  72  | 17.2k  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 17.2k  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 17.2k  |     pkt->curr = buf;  |  78  | 17.2k  |     pkt->remaining = len;  |  79  | 17.2k  |     return 1;  |  80  | 17.2k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_buf_init Unexecuted instantiation: d1_msg.c:PACKET_buf_init Unexecuted instantiation: d1_srtp.c:PACKET_buf_init Unexecuted instantiation: pqueue.c:PACKET_buf_init Unexecuted instantiation: s3_enc.c:PACKET_buf_init Unexecuted instantiation: ssl_asn1.c:PACKET_buf_init Unexecuted instantiation: ssl_conf.c:PACKET_buf_init Unexecuted instantiation: t1_enc.c:PACKET_buf_init quic_channel.c:PACKET_buf_init Line  | Count  | Source  |  72  | 8.92k  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 8.92k  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 8.92k  |     pkt->curr = buf;  |  78  | 8.92k  |     pkt->remaining = len;  |  79  | 8.92k  |     return 1;  |  80  | 8.92k  | }  |  
 Unexecuted instantiation: quic_demux.c:PACKET_buf_init quic_record_rx.c:PACKET_buf_init Line  | Count  | Source  |  72  | 1.96M  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 1.96M  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 1.96M  |     pkt->curr = buf;  |  78  | 1.96M  |     pkt->remaining = len;  |  79  | 1.96M  |     return 1;  |  80  | 1.96M  | }  |  
 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 quic_rx_depack.c:PACKET_buf_init Line  | Count  | Source  |  72  | 319k  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 319k  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 319k  |     pkt->curr = buf;  |  78  | 319k  |     pkt->remaining = len;  |  79  | 319k  |     return 1;  |  80  | 319k  | }  |  
 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  |  72  | 10  | { |  73  |  |     /* Sanity check for negative values. */  |  74  | 10  |     if (len > (size_t)(SIZE_MAX / 2))  |  75  | 0  |         return 0;  |  76  |  |  |  77  | 10  |     pkt->curr = buf;  |  78  | 10  |     pkt->remaining = len;  |  79  | 10  |     return 1;  |  80  | 10  | }  |  
 Unexecuted instantiation: quic_wire_pkt.c:PACKET_buf_init Unexecuted instantiation: ssl3_meth.c:PACKET_buf_init Unexecuted instantiation: tls13_meth.c:PACKET_buf_init Unexecuted instantiation: quic_ackm.c:PACKET_buf_init Unexecuted instantiation: quic_fifd.c:PACKET_buf_init Unexecuted instantiation: ssl_txt.c:PACKET_buf_init Unexecuted instantiation: quic-client.c:PACKET_buf_init  | 
81  |  |  | 
82  |  | /* Initialize a PACKET to hold zero bytes. */  | 
83  |  | static ossl_inline void PACKET_null_init(PACKET *pkt)  | 
84  | 30.9k  | { | 
85  | 30.9k  |     pkt->curr = NULL;  | 
86  | 30.9k  |     pkt->remaining = 0;  | 
87  | 30.9k  | } 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: dsa_sig.c:PACKET_null_init Unexecuted instantiation: ecdsa_sig.c:PACKET_null_init Unexecuted instantiation: eddsa_sig.c:PACKET_null_init Unexecuted instantiation: rsa_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_rsa_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: der_rsa_sig.c:PACKET_null_init Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_null_init Unexecuted instantiation: punycode.c:PACKET_null_init Unexecuted instantiation: der_sm2_gen.c:PACKET_null_init Unexecuted instantiation: methods.c:PACKET_null_init Unexecuted instantiation: s3_lib.c:PACKET_null_init Unexecuted instantiation: s3_msg.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_rsa.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_rstream.c:PACKET_null_init Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  84  | 1.77k  | { |  85  | 1.77k  |     pkt->curr = NULL;  |  86  | 1.77k  |     pkt->remaining = 0;  |  87  | 1.77k  | }  |  
 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  |  84  | 29.1k  | { |  85  | 29.1k  |     pkt->curr = NULL;  |  86  | 29.1k  |     pkt->remaining = 0;  |  87  | 29.1k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_null_init Unexecuted instantiation: d1_msg.c:PACKET_null_init Unexecuted instantiation: d1_srtp.c:PACKET_null_init Unexecuted instantiation: pqueue.c:PACKET_null_init Unexecuted instantiation: s3_enc.c:PACKET_null_init Unexecuted instantiation: ssl_asn1.c:PACKET_null_init Unexecuted instantiation: ssl_conf.c:PACKET_null_init Unexecuted instantiation: t1_enc.c:PACKET_null_init Unexecuted instantiation: quic_channel.c:PACKET_null_init Unexecuted instantiation: quic_demux.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_rx_depack.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: ssl3_meth.c:PACKET_null_init Unexecuted instantiation: tls13_meth.c:PACKET_null_init Unexecuted instantiation: quic_ackm.c:PACKET_null_init Unexecuted instantiation: quic_fifd.c:PACKET_null_init Unexecuted instantiation: ssl_txt.c:PACKET_null_init Unexecuted instantiation: quic-client.c:PACKET_null_init  | 
88  |  |  | 
89  |  | /*  | 
90  |  |  * Returns 1 if the packet has length |num| and its contents equal the |num|  | 
91  |  |  * bytes read from |ptr|. Returns 0 otherwise (lengths or contents not equal).  | 
92  |  |  * If lengths are equal, performs the comparison in constant time.  | 
93  |  |  */  | 
94  |  | __owur static ossl_inline int PACKET_equal(const PACKET *pkt, const void *ptr,  | 
95  |  |                                            size_t num)  | 
96  | 4  | { | 
97  | 4  |     if (PACKET_remaining(pkt) != num)  | 
98  | 4  |         return 0;  | 
99  | 0  |     return CRYPTO_memcmp(pkt->curr, ptr, num) == 0;  | 
100  | 4  | } 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: dsa_sig.c:PACKET_equal Unexecuted instantiation: ecdsa_sig.c:PACKET_equal Unexecuted instantiation: eddsa_sig.c:PACKET_equal Unexecuted instantiation: rsa_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_rsa_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: der_rsa_sig.c:PACKET_equal Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_equal Unexecuted instantiation: punycode.c:PACKET_equal Unexecuted instantiation: der_sm2_gen.c:PACKET_equal Unexecuted instantiation: methods.c:PACKET_equal Unexecuted instantiation: s3_lib.c:PACKET_equal Unexecuted instantiation: s3_msg.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_rsa.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_rstream.c:PACKET_equal Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  96  | 4  | { |  97  | 4  |     if (PACKET_remaining(pkt) != num)  |  98  | 4  |         return 0;  |  99  | 0  |     return CRYPTO_memcmp(pkt->curr, ptr, num) == 0;  |  100  | 4  | }  |  
 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: d1_lib.c:PACKET_equal Unexecuted instantiation: d1_msg.c:PACKET_equal Unexecuted instantiation: d1_srtp.c:PACKET_equal Unexecuted instantiation: pqueue.c:PACKET_equal Unexecuted instantiation: s3_enc.c:PACKET_equal Unexecuted instantiation: ssl_asn1.c:PACKET_equal Unexecuted instantiation: ssl_conf.c:PACKET_equal Unexecuted instantiation: t1_enc.c:PACKET_equal Unexecuted instantiation: quic_channel.c:PACKET_equal Unexecuted instantiation: quic_demux.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_rx_depack.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: ssl3_meth.c:PACKET_equal Unexecuted instantiation: tls13_meth.c:PACKET_equal Unexecuted instantiation: quic_ackm.c:PACKET_equal Unexecuted instantiation: quic_fifd.c:PACKET_equal Unexecuted instantiation: ssl_txt.c:PACKET_equal Unexecuted instantiation: quic-client.c:PACKET_equal  | 
101  |  |  | 
102  |  | /*  | 
103  |  |  * Peek ahead and initialize |subpkt| with the next |len| bytes read from |pkt|.  | 
104  |  |  * Data is not copied: the |subpkt| packet will share its underlying buffer with  | 
105  |  |  * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|.  | 
106  |  |  */  | 
107  |  | __owur static ossl_inline int PACKET_peek_sub_packet(const PACKET *pkt,  | 
108  |  |                                                      PACKET *subpkt, size_t len)  | 
109  | 61.0k  | { | 
110  | 61.0k  |     if (PACKET_remaining(pkt) < len)  | 
111  | 576  |         return 0;  | 
112  |  |  | 
113  | 60.5k  |     return PACKET_buf_init(subpkt, pkt->curr, len);  | 
114  | 61.0k  | } 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: 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: rsa_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_rsa_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  |  109  | 46.6k  | { |  110  | 46.6k  |     if (PACKET_remaining(pkt) < len)  |  111  | 445  |         return 0;  |  112  |  |  |  113  | 46.2k  |     return PACKET_buf_init(subpkt, pkt->curr, len);  |  114  | 46.6k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_peek_sub_packet Unexecuted instantiation: packet.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_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_rsa_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: punycode.c:PACKET_peek_sub_packet Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_sub_packet Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  109  | 2.72k  | { |  110  | 2.72k  |     if (PACKET_remaining(pkt) < len)  |  111  | 0  |         return 0;  |  112  |  |  |  113  | 2.72k  |     return PACKET_buf_init(subpkt, pkt->curr, len);  |  114  | 2.72k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_peek_sub_packet Unexecuted instantiation: statem_lib.c:PACKET_peek_sub_packet statem_srvr.c:PACKET_peek_sub_packet Line  | Count  | Source  |  109  | 11.7k  | { |  110  | 11.7k  |     if (PACKET_remaining(pkt) < len)  |  111  | 131  |         return 0;  |  112  |  |  |  113  | 11.5k  |     return PACKET_buf_init(subpkt, pkt->curr, len);  |  114  | 11.7k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_peek_sub_packet Unexecuted instantiation: d1_msg.c:PACKET_peek_sub_packet Unexecuted instantiation: d1_srtp.c:PACKET_peek_sub_packet Unexecuted instantiation: pqueue.c:PACKET_peek_sub_packet Unexecuted instantiation: s3_enc.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: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_peek_sub_packet Unexecuted instantiation: tls13_meth.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_ackm.c:PACKET_peek_sub_packet Unexecuted instantiation: quic_fifd.c:PACKET_peek_sub_packet Unexecuted instantiation: ssl_txt.c:PACKET_peek_sub_packet Unexecuted instantiation: quic-client.c:PACKET_peek_sub_packet  | 
115  |  |  | 
116  |  | /*  | 
117  |  |  * Initialize |subpkt| with the next |len| bytes read from |pkt|. Data is not  | 
118  |  |  * copied: the |subpkt| packet will share its underlying buffer with the  | 
119  |  |  * original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|.  | 
120  |  |  */  | 
121  |  | __owur static ossl_inline int PACKET_get_sub_packet(PACKET *pkt,  | 
122  |  |                                                     PACKET *subpkt, size_t len)  | 
123  | 61.0k  | { | 
124  | 61.0k  |     if (!PACKET_peek_sub_packet(pkt, subpkt, len))  | 
125  | 576  |         return 0;  | 
126  |  |  | 
127  | 60.5k  |     packet_forward(pkt, len);  | 
128  |  |  | 
129  | 60.5k  |     return 1;  | 
130  | 61.0k  | } 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: 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: rsa_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_rsa_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  |  123  | 46.6k  | { |  124  | 46.6k  |     if (!PACKET_peek_sub_packet(pkt, subpkt, len))  |  125  | 445  |         return 0;  |  126  |  |  |  127  | 46.2k  |     packet_forward(pkt, len);  |  128  |  |  |  129  | 46.2k  |     return 1;  |  130  | 46.6k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_get_sub_packet Unexecuted instantiation: packet.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_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_rsa_gen.c:PACKET_get_sub_packet Unexecuted instantiation: punycode.c:PACKET_get_sub_packet Unexecuted instantiation: der_sm2_gen.c:PACKET_get_sub_packet Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_get_sub_packet Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  123  | 2.72k  | { |  124  | 2.72k  |     if (!PACKET_peek_sub_packet(pkt, subpkt, len))  |  125  | 0  |         return 0;  |  126  |  |  |  127  | 2.72k  |     packet_forward(pkt, len);  |  128  |  |  |  129  | 2.72k  |     return 1;  |  130  | 2.72k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_get_sub_packet Unexecuted instantiation: statem_lib.c:PACKET_get_sub_packet statem_srvr.c:PACKET_get_sub_packet Line  | Count  | Source  |  123  | 11.7k  | { |  124  | 11.7k  |     if (!PACKET_peek_sub_packet(pkt, subpkt, len))  |  125  | 131  |         return 0;  |  126  |  |  |  127  | 11.5k  |     packet_forward(pkt, len);  |  128  |  |  |  129  | 11.5k  |     return 1;  |  130  | 11.7k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_get_sub_packet Unexecuted instantiation: d1_msg.c:PACKET_get_sub_packet Unexecuted instantiation: d1_srtp.c:PACKET_get_sub_packet Unexecuted instantiation: pqueue.c:PACKET_get_sub_packet Unexecuted instantiation: s3_enc.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: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_get_sub_packet Unexecuted instantiation: tls13_meth.c:PACKET_get_sub_packet Unexecuted instantiation: quic_ackm.c:PACKET_get_sub_packet Unexecuted instantiation: quic_fifd.c:PACKET_get_sub_packet Unexecuted instantiation: ssl_txt.c:PACKET_get_sub_packet Unexecuted instantiation: quic-client.c:PACKET_get_sub_packet  | 
131  |  |  | 
132  |  | /*  | 
133  |  |  * Peek ahead at 2 bytes in network order from |pkt| and store the value in  | 
134  |  |  * |*data|  | 
135  |  |  */  | 
136  |  | __owur static ossl_inline int PACKET_peek_net_2(const PACKET *pkt,  | 
137  |  |                                                 unsigned int *data)  | 
138  | 1.57M  | { | 
139  | 1.57M  |     if (PACKET_remaining(pkt) < 2)  | 
140  | 4.82k  |         return 0;  | 
141  |  |  | 
142  | 1.56M  |     *data = ((unsigned int)(*pkt->curr)) << 8;  | 
143  | 1.56M  |     *data |= *(pkt->curr + 1);  | 
144  |  |  | 
145  | 1.56M  |     return 1;  | 
146  | 1.57M  | } 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: 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: rsa_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_rsa_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  |  138  | 5.76k  | { |  139  | 5.76k  |     if (PACKET_remaining(pkt) < 2)  |  140  | 78  |         return 0;  |  141  |  |  |  142  | 5.68k  |     *data = ((unsigned int)(*pkt->curr)) << 8;  |  143  | 5.68k  |     *data |= *(pkt->curr + 1);  |  144  |  |  |  145  | 5.68k  |     return 1;  |  146  | 5.76k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_peek_net_2 Unexecuted instantiation: packet.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_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_rsa_gen.c:PACKET_peek_net_2 Unexecuted instantiation: punycode.c:PACKET_peek_net_2 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_net_2 Unexecuted instantiation: methods.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_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_rsa.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_sess.c:PACKET_peek_net_2 t1_lib.c:PACKET_peek_net_2 Line  | Count  | Source  |  138  | 175k  | { |  139  | 175k  |     if (PACKET_remaining(pkt) < 2)  |  140  | 0  |         return 0;  |  141  |  |  |  142  | 175k  |     *data = ((unsigned int)(*pkt->curr)) << 8;  |  143  | 175k  |     *data |= *(pkt->curr + 1);  |  144  |  |  |  145  | 175k  |     return 1;  |  146  | 175k  | }  |  
 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_rstream.c:PACKET_peek_net_2 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  138  | 656k  | { |  139  | 656k  |     if (PACKET_remaining(pkt) < 2)  |  140  | 0  |         return 0;  |  141  |  |  |  142  | 656k  |     *data = ((unsigned int)(*pkt->curr)) << 8;  |  143  | 656k  |     *data |= *(pkt->curr + 1);  |  144  |  |  |  145  | 656k  |     return 1;  |  146  | 656k  | }  |  
 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  |  138  | 404k  | { |  139  | 404k  |     if (PACKET_remaining(pkt) < 2)  |  140  | 78  |         return 0;  |  141  |  |  |  142  | 404k  |     *data = ((unsigned int)(*pkt->curr)) << 8;  |  143  | 404k  |     *data |= *(pkt->curr + 1);  |  144  |  |  |  145  | 404k  |     return 1;  |  146  | 404k  | }  |  
 extensions_clnt.c:PACKET_peek_net_2 Line  | Count  | Source  |  138  | 44.6k  | { |  139  | 44.6k  |     if (PACKET_remaining(pkt) < 2)  |  140  | 99  |         return 0;  |  141  |  |  |  142  | 44.5k  |     *data = ((unsigned int)(*pkt->curr)) << 8;  |  143  | 44.5k  |     *data |= *(pkt->curr + 1);  |  144  |  |  |  145  | 44.5k  |     return 1;  |  146  | 44.6k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_peek_net_2 extensions_srvr.c:PACKET_peek_net_2 Line  | Count  | Source  |  138  | 38.9k  | { |  139  | 38.9k  |     if (PACKET_remaining(pkt) < 2)  |  140  | 152  |         return 0;  |  141  |  |  |  142  | 38.7k  |     *data = ((unsigned int)(*pkt->curr)) << 8;  |  143  | 38.7k  |     *data |= *(pkt->curr + 1);  |  144  |  |  |  145  | 38.7k  |     return 1;  |  146  | 38.9k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_peek_net_2 statem_clnt.c:PACKET_peek_net_2 Line  | Count  | Source  |  138  | 125k  | { |  139  | 125k  |     if (PACKET_remaining(pkt) < 2)  |  140  | 138  |         return 0;  |  141  |  |  |  142  | 125k  |     *data = ((unsigned int)(*pkt->curr)) << 8;  |  143  | 125k  |     *data |= *(pkt->curr + 1);  |  144  |  |  |  145  | 125k  |     return 1;  |  146  | 125k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_peek_net_2 statem_lib.c:PACKET_peek_net_2 Line  | Count  | Source  |  138  | 44.6k  | { |  139  | 44.6k  |     if (PACKET_remaining(pkt) < 2)  |  140  | 4.22k  |         return 0;  |  141  |  |  |  142  | 40.3k  |     *data = ((unsigned int)(*pkt->curr)) << 8;  |  143  | 40.3k  |     *data |= *(pkt->curr + 1);  |  144  |  |  |  145  | 40.3k  |     return 1;  |  146  | 44.6k  | }  |  
 statem_srvr.c:PACKET_peek_net_2 Line  | Count  | Source  |  138  | 76.4k  | { |  139  | 76.4k  |     if (PACKET_remaining(pkt) < 2)  |  140  | 56  |         return 0;  |  141  |  |  |  142  | 76.4k  |     *data = ((unsigned int)(*pkt->curr)) << 8;  |  143  | 76.4k  |     *data |= *(pkt->curr + 1);  |  144  |  |  |  145  | 76.4k  |     return 1;  |  146  | 76.4k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_peek_net_2 Unexecuted instantiation: d1_msg.c:PACKET_peek_net_2 Unexecuted instantiation: d1_srtp.c:PACKET_peek_net_2 Unexecuted instantiation: pqueue.c:PACKET_peek_net_2 Unexecuted instantiation: s3_enc.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: t1_enc.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_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_rx_depack.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  |  138  | 20  | { |  139  | 20  |     if (PACKET_remaining(pkt) < 2)  |  140  | 0  |         return 0;  |  141  |  |  |  142  | 20  |     *data = ((unsigned int)(*pkt->curr)) << 8;  |  143  | 20  |     *data |= *(pkt->curr + 1);  |  144  |  |  |  145  | 20  |     return 1;  |  146  | 20  | }  |  
 Unexecuted instantiation: quic_wire_pkt.c:PACKET_peek_net_2 Unexecuted instantiation: ssl3_meth.c:PACKET_peek_net_2 Unexecuted instantiation: tls13_meth.c:PACKET_peek_net_2 Unexecuted instantiation: quic_ackm.c:PACKET_peek_net_2 Unexecuted instantiation: quic_fifd.c:PACKET_peek_net_2 Unexecuted instantiation: ssl_txt.c:PACKET_peek_net_2 Unexecuted instantiation: quic-client.c:PACKET_peek_net_2  | 
147  |  |  | 
148  |  | /* Equivalent of n2s */  | 
149  |  | /* Get 2 bytes in network order from |pkt| and store the value in |*data| */  | 
150  |  | __owur static ossl_inline int PACKET_get_net_2(PACKET *pkt, unsigned int *data)  | 
151  | 1.57M  | { | 
152  | 1.57M  |     if (!PACKET_peek_net_2(pkt, data))  | 
153  | 4.82k  |         return 0;  | 
154  |  |  | 
155  | 1.56M  |     packet_forward(pkt, 2);  | 
156  |  |  | 
157  | 1.56M  |     return 1;  | 
158  | 1.57M  | } 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: 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: rsa_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_rsa_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  |  151  | 5.76k  | { |  152  | 5.76k  |     if (!PACKET_peek_net_2(pkt, data))  |  153  | 78  |         return 0;  |  154  |  |  |  155  | 5.68k  |     packet_forward(pkt, 2);  |  156  |  |  |  157  | 5.68k  |     return 1;  |  158  | 5.76k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_get_net_2 Unexecuted instantiation: packet.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_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_rsa_gen.c:PACKET_get_net_2 Unexecuted instantiation: punycode.c:PACKET_get_net_2 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_2 Unexecuted instantiation: methods.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_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_rsa.c:PACKET_get_net_2 Unexecuted instantiation: ssl_sess.c:PACKET_get_net_2 t1_lib.c:PACKET_get_net_2 Line  | Count  | Source  |  151  | 175k  | { |  152  | 175k  |     if (!PACKET_peek_net_2(pkt, data))  |  153  | 0  |         return 0;  |  154  |  |  |  155  | 175k  |     packet_forward(pkt, 2);  |  156  |  |  |  157  | 175k  |     return 1;  |  158  | 175k  | }  |  
 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_rstream.c:PACKET_get_net_2 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  151  | 656k  | { |  152  | 656k  |     if (!PACKET_peek_net_2(pkt, data))  |  153  | 0  |         return 0;  |  154  |  |  |  155  | 656k  |     packet_forward(pkt, 2);  |  156  |  |  |  157  | 656k  |     return 1;  |  158  | 656k  | }  |  
 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  |  151  | 404k  | { |  152  | 404k  |     if (!PACKET_peek_net_2(pkt, data))  |  153  | 78  |         return 0;  |  154  |  |  |  155  | 404k  |     packet_forward(pkt, 2);  |  156  |  |  |  157  | 404k  |     return 1;  |  158  | 404k  | }  |  
 extensions_clnt.c:PACKET_get_net_2 Line  | Count  | Source  |  151  | 44.6k  | { |  152  | 44.6k  |     if (!PACKET_peek_net_2(pkt, data))  |  153  | 99  |         return 0;  |  154  |  |  |  155  | 44.5k  |     packet_forward(pkt, 2);  |  156  |  |  |  157  | 44.5k  |     return 1;  |  158  | 44.6k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_get_net_2 extensions_srvr.c:PACKET_get_net_2 Line  | Count  | Source  |  151  | 38.9k  | { |  152  | 38.9k  |     if (!PACKET_peek_net_2(pkt, data))  |  153  | 152  |         return 0;  |  154  |  |  |  155  | 38.7k  |     packet_forward(pkt, 2);  |  156  |  |  |  157  | 38.7k  |     return 1;  |  158  | 38.9k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_get_net_2 statem_clnt.c:PACKET_get_net_2 Line  | Count  | Source  |  151  | 125k  | { |  152  | 125k  |     if (!PACKET_peek_net_2(pkt, data))  |  153  | 138  |         return 0;  |  154  |  |  |  155  | 125k  |     packet_forward(pkt, 2);  |  156  |  |  |  157  | 125k  |     return 1;  |  158  | 125k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_get_net_2 statem_lib.c:PACKET_get_net_2 Line  | Count  | Source  |  151  | 44.6k  | { |  152  | 44.6k  |     if (!PACKET_peek_net_2(pkt, data))  |  153  | 4.22k  |         return 0;  |  154  |  |  |  155  | 40.3k  |     packet_forward(pkt, 2);  |  156  |  |  |  157  | 40.3k  |     return 1;  |  158  | 44.6k  | }  |  
 statem_srvr.c:PACKET_get_net_2 Line  | Count  | Source  |  151  | 76.4k  | { |  152  | 76.4k  |     if (!PACKET_peek_net_2(pkt, data))  |  153  | 56  |         return 0;  |  154  |  |  |  155  | 76.4k  |     packet_forward(pkt, 2);  |  156  |  |  |  157  | 76.4k  |     return 1;  |  158  | 76.4k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_get_net_2 Unexecuted instantiation: d1_msg.c:PACKET_get_net_2 Unexecuted instantiation: d1_srtp.c:PACKET_get_net_2 Unexecuted instantiation: pqueue.c:PACKET_get_net_2 Unexecuted instantiation: s3_enc.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: t1_enc.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_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_rx_depack.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  |  151  | 20  | { |  152  | 20  |     if (!PACKET_peek_net_2(pkt, data))  |  153  | 0  |         return 0;  |  154  |  |  |  155  | 20  |     packet_forward(pkt, 2);  |  156  |  |  |  157  | 20  |     return 1;  |  158  | 20  | }  |  
 Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_net_2 Unexecuted instantiation: ssl3_meth.c:PACKET_get_net_2 Unexecuted instantiation: tls13_meth.c:PACKET_get_net_2 Unexecuted instantiation: quic_ackm.c:PACKET_get_net_2 Unexecuted instantiation: quic_fifd.c:PACKET_get_net_2 Unexecuted instantiation: ssl_txt.c:PACKET_get_net_2 Unexecuted instantiation: quic-client.c:PACKET_get_net_2  | 
159  |  |  | 
160  |  | /* Same as PACKET_get_net_2() but for a size_t */  | 
161  |  | __owur static ossl_inline int PACKET_get_net_2_len(PACKET *pkt, size_t *data)  | 
162  | 447k  | { | 
163  | 447k  |     unsigned int i;  | 
164  | 447k  |     int ret = PACKET_get_net_2(pkt, &i);  | 
165  |  |  | 
166  | 447k  |     if (ret)  | 
167  | 447k  |         *data = (size_t)i;  | 
168  |  |  | 
169  | 447k  |     return ret;  | 
170  | 447k  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_get_net_2_len Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_get_net_2_len Unexecuted instantiation: punycode.c:PACKET_get_net_2_len Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_2_len Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_get_net_2_len Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  162  | 438k  | { |  163  | 438k  |     unsigned int i;  |  164  | 438k  |     int ret = PACKET_get_net_2(pkt, &i);  |  165  |  |  |  166  | 438k  |     if (ret)  |  167  | 438k  |         *data = (size_t)i;  |  168  |  |  |  169  | 438k  |     return ret;  |  170  | 438k  | }  |  
 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  |  162  | 8.95k  | { |  163  | 8.95k  |     unsigned int i;  |  164  | 8.95k  |     int ret = PACKET_get_net_2(pkt, &i);  |  165  |  |  |  166  | 8.95k  |     if (ret)  |  167  | 8.94k  |         *data = (size_t)i;  |  168  |  |  |  169  | 8.95k  |     return ret;  |  170  | 8.95k  | }  |  
 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: d1_lib.c:PACKET_get_net_2_len Unexecuted instantiation: d1_msg.c:PACKET_get_net_2_len Unexecuted instantiation: d1_srtp.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: ssl_asn1.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_conf.c:PACKET_get_net_2_len Unexecuted instantiation: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_get_net_2_len Unexecuted instantiation: tls13_meth.c:PACKET_get_net_2_len Unexecuted instantiation: quic_ackm.c:PACKET_get_net_2_len Unexecuted instantiation: quic_fifd.c:PACKET_get_net_2_len Unexecuted instantiation: ssl_txt.c:PACKET_get_net_2_len Unexecuted instantiation: quic-client.c:PACKET_get_net_2_len  | 
171  |  |  | 
172  |  | /*  | 
173  |  |  * Peek ahead at 3 bytes in network order from |pkt| and store the value in  | 
174  |  |  * |*data|  | 
175  |  |  */  | 
176  |  | __owur static ossl_inline int PACKET_peek_net_3(const PACKET *pkt,  | 
177  |  |                                                 unsigned long *data)  | 
178  | 53.3k  | { | 
179  | 53.3k  |     if (PACKET_remaining(pkt) < 3)  | 
180  | 18  |         return 0;  | 
181  |  |  | 
182  | 53.3k  |     *data = ((unsigned long)(*pkt->curr)) << 16;  | 
183  | 53.3k  |     *data |= ((unsigned long)(*(pkt->curr + 1))) << 8;  | 
184  | 53.3k  |     *data |= *(pkt->curr + 2);  | 
185  |  |  | 
186  | 53.3k  |     return 1;  | 
187  | 53.3k  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_peek_net_3 Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_peek_net_3 Unexecuted instantiation: punycode.c:PACKET_peek_net_3 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_net_3 Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_peek_net_3 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  178  | 8  | { |  179  | 8  |     if (PACKET_remaining(pkt) < 3)  |  180  | 0  |         return 0;  |  181  |  |  |  182  | 8  |     *data = ((unsigned long)(*pkt->curr)) << 16;  |  183  | 8  |     *data |= ((unsigned long)(*(pkt->curr + 1))) << 8;  |  184  | 8  |     *data |= *(pkt->curr + 2);  |  185  |  |  |  186  | 8  |     return 1;  |  187  | 8  | }  |  
 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  |  178  | 53.3k  | { |  179  | 53.3k  |     if (PACKET_remaining(pkt) < 3)  |  180  | 18  |         return 0;  |  181  |  |  |  182  | 53.2k  |     *data = ((unsigned long)(*pkt->curr)) << 16;  |  183  | 53.2k  |     *data |= ((unsigned long)(*(pkt->curr + 1))) << 8;  |  184  | 53.2k  |     *data |= *(pkt->curr + 2);  |  185  |  |  |  186  | 53.2k  |     return 1;  |  187  | 53.3k  | }  |  
 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: d1_lib.c:PACKET_peek_net_3 Unexecuted instantiation: d1_msg.c:PACKET_peek_net_3 Unexecuted instantiation: d1_srtp.c:PACKET_peek_net_3 Unexecuted instantiation: pqueue.c:PACKET_peek_net_3 Unexecuted instantiation: s3_enc.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: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_peek_net_3 Unexecuted instantiation: tls13_meth.c:PACKET_peek_net_3 Unexecuted instantiation: quic_ackm.c:PACKET_peek_net_3 Unexecuted instantiation: quic_fifd.c:PACKET_peek_net_3 Unexecuted instantiation: ssl_txt.c:PACKET_peek_net_3 Unexecuted instantiation: quic-client.c:PACKET_peek_net_3  | 
188  |  |  | 
189  |  | /* Equivalent of n2l3 */  | 
190  |  | /* Get 3 bytes in network order from |pkt| and store the value in |*data| */  | 
191  |  | __owur static ossl_inline int PACKET_get_net_3(PACKET *pkt, unsigned long *data)  | 
192  | 53.3k  | { | 
193  | 53.3k  |     if (!PACKET_peek_net_3(pkt, data))  | 
194  | 18  |         return 0;  | 
195  |  |  | 
196  | 53.3k  |     packet_forward(pkt, 3);  | 
197  |  |  | 
198  | 53.3k  |     return 1;  | 
199  | 53.3k  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_get_net_3 Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_get_net_3 Unexecuted instantiation: punycode.c:PACKET_get_net_3 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_3 Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_get_net_3 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  192  | 8  | { |  193  | 8  |     if (!PACKET_peek_net_3(pkt, data))  |  194  | 0  |         return 0;  |  195  |  |  |  196  | 8  |     packet_forward(pkt, 3);  |  197  |  |  |  198  | 8  |     return 1;  |  199  | 8  | }  |  
 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  |  192  | 53.3k  | { |  193  | 53.3k  |     if (!PACKET_peek_net_3(pkt, data))  |  194  | 18  |         return 0;  |  195  |  |  |  196  | 53.2k  |     packet_forward(pkt, 3);  |  197  |  |  |  198  | 53.2k  |     return 1;  |  199  | 53.3k  | }  |  
 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: d1_lib.c:PACKET_get_net_3 Unexecuted instantiation: d1_msg.c:PACKET_get_net_3 Unexecuted instantiation: d1_srtp.c:PACKET_get_net_3 Unexecuted instantiation: pqueue.c:PACKET_get_net_3 Unexecuted instantiation: s3_enc.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: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_get_net_3 Unexecuted instantiation: tls13_meth.c:PACKET_get_net_3 Unexecuted instantiation: quic_ackm.c:PACKET_get_net_3 Unexecuted instantiation: quic_fifd.c:PACKET_get_net_3 Unexecuted instantiation: ssl_txt.c:PACKET_get_net_3 Unexecuted instantiation: quic-client.c:PACKET_get_net_3  | 
200  |  |  | 
201  |  | /* Same as PACKET_get_net_3() but for a size_t */  | 
202  |  | __owur static ossl_inline int PACKET_get_net_3_len(PACKET *pkt, size_t *data)  | 
203  | 0  | { | 
204  | 0  |     unsigned long i;  | 
205  | 0  |     int ret = PACKET_get_net_3(pkt, &i);  | 
206  |  | 
  | 
207  | 0  |     if (ret)  | 
208  | 0  |         *data = (size_t)i;  | 
209  |  | 
  | 
210  | 0  |     return ret;  | 
211  | 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_get_net_3_len Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_get_net_3_len Unexecuted instantiation: punycode.c:PACKET_get_net_3_len Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_3_len Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_get_net_3_len Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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: d1_lib.c:PACKET_get_net_3_len Unexecuted instantiation: d1_msg.c:PACKET_get_net_3_len Unexecuted instantiation: d1_srtp.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: ssl_asn1.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_conf.c:PACKET_get_net_3_len Unexecuted instantiation: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_get_net_3_len Unexecuted instantiation: tls13_meth.c:PACKET_get_net_3_len Unexecuted instantiation: quic_ackm.c:PACKET_get_net_3_len Unexecuted instantiation: quic_fifd.c:PACKET_get_net_3_len Unexecuted instantiation: ssl_txt.c:PACKET_get_net_3_len Unexecuted instantiation: quic-client.c:PACKET_get_net_3_len  | 
212  |  |  | 
213  |  | /*  | 
214  |  |  * Peek ahead at 4 bytes in network order from |pkt| and store the value in  | 
215  |  |  * |*data|  | 
216  |  |  */  | 
217  |  | __owur static ossl_inline int PACKET_peek_net_4(const PACKET *pkt,  | 
218  |  |                                                 unsigned long *data)  | 
219  | 2.57M  | { | 
220  | 2.57M  |     if (PACKET_remaining(pkt) < 4)  | 
221  | 25  |         return 0;  | 
222  |  |  | 
223  | 2.57M  |     *data = ((unsigned long)(*pkt->curr)) << 24;  | 
224  | 2.57M  |     *data |= ((unsigned long)(*(pkt->curr + 1))) << 16;  | 
225  | 2.57M  |     *data |= ((unsigned long)(*(pkt->curr + 2))) << 8;  | 
226  | 2.57M  |     *data |= *(pkt->curr + 3);  | 
227  |  |  | 
228  | 2.57M  |     return 1;  | 
229  | 2.57M  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_peek_net_4 Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_peek_net_4 Unexecuted instantiation: punycode.c:PACKET_peek_net_4 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_net_4 Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_peek_net_4 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.c:PACKET_peek_net_4 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  |  219  | 686  | { |  220  | 686  |     if (PACKET_remaining(pkt) < 4)  |  221  | 9  |         return 0;  |  222  |  |  |  223  | 677  |     *data = ((unsigned long)(*pkt->curr)) << 24;  |  224  | 677  |     *data |= ((unsigned long)(*(pkt->curr + 1))) << 16;  |  225  | 677  |     *data |= ((unsigned long)(*(pkt->curr + 2))) << 8;  |  226  | 677  |     *data |= *(pkt->curr + 3);  |  227  |  |  |  228  | 677  |     return 1;  |  229  | 686  | }  |  
 Unexecuted instantiation: statem.c:PACKET_peek_net_4 statem_clnt.c:PACKET_peek_net_4 Line  | Count  | Source  |  219  | 2.55k  | { |  220  | 2.55k  |     if (PACKET_remaining(pkt) < 4)  |  221  | 16  |         return 0;  |  222  |  |  |  223  | 2.53k  |     *data = ((unsigned long)(*pkt->curr)) << 24;  |  224  | 2.53k  |     *data |= ((unsigned long)(*(pkt->curr + 1))) << 16;  |  225  | 2.53k  |     *data |= ((unsigned long)(*(pkt->curr + 2))) << 8;  |  226  | 2.53k  |     *data |= *(pkt->curr + 3);  |  227  |  |  |  228  | 2.53k  |     return 1;  |  229  | 2.55k  | }  |  
 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: d1_lib.c:PACKET_peek_net_4 Unexecuted instantiation: d1_msg.c:PACKET_peek_net_4 Unexecuted instantiation: d1_srtp.c:PACKET_peek_net_4 Unexecuted instantiation: pqueue.c:PACKET_peek_net_4 Unexecuted instantiation: s3_enc.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: t1_enc.c:PACKET_peek_net_4 quic_channel.c:PACKET_peek_net_4 Line  | Count  | Source  |  219  | 1.13k  | { |  220  | 1.13k  |     if (PACKET_remaining(pkt) < 4)  |  221  | 0  |         return 0;  |  222  |  |  |  223  | 1.13k  |     *data = ((unsigned long)(*pkt->curr)) << 24;  |  224  | 1.13k  |     *data |= ((unsigned long)(*(pkt->curr + 1))) << 16;  |  225  | 1.13k  |     *data |= ((unsigned long)(*(pkt->curr + 2))) << 8;  |  226  | 1.13k  |     *data |= *(pkt->curr + 3);  |  227  |  |  |  228  | 1.13k  |     return 1;  |  229  | 1.13k  | }  |  
 Unexecuted instantiation: quic_demux.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_rx_depack.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  |  219  | 2.56M  | { |  220  | 2.56M  |     if (PACKET_remaining(pkt) < 4)  |  221  | 0  |         return 0;  |  222  |  |  |  223  | 2.56M  |     *data = ((unsigned long)(*pkt->curr)) << 24;  |  224  | 2.56M  |     *data |= ((unsigned long)(*(pkt->curr + 1))) << 16;  |  225  | 2.56M  |     *data |= ((unsigned long)(*(pkt->curr + 2))) << 8;  |  226  | 2.56M  |     *data |= *(pkt->curr + 3);  |  227  |  |  |  228  | 2.56M  |     return 1;  |  229  | 2.56M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_peek_net_4 Unexecuted instantiation: tls13_meth.c:PACKET_peek_net_4 Unexecuted instantiation: quic_ackm.c:PACKET_peek_net_4 Unexecuted instantiation: quic_fifd.c:PACKET_peek_net_4 Unexecuted instantiation: ssl_txt.c:PACKET_peek_net_4 Unexecuted instantiation: quic-client.c:PACKET_peek_net_4  | 
230  |  |  | 
231  |  | /*  | 
232  |  |  * Peek ahead at 8 bytes in network order from |pkt| and store the value in  | 
233  |  |  * |*data|  | 
234  |  |  */  | 
235  |  | __owur static ossl_inline int PACKET_peek_net_8(const PACKET *pkt,  | 
236  |  |                                                 uint64_t *data)  | 
237  | 125k  | { | 
238  | 125k  |     if (PACKET_remaining(pkt) < 8)  | 
239  | 38  |         return 0;  | 
240  |  |  | 
241  | 125k  |     *data = ((uint64_t)(*pkt->curr)) << 56;  | 
242  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 1))) << 48;  | 
243  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 2))) << 40;  | 
244  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 3))) << 32;  | 
245  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 4))) << 24;  | 
246  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 5))) << 16;  | 
247  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 6))) << 8;  | 
248  | 125k  |     *data |= *(pkt->curr + 7);  | 
249  |  |  | 
250  | 125k  |     return 1;  | 
251  | 125k  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_peek_net_8 Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_peek_net_8 Unexecuted instantiation: punycode.c:PACKET_peek_net_8 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_net_8 Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_peek_net_8 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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: d1_lib.c:PACKET_peek_net_8 Unexecuted instantiation: d1_msg.c:PACKET_peek_net_8 Unexecuted instantiation: d1_srtp.c:PACKET_peek_net_8 Unexecuted instantiation: pqueue.c:PACKET_peek_net_8 Unexecuted instantiation: s3_enc.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: t1_enc.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_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_rx_depack.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  |  237  | 125k  | { |  238  | 125k  |     if (PACKET_remaining(pkt) < 8)  |  239  | 38  |         return 0;  |  240  |  |  |  241  | 125k  |     *data = ((uint64_t)(*pkt->curr)) << 56;  |  242  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 1))) << 48;  |  243  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 2))) << 40;  |  244  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 3))) << 32;  |  245  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 4))) << 24;  |  246  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 5))) << 16;  |  247  | 125k  |     *data |= ((uint64_t)(*(pkt->curr + 6))) << 8;  |  248  | 125k  |     *data |= *(pkt->curr + 7);  |  249  |  |  |  250  | 125k  |     return 1;  |  251  | 125k  | }  |  
 Unexecuted instantiation: quic_wire_pkt.c:PACKET_peek_net_8 Unexecuted instantiation: ssl3_meth.c:PACKET_peek_net_8 Unexecuted instantiation: tls13_meth.c:PACKET_peek_net_8 Unexecuted instantiation: quic_ackm.c:PACKET_peek_net_8 Unexecuted instantiation: quic_fifd.c:PACKET_peek_net_8 Unexecuted instantiation: ssl_txt.c:PACKET_peek_net_8 Unexecuted instantiation: quic-client.c:PACKET_peek_net_8  | 
252  |  |  | 
253  |  | /* Equivalent of n2l */  | 
254  |  | /* Get 4 bytes in network order from |pkt| and store the value in |*data| */  | 
255  |  | __owur static ossl_inline int PACKET_get_net_4(PACKET *pkt, unsigned long *data)  | 
256  | 2.57M  | { | 
257  | 2.57M  |     if (!PACKET_peek_net_4(pkt, data))  | 
258  | 25  |         return 0;  | 
259  |  |  | 
260  | 2.57M  |     packet_forward(pkt, 4);  | 
261  |  |  | 
262  | 2.57M  |     return 1;  | 
263  | 2.57M  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_get_net_4 Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_get_net_4 Unexecuted instantiation: punycode.c:PACKET_get_net_4 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_4 Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_get_net_4 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.c:PACKET_get_net_4 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  |  256  | 686  | { |  257  | 686  |     if (!PACKET_peek_net_4(pkt, data))  |  258  | 9  |         return 0;  |  259  |  |  |  260  | 677  |     packet_forward(pkt, 4);  |  261  |  |  |  262  | 677  |     return 1;  |  263  | 686  | }  |  
 Unexecuted instantiation: statem.c:PACKET_get_net_4 statem_clnt.c:PACKET_get_net_4 Line  | Count  | Source  |  256  | 2.55k  | { |  257  | 2.55k  |     if (!PACKET_peek_net_4(pkt, data))  |  258  | 16  |         return 0;  |  259  |  |  |  260  | 2.53k  |     packet_forward(pkt, 4);  |  261  |  |  |  262  | 2.53k  |     return 1;  |  263  | 2.55k  | }  |  
 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: d1_lib.c:PACKET_get_net_4 Unexecuted instantiation: d1_msg.c:PACKET_get_net_4 Unexecuted instantiation: d1_srtp.c:PACKET_get_net_4 Unexecuted instantiation: pqueue.c:PACKET_get_net_4 Unexecuted instantiation: s3_enc.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: t1_enc.c:PACKET_get_net_4 quic_channel.c:PACKET_get_net_4 Line  | Count  | Source  |  256  | 1.13k  | { |  257  | 1.13k  |     if (!PACKET_peek_net_4(pkt, data))  |  258  | 0  |         return 0;  |  259  |  |  |  260  | 1.13k  |     packet_forward(pkt, 4);  |  261  |  |  |  262  | 1.13k  |     return 1;  |  263  | 1.13k  | }  |  
 Unexecuted instantiation: quic_demux.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_rx_depack.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  |  256  | 2.56M  | { |  257  | 2.56M  |     if (!PACKET_peek_net_4(pkt, data))  |  258  | 0  |         return 0;  |  259  |  |  |  260  | 2.56M  |     packet_forward(pkt, 4);  |  261  |  |  |  262  | 2.56M  |     return 1;  |  263  | 2.56M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_get_net_4 Unexecuted instantiation: tls13_meth.c:PACKET_get_net_4 Unexecuted instantiation: quic_ackm.c:PACKET_get_net_4 Unexecuted instantiation: quic_fifd.c:PACKET_get_net_4 Unexecuted instantiation: ssl_txt.c:PACKET_get_net_4 Unexecuted instantiation: quic-client.c:PACKET_get_net_4  | 
264  |  |  | 
265  |  | /* Same as PACKET_get_net_4() but for a size_t */  | 
266  |  | __owur static ossl_inline int PACKET_get_net_4_len(PACKET *pkt, size_t *data)  | 
267  | 0  | { | 
268  | 0  |     unsigned long i;  | 
269  | 0  |     int ret = PACKET_get_net_4(pkt, &i);  | 
270  | 0  | 
  | 
271  | 0  |     if (ret)  | 
272  | 0  |         *data = (size_t)i;  | 
273  | 0  | 
  | 
274  | 0  |     return ret;  | 
275  | 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_get_net_4_len Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_get_net_4_len Unexecuted instantiation: punycode.c:PACKET_get_net_4_len Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_4_len Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_get_net_4_len Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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: d1_lib.c:PACKET_get_net_4_len Unexecuted instantiation: d1_msg.c:PACKET_get_net_4_len Unexecuted instantiation: d1_srtp.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: ssl_asn1.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_conf.c:PACKET_get_net_4_len Unexecuted instantiation: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_get_net_4_len Unexecuted instantiation: tls13_meth.c:PACKET_get_net_4_len Unexecuted instantiation: quic_ackm.c:PACKET_get_net_4_len Unexecuted instantiation: quic_fifd.c:PACKET_get_net_4_len Unexecuted instantiation: ssl_txt.c:PACKET_get_net_4_len Unexecuted instantiation: quic-client.c:PACKET_get_net_4_len  | 
276  |  |  | 
277  |  | /* Get 8 bytes in network order from |pkt| and store the value in |*data| */  | 
278  |  | __owur static ossl_inline int PACKET_get_net_8(PACKET *pkt, uint64_t *data)  | 
279  | 125k  | { | 
280  | 125k  |     if (!PACKET_peek_net_8(pkt, data))  | 
281  | 38  |         return 0;  | 
282  |  |  | 
283  | 125k  |     packet_forward(pkt, 8);  | 
284  |  |  | 
285  | 125k  |     return 1;  | 
286  | 125k  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_get_net_8 Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_get_net_8 Unexecuted instantiation: punycode.c:PACKET_get_net_8 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_net_8 Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_get_net_8 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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: d1_lib.c:PACKET_get_net_8 Unexecuted instantiation: d1_msg.c:PACKET_get_net_8 Unexecuted instantiation: d1_srtp.c:PACKET_get_net_8 Unexecuted instantiation: pqueue.c:PACKET_get_net_8 Unexecuted instantiation: s3_enc.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: t1_enc.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_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_rx_depack.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  |  279  | 125k  | { |  280  | 125k  |     if (!PACKET_peek_net_8(pkt, data))  |  281  | 38  |         return 0;  |  282  |  |  |  283  | 125k  |     packet_forward(pkt, 8);  |  284  |  |  |  285  | 125k  |     return 1;  |  286  | 125k  | }  |  
 Unexecuted instantiation: quic_wire_pkt.c:PACKET_get_net_8 Unexecuted instantiation: ssl3_meth.c:PACKET_get_net_8 Unexecuted instantiation: tls13_meth.c:PACKET_get_net_8 Unexecuted instantiation: quic_ackm.c:PACKET_get_net_8 Unexecuted instantiation: quic_fifd.c:PACKET_get_net_8 Unexecuted instantiation: ssl_txt.c:PACKET_get_net_8 Unexecuted instantiation: quic-client.c:PACKET_get_net_8  | 
287  |  |  | 
288  |  | /* Peek ahead at 1 byte from |pkt| and store the value in |*data| */  | 
289  |  | __owur static ossl_inline int PACKET_peek_1(const PACKET *pkt,  | 
290  |  |                                             unsigned int *data)  | 
291  | 9.00M  | { | 
292  | 9.00M  |     if (!PACKET_remaining(pkt))  | 
293  | 7.21k  |         return 0;  | 
294  |  |  | 
295  | 8.99M  |     *data = *pkt->curr;  | 
296  |  |  | 
297  | 8.99M  |     return 1;  | 
298  | 9.00M  | } 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: dsa_sig.c:PACKET_peek_1 Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_1 Unexecuted instantiation: eddsa_sig.c:PACKET_peek_1 Unexecuted instantiation: rsa_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_rsa_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  |  291  | 299k  | { |  292  | 299k  |     if (!PACKET_remaining(pkt))  |  293  | 4.18k  |         return 0;  |  294  |  |  |  295  | 295k  |     *data = *pkt->curr;  |  296  |  |  |  297  | 295k  |     return 1;  |  298  | 299k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_peek_1 Unexecuted instantiation: packet.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_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_rsa_gen.c:PACKET_peek_1 Unexecuted instantiation: punycode.c:PACKET_peek_1 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_1 Unexecuted instantiation: methods.c:PACKET_peek_1 Unexecuted instantiation: s3_lib.c:PACKET_peek_1 Unexecuted instantiation: s3_msg.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  |  291  | 146k  | { |  292  | 146k  |     if (!PACKET_remaining(pkt))  |  293  | 0  |         return 0;  |  294  |  |  |  295  | 146k  |     *data = *pkt->curr;  |  296  |  |  |  297  | 146k  |     return 1;  |  298  | 146k  | }  |  
 Unexecuted instantiation: ssl_mcnf.c:PACKET_peek_1 Unexecuted instantiation: ssl_rsa.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_rstream.c:PACKET_peek_1 Unexecuted instantiation: quic_sf_list.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 rec_layer_d1.c:PACKET_peek_1 Line  | Count  | Source  |  291  | 1.27k  | { |  292  | 1.27k  |     if (!PACKET_remaining(pkt))  |  293  | 44  |         return 0;  |  294  |  |  |  295  | 1.22k  |     *data = *pkt->curr;  |  296  |  |  |  297  | 1.22k  |     return 1;  |  298  | 1.27k  | }  |  
 rec_layer_s3.c:PACKET_peek_1 Line  | Count  | Source  |  291  | 4.66k  | { |  292  | 4.66k  |     if (!PACKET_remaining(pkt))  |  293  | 93  |         return 0;  |  294  |  |  |  295  | 4.56k  |     *data = *pkt->curr;  |  296  |  |  |  297  | 4.56k  |     return 1;  |  298  | 4.66k  | }  |  
 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  |  291  | 438k  | { |  292  | 438k  |     if (!PACKET_remaining(pkt))  |  293  | 0  |         return 0;  |  294  |  |  |  295  | 438k  |     *data = *pkt->curr;  |  296  |  |  |  297  | 438k  |     return 1;  |  298  | 438k  | }  |  
 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  |  291  | 45.1k  | { |  292  | 45.1k  |     if (!PACKET_remaining(pkt))  |  293  | 45  |         return 0;  |  294  |  |  |  295  | 45.0k  |     *data = *pkt->curr;  |  296  |  |  |  297  | 45.0k  |     return 1;  |  298  | 45.1k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_peek_1 extensions_srvr.c:PACKET_peek_1 Line  | Count  | Source  |  291  | 21.8k  | { |  292  | 21.8k  |     if (!PACKET_remaining(pkt))  |  293  | 1.59k  |         return 0;  |  294  |  |  |  295  | 20.2k  |     *data = *pkt->curr;  |  296  |  |  |  297  | 20.2k  |     return 1;  |  298  | 21.8k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_peek_1 statem_clnt.c:PACKET_peek_1 Line  | Count  | Source  |  291  | 104k  | { |  292  | 104k  |     if (!PACKET_remaining(pkt))  |  293  | 546  |         return 0;  |  294  |  |  |  295  | 104k  |     *data = *pkt->curr;  |  296  |  |  |  297  | 104k  |     return 1;  |  298  | 104k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_peek_1 statem_lib.c:PACKET_peek_1 Line  | Count  | Source  |  291  | 4.15k  | { |  292  | 4.15k  |     if (!PACKET_remaining(pkt))  |  293  | 13  |         return 0;  |  294  |  |  |  295  | 4.14k  |     *data = *pkt->curr;  |  296  |  |  |  297  | 4.14k  |     return 1;  |  298  | 4.15k  | }  |  
 statem_srvr.c:PACKET_peek_1 Line  | Count  | Source  |  291  | 46.8k  | { |  292  | 46.8k  |     if (!PACKET_remaining(pkt))  |  293  | 11  |         return 0;  |  294  |  |  |  295  | 46.8k  |     *data = *pkt->curr;  |  296  |  |  |  297  | 46.8k  |     return 1;  |  298  | 46.8k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_peek_1 Unexecuted instantiation: d1_msg.c:PACKET_peek_1 Unexecuted instantiation: d1_srtp.c:PACKET_peek_1 Unexecuted instantiation: pqueue.c:PACKET_peek_1 Unexecuted instantiation: s3_enc.c:PACKET_peek_1 Unexecuted instantiation: ssl_asn1.c:PACKET_peek_1 Unexecuted instantiation: ssl_conf.c:PACKET_peek_1 Unexecuted instantiation: t1_enc.c:PACKET_peek_1 Unexecuted instantiation: quic_channel.c:PACKET_peek_1 Unexecuted instantiation: quic_demux.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_rx_depack.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  |  291  | 8.26k  | { |  292  | 8.26k  |     if (!PACKET_remaining(pkt))  |  293  | 111  |         return 0;  |  294  |  |  |  295  | 8.15k  |     *data = *pkt->curr;  |  296  |  |  |  297  | 8.15k  |     return 1;  |  298  | 8.26k  | }  |  
 quic_wire_pkt.c:PACKET_peek_1 Line  | Count  | Source  |  291  | 7.88M  | { |  292  | 7.88M  |     if (!PACKET_remaining(pkt))  |  293  | 562  |         return 0;  |  294  |  |  |  295  | 7.88M  |     *data = *pkt->curr;  |  296  |  |  |  297  | 7.88M  |     return 1;  |  298  | 7.88M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_peek_1 Unexecuted instantiation: tls13_meth.c:PACKET_peek_1 Unexecuted instantiation: quic_ackm.c:PACKET_peek_1 Unexecuted instantiation: quic_fifd.c:PACKET_peek_1 Unexecuted instantiation: ssl_txt.c:PACKET_peek_1 Unexecuted instantiation: quic-client.c:PACKET_peek_1  | 
299  |  |  | 
300  |  | /* Get 1 byte from |pkt| and store the value in |*data| */  | 
301  |  | __owur static ossl_inline int PACKET_get_1(PACKET *pkt, unsigned int *data)  | 
302  | 9.00M  | { | 
303  | 9.00M  |     if (!PACKET_peek_1(pkt, data))  | 
304  | 7.21k  |         return 0;  | 
305  |  |  | 
306  | 8.99M  |     packet_forward(pkt, 1);  | 
307  |  |  | 
308  | 8.99M  |     return 1;  | 
309  | 9.00M  | } 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: dsa_sig.c:PACKET_get_1 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_1 Unexecuted instantiation: eddsa_sig.c:PACKET_get_1 Unexecuted instantiation: rsa_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_rsa_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  |  302  | 299k  | { |  303  | 299k  |     if (!PACKET_peek_1(pkt, data))  |  304  | 4.18k  |         return 0;  |  305  |  |  |  306  | 295k  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 295k  |     return 1;  |  309  | 299k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_get_1 Unexecuted instantiation: packet.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_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_rsa_gen.c:PACKET_get_1 Unexecuted instantiation: punycode.c:PACKET_get_1 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_1 Unexecuted instantiation: methods.c:PACKET_get_1 Unexecuted instantiation: s3_lib.c:PACKET_get_1 Unexecuted instantiation: s3_msg.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  |  302  | 146k  | { |  303  | 146k  |     if (!PACKET_peek_1(pkt, data))  |  304  | 0  |         return 0;  |  305  |  |  |  306  | 146k  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 146k  |     return 1;  |  309  | 146k  | }  |  
 Unexecuted instantiation: ssl_mcnf.c:PACKET_get_1 Unexecuted instantiation: ssl_rsa.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_rstream.c:PACKET_get_1 Unexecuted instantiation: quic_sf_list.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 rec_layer_d1.c:PACKET_get_1 Line  | Count  | Source  |  302  | 1.27k  | { |  303  | 1.27k  |     if (!PACKET_peek_1(pkt, data))  |  304  | 44  |         return 0;  |  305  |  |  |  306  | 1.22k  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 1.22k  |     return 1;  |  309  | 1.27k  | }  |  
 rec_layer_s3.c:PACKET_get_1 Line  | Count  | Source  |  302  | 4.66k  | { |  303  | 4.66k  |     if (!PACKET_peek_1(pkt, data))  |  304  | 93  |         return 0;  |  305  |  |  |  306  | 4.56k  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 4.56k  |     return 1;  |  309  | 4.66k  | }  |  
 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  |  302  | 438k  | { |  303  | 438k  |     if (!PACKET_peek_1(pkt, data))  |  304  | 0  |         return 0;  |  305  |  |  |  306  | 438k  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 438k  |     return 1;  |  309  | 438k  | }  |  
 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  |  302  | 45.1k  | { |  303  | 45.1k  |     if (!PACKET_peek_1(pkt, data))  |  304  | 45  |         return 0;  |  305  |  |  |  306  | 45.0k  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 45.0k  |     return 1;  |  309  | 45.1k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_get_1 extensions_srvr.c:PACKET_get_1 Line  | Count  | Source  |  302  | 21.8k  | { |  303  | 21.8k  |     if (!PACKET_peek_1(pkt, data))  |  304  | 1.59k  |         return 0;  |  305  |  |  |  306  | 20.2k  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 20.2k  |     return 1;  |  309  | 21.8k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_get_1 statem_clnt.c:PACKET_get_1 Line  | Count  | Source  |  302  | 104k  | { |  303  | 104k  |     if (!PACKET_peek_1(pkt, data))  |  304  | 546  |         return 0;  |  305  |  |  |  306  | 104k  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 104k  |     return 1;  |  309  | 104k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_get_1 statem_lib.c:PACKET_get_1 Line  | Count  | Source  |  302  | 4.15k  | { |  303  | 4.15k  |     if (!PACKET_peek_1(pkt, data))  |  304  | 13  |         return 0;  |  305  |  |  |  306  | 4.14k  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 4.14k  |     return 1;  |  309  | 4.15k  | }  |  
 statem_srvr.c:PACKET_get_1 Line  | Count  | Source  |  302  | 46.8k  | { |  303  | 46.8k  |     if (!PACKET_peek_1(pkt, data))  |  304  | 11  |         return 0;  |  305  |  |  |  306  | 46.8k  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 46.8k  |     return 1;  |  309  | 46.8k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_get_1 Unexecuted instantiation: d1_msg.c:PACKET_get_1 Unexecuted instantiation: d1_srtp.c:PACKET_get_1 Unexecuted instantiation: pqueue.c:PACKET_get_1 Unexecuted instantiation: s3_enc.c:PACKET_get_1 Unexecuted instantiation: ssl_asn1.c:PACKET_get_1 Unexecuted instantiation: ssl_conf.c:PACKET_get_1 Unexecuted instantiation: t1_enc.c:PACKET_get_1 Unexecuted instantiation: quic_channel.c:PACKET_get_1 Unexecuted instantiation: quic_demux.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_rx_depack.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  |  302  | 8.26k  | { |  303  | 8.26k  |     if (!PACKET_peek_1(pkt, data))  |  304  | 111  |         return 0;  |  305  |  |  |  306  | 8.15k  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 8.15k  |     return 1;  |  309  | 8.26k  | }  |  
 quic_wire_pkt.c:PACKET_get_1 Line  | Count  | Source  |  302  | 7.88M  | { |  303  | 7.88M  |     if (!PACKET_peek_1(pkt, data))  |  304  | 562  |         return 0;  |  305  |  |  |  306  | 7.88M  |     packet_forward(pkt, 1);  |  307  |  |  |  308  | 7.88M  |     return 1;  |  309  | 7.88M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_get_1 Unexecuted instantiation: tls13_meth.c:PACKET_get_1 Unexecuted instantiation: quic_ackm.c:PACKET_get_1 Unexecuted instantiation: quic_fifd.c:PACKET_get_1 Unexecuted instantiation: ssl_txt.c:PACKET_get_1 Unexecuted instantiation: quic-client.c:PACKET_get_1  | 
310  |  |  | 
311  |  | /* Same as PACKET_get_1() but for a size_t */  | 
312  |  | __owur static ossl_inline int PACKET_get_1_len(PACKET *pkt, size_t *data)  | 
313  | 33.9k  | { | 
314  | 33.9k  |     unsigned int i;  | 
315  | 33.9k  |     int ret = PACKET_get_1(pkt, &i);  | 
316  |  |  | 
317  | 33.9k  |     if (ret)  | 
318  | 33.9k  |         *data = (size_t)i;  | 
319  |  |  | 
320  | 33.9k  |     return ret;  | 
321  | 33.9k  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_get_1_len Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_get_1_len Unexecuted instantiation: punycode.c:PACKET_get_1_len Unexecuted instantiation: der_sm2_gen.c:PACKET_get_1_len Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_get_1_len Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  313  | 33.9k  | { |  314  | 33.9k  |     unsigned int i;  |  315  | 33.9k  |     int ret = PACKET_get_1(pkt, &i);  |  316  |  |  |  317  | 33.9k  |     if (ret)  |  318  | 33.9k  |         *data = (size_t)i;  |  319  |  |  |  320  | 33.9k  |     return ret;  |  321  | 33.9k  | }  |  
 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: d1_lib.c:PACKET_get_1_len Unexecuted instantiation: d1_msg.c:PACKET_get_1_len Unexecuted instantiation: d1_srtp.c:PACKET_get_1_len Unexecuted instantiation: pqueue.c:PACKET_get_1_len Unexecuted instantiation: s3_enc.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: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_get_1_len Unexecuted instantiation: tls13_meth.c:PACKET_get_1_len Unexecuted instantiation: quic_ackm.c:PACKET_get_1_len Unexecuted instantiation: quic_fifd.c:PACKET_get_1_len Unexecuted instantiation: ssl_txt.c:PACKET_get_1_len Unexecuted instantiation: quic-client.c:PACKET_get_1_len  | 
322  |  |  | 
323  |  | /*  | 
324  |  |  * Peek ahead at 4 bytes in reverse network order from |pkt| and store the value  | 
325  |  |  * in |*data|  | 
326  |  |  */  | 
327  |  | __owur static ossl_inline int PACKET_peek_4(const PACKET *pkt,  | 
328  |  |                                             unsigned long *data)  | 
329  | 0  | { | 
330  | 0  |     if (PACKET_remaining(pkt) < 4)  | 
331  | 0  |         return 0;  | 
332  | 0  | 
  | 
333  | 0  |     *data = *pkt->curr;  | 
334  | 0  |     *data |= ((unsigned long)(*(pkt->curr + 1))) << 8;  | 
335  | 0  |     *data |= ((unsigned long)(*(pkt->curr + 2))) << 16;  | 
336  | 0  |     *data |= ((unsigned long)(*(pkt->curr + 3))) << 24;  | 
337  | 0  | 
  | 
338  | 0  |     return 1;  | 
339  | 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: dsa_sig.c:PACKET_peek_4 Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_4 Unexecuted instantiation: eddsa_sig.c:PACKET_peek_4 Unexecuted instantiation: rsa_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_rsa_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: der_rsa_sig.c:PACKET_peek_4 Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_peek_4 Unexecuted instantiation: punycode.c:PACKET_peek_4 Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_4 Unexecuted instantiation: methods.c:PACKET_peek_4 Unexecuted instantiation: s3_lib.c:PACKET_peek_4 Unexecuted instantiation: s3_msg.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_rsa.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_rstream.c:PACKET_peek_4 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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: d1_lib.c:PACKET_peek_4 Unexecuted instantiation: d1_msg.c:PACKET_peek_4 Unexecuted instantiation: d1_srtp.c:PACKET_peek_4 Unexecuted instantiation: pqueue.c:PACKET_peek_4 Unexecuted instantiation: s3_enc.c:PACKET_peek_4 Unexecuted instantiation: ssl_asn1.c:PACKET_peek_4 Unexecuted instantiation: ssl_conf.c:PACKET_peek_4 Unexecuted instantiation: t1_enc.c:PACKET_peek_4 Unexecuted instantiation: quic_channel.c:PACKET_peek_4 Unexecuted instantiation: quic_demux.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_rx_depack.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: ssl3_meth.c:PACKET_peek_4 Unexecuted instantiation: tls13_meth.c:PACKET_peek_4 Unexecuted instantiation: quic_ackm.c:PACKET_peek_4 Unexecuted instantiation: quic_fifd.c:PACKET_peek_4 Unexecuted instantiation: ssl_txt.c:PACKET_peek_4 Unexecuted instantiation: quic-client.c:PACKET_peek_4  | 
340  |  |  | 
341  |  | /* Equivalent of c2l */  | 
342  |  | /*  | 
343  |  |  * Get 4 bytes in reverse network order from |pkt| and store the value in  | 
344  |  |  * |*data|  | 
345  |  |  */  | 
346  |  | __owur static ossl_inline int PACKET_get_4(PACKET *pkt, unsigned long *data)  | 
347  | 0  | { | 
348  | 0  |     if (!PACKET_peek_4(pkt, data))  | 
349  | 0  |         return 0;  | 
350  | 0  | 
  | 
351  | 0  |     packet_forward(pkt, 4);  | 
352  | 0  | 
  | 
353  | 0  |     return 1;  | 
354  | 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: dsa_sig.c:PACKET_get_4 Unexecuted instantiation: ecdsa_sig.c:PACKET_get_4 Unexecuted instantiation: eddsa_sig.c:PACKET_get_4 Unexecuted instantiation: rsa_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_rsa_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: der_rsa_sig.c:PACKET_get_4 Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_get_4 Unexecuted instantiation: punycode.c:PACKET_get_4 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_4 Unexecuted instantiation: methods.c:PACKET_get_4 Unexecuted instantiation: s3_lib.c:PACKET_get_4 Unexecuted instantiation: s3_msg.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_rsa.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_rstream.c:PACKET_get_4 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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: d1_lib.c:PACKET_get_4 Unexecuted instantiation: d1_msg.c:PACKET_get_4 Unexecuted instantiation: d1_srtp.c:PACKET_get_4 Unexecuted instantiation: pqueue.c:PACKET_get_4 Unexecuted instantiation: s3_enc.c:PACKET_get_4 Unexecuted instantiation: ssl_asn1.c:PACKET_get_4 Unexecuted instantiation: ssl_conf.c:PACKET_get_4 Unexecuted instantiation: t1_enc.c:PACKET_get_4 Unexecuted instantiation: quic_channel.c:PACKET_get_4 Unexecuted instantiation: quic_demux.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_rx_depack.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: ssl3_meth.c:PACKET_get_4 Unexecuted instantiation: tls13_meth.c:PACKET_get_4 Unexecuted instantiation: quic_ackm.c:PACKET_get_4 Unexecuted instantiation: quic_fifd.c:PACKET_get_4 Unexecuted instantiation: ssl_txt.c:PACKET_get_4 Unexecuted instantiation: quic-client.c:PACKET_get_4  | 
355  |  |  | 
356  |  | /*  | 
357  |  |  * Peek ahead at |len| bytes from the |pkt| and store a pointer to them in  | 
358  |  |  * |*data|. This just points at the underlying buffer that |pkt| is using. The  | 
359  |  |  * caller should not free this data directly (it will be freed when the  | 
360  |  |  * underlying buffer gets freed  | 
361  |  |  */  | 
362  |  | __owur static ossl_inline int PACKET_peek_bytes(const PACKET *pkt,  | 
363  |  |                                                 const unsigned char **data,  | 
364  |  |                                                 size_t len)  | 
365  | 1.79M  | { | 
366  | 1.79M  |     if (PACKET_remaining(pkt) < len)  | 
367  | 4.72k  |         return 0;  | 
368  |  |  | 
369  | 1.79M  |     *data = pkt->curr;  | 
370  |  |  | 
371  | 1.79M  |     return 1;  | 
372  | 1.79M  | } 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: dsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: ecdsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: eddsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: rsa_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_rsa_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  |  365  | 7.30k  | { |  366  | 7.30k  |     if (PACKET_remaining(pkt) < len)  |  367  | 1.00k  |         return 0;  |  368  |  |  |  369  | 6.30k  |     *data = pkt->curr;  |  370  |  |  |  371  | 6.30k  |     return 1;  |  372  | 7.30k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_peek_bytes Unexecuted instantiation: packet.c:PACKET_peek_bytes Unexecuted instantiation: der_rsa_sig.c:PACKET_peek_bytes Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_peek_bytes Unexecuted instantiation: punycode.c:PACKET_peek_bytes Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_bytes Unexecuted instantiation: methods.c:PACKET_peek_bytes Unexecuted instantiation: s3_lib.c:PACKET_peek_bytes Unexecuted instantiation: s3_msg.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_rsa.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_rstream.c:PACKET_peek_bytes Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.c:PACKET_peek_bytes 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  |  365  | 202k  | { |  366  | 202k  |     if (PACKET_remaining(pkt) < len)  |  367  | 204  |         return 0;  |  368  |  |  |  369  | 201k  |     *data = pkt->curr;  |  370  |  |  |  371  | 201k  |     return 1;  |  372  | 202k  | }  |  
 extensions_clnt.c:PACKET_peek_bytes Line  | Count  | Source  |  365  | 72.5k  | { |  366  | 72.5k  |     if (PACKET_remaining(pkt) < len)  |  367  | 113  |         return 0;  |  368  |  |  |  369  | 72.4k  |     *data = pkt->curr;  |  370  |  |  |  371  | 72.4k  |     return 1;  |  372  | 72.5k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_peek_bytes extensions_srvr.c:PACKET_peek_bytes Line  | Count  | Source  |  365  | 42.4k  | { |  366  | 42.4k  |     if (PACKET_remaining(pkt) < len)  |  367  | 818  |         return 0;  |  368  |  |  |  369  | 41.6k  |     *data = pkt->curr;  |  370  |  |  |  371  | 41.6k  |     return 1;  |  372  | 42.4k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_peek_bytes statem_clnt.c:PACKET_peek_bytes Line  | Count  | Source  |  365  | 195k  | { |  366  | 195k  |     if (PACKET_remaining(pkt) < len)  |  367  | 666  |         return 0;  |  368  |  |  |  369  | 194k  |     *data = pkt->curr;  |  370  |  |  |  371  | 194k  |     return 1;  |  372  | 195k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_peek_bytes statem_lib.c:PACKET_peek_bytes Line  | Count  | Source  |  365  | 15.4k  | { |  366  | 15.4k  |     if (PACKET_remaining(pkt) < len)  |  367  | 398  |         return 0;  |  368  |  |  |  369  | 15.0k  |     *data = pkt->curr;  |  370  |  |  |  371  | 15.0k  |     return 1;  |  372  | 15.4k  | }  |  
 statem_srvr.c:PACKET_peek_bytes Line  | Count  | Source  |  365  | 76.6k  | { |  366  | 76.6k  |     if (PACKET_remaining(pkt) < len)  |  367  | 233  |         return 0;  |  368  |  |  |  369  | 76.3k  |     *data = pkt->curr;  |  370  |  |  |  371  | 76.3k  |     return 1;  |  372  | 76.6k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_peek_bytes Unexecuted instantiation: d1_msg.c:PACKET_peek_bytes Unexecuted instantiation: d1_srtp.c:PACKET_peek_bytes Unexecuted instantiation: pqueue.c:PACKET_peek_bytes Unexecuted instantiation: s3_enc.c:PACKET_peek_bytes Unexecuted instantiation: ssl_asn1.c:PACKET_peek_bytes Unexecuted instantiation: ssl_conf.c:PACKET_peek_bytes Unexecuted instantiation: t1_enc.c:PACKET_peek_bytes Unexecuted instantiation: quic_channel.c:PACKET_peek_bytes Unexecuted instantiation: quic_demux.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_rx_depack.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  |  365  | 99.6k  | { |  366  | 99.6k  |     if (PACKET_remaining(pkt) < len)  |  367  | 319  |         return 0;  |  368  |  |  |  369  | 99.3k  |     *data = pkt->curr;  |  370  |  |  |  371  | 99.3k  |     return 1;  |  372  | 99.6k  | }  |  
 quic_wire_pkt.c:PACKET_peek_bytes Line  | Count  | Source  |  365  | 1.08M  | { |  366  | 1.08M  |     if (PACKET_remaining(pkt) < len)  |  367  | 969  |         return 0;  |  368  |  |  |  369  | 1.08M  |     *data = pkt->curr;  |  370  |  |  |  371  | 1.08M  |     return 1;  |  372  | 1.08M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_peek_bytes Unexecuted instantiation: tls13_meth.c:PACKET_peek_bytes Unexecuted instantiation: quic_ackm.c:PACKET_peek_bytes Unexecuted instantiation: quic_fifd.c:PACKET_peek_bytes Unexecuted instantiation: ssl_txt.c:PACKET_peek_bytes Unexecuted instantiation: quic-client.c:PACKET_peek_bytes  | 
373  |  |  | 
374  |  | /*  | 
375  |  |  * Read |len| bytes from the |pkt| and store a pointer to them in |*data|. This  | 
376  |  |  * just points at the underlying buffer that |pkt| is using. The caller should  | 
377  |  |  * not free this data directly (it will be freed when the underlying buffer gets  | 
378  |  |  * freed  | 
379  |  |  */  | 
380  |  | __owur static ossl_inline int PACKET_get_bytes(PACKET *pkt,  | 
381  |  |                                                const unsigned char **data,  | 
382  |  |                                                size_t len)  | 
383  | 1.79M  | { | 
384  | 1.79M  |     if (!PACKET_peek_bytes(pkt, data, len))  | 
385  | 4.72k  |         return 0;  | 
386  |  |  | 
387  | 1.79M  |     packet_forward(pkt, len);  | 
388  |  |  | 
389  | 1.79M  |     return 1;  | 
390  | 1.79M  | } 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: dsa_sig.c:PACKET_get_bytes Unexecuted instantiation: ecdsa_sig.c:PACKET_get_bytes Unexecuted instantiation: eddsa_sig.c:PACKET_get_bytes Unexecuted instantiation: rsa_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_rsa_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  |  383  | 7.30k  | { |  384  | 7.30k  |     if (!PACKET_peek_bytes(pkt, data, len))  |  385  | 1.00k  |         return 0;  |  386  |  |  |  387  | 6.30k  |     packet_forward(pkt, len);  |  388  |  |  |  389  | 6.30k  |     return 1;  |  390  | 7.30k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_get_bytes Unexecuted instantiation: packet.c:PACKET_get_bytes Unexecuted instantiation: der_rsa_sig.c:PACKET_get_bytes Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_get_bytes Unexecuted instantiation: punycode.c:PACKET_get_bytes Unexecuted instantiation: der_sm2_gen.c:PACKET_get_bytes Unexecuted instantiation: methods.c:PACKET_get_bytes Unexecuted instantiation: s3_lib.c:PACKET_get_bytes Unexecuted instantiation: s3_msg.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_rsa.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_rstream.c:PACKET_get_bytes Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.c:PACKET_get_bytes 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  |  383  | 202k  | { |  384  | 202k  |     if (!PACKET_peek_bytes(pkt, data, len))  |  385  | 204  |         return 0;  |  386  |  |  |  387  | 201k  |     packet_forward(pkt, len);  |  388  |  |  |  389  | 201k  |     return 1;  |  390  | 202k  | }  |  
 extensions_clnt.c:PACKET_get_bytes Line  | Count  | Source  |  383  | 72.5k  | { |  384  | 72.5k  |     if (!PACKET_peek_bytes(pkt, data, len))  |  385  | 113  |         return 0;  |  386  |  |  |  387  | 72.4k  |     packet_forward(pkt, len);  |  388  |  |  |  389  | 72.4k  |     return 1;  |  390  | 72.5k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_get_bytes extensions_srvr.c:PACKET_get_bytes Line  | Count  | Source  |  383  | 42.4k  | { |  384  | 42.4k  |     if (!PACKET_peek_bytes(pkt, data, len))  |  385  | 818  |         return 0;  |  386  |  |  |  387  | 41.6k  |     packet_forward(pkt, len);  |  388  |  |  |  389  | 41.6k  |     return 1;  |  390  | 42.4k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_get_bytes statem_clnt.c:PACKET_get_bytes Line  | Count  | Source  |  383  | 195k  | { |  384  | 195k  |     if (!PACKET_peek_bytes(pkt, data, len))  |  385  | 666  |         return 0;  |  386  |  |  |  387  | 194k  |     packet_forward(pkt, len);  |  388  |  |  |  389  | 194k  |     return 1;  |  390  | 195k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_get_bytes statem_lib.c:PACKET_get_bytes Line  | Count  | Source  |  383  | 15.4k  | { |  384  | 15.4k  |     if (!PACKET_peek_bytes(pkt, data, len))  |  385  | 398  |         return 0;  |  386  |  |  |  387  | 15.0k  |     packet_forward(pkt, len);  |  388  |  |  |  389  | 15.0k  |     return 1;  |  390  | 15.4k  | }  |  
 statem_srvr.c:PACKET_get_bytes Line  | Count  | Source  |  383  | 76.6k  | { |  384  | 76.6k  |     if (!PACKET_peek_bytes(pkt, data, len))  |  385  | 233  |         return 0;  |  386  |  |  |  387  | 76.3k  |     packet_forward(pkt, len);  |  388  |  |  |  389  | 76.3k  |     return 1;  |  390  | 76.6k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_get_bytes Unexecuted instantiation: d1_msg.c:PACKET_get_bytes Unexecuted instantiation: d1_srtp.c:PACKET_get_bytes Unexecuted instantiation: pqueue.c:PACKET_get_bytes Unexecuted instantiation: s3_enc.c:PACKET_get_bytes Unexecuted instantiation: ssl_asn1.c:PACKET_get_bytes Unexecuted instantiation: ssl_conf.c:PACKET_get_bytes Unexecuted instantiation: t1_enc.c:PACKET_get_bytes Unexecuted instantiation: quic_channel.c:PACKET_get_bytes Unexecuted instantiation: quic_demux.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_rx_depack.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  |  383  | 99.6k  | { |  384  | 99.6k  |     if (!PACKET_peek_bytes(pkt, data, len))  |  385  | 319  |         return 0;  |  386  |  |  |  387  | 99.3k  |     packet_forward(pkt, len);  |  388  |  |  |  389  | 99.3k  |     return 1;  |  390  | 99.6k  | }  |  
 quic_wire_pkt.c:PACKET_get_bytes Line  | Count  | Source  |  383  | 1.08M  | { |  384  | 1.08M  |     if (!PACKET_peek_bytes(pkt, data, len))  |  385  | 969  |         return 0;  |  386  |  |  |  387  | 1.08M  |     packet_forward(pkt, len);  |  388  |  |  |  389  | 1.08M  |     return 1;  |  390  | 1.08M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_get_bytes Unexecuted instantiation: tls13_meth.c:PACKET_get_bytes Unexecuted instantiation: quic_ackm.c:PACKET_get_bytes Unexecuted instantiation: quic_fifd.c:PACKET_get_bytes Unexecuted instantiation: ssl_txt.c:PACKET_get_bytes Unexecuted instantiation: quic-client.c:PACKET_get_bytes  | 
391  |  |  | 
392  |  | /* Peek ahead at |len| bytes from |pkt| and copy them to |data| */  | 
393  |  | __owur static ossl_inline int PACKET_peek_copy_bytes(const PACKET *pkt,  | 
394  |  |                                                      unsigned char *data,  | 
395  |  |                                                      size_t len)  | 
396  | 6.36M  | { | 
397  | 6.36M  |     if (PACKET_remaining(pkt) < len)  | 
398  | 40.7k  |         return 0;  | 
399  |  |  | 
400  | 6.32M  |     memcpy(data, pkt->curr, len);  | 
401  |  |  | 
402  | 6.32M  |     return 1;  | 
403  | 6.36M  | } 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: 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: rsa_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_rsa_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 Unexecuted instantiation: der_rsa_sig.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: punycode.c:PACKET_peek_copy_bytes Unexecuted instantiation: der_sm2_gen.c:PACKET_peek_copy_bytes Unexecuted instantiation: methods.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_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  |  396  | 501k  | { |  397  | 501k  |     if (PACKET_remaining(pkt) < len)  |  398  | 21.3k  |         return 0;  |  399  |  |  |  400  | 480k  |     memcpy(data, pkt->curr, len);  |  401  |  |  |  402  | 480k  |     return 1;  |  403  | 501k  | }  |  
 Unexecuted instantiation: ssl_mcnf.c:PACKET_peek_copy_bytes Unexecuted instantiation: ssl_rsa.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_rstream.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.c:PACKET_peek_copy_bytes 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  |  396  | 11.0k  | { |  397  | 11.0k  |     if (PACKET_remaining(pkt) < len)  |  398  | 0  |         return 0;  |  399  |  |  |  400  | 11.0k  |     memcpy(data, pkt->curr, len);  |  401  |  |  |  402  | 11.0k  |     return 1;  |  403  | 11.0k  | }  |  
 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  |  396  | 41.1k  | { |  397  | 41.1k  |     if (PACKET_remaining(pkt) < len)  |  398  | 134  |         return 0;  |  399  |  |  |  400  | 40.9k  |     memcpy(data, pkt->curr, len);  |  401  |  |  |  402  | 40.9k  |     return 1;  |  403  | 41.1k  | }  |  
 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  |  396  | 28.1k  | { |  397  | 28.1k  |     if (PACKET_remaining(pkt) < len)  |  398  | 38  |         return 0;  |  399  |  |  |  400  | 28.1k  |     memcpy(data, pkt->curr, len);  |  401  |  |  |  402  | 28.1k  |     return 1;  |  403  | 28.1k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_peek_copy_bytes Unexecuted instantiation: d1_msg.c:PACKET_peek_copy_bytes Unexecuted instantiation: d1_srtp.c:PACKET_peek_copy_bytes Unexecuted instantiation: pqueue.c:PACKET_peek_copy_bytes Unexecuted instantiation: s3_enc.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: t1_enc.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_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_rx_depack.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  |  396  | 16.1k  | { |  397  | 16.1k  |     if (PACKET_remaining(pkt) < len)  |  398  | 49  |         return 0;  |  399  |  |  |  400  | 16.1k  |     memcpy(data, pkt->curr, len);  |  401  |  |  |  402  | 16.1k  |     return 1;  |  403  | 16.1k  | }  |  
 quic_wire_pkt.c:PACKET_peek_copy_bytes Line  | Count  | Source  |  396  | 5.76M  | { |  397  | 5.76M  |     if (PACKET_remaining(pkt) < len)  |  398  | 19.1k  |         return 0;  |  399  |  |  |  400  | 5.74M  |     memcpy(data, pkt->curr, len);  |  401  |  |  |  402  | 5.74M  |     return 1;  |  403  | 5.76M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_peek_copy_bytes Unexecuted instantiation: tls13_meth.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_ackm.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic_fifd.c:PACKET_peek_copy_bytes Unexecuted instantiation: ssl_txt.c:PACKET_peek_copy_bytes Unexecuted instantiation: quic-client.c:PACKET_peek_copy_bytes  | 
404  |  |  | 
405  |  | /*  | 
406  |  |  * Read |len| bytes from |pkt| and copy them to |data|.  | 
407  |  |  * The caller is responsible for ensuring that |data| can hold |len| bytes.  | 
408  |  |  */  | 
409  |  | __owur static ossl_inline int PACKET_copy_bytes(PACKET *pkt,  | 
410  |  |                                                 unsigned char *data, size_t len)  | 
411  | 6.36M  | { | 
412  | 6.36M  |     if (!PACKET_peek_copy_bytes(pkt, data, len))  | 
413  | 40.7k  |         return 0;  | 
414  |  |  | 
415  | 6.32M  |     packet_forward(pkt, len);  | 
416  |  |  | 
417  | 6.32M  |     return 1;  | 
418  | 6.36M  | } 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: dsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: ecdsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: eddsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: rsa_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_rsa_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 Unexecuted instantiation: der_rsa_sig.c:PACKET_copy_bytes Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_copy_bytes Unexecuted instantiation: punycode.c:PACKET_copy_bytes Unexecuted instantiation: der_sm2_gen.c:PACKET_copy_bytes Unexecuted instantiation: methods.c:PACKET_copy_bytes Unexecuted instantiation: s3_lib.c:PACKET_copy_bytes Unexecuted instantiation: s3_msg.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  |  411  | 501k  | { |  412  | 501k  |     if (!PACKET_peek_copy_bytes(pkt, data, len))  |  413  | 21.3k  |         return 0;  |  414  |  |  |  415  | 480k  |     packet_forward(pkt, len);  |  416  |  |  |  417  | 480k  |     return 1;  |  418  | 501k  | }  |  
 Unexecuted instantiation: ssl_mcnf.c:PACKET_copy_bytes Unexecuted instantiation: ssl_rsa.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_rstream.c:PACKET_copy_bytes Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.c:PACKET_copy_bytes 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  |  411  | 11.0k  | { |  412  | 11.0k  |     if (!PACKET_peek_copy_bytes(pkt, data, len))  |  413  | 0  |         return 0;  |  414  |  |  |  415  | 11.0k  |     packet_forward(pkt, len);  |  416  |  |  |  417  | 11.0k  |     return 1;  |  418  | 11.0k  | }  |  
 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  |  411  | 41.1k  | { |  412  | 41.1k  |     if (!PACKET_peek_copy_bytes(pkt, data, len))  |  413  | 134  |         return 0;  |  414  |  |  |  415  | 40.9k  |     packet_forward(pkt, len);  |  416  |  |  |  417  | 40.9k  |     return 1;  |  418  | 41.1k  | }  |  
 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  |  411  | 28.1k  | { |  412  | 28.1k  |     if (!PACKET_peek_copy_bytes(pkt, data, len))  |  413  | 38  |         return 0;  |  414  |  |  |  415  | 28.1k  |     packet_forward(pkt, len);  |  416  |  |  |  417  | 28.1k  |     return 1;  |  418  | 28.1k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_copy_bytes Unexecuted instantiation: d1_msg.c:PACKET_copy_bytes Unexecuted instantiation: d1_srtp.c:PACKET_copy_bytes Unexecuted instantiation: pqueue.c:PACKET_copy_bytes Unexecuted instantiation: s3_enc.c:PACKET_copy_bytes Unexecuted instantiation: ssl_asn1.c:PACKET_copy_bytes Unexecuted instantiation: ssl_conf.c:PACKET_copy_bytes Unexecuted instantiation: t1_enc.c:PACKET_copy_bytes Unexecuted instantiation: quic_channel.c:PACKET_copy_bytes Unexecuted instantiation: quic_demux.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_rx_depack.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  |  411  | 16.1k  | { |  412  | 16.1k  |     if (!PACKET_peek_copy_bytes(pkt, data, len))  |  413  | 49  |         return 0;  |  414  |  |  |  415  | 16.1k  |     packet_forward(pkt, len);  |  416  |  |  |  417  | 16.1k  |     return 1;  |  418  | 16.1k  | }  |  
 quic_wire_pkt.c:PACKET_copy_bytes Line  | Count  | Source  |  411  | 5.76M  | { |  412  | 5.76M  |     if (!PACKET_peek_copy_bytes(pkt, data, len))  |  413  | 19.1k  |         return 0;  |  414  |  |  |  415  | 5.74M  |     packet_forward(pkt, len);  |  416  |  |  |  417  | 5.74M  |     return 1;  |  418  | 5.76M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_copy_bytes Unexecuted instantiation: tls13_meth.c:PACKET_copy_bytes Unexecuted instantiation: quic_ackm.c:PACKET_copy_bytes Unexecuted instantiation: quic_fifd.c:PACKET_copy_bytes Unexecuted instantiation: ssl_txt.c:PACKET_copy_bytes Unexecuted instantiation: quic-client.c:PACKET_copy_bytes  | 
419  |  |  | 
420  |  | /*  | 
421  |  |  * Copy packet data to |dest|, and set |len| to the number of copied bytes.  | 
422  |  |  * If the packet has more than |dest_len| bytes, nothing is copied.  | 
423  |  |  * Returns 1 if the packet data fits in |dest_len| bytes, 0 otherwise.  | 
424  |  |  * Does not forward PACKET position (because it is typically the last thing  | 
425  |  |  * done with a given PACKET).  | 
426  |  |  */  | 
427  |  | __owur static ossl_inline int PACKET_copy_all(const PACKET *pkt,  | 
428  |  |                                               unsigned char *dest,  | 
429  |  |                                               size_t dest_len, size_t *len)  | 
430  | 42.2k  | { | 
431  | 42.2k  |     if (PACKET_remaining(pkt) > dest_len) { | 
432  | 27  |         *len = 0;  | 
433  | 27  |         return 0;  | 
434  | 27  |     }  | 
435  | 42.2k  |     *len = pkt->remaining;  | 
436  | 42.2k  |     memcpy(dest, pkt->curr, pkt->remaining);  | 
437  | 42.2k  |     return 1;  | 
438  | 42.2k  | } 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: dsa_sig.c:PACKET_copy_all Unexecuted instantiation: ecdsa_sig.c:PACKET_copy_all Unexecuted instantiation: eddsa_sig.c:PACKET_copy_all Unexecuted instantiation: rsa_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_rsa_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: der_rsa_sig.c:PACKET_copy_all Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_copy_all Unexecuted instantiation: punycode.c:PACKET_copy_all Unexecuted instantiation: der_sm2_gen.c:PACKET_copy_all Unexecuted instantiation: methods.c:PACKET_copy_all Unexecuted instantiation: s3_lib.c:PACKET_copy_all Unexecuted instantiation: s3_msg.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_rsa.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_rstream.c:PACKET_copy_all Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  430  | 42.2k  | { |  431  | 42.2k  |     if (PACKET_remaining(pkt) > dest_len) { |  432  | 27  |         *len = 0;  |  433  | 27  |         return 0;  |  434  | 27  |     }  |  435  | 42.2k  |     *len = pkt->remaining;  |  436  | 42.2k  |     memcpy(dest, pkt->curr, pkt->remaining);  |  437  | 42.2k  |     return 1;  |  438  | 42.2k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_copy_all Unexecuted instantiation: d1_msg.c:PACKET_copy_all Unexecuted instantiation: d1_srtp.c:PACKET_copy_all Unexecuted instantiation: pqueue.c:PACKET_copy_all Unexecuted instantiation: s3_enc.c:PACKET_copy_all Unexecuted instantiation: ssl_asn1.c:PACKET_copy_all Unexecuted instantiation: ssl_conf.c:PACKET_copy_all Unexecuted instantiation: t1_enc.c:PACKET_copy_all Unexecuted instantiation: quic_channel.c:PACKET_copy_all Unexecuted instantiation: quic_demux.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_rx_depack.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: ssl3_meth.c:PACKET_copy_all Unexecuted instantiation: tls13_meth.c:PACKET_copy_all Unexecuted instantiation: quic_ackm.c:PACKET_copy_all Unexecuted instantiation: quic_fifd.c:PACKET_copy_all Unexecuted instantiation: ssl_txt.c:PACKET_copy_all Unexecuted instantiation: quic-client.c:PACKET_copy_all  | 
439  |  |  | 
440  |  | /*  | 
441  |  |  * Copy |pkt| bytes to a newly allocated buffer and store a pointer to the  | 
442  |  |  * result in |*data|, and the length in |len|.  | 
443  |  |  * If |*data| is not NULL, the old data is OPENSSL_free'd.  | 
444  |  |  * If the packet is empty, or malloc fails, |*data| will be set to NULL.  | 
445  |  |  * Returns 1 if the malloc succeeds and 0 otherwise.  | 
446  |  |  * Does not forward PACKET position (because it is typically the last thing  | 
447  |  |  * done with a given PACKET).  | 
448  |  |  */  | 
449  |  | __owur static ossl_inline int PACKET_memdup(const PACKET *pkt,  | 
450  |  |                                             unsigned char **data, size_t *len)  | 
451  | 19.7k  | { | 
452  | 19.7k  |     size_t length;  | 
453  |  |  | 
454  | 19.7k  |     OPENSSL_free(*data);  | 
455  | 19.7k  |     *data = NULL;  | 
456  | 19.7k  |     *len = 0;  | 
457  |  |  | 
458  | 19.7k  |     length = PACKET_remaining(pkt);  | 
459  |  |  | 
460  | 19.7k  |     if (length == 0)  | 
461  | 1.82k  |         return 1;  | 
462  |  |  | 
463  | 17.9k  |     *data = OPENSSL_memdup(pkt->curr, length);  | 
464  | 17.9k  |     if (*data == NULL)  | 
465  | 0  |         return 0;  | 
466  |  |  | 
467  | 17.9k  |     *len = length;  | 
468  | 17.9k  |     return 1;  | 
469  | 17.9k  | } 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: dsa_sig.c:PACKET_memdup Unexecuted instantiation: ecdsa_sig.c:PACKET_memdup Unexecuted instantiation: eddsa_sig.c:PACKET_memdup Unexecuted instantiation: rsa_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_rsa_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: der_rsa_sig.c:PACKET_memdup Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_memdup Unexecuted instantiation: punycode.c:PACKET_memdup Unexecuted instantiation: der_sm2_gen.c:PACKET_memdup Unexecuted instantiation: methods.c:PACKET_memdup Unexecuted instantiation: s3_lib.c:PACKET_memdup Unexecuted instantiation: s3_msg.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  |  451  | 15.8k  | { |  452  | 15.8k  |     size_t length;  |  453  |  |  |  454  | 15.8k  |     OPENSSL_free(*data);  |  455  | 15.8k  |     *data = NULL;  |  456  | 15.8k  |     *len = 0;  |  457  |  |  |  458  | 15.8k  |     length = PACKET_remaining(pkt);  |  459  |  |  |  460  | 15.8k  |     if (length == 0)  |  461  | 0  |         return 1;  |  462  |  |  |  463  | 15.8k  |     *data = OPENSSL_memdup(pkt->curr, length);  |  464  | 15.8k  |     if (*data == NULL)  |  465  | 0  |         return 0;  |  466  |  |  |  467  | 15.8k  |     *len = length;  |  468  | 15.8k  |     return 1;  |  469  | 15.8k  | }  |  
 Unexecuted instantiation: ssl_mcnf.c:PACKET_memdup Unexecuted instantiation: ssl_rsa.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_rstream.c:PACKET_memdup Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  451  | 19  | { |  452  | 19  |     size_t length;  |  453  |  |  |  454  | 19  |     OPENSSL_free(*data);  |  455  | 19  |     *data = NULL;  |  456  | 19  |     *len = 0;  |  457  |  |  |  458  | 19  |     length = PACKET_remaining(pkt);  |  459  |  |  |  460  | 19  |     if (length == 0)  |  461  | 6  |         return 1;  |  462  |  |  |  463  | 13  |     *data = OPENSSL_memdup(pkt->curr, length);  |  464  | 13  |     if (*data == NULL)  |  465  | 0  |         return 0;  |  466  |  |  |  467  | 13  |     *len = length;  |  468  | 13  |     return 1;  |  469  | 13  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_memdup extensions_srvr.c:PACKET_memdup Line  | Count  | Source  |  451  | 1.86k  | { |  452  | 1.86k  |     size_t length;  |  453  |  |  |  454  | 1.86k  |     OPENSSL_free(*data);  |  455  | 1.86k  |     *data = NULL;  |  456  | 1.86k  |     *len = 0;  |  457  |  |  |  458  | 1.86k  |     length = PACKET_remaining(pkt);  |  459  |  |  |  460  | 1.86k  |     if (length == 0)  |  461  | 0  |         return 1;  |  462  |  |  |  463  | 1.86k  |     *data = OPENSSL_memdup(pkt->curr, length);  |  464  | 1.86k  |     if (*data == NULL)  |  465  | 0  |         return 0;  |  466  |  |  |  467  | 1.86k  |     *len = length;  |  468  | 1.86k  |     return 1;  |  469  | 1.86k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_memdup statem_clnt.c:PACKET_memdup Line  | Count  | Source  |  451  | 2.03k  | { |  452  | 2.03k  |     size_t length;  |  453  |  |  |  454  | 2.03k  |     OPENSSL_free(*data);  |  455  | 2.03k  |     *data = NULL;  |  456  | 2.03k  |     *len = 0;  |  457  |  |  |  458  | 2.03k  |     length = PACKET_remaining(pkt);  |  459  |  |  |  460  | 2.03k  |     if (length == 0)  |  461  | 1.81k  |         return 1;  |  462  |  |  |  463  | 222  |     *data = OPENSSL_memdup(pkt->curr, length);  |  464  | 222  |     if (*data == NULL)  |  465  | 0  |         return 0;  |  466  |  |  |  467  | 222  |     *len = length;  |  468  | 222  |     return 1;  |  469  | 222  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_memdup Unexecuted instantiation: statem_lib.c:PACKET_memdup Unexecuted instantiation: statem_srvr.c:PACKET_memdup Unexecuted instantiation: d1_lib.c:PACKET_memdup Unexecuted instantiation: d1_msg.c:PACKET_memdup Unexecuted instantiation: d1_srtp.c:PACKET_memdup Unexecuted instantiation: pqueue.c:PACKET_memdup Unexecuted instantiation: s3_enc.c:PACKET_memdup Unexecuted instantiation: ssl_asn1.c:PACKET_memdup Unexecuted instantiation: ssl_conf.c:PACKET_memdup Unexecuted instantiation: t1_enc.c:PACKET_memdup Unexecuted instantiation: quic_channel.c:PACKET_memdup Unexecuted instantiation: quic_demux.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_rx_depack.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: ssl3_meth.c:PACKET_memdup Unexecuted instantiation: tls13_meth.c:PACKET_memdup Unexecuted instantiation: quic_ackm.c:PACKET_memdup Unexecuted instantiation: quic_fifd.c:PACKET_memdup Unexecuted instantiation: ssl_txt.c:PACKET_memdup Unexecuted instantiation: quic-client.c:PACKET_memdup  | 
470  |  |  | 
471  |  | /*  | 
472  |  |  * Read a C string from |pkt| and copy to a newly allocated, NUL-terminated  | 
473  |  |  * buffer. Store a pointer to the result in |*data|.  | 
474  |  |  * If |*data| is not NULL, the old data is OPENSSL_free'd.  | 
475  |  |  * If the data in |pkt| does not contain a NUL-byte, the entire data is  | 
476  |  |  * copied and NUL-terminated.  | 
477  |  |  * Returns 1 if the malloc succeeds and 0 otherwise.  | 
478  |  |  * Does not forward PACKET position (because it is typically the last thing done  | 
479  |  |  * with a given PACKET).  | 
480  |  |  */  | 
481  |  | __owur static ossl_inline int PACKET_strndup(const PACKET *pkt, char **data)  | 
482  | 2.84k  | { | 
483  | 2.84k  |     OPENSSL_free(*data);  | 
484  |  |  | 
485  |  |     /* This will succeed on an empty packet, unless pkt->curr == NULL. */  | 
486  | 2.84k  |     *data = OPENSSL_strndup((const char *)pkt->curr, PACKET_remaining(pkt));  | 
487  | 2.84k  |     return (*data != NULL);  | 
488  | 2.84k  | } 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: dsa_sig.c:PACKET_strndup Unexecuted instantiation: ecdsa_sig.c:PACKET_strndup Unexecuted instantiation: eddsa_sig.c:PACKET_strndup Unexecuted instantiation: rsa_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_rsa_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: der_rsa_sig.c:PACKET_strndup Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_strndup Unexecuted instantiation: punycode.c:PACKET_strndup Unexecuted instantiation: der_sm2_gen.c:PACKET_strndup Unexecuted instantiation: methods.c:PACKET_strndup Unexecuted instantiation: s3_lib.c:PACKET_strndup Unexecuted instantiation: s3_msg.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_rsa.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_rstream.c:PACKET_strndup Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  482  | 2.84k  | { |  483  | 2.84k  |     OPENSSL_free(*data);  |  484  |  |  |  485  |  |     /* This will succeed on an empty packet, unless pkt->curr == NULL. */  |  486  | 2.84k  |     *data = OPENSSL_strndup((const char *)pkt->curr, PACKET_remaining(pkt));  |  487  | 2.84k  |     return (*data != NULL);  |  488  | 2.84k  | }  |  
 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: d1_lib.c:PACKET_strndup Unexecuted instantiation: d1_msg.c:PACKET_strndup Unexecuted instantiation: d1_srtp.c:PACKET_strndup Unexecuted instantiation: pqueue.c:PACKET_strndup Unexecuted instantiation: s3_enc.c:PACKET_strndup Unexecuted instantiation: ssl_asn1.c:PACKET_strndup Unexecuted instantiation: ssl_conf.c:PACKET_strndup Unexecuted instantiation: t1_enc.c:PACKET_strndup Unexecuted instantiation: quic_channel.c:PACKET_strndup Unexecuted instantiation: quic_demux.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_rx_depack.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: ssl3_meth.c:PACKET_strndup Unexecuted instantiation: tls13_meth.c:PACKET_strndup Unexecuted instantiation: quic_ackm.c:PACKET_strndup Unexecuted instantiation: quic_fifd.c:PACKET_strndup Unexecuted instantiation: ssl_txt.c:PACKET_strndup Unexecuted instantiation: quic-client.c:PACKET_strndup  | 
489  |  |  | 
490  |  | /* Returns 1 if |pkt| contains at least one 0-byte, 0 otherwise. */  | 
491  |  | static ossl_inline int PACKET_contains_zero_byte(const PACKET *pkt)  | 
492  | 2.86k  | { | 
493  | 2.86k  |     return memchr(pkt->curr, 0, pkt->remaining) != NULL;  | 
494  | 2.86k  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_contains_zero_byte Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: punycode.c:PACKET_contains_zero_byte Unexecuted instantiation: der_sm2_gen.c:PACKET_contains_zero_byte Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  492  | 2.86k  | { |  493  | 2.86k  |     return memchr(pkt->curr, 0, pkt->remaining) != NULL;  |  494  | 2.86k  | }  |  
 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: d1_lib.c:PACKET_contains_zero_byte Unexecuted instantiation: d1_msg.c:PACKET_contains_zero_byte Unexecuted instantiation: d1_srtp.c:PACKET_contains_zero_byte Unexecuted instantiation: pqueue.c:PACKET_contains_zero_byte Unexecuted instantiation: s3_enc.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: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_contains_zero_byte Unexecuted instantiation: tls13_meth.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_ackm.c:PACKET_contains_zero_byte Unexecuted instantiation: quic_fifd.c:PACKET_contains_zero_byte Unexecuted instantiation: ssl_txt.c:PACKET_contains_zero_byte Unexecuted instantiation: quic-client.c:PACKET_contains_zero_byte  | 
495  |  |  | 
496  |  | /* Move the current reading position forward |len| bytes */  | 
497  |  | __owur static ossl_inline int PACKET_forward(PACKET *pkt, size_t len)  | 
498  | 4.14M  | { | 
499  | 4.14M  |     if (PACKET_remaining(pkt) < len)  | 
500  | 216  |         return 0;  | 
501  |  |  | 
502  | 4.14M  |     packet_forward(pkt, len);  | 
503  |  |  | 
504  | 4.14M  |     return 1;  | 
505  | 4.14M  | } 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: dsa_sig.c:PACKET_forward Unexecuted instantiation: ecdsa_sig.c:PACKET_forward Unexecuted instantiation: eddsa_sig.c:PACKET_forward Unexecuted instantiation: rsa_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_rsa_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: der_rsa_sig.c:PACKET_forward Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_forward Unexecuted instantiation: punycode.c:PACKET_forward Unexecuted instantiation: der_sm2_gen.c:PACKET_forward Unexecuted instantiation: methods.c:PACKET_forward Unexecuted instantiation: s3_lib.c:PACKET_forward Unexecuted instantiation: s3_msg.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  |  498  | 45.9k  | { |  499  | 45.9k  |     if (PACKET_remaining(pkt) < len)  |  500  | 0  |         return 0;  |  501  |  |  |  502  | 45.9k  |     packet_forward(pkt, len);  |  503  |  |  |  504  | 45.9k  |     return 1;  |  505  | 45.9k  | }  |  
 Unexecuted instantiation: ssl_mcnf.c:PACKET_forward Unexecuted instantiation: ssl_rsa.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_rstream.c:PACKET_forward Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.c:PACKET_forward 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  |  498  | 8  | { |  499  | 8  |     if (PACKET_remaining(pkt) < len)  |  500  | 0  |         return 0;  |  501  |  |  |  502  | 8  |     packet_forward(pkt, len);  |  503  |  |  |  504  | 8  |     return 1;  |  505  | 8  | }  |  
 Unexecuted instantiation: extensions_clnt.c:PACKET_forward Unexecuted instantiation: extensions_cust.c:PACKET_forward Unexecuted instantiation: extensions_srvr.c:PACKET_forward Unexecuted instantiation: statem.c:PACKET_forward statem_clnt.c:PACKET_forward Line  | Count  | Source  |  498  | 1.53k  | { |  499  | 1.53k  |     if (PACKET_remaining(pkt) < len)  |  500  | 6  |         return 0;  |  501  |  |  |  502  | 1.52k  |     packet_forward(pkt, len);  |  503  |  |  |  504  | 1.52k  |     return 1;  |  505  | 1.53k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_forward Unexecuted instantiation: statem_lib.c:PACKET_forward Unexecuted instantiation: statem_srvr.c:PACKET_forward Unexecuted instantiation: d1_lib.c:PACKET_forward Unexecuted instantiation: d1_msg.c:PACKET_forward Unexecuted instantiation: d1_srtp.c:PACKET_forward Unexecuted instantiation: pqueue.c:PACKET_forward Unexecuted instantiation: s3_enc.c:PACKET_forward Unexecuted instantiation: ssl_asn1.c:PACKET_forward Unexecuted instantiation: ssl_conf.c:PACKET_forward Unexecuted instantiation: t1_enc.c:PACKET_forward Unexecuted instantiation: quic_channel.c:PACKET_forward Unexecuted instantiation: quic_demux.c:PACKET_forward quic_record_rx.c:PACKET_forward Line  | Count  | Source  |  498  | 431k  | { |  499  | 431k  |     if (PACKET_remaining(pkt) < len)  |  500  | 0  |         return 0;  |  501  |  |  |  502  | 431k  |     packet_forward(pkt, len);  |  503  |  |  |  504  | 431k  |     return 1;  |  505  | 431k  | }  |  
 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_rx_depack.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  |  498  | 446k  | { |  499  | 446k  |     if (PACKET_remaining(pkt) < len)  |  500  | 210  |         return 0;  |  501  |  |  |  502  | 446k  |     packet_forward(pkt, len);  |  503  |  |  |  504  | 446k  |     return 1;  |  505  | 446k  | }  |  
 quic_wire_pkt.c:PACKET_forward Line  | Count  | Source  |  498  | 3.21M  | { |  499  | 3.21M  |     if (PACKET_remaining(pkt) < len)  |  500  | 0  |         return 0;  |  501  |  |  |  502  | 3.21M  |     packet_forward(pkt, len);  |  503  |  |  |  504  | 3.21M  |     return 1;  |  505  | 3.21M  | }  |  
 Unexecuted instantiation: ssl3_meth.c:PACKET_forward Unexecuted instantiation: tls13_meth.c:PACKET_forward Unexecuted instantiation: quic_ackm.c:PACKET_forward Unexecuted instantiation: quic_fifd.c:PACKET_forward Unexecuted instantiation: ssl_txt.c:PACKET_forward Unexecuted instantiation: quic-client.c:PACKET_forward  | 
506  |  |  | 
507  |  | /*  | 
508  |  |  * Reads a variable-length vector prefixed with a one-byte length, and stores  | 
509  |  |  * the contents in |subpkt|. |pkt| can equal |subpkt|.  | 
510  |  |  * Data is not copied: the |subpkt| packet will share its underlying buffer with  | 
511  |  |  * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|.  | 
512  |  |  * Upon failure, the original |pkt| and |subpkt| are not modified.  | 
513  |  |  */  | 
514  |  | __owur static ossl_inline int PACKET_get_length_prefixed_1(PACKET *pkt,  | 
515  |  |                                                            PACKET *subpkt)  | 
516  | 99.7k  | { | 
517  | 99.7k  |     unsigned int length;  | 
518  | 99.7k  |     const unsigned char *data;  | 
519  | 99.7k  |     PACKET tmp = *pkt;  | 
520  | 99.7k  |     if (!PACKET_get_1(&tmp, &length) ||  | 
521  | 99.7k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 
522  | 1.06k  |         return 0;  | 
523  | 1.06k  |     }  | 
524  |  |  | 
525  | 98.6k  |     *pkt = tmp;  | 
526  | 98.6k  |     subpkt->curr = data;  | 
527  | 98.6k  |     subpkt->remaining = length;  | 
528  |  |  | 
529  | 98.6k  |     return 1;  | 
530  | 99.7k  | } 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: 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: rsa_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_rsa_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  |  516  | 1.68k  | { |  517  | 1.68k  |     unsigned int length;  |  518  | 1.68k  |     const unsigned char *data;  |  519  | 1.68k  |     PACKET tmp = *pkt;  |  520  | 1.68k  |     if (!PACKET_get_1(&tmp, &length) ||  |  521  | 1.68k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  522  | 282  |         return 0;  |  523  | 282  |     }  |  524  |  |  |  525  | 1.39k  |     *pkt = tmp;  |  526  | 1.39k  |     subpkt->curr = data;  |  527  | 1.39k  |     subpkt->remaining = length;  |  528  |  |  |  529  | 1.39k  |     return 1;  |  530  | 1.68k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: packet.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_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_rsa_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: punycode.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  516  | 8.96k  | { |  517  | 8.96k  |     unsigned int length;  |  518  | 8.96k  |     const unsigned char *data;  |  519  | 8.96k  |     PACKET tmp = *pkt;  |  520  | 8.96k  |     if (!PACKET_get_1(&tmp, &length) ||  |  521  | 8.96k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  522  | 23  |         return 0;  |  523  | 23  |     }  |  524  |  |  |  525  | 8.93k  |     *pkt = tmp;  |  526  | 8.93k  |     subpkt->curr = data;  |  527  | 8.93k  |     subpkt->remaining = length;  |  528  |  |  |  529  | 8.93k  |     return 1;  |  530  | 8.96k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_get_length_prefixed_1 extensions_srvr.c:PACKET_get_length_prefixed_1 Line  | Count  | Source  |  516  | 1.89k  | { |  517  | 1.89k  |     unsigned int length;  |  518  | 1.89k  |     const unsigned char *data;  |  519  | 1.89k  |     PACKET tmp = *pkt;  |  520  | 1.89k  |     if (!PACKET_get_1(&tmp, &length) ||  |  521  | 1.89k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  522  | 83  |         return 0;  |  523  | 83  |     }  |  524  |  |  |  525  | 1.80k  |     *pkt = tmp;  |  526  | 1.80k  |     subpkt->curr = data;  |  527  | 1.80k  |     subpkt->remaining = length;  |  528  |  |  |  529  | 1.80k  |     return 1;  |  530  | 1.89k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_get_length_prefixed_1 statem_clnt.c:PACKET_get_length_prefixed_1 Line  | Count  | Source  |  516  | 50.3k  | { |  517  | 50.3k  |     unsigned int length;  |  518  | 50.3k  |     const unsigned char *data;  |  519  | 50.3k  |     PACKET tmp = *pkt;  |  520  | 50.3k  |     if (!PACKET_get_1(&tmp, &length) ||  |  521  | 50.3k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  522  | 625  |         return 0;  |  523  | 625  |     }  |  524  |  |  |  525  | 49.6k  |     *pkt = tmp;  |  526  | 49.6k  |     subpkt->curr = data;  |  527  | 49.6k  |     subpkt->remaining = length;  |  528  |  |  |  529  | 49.6k  |     return 1;  |  530  | 50.3k  | }  |  
 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  |  516  | 36.8k  | { |  517  | 36.8k  |     unsigned int length;  |  518  | 36.8k  |     const unsigned char *data;  |  519  | 36.8k  |     PACKET tmp = *pkt;  |  520  | 36.8k  |     if (!PACKET_get_1(&tmp, &length) ||  |  521  | 36.8k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  522  | 54  |         return 0;  |  523  | 54  |     }  |  524  |  |  |  525  | 36.7k  |     *pkt = tmp;  |  526  | 36.7k  |     subpkt->curr = data;  |  527  | 36.7k  |     subpkt->remaining = length;  |  528  |  |  |  529  | 36.7k  |     return 1;  |  530  | 36.8k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: d1_msg.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: d1_srtp.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: ssl_asn1.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_conf.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: tls13_meth.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_ackm.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic_fifd.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: ssl_txt.c:PACKET_get_length_prefixed_1 Unexecuted instantiation: quic-client.c:PACKET_get_length_prefixed_1  | 
531  |  |  | 
532  |  | /*  | 
533  |  |  * Like PACKET_get_length_prefixed_1, but additionally, fails when there are  | 
534  |  |  * leftover bytes in |pkt|.  | 
535  |  |  */  | 
536  |  | __owur static ossl_inline int PACKET_as_length_prefixed_1(PACKET *pkt,  | 
537  |  |                                                           PACKET *subpkt)  | 
538  | 10.0k  | { | 
539  | 10.0k  |     unsigned int length;  | 
540  | 10.0k  |     const unsigned char *data;  | 
541  | 10.0k  |     PACKET tmp = *pkt;  | 
542  | 10.0k  |     if (!PACKET_get_1(&tmp, &length) ||  | 
543  | 10.0k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length) ||  | 
544  | 10.0k  |         PACKET_remaining(&tmp) != 0) { | 
545  | 259  |         return 0;  | 
546  | 259  |     }  | 
547  |  |  | 
548  | 9.80k  |     *pkt = tmp;  | 
549  | 9.80k  |     subpkt->curr = data;  | 
550  | 9.80k  |     subpkt->remaining = length;  | 
551  |  |  | 
552  | 9.80k  |     return 1;  | 
553  | 10.0k  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: punycode.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: der_sm2_gen.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  538  | 2.22k  | { |  539  | 2.22k  |     unsigned int length;  |  540  | 2.22k  |     const unsigned char *data;  |  541  | 2.22k  |     PACKET tmp = *pkt;  |  542  | 2.22k  |     if (!PACKET_get_1(&tmp, &length) ||  |  543  | 2.22k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length) ||  |  544  | 2.22k  |         PACKET_remaining(&tmp) != 0) { |  545  | 51  |         return 0;  |  546  | 51  |     }  |  547  |  |  |  548  | 2.17k  |     *pkt = tmp;  |  549  | 2.17k  |     subpkt->curr = data;  |  550  | 2.17k  |     subpkt->remaining = length;  |  551  |  |  |  552  | 2.17k  |     return 1;  |  553  | 2.22k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_as_length_prefixed_1 extensions_srvr.c:PACKET_as_length_prefixed_1 Line  | Count  | Source  |  538  | 3.68k  | { |  539  | 3.68k  |     unsigned int length;  |  540  | 3.68k  |     const unsigned char *data;  |  541  | 3.68k  |     PACKET tmp = *pkt;  |  542  | 3.68k  |     if (!PACKET_get_1(&tmp, &length) ||  |  543  | 3.68k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length) ||  |  544  | 3.68k  |         PACKET_remaining(&tmp) != 0) { |  545  | 151  |         return 0;  |  546  | 151  |     }  |  547  |  |  |  548  | 3.52k  |     *pkt = tmp;  |  549  | 3.52k  |     subpkt->curr = data;  |  550  | 3.52k  |     subpkt->remaining = length;  |  551  |  |  |  552  | 3.52k  |     return 1;  |  553  | 3.68k  | }  |  
 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  |  538  | 4.15k  | { |  539  | 4.15k  |     unsigned int length;  |  540  | 4.15k  |     const unsigned char *data;  |  541  | 4.15k  |     PACKET tmp = *pkt;  |  542  | 4.15k  |     if (!PACKET_get_1(&tmp, &length) ||  |  543  | 4.15k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length) ||  |  544  | 4.15k  |         PACKET_remaining(&tmp) != 0) { |  545  | 57  |         return 0;  |  546  | 57  |     }  |  547  |  |  |  548  | 4.10k  |     *pkt = tmp;  |  549  | 4.10k  |     subpkt->curr = data;  |  550  | 4.10k  |     subpkt->remaining = length;  |  551  |  |  |  552  | 4.10k  |     return 1;  |  553  | 4.15k  | }  |  
 Unexecuted instantiation: statem_srvr.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: d1_lib.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: d1_msg.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: d1_srtp.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: ssl_asn1.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_conf.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: tls13_meth.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_ackm.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic_fifd.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: ssl_txt.c:PACKET_as_length_prefixed_1 Unexecuted instantiation: quic-client.c:PACKET_as_length_prefixed_1  | 
554  |  |  | 
555  |  | /*  | 
556  |  |  * Reads a variable-length vector prefixed with a two-byte length, and stores  | 
557  |  |  * the contents in |subpkt|. |pkt| can equal |subpkt|.  | 
558  |  |  * Data is not copied: the |subpkt| packet will share its underlying buffer with  | 
559  |  |  * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|.  | 
560  |  |  * Upon failure, the original |pkt| and |subpkt| are not modified.  | 
561  |  |  */  | 
562  |  | __owur static ossl_inline int PACKET_get_length_prefixed_2(PACKET *pkt,  | 
563  |  |                                                            PACKET *subpkt)  | 
564  | 283k  | { | 
565  | 283k  |     unsigned int length;  | 
566  | 283k  |     const unsigned char *data;  | 
567  | 283k  |     PACKET tmp = *pkt;  | 
568  |  |  | 
569  | 283k  |     if (!PACKET_get_net_2(&tmp, &length) ||  | 
570  | 283k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 
571  | 2.30k  |         return 0;  | 
572  | 2.30k  |     }  | 
573  |  |  | 
574  | 280k  |     *pkt = tmp;  | 
575  | 280k  |     subpkt->curr = data;  | 
576  | 280k  |     subpkt->remaining = length;  | 
577  |  |  | 
578  | 280k  |     return 1;  | 
579  | 283k  | } 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: 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: rsa_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_rsa_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  |  564  | 5.76k  | { |  565  | 5.76k  |     unsigned int length;  |  566  | 5.76k  |     const unsigned char *data;  |  567  | 5.76k  |     PACKET tmp = *pkt;  |  568  |  |  |  569  | 5.76k  |     if (!PACKET_get_net_2(&tmp, &length) ||  |  570  | 5.76k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  571  | 864  |         return 0;  |  572  | 864  |     }  |  573  |  |  |  574  | 4.90k  |     *pkt = tmp;  |  575  | 4.90k  |     subpkt->curr = data;  |  576  | 4.90k  |     subpkt->remaining = length;  |  577  |  |  |  578  | 4.90k  |     return 1;  |  579  | 5.76k  | }  |  
 Unexecuted instantiation: der_writer.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: packet.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_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_rsa_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: punycode.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  564  | 202k  | { |  565  | 202k  |     unsigned int length;  |  566  | 202k  |     const unsigned char *data;  |  567  | 202k  |     PACKET tmp = *pkt;  |  568  |  |  |  569  | 202k  |     if (!PACKET_get_net_2(&tmp, &length) ||  |  570  | 202k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  571  | 246  |         return 0;  |  572  | 246  |     }  |  573  |  |  |  574  | 201k  |     *pkt = tmp;  |  575  | 201k  |     subpkt->curr = data;  |  576  | 201k  |     subpkt->remaining = length;  |  577  |  |  |  578  | 201k  |     return 1;  |  579  | 202k  | }  |  
 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  |  564  | 10.2k  | { |  565  | 10.2k  |     unsigned int length;  |  566  | 10.2k  |     const unsigned char *data;  |  567  | 10.2k  |     PACKET tmp = *pkt;  |  568  |  |  |  569  | 10.2k  |     if (!PACKET_get_net_2(&tmp, &length) ||  |  570  | 10.2k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  571  | 388  |         return 0;  |  572  | 388  |     }  |  573  |  |  |  574  | 9.82k  |     *pkt = tmp;  |  575  | 9.82k  |     subpkt->curr = data;  |  576  | 9.82k  |     subpkt->remaining = length;  |  577  |  |  |  578  | 9.82k  |     return 1;  |  579  | 10.2k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_get_length_prefixed_2 statem_clnt.c:PACKET_get_length_prefixed_2 Line  | Count  | Source  |  564  | 27.3k  | { |  565  | 27.3k  |     unsigned int length;  |  566  | 27.3k  |     const unsigned char *data;  |  567  | 27.3k  |     PACKET tmp = *pkt;  |  568  |  |  |  569  | 27.3k  |     if (!PACKET_get_net_2(&tmp, &length) ||  |  570  | 27.3k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  571  | 281  |         return 0;  |  572  | 281  |     }  |  573  |  |  |  574  | 27.0k  |     *pkt = tmp;  |  575  | 27.0k  |     subpkt->curr = data;  |  576  | 27.0k  |     subpkt->remaining = length;  |  577  |  |  |  578  | 27.0k  |     return 1;  |  579  | 27.3k  | }  |  
 Unexecuted instantiation: statem_dtls.c:PACKET_get_length_prefixed_2 statem_lib.c:PACKET_get_length_prefixed_2 Line  | Count  | Source  |  564  | 2.12k  | { |  565  | 2.12k  |     unsigned int length;  |  566  | 2.12k  |     const unsigned char *data;  |  567  | 2.12k  |     PACKET tmp = *pkt;  |  568  |  |  |  569  | 2.12k  |     if (!PACKET_get_net_2(&tmp, &length) ||  |  570  | 2.12k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  571  | 340  |         return 0;  |  572  | 340  |     }  |  573  |  |  |  574  | 1.78k  |     *pkt = tmp;  |  575  | 1.78k  |     subpkt->curr = data;  |  576  | 1.78k  |     subpkt->remaining = length;  |  577  |  |  |  578  | 1.78k  |     return 1;  |  579  | 2.12k  | }  |  
 statem_srvr.c:PACKET_get_length_prefixed_2 Line  | Count  | Source  |  564  | 35.7k  | { |  565  | 35.7k  |     unsigned int length;  |  566  | 35.7k  |     const unsigned char *data;  |  567  | 35.7k  |     PACKET tmp = *pkt;  |  568  |  |  |  569  | 35.7k  |     if (!PACKET_get_net_2(&tmp, &length) ||  |  570  | 35.7k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  571  | 181  |         return 0;  |  572  | 181  |     }  |  573  |  |  |  574  | 35.5k  |     *pkt = tmp;  |  575  | 35.5k  |     subpkt->curr = data;  |  576  | 35.5k  |     subpkt->remaining = length;  |  577  |  |  |  578  | 35.5k  |     return 1;  |  579  | 35.7k  | }  |  
 Unexecuted instantiation: d1_lib.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: d1_msg.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: d1_srtp.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: ssl_asn1.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_conf.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: tls13_meth.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_ackm.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic_fifd.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: ssl_txt.c:PACKET_get_length_prefixed_2 Unexecuted instantiation: quic-client.c:PACKET_get_length_prefixed_2  | 
580  |  |  | 
581  |  | /*  | 
582  |  |  * Like PACKET_get_length_prefixed_2, but additionally, fails when there are  | 
583  |  |  * leftover bytes in |pkt|.  | 
584  |  |  */  | 
585  |  | __owur static ossl_inline int PACKET_as_length_prefixed_2(PACKET *pkt,  | 
586  |  |                                                           PACKET *subpkt)  | 
587  | 86.1k  | { | 
588  | 86.1k  |     unsigned int length;  | 
589  | 86.1k  |     const unsigned char *data;  | 
590  | 86.1k  |     PACKET tmp = *pkt;  | 
591  |  |  | 
592  | 86.1k  |     if (!PACKET_get_net_2(&tmp, &length) ||  | 
593  | 86.1k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length) ||  | 
594  | 86.1k  |         PACKET_remaining(&tmp) != 0) { | 
595  | 1.28k  |         return 0;  | 
596  | 1.28k  |     }  | 
597  |  |  | 
598  | 84.8k  |     *pkt = tmp;  | 
599  | 84.8k  |     subpkt->curr = data;  | 
600  | 84.8k  |     subpkt->remaining = length;  | 
601  |  |  | 
602  | 84.8k  |     return 1;  | 
603  | 86.1k  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: punycode.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: der_sm2_gen.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  587  | 11.5k  | { |  588  | 11.5k  |     unsigned int length;  |  589  | 11.5k  |     const unsigned char *data;  |  590  | 11.5k  |     PACKET tmp = *pkt;  |  591  |  |  |  592  | 11.5k  |     if (!PACKET_get_net_2(&tmp, &length) ||  |  593  | 11.5k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length) ||  |  594  | 11.5k  |         PACKET_remaining(&tmp) != 0) { |  595  | 154  |         return 0;  |  596  | 154  |     }  |  597  |  |  |  598  | 11.3k  |     *pkt = tmp;  |  599  | 11.3k  |     subpkt->curr = data;  |  600  | 11.3k  |     subpkt->remaining = length;  |  601  |  |  |  602  | 11.3k  |     return 1;  |  603  | 11.5k  | }  |  
 Unexecuted instantiation: extensions_cust.c:PACKET_as_length_prefixed_2 extensions_srvr.c:PACKET_as_length_prefixed_2 Line  | Count  | Source  |  587  | 25.4k  | { |  588  | 25.4k  |     unsigned int length;  |  589  | 25.4k  |     const unsigned char *data;  |  590  | 25.4k  |     PACKET tmp = *pkt;  |  591  |  |  |  592  | 25.4k  |     if (!PACKET_get_net_2(&tmp, &length) ||  |  593  | 25.4k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length) ||  |  594  | 25.4k  |         PACKET_remaining(&tmp) != 0) { |  595  | 690  |         return 0;  |  596  | 690  |     }  |  597  |  |  |  598  | 24.7k  |     *pkt = tmp;  |  599  | 24.7k  |     subpkt->curr = data;  |  600  | 24.7k  |     subpkt->remaining = length;  |  601  |  |  |  602  | 24.7k  |     return 1;  |  603  | 25.4k  | }  |  
 Unexecuted instantiation: statem.c:PACKET_as_length_prefixed_2 statem_clnt.c:PACKET_as_length_prefixed_2 Line  | Count  | Source  |  587  | 49.1k  | { |  588  | 49.1k  |     unsigned int length;  |  589  | 49.1k  |     const unsigned char *data;  |  590  | 49.1k  |     PACKET tmp = *pkt;  |  591  |  |  |  592  | 49.1k  |     if (!PACKET_get_net_2(&tmp, &length) ||  |  593  | 49.1k  |         !PACKET_get_bytes(&tmp, &data, (size_t)length) ||  |  594  | 49.1k  |         PACKET_remaining(&tmp) != 0) { |  595  | 441  |         return 0;  |  596  | 441  |     }  |  597  |  |  |  598  | 48.7k  |     *pkt = tmp;  |  599  | 48.7k  |     subpkt->curr = data;  |  600  | 48.7k  |     subpkt->remaining = length;  |  601  |  |  |  602  | 48.7k  |     return 1;  |  603  | 49.1k  | }  |  
 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: d1_lib.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: d1_msg.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: d1_srtp.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: ssl_asn1.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_conf.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: tls13_meth.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_ackm.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic_fifd.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: ssl_txt.c:PACKET_as_length_prefixed_2 Unexecuted instantiation: quic-client.c:PACKET_as_length_prefixed_2  | 
604  |  |  | 
605  |  | /*  | 
606  |  |  * Reads a variable-length vector prefixed with a three-byte length, and stores  | 
607  |  |  * the contents in |subpkt|. |pkt| can equal |subpkt|.  | 
608  |  |  * Data is not copied: the |subpkt| packet will share its underlying buffer with  | 
609  |  |  * the original |pkt|, so data wrapped by |pkt| must outlive the |subpkt|.  | 
610  |  |  * Upon failure, the original |pkt| and |subpkt| are not modified.  | 
611  |  |  */  | 
612  |  | __owur static ossl_inline int PACKET_get_length_prefixed_3(PACKET *pkt,  | 
613  |  |                                                            PACKET *subpkt)  | 
614  | 8  | { | 
615  | 8  |     unsigned long length;  | 
616  | 8  |     const unsigned char *data;  | 
617  | 8  |     PACKET tmp = *pkt;  | 
618  | 8  |     if (!PACKET_get_net_3(&tmp, &length) ||  | 
619  | 8  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { | 
620  | 0  |         return 0;  | 
621  | 0  |     }  | 
622  |  |  | 
623  | 8  |     *pkt = tmp;  | 
624  | 8  |     subpkt->curr = data;  | 
625  | 8  |     subpkt->remaining = length;  | 
626  |  |  | 
627  | 8  |     return 1;  | 
628  | 8  | } 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: 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: rsa_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_rsa_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: der_rsa_sig.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_sm2_sig.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_rsa_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: punycode.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: der_sm2_gen.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: methods.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_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_rsa.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_rstream.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_sf_list.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: rec_layer_d1.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  |  614  | 8  | { |  615  | 8  |     unsigned long length;  |  616  | 8  |     const unsigned char *data;  |  617  | 8  |     PACKET tmp = *pkt;  |  618  | 8  |     if (!PACKET_get_net_3(&tmp, &length) ||  |  619  | 8  |         !PACKET_get_bytes(&tmp, &data, (size_t)length)) { |  620  | 0  |         return 0;  |  621  | 0  |     }  |  622  |  |  |  623  | 8  |     *pkt = tmp;  |  624  | 8  |     subpkt->curr = data;  |  625  | 8  |     subpkt->remaining = length;  |  626  |  |  |  627  | 8  |     return 1;  |  628  | 8  | }  |  
 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: d1_lib.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: d1_msg.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: d1_srtp.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: ssl_asn1.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_conf.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: t1_enc.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_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_rx_depack.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: ssl3_meth.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: tls13_meth.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_ackm.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic_fifd.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: ssl_txt.c:PACKET_get_length_prefixed_3 Unexecuted instantiation: quic-client.c:PACKET_get_length_prefixed_3  | 
629  |  |  | 
630  |  | /* Writeable packets */  | 
631  |  |  | 
632  |  | typedef struct wpacket_sub WPACKET_SUB;  | 
633  |  | struct wpacket_sub { | 
634  |  |     /* The parent WPACKET_SUB if we have one or NULL otherwise */  | 
635  |  |     WPACKET_SUB *parent;  | 
636  |  |  | 
637  |  |     /*  | 
638  |  |      * Offset into the buffer where the length of this WPACKET goes. We use an  | 
639  |  |      * offset in case the buffer grows and gets reallocated.  | 
640  |  |      */  | 
641  |  |     size_t packet_len;  | 
642  |  |  | 
643  |  |     /* Number of bytes in the packet_len or 0 if we don't write the length */  | 
644  |  |     size_t lenbytes;  | 
645  |  |  | 
646  |  |     /* Number of bytes written to the buf prior to this packet starting */  | 
647  |  |     size_t pwritten;  | 
648  |  |  | 
649  |  |     /* Flags for this sub-packet */  | 
650  |  |     unsigned int flags;  | 
651  |  | };  | 
652  |  |  | 
653  |  | typedef struct wpacket_st WPACKET;  | 
654  |  | struct wpacket_st { | 
655  |  |     /* The buffer where we store the output data */  | 
656  |  |     BUF_MEM *buf;  | 
657  |  |  | 
658  |  |     /* Fixed sized buffer which can be used as an alternative to buf */  | 
659  |  |     unsigned char *staticbuf;  | 
660  |  |  | 
661  |  |     /*  | 
662  |  |      * Offset into the buffer where we are currently writing. We use an offset  | 
663  |  |      * in case the buffer grows and gets reallocated.  | 
664  |  |      */  | 
665  |  |     size_t curr;  | 
666  |  |  | 
667  |  |     /* Number of bytes written so far */  | 
668  |  |     size_t written;  | 
669  |  |  | 
670  |  |     /* Maximum number of bytes we will allow to be written to this WPACKET */  | 
671  |  |     size_t maxsize;  | 
672  |  |  | 
673  |  |     /* Our sub-packets (always at least one if not finished) */  | 
674  |  |     WPACKET_SUB *subs;  | 
675  |  |  | 
676  |  |     /* Writing from the end first? */  | 
677  |  |     unsigned int endfirst : 1;  | 
678  |  | };  | 
679  |  |  | 
680  |  | /* Flags */  | 
681  |  |  | 
682  |  | /* Default */  | 
683  |  | #define WPACKET_FLAGS_NONE                      0  | 
684  |  |  | 
685  |  | /* Error on WPACKET_close() if no data written to the WPACKET */  | 
686  | 622k  | #define WPACKET_FLAGS_NON_ZERO_LENGTH           1  | 
687  |  |  | 
688  |  | /*  | 
689  |  |  * Abandon all changes on WPACKET_close() if no data written to the WPACKET,  | 
690  |  |  * i.e. this does not write out a zero packet length  | 
691  |  |  */  | 
692  | 615k  | #define WPACKET_FLAGS_ABANDON_ON_ZERO_LENGTH    2  | 
693  |  |  | 
694  |  | /* QUIC variable-length integer length prefix */  | 
695  | 2.30M  | #define WPACKET_FLAGS_QUIC_VLINT                4  | 
696  |  |  | 
697  |  | /*  | 
698  |  |  * Initialise a WPACKET with the buffer in |buf|. The buffer must exist  | 
699  |  |  * for the whole time that the WPACKET is being used. Additionally |lenbytes| of  | 
700  |  |  * data is preallocated at the start of the buffer to store the length of the  | 
701  |  |  * WPACKET once we know it.  | 
702  |  |  */  | 
703  |  | int WPACKET_init_len(WPACKET *pkt, BUF_MEM *buf, size_t lenbytes);  | 
704  |  |  | 
705  |  | /*  | 
706  |  |  * Same as WPACKET_init_len except there is no preallocation of the WPACKET  | 
707  |  |  * length.  | 
708  |  |  */  | 
709  |  | int WPACKET_init(WPACKET *pkt, BUF_MEM *buf);  | 
710  |  |  | 
711  |  | /*  | 
712  |  |  * Same as WPACKET_init_len except there is no underlying buffer. No data is  | 
713  |  |  * ever actually written. We just keep track of how much data would have been  | 
714  |  |  * written if a buffer was there.  | 
715  |  |  */  | 
716  |  | int WPACKET_init_null(WPACKET *pkt, size_t lenbytes);  | 
717  |  |  | 
718  |  | /*  | 
719  |  |  * Same as WPACKET_init_null except we set the WPACKET to assume DER length  | 
720  |  |  * encoding for sub-packets.  | 
721  |  |  */  | 
722  |  | int WPACKET_init_null_der(WPACKET *pkt);  | 
723  |  |  | 
724  |  | /*  | 
725  |  |  * Same as WPACKET_init_len except we do not use a growable BUF_MEM structure.  | 
726  |  |  * A fixed buffer of memory |buf| of size |len| is used instead. A failure will  | 
727  |  |  * occur if you attempt to write beyond the end of the buffer  | 
728  |  |  */  | 
729  |  | int WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len,  | 
730  |  |                             size_t lenbytes);  | 
731  |  |  | 
732  |  | /*  | 
733  |  |  * Same as WPACKET_init_static_len except lenbytes is always 0, and we set the  | 
734  |  |  * WPACKET to write to the end of the buffer moving towards the start and use  | 
735  |  |  * DER length encoding for sub-packets.  | 
736  |  |  */  | 
737  |  | int WPACKET_init_der(WPACKET *pkt, unsigned char *buf, size_t len);  | 
738  |  |  | 
739  |  | /*  | 
740  |  |  * Set the flags to be applied to the current sub-packet  | 
741  |  |  */  | 
742  |  | int WPACKET_set_flags(WPACKET *pkt, unsigned int flags);  | 
743  |  |  | 
744  |  | /*  | 
745  |  |  * Closes the most recent sub-packet. It also writes out the length of the  | 
746  |  |  * packet to the required location (normally the start of the WPACKET) if  | 
747  |  |  * appropriate. The top level WPACKET should be closed using WPACKET_finish()  | 
748  |  |  * instead of this function.  | 
749  |  |  */  | 
750  |  | int WPACKET_close(WPACKET *pkt);  | 
751  |  |  | 
752  |  | /*  | 
753  |  |  * The same as WPACKET_close() but only for the top most WPACKET. Additionally  | 
754  |  |  * frees memory resources for this WPACKET.  | 
755  |  |  */  | 
756  |  | int WPACKET_finish(WPACKET *pkt);  | 
757  |  |  | 
758  |  | /*  | 
759  |  |  * Iterate through all the sub-packets and write out their lengths as if they  | 
760  |  |  * were being closed. The lengths will be overwritten with the final lengths  | 
761  |  |  * when the sub-packets are eventually closed (which may be different if more  | 
762  |  |  * data is added to the WPACKET). This function fails if a sub-packet is of 0  | 
763  |  |  * length and WPACKET_FLAGS_ABANDON_ON_ZERO_LENGTH is set.  | 
764  |  |  */  | 
765  |  | int WPACKET_fill_lengths(WPACKET *pkt);  | 
766  |  |  | 
767  |  | /*  | 
768  |  |  * Initialise a new sub-packet. Additionally |lenbytes| of data is preallocated  | 
769  |  |  * at the start of the sub-packet to store its length once we know it. Don't  | 
770  |  |  * call this directly. Use the convenience macros below instead.  | 
771  |  |  */  | 
772  |  | int WPACKET_start_sub_packet_len__(WPACKET *pkt, size_t lenbytes);  | 
773  |  |  | 
774  |  | /*  | 
775  |  |  * Convenience macros for calling WPACKET_start_sub_packet_len with different  | 
776  |  |  * lengths  | 
777  |  |  */  | 
778  |  | #define WPACKET_start_sub_packet_u8(pkt) \  | 
779  | 1.44M  |     WPACKET_start_sub_packet_len__((pkt), 1)  | 
780  |  | #define WPACKET_start_sub_packet_u16(pkt) \  | 
781  | 1.58M  |     WPACKET_start_sub_packet_len__((pkt), 2)  | 
782  |  | #define WPACKET_start_sub_packet_u24(pkt) \  | 
783  | 121k  |     WPACKET_start_sub_packet_len__((pkt), 3)  | 
784  |  | #define WPACKET_start_sub_packet_u32(pkt) \  | 
785  |  |     WPACKET_start_sub_packet_len__((pkt), 4)  | 
786  |  |  | 
787  |  | /*  | 
788  |  |  * Same as WPACKET_start_sub_packet_len__() except no bytes are pre-allocated  | 
789  |  |  * for the sub-packet length.  | 
790  |  |  */  | 
791  |  | int WPACKET_start_sub_packet(WPACKET *pkt);  | 
792  |  |  | 
793  |  | /*  | 
794  |  |  * Allocate bytes in the WPACKET for the output. This reserves the bytes  | 
795  |  |  * and counts them as "written", but doesn't actually do the writing. A pointer  | 
796  |  |  * to the allocated bytes is stored in |*allocbytes|. |allocbytes| may be NULL.  | 
797  |  |  * WARNING: the allocated bytes must be filled in immediately, without further  | 
798  |  |  * WPACKET_* calls. If not then the underlying buffer may be realloc'd and  | 
799  |  |  * change its location.  | 
800  |  |  */  | 
801  |  | int WPACKET_allocate_bytes(WPACKET *pkt, size_t len,  | 
802  |  |                            unsigned char **allocbytes);  | 
803  |  |  | 
804  |  | /*  | 
805  |  |  * The same as WPACKET_allocate_bytes() except additionally a new sub-packet is  | 
806  |  |  * started for the allocated bytes, and then closed immediately afterwards. The  | 
807  |  |  * number of length bytes for the sub-packet is in |lenbytes|. Don't call this  | 
808  |  |  * directly. Use the convenience macros below instead.  | 
809  |  |  */  | 
810  |  | int WPACKET_sub_allocate_bytes__(WPACKET *pkt, size_t len,  | 
811  |  |                                  unsigned char **allocbytes, size_t lenbytes);  | 
812  |  |  | 
813  |  | /*  | 
814  |  |  * Convenience macros for calling WPACKET_sub_allocate_bytes with different  | 
815  |  |  * lengths  | 
816  |  |  */  | 
817  |  | #define WPACKET_sub_allocate_bytes_u8(pkt, len, bytes) \  | 
818  | 0  |     WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 1)  | 
819  |  | #define WPACKET_sub_allocate_bytes_u16(pkt, len, bytes) \  | 
820  | 8.51k  |     WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 2)  | 
821  |  | #define WPACKET_sub_allocate_bytes_u24(pkt, len, bytes) \  | 
822  | 16.7k  |     WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 3)  | 
823  |  | #define WPACKET_sub_allocate_bytes_u32(pkt, len, bytes) \  | 
824  |  |     WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 4)  | 
825  |  |  | 
826  |  | /*  | 
827  |  |  * The same as WPACKET_allocate_bytes() except the reserved bytes are not  | 
828  |  |  * actually counted as written. Typically this will be for when we don't know  | 
829  |  |  * how big arbitrary data is going to be up front, but we do know what the  | 
830  |  |  * maximum size will be. If this function is used, then it should be immediately  | 
831  |  |  * followed by a WPACKET_allocate_bytes() call before any other WPACKET  | 
832  |  |  * functions are called (unless the write to the allocated bytes is abandoned).  | 
833  |  |  *  | 
834  |  |  * For example: If we are generating a signature, then the size of that  | 
835  |  |  * signature may not be known in advance. We can use WPACKET_reserve_bytes() to  | 
836  |  |  * handle this:  | 
837  |  |  *  | 
838  |  |  *  if (!WPACKET_sub_reserve_bytes_u16(&pkt, EVP_PKEY_get_size(pkey), &sigbytes1)  | 
839  |  |  *          || EVP_SignFinal(md_ctx, sigbytes1, &siglen, pkey) <= 0  | 
840  |  |  *          || !WPACKET_sub_allocate_bytes_u16(&pkt, siglen, &sigbytes2)  | 
841  |  |  *          || sigbytes1 != sigbytes2)  | 
842  |  |  *      goto err;  | 
843  |  |  */  | 
844  |  | int WPACKET_reserve_bytes(WPACKET *pkt, size_t len, unsigned char **allocbytes);  | 
845  |  |  | 
846  |  | /*  | 
847  |  |  * The "reserve_bytes" equivalent of WPACKET_sub_allocate_bytes__()  | 
848  |  |  */  | 
849  |  | int WPACKET_sub_reserve_bytes__(WPACKET *pkt, size_t len,  | 
850  |  |                                  unsigned char **allocbytes, size_t lenbytes);  | 
851  |  |  | 
852  |  | /*  | 
853  |  |  * Convenience macros for  WPACKET_sub_reserve_bytes with different lengths  | 
854  |  |  */  | 
855  |  | #define WPACKET_sub_reserve_bytes_u8(pkt, len, bytes) \  | 
856  |  |     WPACKET_reserve_bytes__((pkt), (len), (bytes), 1)  | 
857  |  | #define WPACKET_sub_reserve_bytes_u16(pkt, len, bytes) \  | 
858  | 8.51k  |     WPACKET_sub_reserve_bytes__((pkt), (len), (bytes), 2)  | 
859  |  | #define WPACKET_sub_reserve_bytes_u24(pkt, len, bytes) \  | 
860  |  |     WPACKET_sub_reserve_bytes__((pkt), (len), (bytes), 3)  | 
861  |  | #define WPACKET_sub_reserve_bytes_u32(pkt, len, bytes) \  | 
862  |  |     WPACKET_sub_reserve_bytes__((pkt), (len), (bytes), 4)  | 
863  |  |  | 
864  |  | /*  | 
865  |  |  * Write the value stored in |val| into the WPACKET. The value will consume  | 
866  |  |  * |bytes| amount of storage. An error will occur if |val| cannot be  | 
867  |  |  * accommodated in |bytes| storage, e.g. attempting to write the value 256 into  | 
868  |  |  * 1 byte will fail. Don't call this directly. Use the convenience macros below  | 
869  |  |  * instead.  | 
870  |  |  */  | 
871  |  | int WPACKET_put_bytes__(WPACKET *pkt, uint64_t val, size_t bytes);  | 
872  |  |  | 
873  |  | /*  | 
874  |  |  * Convenience macros for calling WPACKET_put_bytes with different  | 
875  |  |  * lengths  | 
876  |  |  */  | 
877  |  | #define WPACKET_put_bytes_u8(pkt, val) \  | 
878  | 6.75M  |     WPACKET_put_bytes__((pkt), (val), 1)  | 
879  |  | #define WPACKET_put_bytes_u16(pkt, val) \  | 
880  | 8.43M  |     WPACKET_put_bytes__((pkt), (val), 2)  | 
881  |  | #define WPACKET_put_bytes_u24(pkt, val) \  | 
882  | 0  |     WPACKET_put_bytes__((pkt), (val), 3)  | 
883  |  | #define WPACKET_put_bytes_u32(pkt, val) \  | 
884  | 736k  |     WPACKET_put_bytes__((pkt), (val), 4)  | 
885  |  | #define WPACKET_put_bytes_u64(pkt, val) \  | 
886  | 111k  |     WPACKET_put_bytes__((pkt), (val), 8)  | 
887  |  |  | 
888  |  | /* Set a maximum size that we will not allow the WPACKET to grow beyond */  | 
889  |  | int WPACKET_set_max_size(WPACKET *pkt, size_t maxsize);  | 
890  |  |  | 
891  |  | /* Copy |len| bytes of data from |*src| into the WPACKET. */  | 
892  |  | int WPACKET_memcpy(WPACKET *pkt, const void *src, size_t len);  | 
893  |  |  | 
894  |  | /* Set |len| bytes of data to |ch| into the WPACKET. */  | 
895  |  | int WPACKET_memset(WPACKET *pkt, int ch, size_t len);  | 
896  |  |  | 
897  |  | /*  | 
898  |  |  * Copy |len| bytes of data from |*src| into the WPACKET and prefix with its  | 
899  |  |  * length (consuming |lenbytes| of data for the length). Don't call this  | 
900  |  |  * directly. Use the convenience macros below instead.  | 
901  |  |  */  | 
902  |  | int WPACKET_sub_memcpy__(WPACKET *pkt, const void *src, size_t len,  | 
903  |  |                        size_t lenbytes);  | 
904  |  |  | 
905  |  | /* Convenience macros for calling WPACKET_sub_memcpy with different lengths */  | 
906  |  | #define WPACKET_sub_memcpy_u8(pkt, src, len) \  | 
907  | 1.27M  |     WPACKET_sub_memcpy__((pkt), (src), (len), 1)  | 
908  |  | #define WPACKET_sub_memcpy_u16(pkt, src, len) \  | 
909  | 252k  |     WPACKET_sub_memcpy__((pkt), (src), (len), 2)  | 
910  |  | #define WPACKET_sub_memcpy_u24(pkt, src, len) \  | 
911  | 0  |     WPACKET_sub_memcpy__((pkt), (src), (len), 3)  | 
912  |  | #define WPACKET_sub_memcpy_u32(pkt, src, len) \  | 
913  |  |     WPACKET_sub_memcpy__((pkt), (src), (len), 4)  | 
914  |  |  | 
915  |  | /*  | 
916  |  |  * Return the total number of bytes written so far to the underlying buffer  | 
917  |  |  * including any storage allocated for length bytes  | 
918  |  |  */  | 
919  |  | int WPACKET_get_total_written(WPACKET *pkt, size_t *written);  | 
920  |  |  | 
921  |  | /*  | 
922  |  |  * Returns the length of the current sub-packet. This excludes any bytes  | 
923  |  |  * allocated for the length itself.  | 
924  |  |  */  | 
925  |  | int WPACKET_get_length(WPACKET *pkt, size_t *len);  | 
926  |  |  | 
927  |  | /*  | 
928  |  |  * Returns a pointer to the current write location, but does not allocate any  | 
929  |  |  * bytes.  | 
930  |  |  */  | 
931  |  | unsigned char *WPACKET_get_curr(WPACKET *pkt);  | 
932  |  |  | 
933  |  | /* Returns true if the underlying buffer is actually NULL */  | 
934  |  | int WPACKET_is_null_buf(WPACKET *pkt);  | 
935  |  |  | 
936  |  | /* Release resources in a WPACKET if a failure has occurred. */  | 
937  |  | void WPACKET_cleanup(WPACKET *pkt);  | 
938  |  |  | 
939  |  | #endif                          /* OSSL_INTERNAL_PACKET_H */  |