Home
last modified time | relevance | path

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

123

/freebsd/crypto/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()
50 static ossl_inline const unsigned char *PACKET_end(const PACKET *pkt) in PACKET_end()
59 static ossl_inline const unsigned char *PACKET_data(const PACKET *pkt) in PACKET_data()
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()
94 __owur static ossl_inline int PACKET_equal(const PACKET *pkt, const void *ptr, in PACKET_equal()
107 __owur static ossl_inline int PACKET_peek_sub_packet(const PACKET *pkt, in PACKET_peek_sub_packet()
108 PACKET *subpkt, size_t len) in PACKET_peek_sub_packet()
[all …]
H A Dquic_wire.h486 int ossl_quic_wire_peek_frame_header(PACKET *pkt, uint64_t *type,
493 int ossl_quic_wire_skip_frame_header(PACKET *pkt, uint64_t *type);
503 int ossl_quic_wire_peek_frame_ack_num_ranges(const PACKET *pkt,
533 int ossl_quic_wire_decode_frame_ack(PACKET *pkt,
541 int ossl_quic_wire_decode_frame_reset_stream(PACKET *pkt,
547 int ossl_quic_wire_decode_frame_stop_sending(PACKET *pkt,
558 int ossl_quic_wire_decode_frame_crypto(PACKET *pkt, int nodata,
565 int ossl_quic_wire_decode_frame_new_token(PACKET *pkt,
598 int ossl_quic_wire_decode_frame_stream(PACKET *pkt, int nodata,
605 int ossl_quic_wire_decode_frame_max_data(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()
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_local.h74 int parse_ca_names(SSL_CONNECTION *s, PACKET *pkt);
92 PACKET *pkt);
107 PACKET *pkt);
120 PACKET *pkt);
121 __owur MSG_PROCESS_RETURN tls_process_finished(SSL_CONNECTION *s, PACKET *pkt);
130 PACKET *pkt);
137 PACKET *pkt,
138 PACKET *tmppkt,
146 PACKET *pkt);
148 PACKET *pkt);
[all …]
H A Dextensions_srvr.c42 int tls_parse_ctos_renegotiate(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_renegotiate()
105 int tls_parse_ctos_server_name(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_server_name()
109 PACKET sni, hostname; in tls_parse_ctos_server_name()
177 int tls_parse_ctos_maxfragmentlen(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_maxfragmentlen()
220 int tls_parse_ctos_srp(SSL_CONNECTION *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_srp()
223 PACKET srp_I; in tls_parse_ctos_srp()
240 int tls_parse_ctos_ec_pt_formats(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_ec_pt_formats()
244 PACKET ec_point_format_list; in tls_parse_ctos_ec_pt_formats()
264 int tls_parse_ctos_session_ticket(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_session_ticket()
276 int tls_parse_ctos_sig_algs_cert(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_sig_algs_cert()
[all …]
H A Dextensions_clnt.c934 PACKET prots, alpnpkt; in tls_construct_ctos_early_data()
1301 int tls_parse_stoc_renegotiate(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_renegotiate()
1358 int tls_parse_stoc_maxfragmentlen(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_maxfragmentlen()
1397 int tls_parse_stoc_server_name(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_server_name()
1426 int tls_parse_stoc_ec_pt_formats(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_ec_pt_formats()
1431 PACKET ecptformatlist; in tls_parse_stoc_ec_pt_formats()
1466 int tls_parse_stoc_session_ticket(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_session_ticket()
1492 int tls_parse_stoc_status_request(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_status_request()
1533 int tls_parse_stoc_sct(SSL_CONNECTION *s, PACKET *pkt, unsigned int context, in tls_parse_stoc_sct()
1602 static int ssl_next_proto_validate(SSL_CONNECTION *s, PACKET *pkt) in ssl_next_proto_validate()
[all …]
H A Dstatem_clnt.c34 PACKET *pkt);
36 PACKET *pkt);
1091 PACKET *pkt) in ossl_statem_client_process_message()
1362 MSG_PROCESS_RETURN dtls_process_hello_verify(SSL_CONNECTION *s, PACKET *pkt) in dtls_process_hello_verify()
1365 PACKET cookiepkt; in dtls_process_hello_verify()
1466 MSG_PROCESS_RETURN tls_process_server_hello(SSL_CONNECTION *s, PACKET *pkt) in tls_process_server_hello()
1468 PACKET session_id, extpkt; in tls_process_server_hello()
1838 PACKET *extpkt) in tls_process_as_hello_retry_request()
1906 MSG_PROCESS_RETURN tls_process_server_rpk(SSL_CONNECTION *sc, PACKET *pkt) in tls_process_server_rpk()
1995 PACKET *pkt) in tls_process_server_certificate()
[all …]
H A Dextensions.c47 static int tls_parse_certificate_authorities(SSL_CONNECTION *s, PACKET *pkt,
74 static int tls_parse_compress_certificate(SSL_CONNECTION *sc, PACKET *pkt,
93 int (*parse_ctos)(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
96 int (*parse_stoc)(SSL_CONNECTION *s, PACKET *pkt, unsigned int context,
558 int tls_collect_extensions(SSL_CONNECTION *s, PACKET *packet, in tls_collect_extensions()
562 PACKET extensions = *packet; in tls_collect_extensions()
588 PACKET extension; in tls_collect_extensions()
694 int (*parser)(SSL_CONNECTION *s, PACKET *pkt, unsigned int context, X509 *x, in tls_parse_extension()
1265 static int tls_parse_certificate_authorities(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_certificate_authorities()
1572 PACKET hashprefix, msg; in tls_psk_do_binder()
[all …]
H A Dstatem_srvr.c1280 PACKET *pkt) in ossl_statem_server_process_message()
1476 PACKET sni, tmppkt; in ssl_check_for_safari()
1504 MSG_PROCESS_RETURN tls_process_client_hello(SSL_CONNECTION *s, PACKET *pkt) in tls_process_client_hello()
1507 PACKET session_id, compression, extensions, cookie; in tls_process_client_hello()
1590 PACKET challenge; in tls_process_client_hello()
2948 static int tls_process_cke_psk_preamble(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cke_psk_preamble()
2953 PACKET psk_identity; in tls_process_cke_psk_preamble()
3008 static int tls_process_cke_rsa(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cke_rsa()
3011 PACKET enc_premaster; in tls_process_cke_rsa()
3106 static int tls_process_cke_dhe(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cke_dhe()
[all …]
H A Dstatem_lib.c441 MSG_PROCESS_RETURN tls_process_cert_verify(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cert_verify()
713 MSG_PROCESS_RETURN tls_process_key_update(SSL_CONNECTION *s, PACKET *pkt) in tls_process_key_update()
788 PACKET *pkt) in tls_process_change_cipher_spec()
843 MSG_PROCESS_RETURN tls_process_finished(SSL_CONNECTION *s, PACKET *pkt) in tls_process_finished()
1129 int tls_process_rpk(SSL_CONNECTION *sc, PACKET *pkt, EVP_PKEY **peer_rpk) in tls_process_rpk()
1134 PACKET extensions; in tls_process_rpk()
1135 PACKET context; in tls_process_rpk()
2248 PACKET versionslist; in ssl_choose_server_version()
2715 int parse_ca_names(SSL_CONNECTION *s, PACKET *pkt) in parse_ca_names()
2719 PACKET cadns; in parse_ca_names()
[all …]
/freebsd/crypto/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()
135 PACKET pkt, subpkt; in test_PACKET_get_sub_packet()
157 PACKET pkt; in test_PACKET_get_bytes()
181 PACKET pkt; in test_PACKET_copy_bytes()
[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()
187 static int encode_case_4_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_4_dec()
232 static int encode_case_5_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_5_dec()
272 static int encode_case_6_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_6_dec()
319 static int encode_case_7_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_7_dec()
364 static int encode_case_8_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_8_dec()
426 static int encode_case_9_dec(PACKET *pkt, ossl_ssize_t fail) in encode_case_9_dec()
[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()
/freebsd/crypto/openssl/ssl/quic/
H A Dquic_trace.c81 static int frame_ack(BIO *bio, PACKET *pkt) in frame_ack()
128 static int frame_reset_stream(BIO *bio, PACKET *pkt) in frame_reset_stream()
145 static int frame_stop_sending(BIO *bio, PACKET *pkt) in frame_stop_sending()
160 static int frame_crypto(BIO *bio, PACKET *pkt) in frame_crypto()
173 static int frame_new_token(BIO *bio, PACKET *pkt) in frame_new_token()
188 static int frame_stream(BIO *bio, PACKET *pkt, uint64_t frame_type) in frame_stream()
250 static int frame_max_data(BIO *bio, PACKET *pkt) in frame_max_data()
262 static int frame_max_stream_data(BIO *bio, PACKET *pkt) in frame_max_stream_data()
277 static int frame_max_streams(BIO *bio, PACKET *pkt) in frame_max_streams()
289 static int frame_data_blocked(BIO *bio, PACKET *pkt) in frame_data_blocked()
[all …]
H A Dquic_wire.c445 int ossl_quic_wire_peek_frame_header(PACKET *pkt, uint64_t *type, in ossl_quic_wire_peek_frame_header()
451 int ossl_quic_wire_skip_frame_header(PACKET *pkt, uint64_t *type) in ossl_quic_wire_skip_frame_header()
456 static int expect_frame_header_mask(PACKET *pkt, in expect_frame_header_mask()
473 static int expect_frame_header(PACKET *pkt, uint64_t expected_frame_type) in expect_frame_header()
484 int ossl_quic_wire_peek_frame_ack_num_ranges(const PACKET *orig_pkt, in ossl_quic_wire_peek_frame_ack_num_ranges()
487 PACKET pkt = *orig_pkt; in ossl_quic_wire_peek_frame_ack_num_ranges()
514 int ossl_quic_wire_decode_frame_ack(PACKET *pkt, in ossl_quic_wire_decode_frame_ack()
599 int ossl_quic_wire_decode_frame_reset_stream(PACKET *pkt, in ossl_quic_wire_decode_frame_reset_stream()
611 int ossl_quic_wire_decode_frame_stop_sending(PACKET *pkt, in ossl_quic_wire_decode_frame_stop_sending()
622 int ossl_quic_wire_decode_frame_crypto(PACKET *pkt, in ossl_quic_wire_decode_frame_crypto()
[all …]
H A Dquic_rx_depack.c37 static int depack_do_frame_padding(PACKET *pkt) in depack_do_frame_padding()
44 static int depack_do_frame_ping(PACKET *pkt, QUIC_CHANNEL *ch, in depack_do_frame_ping()
61 static int depack_do_frame_ack(PACKET *pkt, QUIC_CHANNEL *ch, in depack_do_frame_ack()
153 static int depack_do_frame_reset_stream(PACKET *pkt, in depack_do_frame_reset_stream()
229 static int depack_do_frame_stop_sending(PACKET *pkt, in depack_do_frame_stop_sending()
274 static int depack_do_frame_crypto(PACKET *pkt, QUIC_CHANNEL *ch, in depack_do_frame_crypto()
338 static int depack_do_frame_new_token(PACKET *pkt, QUIC_CHANNEL *ch, in depack_do_frame_new_token()
507 static int depack_do_frame_stream(PACKET *pkt, QUIC_CHANNEL *ch, in depack_do_frame_stream()
682 static int depack_do_frame_max_data(PACKET *pkt, QUIC_CHANNEL *ch, in depack_do_frame_max_data()
700 static int depack_do_frame_max_stream_data(PACKET *pkt, in depack_do_frame_max_stream_data()
[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()
486 static void log_frame(QLOG *qlog_instance, PACKET *pkt, in log_frame()
505 PACKET pkt; in log_frames()
/freebsd/crypto/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()
238 PACKET pkt, contpkt; in ossl_decode_der_dsa_sig()
/freebsd/crypto/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);
/freebsd/crypto/openssl/crypto/slh_dsa/
H A Dslh_dsa_local.h75 PACKET *sig_rpkt, const uint8_t *msg,
88 PACKET *sig_rpkt, const uint8_t *msg,
97 PACKET *sig_rpkt, const uint8_t *pk_seed,
104 __owur int ossl_slh_fors_pk_from_sig(SLH_DSA_HASH_CTX *ctx, PACKET *sig_rpkt,
H A Dslh_dsa.c21 static int get_tree_ids(PACKET *pkt, const SLH_DSA_PARAMS *params,
56 PACKET r_packet, *rpkt = &r_packet; in slh_sign_internal()
165 PACKET pkt, *sig_rpkt = &pkt; /* Points to the |sig| buffer */ in slh_verify_internal()
169 PACKET pkt2, *m_digest_rpkt = &pkt2; /* Points to m_digest buffer */ in slh_verify_internal()
366 static int get_tree_ids(PACKET *rpkt, const SLH_DSA_PARAMS *params, in get_tree_ids()
H A Dslh_hypertree.c48 PACKET rpkt, *xmss_sig_rpkt = &rpkt; in ossl_slh_ht_sign()
112 int ossl_slh_ht_verify(SLH_DSA_HASH_CTX *ctx, const uint8_t *msg, PACKET *sig_pkt, in ossl_slh_ht_verify()
/freebsd/crypto/openssl/crypto/ml_dsa/
H A Dml_dsa_encoders.c24 typedef int(DECODE_FN)(POLY *s, PACKET *pkt);
162 static int poly_decode_10_bits(POLY *p, PACKET *pkt) in poly_decode_10_bits()
225 static int poly_decode_signed_4(POLY *p, PACKET *pkt) in poly_decode_signed_4()
323 static int poly_decode_signed_2(POLY *p, PACKET *pkt) in poly_decode_signed_2()
423 static int poly_decode_signed_two_to_power_12(POLY *p, PACKET *pkt) in poly_decode_signed_two_to_power_12()
508 static int poly_decode_signed_two_to_power_19(POLY *p, PACKET *pkt) in poly_decode_signed_two_to_power_19()
589 static int poly_decode_signed_two_to_power_17(POLY *p, PACKET *pkt) in poly_decode_signed_two_to_power_17()
668 PACKET pkt; in ossl_ml_dsa_pk_decode()
770 PACKET pkt; in ossl_ml_dsa_sk_decode()
864 static int hint_bits_decode(VECTOR *hint, PACKET *pkt, uint32_t omega) in hint_bits_decode()
[all …]
/freebsd/crypto/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()

123