Home
last modified time | relevance | path

Searched refs:PACKET (Results 1 – 25 of 52) sorted by relevance

123

/openssl/include/internal/
H A Dpacket.h27 } PACKET; typedef
30 static ossl_inline void packet_forward(PACKET *pkt, size_t len) in packet_forward()
39 static ossl_inline size_t PACKET_remaining(const PACKET *pkt) in PACKET_remaining()
69 __owur static ossl_inline int PACKET_buf_init(PACKET *pkt, in PACKET_buf_init()
83 static ossl_inline void PACKET_null_init(PACKET *pkt) in PACKET_null_init()
380 __owur static ossl_inline int PACKET_get_bytes(PACKET *pkt, in PACKET_get_bytes()
519 PACKET tmp = *pkt; in PACKET_get_length_prefixed_1()
541 PACKET tmp = *pkt; in PACKET_as_length_prefixed_1()
567 PACKET tmp = *pkt; in PACKET_get_length_prefixed_2()
590 PACKET tmp = *pkt; in PACKET_as_length_prefixed_2()
[all …]
H A Dquic_wire.h545 int ossl_quic_wire_decode_frame_ack(PACKET *pkt,
553 int ossl_quic_wire_decode_frame_reset_stream(PACKET *pkt,
559 int ossl_quic_wire_decode_frame_stop_sending(PACKET *pkt,
617 int ossl_quic_wire_decode_frame_max_data(PACKET *pkt,
635 int ossl_quic_wire_decode_frame_max_streams(PACKET *pkt,
642 int ossl_quic_wire_decode_frame_data_blocked(PACKET *pkt,
674 int ossl_quic_wire_decode_frame_new_conn_id(PACKET *pkt,
693 int ossl_quic_wire_decode_frame_path_response(PACKET *pkt,
709 int ossl_quic_wire_decode_frame_conn_close(PACKET *pkt,
717 size_t ossl_quic_wire_decode_padding(PACKET *pkt);
[all …]
H A Dpacket_quic.h22 __owur static ossl_inline int PACKET_get_quic_vlint(PACKET *pkt, in PACKET_get_quic_vlint()
46 __owur static ossl_inline int PACKET_peek_quic_vlint_ex(PACKET *pkt, in PACKET_peek_quic_vlint_ex()
68 __owur static ossl_inline int PACKET_peek_quic_vlint(PACKET *pkt, in PACKET_peek_quic_vlint()
77 __owur static ossl_inline int PACKET_skip_quic_vlint(PACKET *pkt) in PACKET_skip_quic_vlint()
100 __owur static ossl_inline int PACKET_get_quic_length_prefixed(PACKET *pkt, in PACKET_get_quic_length_prefixed()
101 PACKET *subpkt) in PACKET_get_quic_length_prefixed()
105 PACKET tmp = *pkt; in PACKET_get_quic_length_prefixed()
H A Dquic_wire_pkt.h470 int ossl_quic_wire_decode_pkt_hdr(PACKET *pkt,
/openssl/ssl/statem/
H A Dstatem_local.h74 int parse_ca_names(SSL_CONNECTION *s, PACKET *pkt);
130 PACKET *pkt);
153 PACKET *pkt);
177 PACKET *pkt);
179 PACKET *pkt);
294 int tls_parse_ctos_early_data(SSL_CONNECTION *s, PACKET *pkt,
309 int tls_parse_ctos_sig_algs(SSL_CONNECTION *s, PACKET *pkt,
323 int tls_parse_ctos_use_srtp(SSL_CONNECTION *s, PACKET *pkt,
328 int tls_parse_ctos_key_share(SSL_CONNECTION *s, PACKET *pkt,
525 int tls_parse_stoc_use_srtp(SSL_CONNECTION *s, PACKET *pkt,
[all …]
H A Dextensions_srvr.c108 PACKET sni, hostname; in tls_parse_ctos_server_name()
222 PACKET srp_I; in tls_parse_ctos_srp()
243 PACKET ec_point_format_list; in tls_parse_ctos_ec_pt_formats()
283 PACKET supported_sig_algs; in tls_parse_ctos_sig_algs_cert()
302 PACKET supported_sig_algs; in tls_parse_ctos_sig_algs()
368 PACKET responder_id; in tls_parse_ctos_status_request()
485 PACKET subpkt; in tls_parse_ctos_use_srtp()
565 PACKET psk_kex_modes; in tls_parse_ctos_psk_kex_modes()
937 PACKET supported_groups_list; in tls_parse_ctos_supported_groups()
1051 PACKET identity; in tls_parse_ctos_psk()
[all …]
H A Dextensions_clnt.c892 PACKET prots, alpnpkt; in tls_construct_ctos_early_data()
1386 PACKET ecptformatlist; in tls_parse_stoc_ec_pt_formats()
1562 PACKET tmp_protocol; in ssl_next_proto_validate()
1580 PACKET tmppkt; in tls_parse_stoc_npn()
1632 PACKET confpkt, protpkt; in tls_parse_stoc_alpn()
1717 int tls_parse_stoc_use_srtp(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_use_srtp()
1830 int tls_parse_stoc_key_share(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_key_share()
1836 PACKET encoded_pt; in tls_parse_stoc_key_share()
1973 PACKET cookie; in tls_parse_stoc_cookie()
1985 int tls_parse_stoc_early_data(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_early_data()
[all …]
H A Dstatem_clnt.c1355 PACKET cookiepkt; in dtls_process_hello_verify()
1458 PACKET session_id, extpkt; in tls_process_server_hello()
2153 PACKET tmppkt; in tls_process_server_compressed_certificate()
2167 PACKET psk_identity_hint; in tls_process_ske_psk_preamble()
2347 PACKET encoded_pt; in tls_process_ske_ecdhe()
2450 PACKET params; in tls_process_key_exchange()
2619 PACKET ctypes; in tls_process_certificate_request()
2633 PACKET sigalgs; in tls_process_certificate_request()
2692 PACKET nonce; in tls_process_new_session_ticket()
2774 PACKET extpkt; in tls_process_new_session_ticket()
[all …]
H A Dextensions.c46 static int tls_parse_certificate_authorities(SSL_CONNECTION *s, PACKET *pkt,
73 static int tls_parse_compress_certificate(SSL_CONNECTION *sc, PACKET *pkt,
92 int (*parse_ctos)(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
95 int (*parse_stoc)(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
607 int tls_collect_extensions(SSL_CONNECTION *s, PACKET *packet, in tls_collect_extensions()
611 PACKET extensions = *packet; in tls_collect_extensions()
637 PACKET extension; in tls_collect_extensions()
743 int (*parser)(SSL_CONNECTION *s, PACKET *pkt, unsigned int context, X509 *x, in tls_parse_extension()
1318 static int tls_parse_certificate_authorities(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_certificate_authorities()
1651 PACKET hashprefix, msg; in tls_psk_do_binder()
[all …]
H A Dstatem_srvr.c1445 PACKET sni, tmppkt; in ssl_check_for_safari()
1474 PACKET session_id, compression, extensions, cookie; in tls_process_client_hello()
1556 PACKET challenge; in tls_process_client_hello()
2904 PACKET psk_identity; in tls_process_cke_psk_preamble()
2959 static int tls_process_cke_rsa(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cke_rsa()
2962 PACKET enc_premaster; in tls_process_cke_rsa()
3056 static int tls_process_cke_dhe(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cke_dhe()
3610 PACKET spkt, context; in tls_process_client_certificate()
3677 PACKET extensions; in tls_process_client_certificate()
3805 PACKET tmppkt; in tls_process_client_compressed_certificate()
[all …]
H A Dstatem_lib.c435 MSG_PROCESS_RETURN tls_process_cert_verify(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cert_verify()
702 MSG_PROCESS_RETURN tls_process_key_update(SSL_CONNECTION *s, PACKET *pkt) in tls_process_key_update()
778 PACKET *pkt) in tls_process_change_cipher_spec()
833 MSG_PROCESS_RETURN tls_process_finished(SSL_CONNECTION *s, PACKET *pkt) in tls_process_finished()
1113 PACKET extensions; in tls_process_rpk()
1114 PACKET context; in tls_process_rpk()
2200 PACKET versionslist; in ssl_choose_server_version()
2661 int parse_ca_names(SSL_CONNECTION *s, PACKET *pkt) in parse_ca_names()
2665 PACKET cadns; in parse_ca_names()
2835 PACKET *pkt, in tls13_process_compressed_certificate()
[all …]
/openssl/test/
H A Dpackettest.c19 PACKET pkt; in test_PACKET_remaining()
34 PACKET pkt; in test_PACKET_end()
51 PACKET pkt; in test_PACKET_get_1()
68 PACKET pkt; in test_PACKET_get_4()
85 PACKET pkt; in test_PACKET_get_net_2()
102 PACKET pkt; in test_PACKET_get_net_3()
119 PACKET pkt; in test_PACKET_get_net_4()
157 PACKET pkt; in test_PACKET_get_bytes()
181 PACKET pkt; in test_PACKET_copy_bytes()
205 PACKET pkt; in test_PACKET_copy_all()
[all …]
H A Dquic_wire_test.c24 int (*deserializer)(PACKET *pkt, ossl_ssize_t fail);
36 static int encode_case_1_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_1_dec()
62 static int encode_case_2_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_2_dec()
96 static int encode_case_3_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_3_dec()
1229 PACKET pkt; in test_wire_encode()
1262 PACKET pkt2; in test_wire_encode()
1289 int (*deserializer)(PACKET *pkt);
1377 static int ack_generic_decode(PACKET *pkt) in ack_generic_decode()
1430 PACKET pkt; in test_wire_ack()
1538 PACKET pkt = {0}; in test_wire_retry_integrity_tag()
[all …]
H A Dasynciotest.c143 PACKET pkt; in async_write()
149 PACKET payload, wholebody, sessionid, extensions; in async_write()
191 PACKET extbody; in async_write()
H A Dbad_dtls_test.c119 PACKET pkt, pkt2; in validate_client_hello()
399 PACKET pkt; in validate_ccs()
/openssl/ssl/quic/
H A Dquic_trace.c76 static int frame_ack(BIO *bio, PACKET *pkt) in frame_ack()
122 static int frame_reset_stream(BIO *bio, PACKET *pkt) in frame_reset_stream()
139 static int frame_stop_sending(BIO *bio, PACKET *pkt) in frame_stop_sending()
154 static int frame_crypto(BIO *bio, PACKET *pkt) in frame_crypto()
167 static int frame_new_token(BIO *bio, PACKET *pkt) in frame_new_token()
244 static int frame_max_data(BIO *bio, PACKET *pkt) in frame_max_data()
271 static int frame_max_streams(BIO *bio, PACKET *pkt) in frame_max_streams()
322 static int frame_new_conn_id(BIO *bio, PACKET *pkt) in frame_new_conn_id()
379 static int frame_conn_closed(BIO *bio, PACKET *pkt) in frame_conn_closed()
395 static int trace_frame_data(BIO *bio, PACKET *pkt) in trace_frame_data()
[all …]
H A Dquic_wire.c459 static int expect_frame_header_mask(PACKET *pkt, in expect_frame_header_mask()
490 PACKET pkt = *orig_pkt; in ossl_quic_wire_peek_frame_ack_num_ranges()
517 int ossl_quic_wire_decode_frame_ack(PACKET *pkt, in ossl_quic_wire_decode_frame_ack()
624 int ossl_quic_wire_decode_frame_crypto(PACKET *pkt, in ossl_quic_wire_decode_frame_crypto()
675 int ossl_quic_wire_decode_frame_stream(PACKET *pkt, in ossl_quic_wire_decode_frame_stream()
729 int ossl_quic_wire_decode_frame_max_data(PACKET *pkt, in ossl_quic_wire_decode_frame_max_data()
856 int ossl_quic_wire_decode_frame_conn_close(PACKET *pkt, in ossl_quic_wire_decode_frame_conn_close()
888 size_t ossl_quic_wire_decode_padding(PACKET *pkt) in ossl_quic_wire_decode_padding()
902 int ossl_quic_wire_decode_frame_ping(PACKET *pkt) in ossl_quic_wire_decode_frame_ping()
943 PACKET sub; in ossl_quic_wire_decode_transport_param_int()
[all …]
H A Dquic_rx_depack.c37 static int depack_do_frame_padding(PACKET *pkt) in depack_do_frame_padding()
141 static int depack_do_frame_reset_stream(PACKET *pkt, in depack_do_frame_reset_stream()
217 static int depack_do_frame_stop_sending(PACKET *pkt, in depack_do_frame_stop_sending()
726 static int depack_do_frame_max_streams(PACKET *pkt, in depack_do_frame_max_streams()
775 static int depack_do_frame_data_blocked(PACKET *pkt, in depack_do_frame_data_blocked()
873 static int depack_do_frame_new_conn_id(PACKET *pkt, in depack_do_frame_new_conn_id()
892 static int depack_do_frame_retire_conn_id(PACKET *pkt, in depack_do_frame_retire_conn_id()
935 static int depack_do_frame_path_challenge(PACKET *pkt, in depack_do_frame_path_challenge()
990 static int depack_do_frame_path_response(PACKET *pkt, in depack_do_frame_path_response()
1026 static int depack_do_frame_handshake_done(PACKET *pkt, in depack_do_frame_handshake_done()
[all …]
H A Dqlog_event_helpers.c206 static int log_frame_actual(QLOG *qlog_instance, PACKET *pkt, in log_frame_actual()
214 PACKET orig_pkt = *pkt; in log_frame_actual()
515 static void log_frame(QLOG *qlog_instance, PACKET *pkt, in log_frame()
534 PACKET pkt; in log_frames()
/openssl/crypto/
H A Dasn1_dsa.c155 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt) in ossl_decode_der_length()
187 int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n) in ossl_decode_der_integer()
189 PACKET contpkt, tmppkt; in ossl_decode_der_integer()
237 PACKET pkt, contpkt; in ossl_decode_der_dsa_sig()
/openssl/include/crypto/
H A Dasn1_dsa.h19 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt);
20 int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n);
/openssl/fuzz/
H A Dquic-rcidm.c62 static int get_cid(PACKET *pkt, QUIC_CONN_ID *cid) in get_cid()
79 PACKET pkt; in FuzzerTestOneInput()
H A Dquic-lcidm.c53 static int get_cid(PACKET *pkt, QUIC_CONN_ID *cid) in get_cid()
70 PACKET pkt; in FuzzerTestOneInput()
H A Dquic-srtm.c49 PACKET pkt; in FuzzerTestOneInput()
/openssl/test/helpers/
H A Dpktsplitbio.c84 PACKET pkt; in pkt_split_dgram_recvmmsg()

Completed in 85 milliseconds

123