Home
last modified time | relevance | path

Searched refs:SSL_CONNECTION (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_local.h65 typedef CON_FUNC_RETURN (*confunc_f)(SSL_CONNECTION *s, WPACKET *pkt);
67 int ssl3_take_mac(SSL_CONNECTION *s);
68 int check_in_list(SSL_CONNECTION *s, uint16_t group_id, const uint16_t *groups,
70 int create_synthetic_message_hash(SSL_CONNECTION *s,
74 int parse_ca_names(SSL_CONNECTION *s, PACKET *pkt);
75 const STACK_OF(X509_NAME) *get_ca_names(SSL_CONNECTION *s);
76 int construct_ca_names(SSL_CONNECTION *s, const STACK_OF(X509_NAME) *ca_sk,
78 size_t construct_key_exchange_tbs(SSL_CONNECTION *s, unsigned char **ptbs,
84 int ossl_statem_client_read_transition(SSL_CONNECTION *s, int mt);
85 WRITE_TRAN ossl_statem_client_write_transition(SSL_CONNECTION *s);
[all …]
H A Dextensions.c22 static int final_renegotiate(SSL_CONNECTION *s, unsigned int context, int sent);
23 static int init_server_name(SSL_CONNECTION *s, unsigned int context);
24 static int final_server_name(SSL_CONNECTION *s, unsigned int context, int sent);
25 static int final_ec_pt_formats(SSL_CONNECTION *s, unsigned int context,
27 static int init_session_ticket(SSL_CONNECTION *s, unsigned int context);
29 static int init_status_request(SSL_CONNECTION *s, unsigned int context);
32 static int init_npn(SSL_CONNECTION *s, unsigned int context);
34 static int init_alpn(SSL_CONNECTION *s, unsigned int context);
35 static int final_alpn(SSL_CONNECTION *s, unsigned int context, int sent);
36 static int init_sig_algs_cert(SSL_CONNECTION *s, unsigned int context);
[all …]
H A Dstatem.c68 static int state_machine(SSL_CONNECTION *s, int server);
69 static void init_read_state_machine(SSL_CONNECTION *s);
70 static SUB_STATE_RETURN read_state_machine(SSL_CONNECTION *s);
71 static void init_write_state_machine(SSL_CONNECTION *s);
72 static SUB_STATE_RETURN write_state_machine(SSL_CONNECTION *s);
76 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(ssl); in SSL_get_state()
86 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in SSL_in_init()
96 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in SSL_is_init_finished()
106 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in SSL_in_before()
122 OSSL_HANDSHAKE_STATE ossl_statem_get_state(SSL_CONNECTION *s) in ossl_statem_get_state()
[all …]
H A Dextensions_clnt.c16 EXT_RETURN tls_construct_ctos_renegotiate(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_renegotiate()
62 EXT_RETURN tls_construct_ctos_server_name(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_server_name()
88 EXT_RETURN tls_construct_ctos_maxfragmentlen(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_maxfragmentlen()
113 EXT_RETURN tls_construct_ctos_srp(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_srp()
139 static int use_ecc(SSL_CONNECTION *s, int min_version, int max_version) in use_ecc()
183 EXT_RETURN tls_construct_ctos_ec_pt_formats(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_ec_pt_formats()
214 EXT_RETURN tls_construct_ctos_supported_groups(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_supported_groups()
283 EXT_RETURN tls_construct_ctos_session_ticket(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_session_ticket()
323 EXT_RETURN tls_construct_ctos_sig_algs(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_sig_algs()
364 EXT_RETURN tls_construct_ctos_status_request(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_status_request()
[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()
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()
240 int tls_parse_ctos_ec_pt_formats(SSL_CONNECTION *s, PACKET *pkt, 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()
303 int tls_parse_ctos_sig_algs(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_sig_algs()
329 int tls_parse_ctos_status_request(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_status_request()
433 int tls_parse_ctos_npn(SSL_CONNECTION *s, PACKET *pkt, unsigned int context, in tls_parse_ctos_npn()
[all …]
H A Dstatem_dtls.c58 static void dtls1_fix_message_header(SSL_CONNECTION *s, size_t frag_off,
60 static unsigned char *dtls1_write_message_header(SSL_CONNECTION *s,
62 static void dtls1_set_message_header_int(SSL_CONNECTION *s, unsigned char mt,
67 static int dtls_get_reassembled_message(SSL_CONNECTION *s, int *errtype,
118 int dtls1_do_write(SSL_CONNECTION *s, uint8_t type) in dtls1_do_write()
344 int dtls_get_message(SSL_CONNECTION *s, int *mt) in dtls_get_message()
404 int dtls_get_message_body(SSL_CONNECTION *s, size_t *len) in dtls_get_message_body()
445 static size_t dtls1_max_handshake_message_len(const SSL_CONNECTION *s) in dtls1_max_handshake_message_len()
453 static int dtls1_preprocess_fragment(SSL_CONNECTION *s, in dtls1_preprocess_fragment()
500 static int dtls1_retrieve_buffered_fragment(SSL_CONNECTION *s, size_t *len) in dtls1_retrieve_buffered_fragment()
[all …]
H A Dstatem_clnt.c33 static MSG_PROCESS_RETURN tls_process_as_hello_retry_request(SSL_CONNECTION *s,
35 static MSG_PROCESS_RETURN tls_process_encrypted_extensions(SSL_CONNECTION *s,
38 static ossl_inline int cert_req_allowed(SSL_CONNECTION *s);
39 static int key_exchange_expected(SSL_CONNECTION *s);
40 static int ssl_cipher_list_to_bytes(SSL_CONNECTION *s, STACK_OF(SSL_CIPHER) *sk,
43 static ossl_inline int received_server_cert(SSL_CONNECTION *sc) in received_server_cert()
55 static ossl_inline int cert_req_allowed(SSL_CONNECTION *s) in cert_req_allowed()
73 static int key_exchange_expected(SSL_CONNECTION *s) in key_exchange_expected()
97 static int ossl_statem_client13_read_transition(SSL_CONNECTION *s, int mt) in ossl_statem_client13_read_transition()
230 int ossl_statem_client_read_transition(SSL_CONNECTION *s, int mt) in ossl_statem_client_read_transition()
[all …]
H A Dstatem_lib.c46 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in ossl_statem_set_mutator()
62 int ssl3_do_write(SSL_CONNECTION *s, uint8_t type) in ssl3_do_write()
126 int tls_close_construct_packet(SSL_CONNECTION *s, WPACKET *pkt, int htype) in tls_close_construct_packet()
140 int tls_setup_handshake(SSL_CONNECTION *s) in tls_setup_handshake()
258 static int get_cert_verify_tbs_data(SSL_CONNECTION *s, unsigned char *tls13tbs, in get_cert_verify_tbs_data()
313 CON_FUNC_RETURN tls_construct_cert_verify(SSL_CONNECTION *s, WPACKET *pkt) in tls_construct_cert_verify()
441 MSG_PROCESS_RETURN tls_process_cert_verify(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cert_verify()
618 CON_FUNC_RETURN tls_construct_finished(SSL_CONNECTION *s, WPACKET *pkt) in tls_construct_finished()
702 CON_FUNC_RETURN tls_construct_key_update(SSL_CONNECTION *s, WPACKET *pkt) in tls_construct_key_update()
713 MSG_PROCESS_RETURN tls_process_key_update(SSL_CONNECTION *s, PACKET *pkt) in tls_process_key_update()
[all …]
H A Dstatem_srvr.c51 static CON_FUNC_RETURN tls_construct_encrypted_extensions(SSL_CONNECTION *s,
54 static ossl_inline int received_client_cert(const SSL_CONNECTION *sc) in received_client_cert()
68 static int ossl_statem_server13_read_transition(SSL_CONNECTION *s, int mt) in ossl_statem_server13_read_transition()
184 int ossl_statem_server_read_transition(SSL_CONNECTION *s, int mt) in ossl_statem_server_read_transition()
351 static int send_server_key_exchange(SSL_CONNECTION *s) in send_server_key_exchange()
391 static int get_compressed_certificate_alg(SSL_CONNECTION *sc) in get_compressed_certificate_alg()
414 int send_certificate_request(SSL_CONNECTION *s) in send_certificate_request()
456 static int do_compressed_cert(SSL_CONNECTION *sc) in do_compressed_cert()
468 static WRITE_TRAN ossl_statem_server13_write_transition(SSL_CONNECTION *s) in ossl_statem_server13_write_transition()
607 WRITE_TRAN ossl_statem_server_write_transition(SSL_CONNECTION *s) in ossl_statem_server_write_transition()
[all …]
/freebsd/crypto/openssl/include/internal/
H A Dstatem.h137 typedef struct ssl_connection_st SSL_CONNECTION; typedef
141 OSSL_HANDSHAKE_STATE ossl_statem_get_state(SSL_CONNECTION *s);
142 void ossl_statem_clear(SSL_CONNECTION *s);
143 void ossl_statem_set_renegotiate(SSL_CONNECTION *s);
144 void ossl_statem_send_fatal(SSL_CONNECTION *s, int al);
145 void ossl_statem_fatal(SSL_CONNECTION *s, int al, int reason,
154 int ossl_statem_in_error(const SSL_CONNECTION *s);
155 void ossl_statem_set_in_init(SSL_CONNECTION *s, int init);
156 int ossl_statem_get_in_handshake(SSL_CONNECTION *s);
157 void ossl_statem_set_in_handshake(SSL_CONNECTION *s, int inhand);
[all …]
H A Dssl_unwrap.h19 ? (c SSL_CONNECTION *)(ssl) \
34 … ? (c SSL_CONNECTION *)(ssl) \
36 … ? (c SSL_CONNECTION *)ossl_quic_obj_get0_handshake_layer((QUIC_OBJ *)(ssl)) \
74 ? (c SSL_CONNECTION *)((c QUIC_CONNECTION *)(ssl))->tls \
/freebsd/crypto/openssl/ssl/
H A Dssl_local.h2151 int (*setup_key_block)(SSL_CONNECTION *);
2152 int (*generate_master_secret)(SSL_CONNECTION *, unsigned char *,
2154 int (*change_cipher_state)(SSL_CONNECTION *, int);
2155 size_t (*final_finish_mac)(SSL_CONNECTION *, const char *, size_t,
2162 int (*export_keying_material)(SSL_CONNECTION *, unsigned char *, size_t,
2169 int (*set_handshake_header)(SSL_CONNECTION *s, WPACKET *pkt, int type);
2171 int (*close_construct_packet)(SSL_CONNECTION *s, WPACKET *pkt, int htype);
2173 int (*do_write)(SSL_CONNECTION *s);
2466 int (*p_ssl_init_wbio_buffer)(SSL_CONNECTION *s);
2471 static ossl_inline int tls12_rpk_and_privkey(const SSL_CONNECTION *sc, int idx) in tls12_rpk_and_privkey()
[all …]
H A Dssl_lib.c41 static int ssl_undefined_function_3(SSL_CONNECTION *sc, unsigned char *r, in ssl_undefined_function_3()
47 static int ssl_undefined_function_4(SSL_CONNECTION *sc, int r) in ssl_undefined_function_4()
52 static size_t ssl_undefined_function_5(SSL_CONNECTION *sc, const char *r, in ssl_undefined_function_5()
63 static int ssl_undefined_function_7(SSL_CONNECTION *sc, unsigned char *r, in ssl_undefined_function_7()
70 static int ssl_undefined_function_8(SSL_CONNECTION *sc) in ssl_undefined_function_8()
186 static int ssl_dane_dup(SSL_CONNECTION *to, SSL_CONNECTION *from) in ssl_dane_dup()
579 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in ossl_ssl_connection_reset()
734 SSL_CONNECTION *s; in ossl_ssl_connection_new_int()
979 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_is_dtls()
994 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_is_tls()
[all …]
H A Dd1_lib.c19 static int dtls1_handshake_write(SSL_CONNECTION *s);
68 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl); in dtls1_new()
110 static void dtls1_clear_queues(SSL_CONNECTION *s) in dtls1_clear_queues()
116 void dtls1_clear_received_buffer(SSL_CONNECTION *s) in dtls1_clear_received_buffer()
128 void dtls1_clear_sent_buffer(SSL_CONNECTION *s) in dtls1_clear_sent_buffer()
153 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl); in dtls1_free()
179 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl); in dtls1_clear()
233 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl); in dtls1_ctrl()
278 void dtls1_start_timer(SSL_CONNECTION *s) in dtls1_start_timer()
310 int dtls1_get_timeout(const SSL_CONNECTION *s, OSSL_TIME *timeleft) in dtls1_get_timeout()
[all …]
H A Dtls_srp.c61 int ssl_srp_ctx_free_intern(SSL_CONNECTION *s) in ssl_srp_ctx_free_intern()
82 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_SRP_CTX_free()
92 int ssl_srp_ctx_init_intern(SSL_CONNECTION *s) in ssl_srp_ctx_init_intern()
143 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_SRP_CTX_init()
174 int ssl_srp_server_param_with_username_intern(SSL_CONNECTION *s, int *ad) in ssl_srp_server_param_with_username_intern()
206 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_srp_server_param_with_username()
222 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_set_srp_server_param_pw()
247 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_set_srp_server_param()
301 int srp_generate_server_master_secret(SSL_CONNECTION *s) in srp_generate_server_master_secret()
334 int srp_generate_client_master_secret(SSL_CONNECTION *s) in srp_generate_client_master_secret()
[all …]
H A Dtls13_enc.c100 int tls13_hkdf_expand(SSL_CONNECTION *s, const EVP_MD *md, in tls13_hkdf_expand()
122 int tls13_derive_key(SSL_CONNECTION *s, const EVP_MD *md, in tls13_derive_key()
137 int tls13_derive_iv(SSL_CONNECTION *s, const EVP_MD *md, in tls13_derive_iv()
148 int tls13_derive_finishedkey(SSL_CONNECTION *s, const EVP_MD *md, in tls13_derive_finishedkey()
164 int tls13_generate_secret(SSL_CONNECTION *s, const EVP_MD *md, in tls13_generate_secret()
231 int tls13_generate_handshake_secret(SSL_CONNECTION *s, in tls13_generate_handshake_secret()
246 int tls13_generate_master_secret(SSL_CONNECTION *s, unsigned char *out, in tls13_generate_master_secret()
267 size_t tls13_final_finish_mac(SSL_CONNECTION *s, const char *str, size_t slen, in tls13_final_finish_mac()
323 int tls13_setup_key_block(SSL_CONNECTION *s) in tls13_setup_key_block()
348 static int derive_secret_key_and_iv(SSL_CONNECTION *s, const EVP_MD *md, in derive_secret_key_and_iv()
[all …]
H A Ds3_enc.c19 static int ssl3_generate_key_block(SSL_CONNECTION *s, unsigned char *km, int num) in ssl3_generate_key_block()
91 int ssl3_change_cipher_state(SSL_CONNECTION *s, int which) in ssl3_change_cipher_state()
161 int ssl3_setup_key_block(SSL_CONNECTION *s) in ssl3_setup_key_block()
213 void ssl3_cleanup_key_block(SSL_CONNECTION *s) in ssl3_cleanup_key_block()
220 int ssl3_init_finished_mac(SSL_CONNECTION *s) in ssl3_init_finished_mac()
239 void ssl3_free_digest_list(SSL_CONNECTION *s) in ssl3_free_digest_list()
247 int ssl3_finish_mac(SSL_CONNECTION *s, const unsigned char *buf, size_t len) in ssl3_finish_mac()
272 int ssl3_digest_cached_records(SSL_CONNECTION *s, int keep) in ssl3_digest_cached_records()
321 size_t ssl3_final_finish_mac(SSL_CONNECTION *s, const char *sender, size_t len, in ssl3_final_finish_mac()
374 int ssl3_generate_master_secret(SSL_CONNECTION *s, unsigned char *out, in ssl3_generate_master_secret()
H A Dssl_cert_comp.c197 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in ssl_get_cert_to_compress()
259 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in ssl_compress_certs()
304 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in ssl_get_compressed_cert()
373 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in SSL_set1_cert_comp_preference()
386 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in SSL_compress_certs()
414 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in SSL_get1_compressed_cert()
459 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in SSL_set1_compressed_cert()
H A Dd1_srtp.c153 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s); in SSL_set_tlsext_use_srtp()
163 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s); in STACK_OF()
178 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s); in SSL_get_selected_srtp_profile()
H A Dssl_cert.c299 int ssl_cert_set0_chain(SSL_CONNECTION *s, SSL_CTX *ctx, STACK_OF(X509) *chain) in ssl_cert_set0_chain()
320 int ssl_cert_set1_chain(SSL_CONNECTION *s, SSL_CTX *ctx, STACK_OF(X509) *chain) in ssl_cert_set1_chain()
336 int ssl_cert_add0_chain_cert(SSL_CONNECTION *s, SSL_CTX *ctx, X509 *x) in ssl_cert_add0_chain_cert()
355 int ssl_cert_add1_chain_cert(SSL_CONNECTION *s, SSL_CTX *ctx, X509 *x) in ssl_cert_add1_chain_cert()
427 static int ssl_verify_internal(SSL_CONNECTION *s, STACK_OF(X509) *sk, EVP_PKEY *rpk) in ssl_verify_internal()
539 int ssl_verify_rpk(SSL_CONNECTION *s, EVP_PKEY *rpk) in ssl_verify_rpk()
551 int ssl_verify_cert_chain(SSL_CONNECTION *s, STACK_OF(X509) *sk) in ssl_verify_cert_chain()
589 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_set0_CA_list()
609 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in STACK_OF()
629 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_set_client_CA_list()
[all …]
H A Dt1_lib.c32 static const SIGALG_LOOKUP *find_sig_alg(SSL_CONNECTION *s, X509 *x, EVP_PKEY *pkey);
33 static int tls12_sigalg_allowed(const SSL_CONNECTION *s, int op, const SIGALG_LOOKUP *lu);
117 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in tls1_free()
128 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in tls1_clear()
780 void tls1_get_supported_groups(SSL_CONNECTION *s, const uint16_t **pgroups, in tls1_get_supported_groups()
827 void tls1_get_requested_keyshare_groups(SSL_CONNECTION *s, const uint16_t **pgroups, in tls1_get_requested_keyshare_groups()
841 void tls1_get_group_tuples(SSL_CONNECTION *s, const size_t **ptuples, in tls1_get_group_tuples()
855 int tls_valid_group(SSL_CONNECTION *s, uint16_t group_id, in tls_valid_group()
896 int tls_group_allowed(SSL_CONNECTION *s, uint16_t group, int op) in tls_group_allowed()
1004 uint16_t tls1_shared_group(SSL_CONNECTION *s, int nmatch) in tls1_shared_group()
[all …]
/freebsd/crypto/openssl/ssl/record/
H A Drecord.h73 SSL_CONNECTION *s;
137 void RECORD_LAYER_init(RECORD_LAYER *rl, SSL_CONNECTION *s);
157 __owur int dtls1_write_bytes(SSL_CONNECTION *s, uint8_t type, const void *buf,
159 int do_dtls1_write(SSL_CONNECTION *s, uint8_t type, const unsigned char *buf,
161 void dtls1_increment_epoch(SSL_CONNECTION *s, int rw);
162 uint16_t dtls1_get_epoch(SSL_CONNECTION *s, int rw);
163 int ssl_release_record(SSL_CONNECTION *s, TLS_RECORD *rr, size_t length);
171 int ossl_tls_handle_rlayer_return(SSL_CONNECTION *s, int writing, int ret,
174 int ssl_set_new_record_layer(SSL_CONNECTION *s, int version,
183 int ssl_set_record_protocol_version(SSL_CONNECTION *s, int vers);
H A Drec_layer_s3.c27 void RECORD_LAYER_init(RECORD_LAYER *rl, SSL_CONNECTION *s) in RECORD_LAYER_init()
119 static uint32_t ossl_get_max_early_data(SSL_CONNECTION *s) in ossl_get_max_early_data()
150 static int ossl_early_data_count_ok(SSL_CONNECTION *s, size_t length, in ossl_early_data_count_ok()
179 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in ssl3_pending()
213 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_set_default_read_buffer_len()
222 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in SSL_rstate_string_long()
238 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in SSL_rstate_string()
252 static int tls_write_check_pending(SSL_CONNECTION *s, uint8_t type, in tls_write_check_pending()
280 SSL_CONNECTION *s = SSL_CONNECTION_FROM_SSL_ONLY(ssl); in ssl3_write_bytes()
491 int ossl_tls_handle_rlayer_return(SSL_CONNECTION *s, int writing, int ret, in ossl_tls_handle_rlayer_return()
[all …]
/freebsd/crypto/openssl/test/
H A Dtls13secretstest.c130 int ssl3_digest_cached_records(SSL_CONNECTION *s, int keep) in ssl3_digest_cached_records()
138 int ssl_handshake_hash(SSL_CONNECTION *s, unsigned char *out, size_t outlen, in ssl_handshake_hash()
156 const EVP_MD *ssl_handshake_md(SSL_CONNECTION *s) in ssl_handshake_md()
188 int ssl_log_secret(SSL_CONNECTION *sc, in ssl_log_secret()
201 void ossl_statem_send_fatal(SSL_CONNECTION *s, int al) in ossl_statem_send_fatal()
205 void ossl_statem_fatal(SSL_CONNECTION *s, int al, int reason, in ossl_statem_fatal()
210 int ossl_statem_export_allowed(SSL_CONNECTION *s) in ossl_statem_export_allowed()
215 int ossl_statem_export_early_allowed(SSL_CONNECTION *s) in ossl_statem_export_early_allowed()
228 int ssl_set_new_record_layer(SSL_CONNECTION *s, int version, int direction, in ssl_set_new_record_layer()
242 static int test_secret(SSL_CONNECTION *s, unsigned char *prk, in test_secret()
[all …]
/freebsd/crypto/openssl/ssl/quic/
H A Dquic_tls_api.c19 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in crypto_send_cb()
30 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in crypto_recv_rcd_cb()
40 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in crypto_release_rcd_cb()
52 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in yield_secret_cb()
65 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in got_transport_params_cb()
75 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in alert_cb()
129 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_set_quic_tls_cbs()
175 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_set_quic_tls_transport_params()
190 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_set_quic_tls_early_data_enabled()

123