Home
last modified time | relevance | path

Searched defs:ssl (Results 1 – 25 of 243) sorted by relevance

12345678910

/third_party/boringssl/src/ssl/
Dssl_lib.cc201 void ssl_reset_error_state(SSL *ssl) { in ssl_reset_error_state()
209 void ssl_set_read_error(SSL* ssl) { in ssl_set_read_error()
214 static bool check_read_error(const SSL *ssl) { in check_read_error()
222 bool ssl_can_write(const SSL *ssl) { in ssl_can_write()
226 bool ssl_can_read(const SSL *ssl) { in ssl_can_read()
230 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed, in ssl_open_handshake()
244 ssl_open_record_t ssl_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in ssl_open_change_cipher_spec()
260 ssl_open_record_t ssl_open_app_data(SSL *ssl, Span<uint8_t> *out, in ssl_open_app_data()
276 SSL *const ssl = hs->ssl; in ssl_update_cache() local
342 bool ssl_log_secret(const SSL *ssl, const char *label, in ssl_log_secret()
[all …]
Dd1_lib.cc88 bool dtls1_new(SSL *ssl) { in dtls1_new()
109 void dtls1_free(SSL *ssl) { in dtls1_free()
120 void dtls1_start_timer(SSL *ssl) { in dtls1_start_timer()
138 bool dtls1_is_timer_expired(SSL *ssl) { in dtls1_is_timer_expired()
155 static void dtls1_double_timeout(SSL *ssl) { in dtls1_double_timeout()
162 void dtls1_stop_timer(SSL *ssl) { in dtls1_stop_timer()
168 bool dtls1_check_timeout_num(SSL *ssl) { in dtls1_check_timeout_num()
194 void DTLSv1_set_initial_timeout_duration(SSL *ssl, unsigned int duration_ms) { in DTLSv1_set_initial_timeout_duration()
198 int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out) { in DTLSv1_get_timeout()
248 int DTLSv1_handle_timeout(SSL *ssl) { in DTLSv1_handle_timeout()
Dd1_both.cc255 static bool dtls1_is_current_message_complete(const SSL *ssl) { in dtls1_is_current_message_complete()
266 SSL *ssl, uint8_t *out_alert, const struct hm_header_st *msg_hdr) { in dtls1_get_incoming_message()
297 ssl_open_record_t dtls1_open_handshake(SSL *ssl, size_t *out_consumed, in dtls1_open_handshake()
408 bool dtls1_get_message(const SSL *ssl, SSLMessage *out) { in dtls1_get_message()
426 void dtls1_next_message(SSL *ssl) { in dtls1_next_message()
440 bool dtls_has_unprocessed_handshake_data(const SSL *ssl) { in dtls_has_unprocessed_handshake_data()
475 ssl_open_record_t dtls1_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in dtls1_open_change_cipher_spec()
500 void dtls_clear_outgoing_messages(SSL *ssl) { in dtls_clear_outgoing_messages()
511 bool dtls1_init_message(SSL *ssl, CBB *cbb, CBB *body, uint8_t type) { in dtls1_init_message()
525 bool dtls1_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in dtls1_finish_message()
[all …]
Ds3_both.cc137 static bool add_record_to_flight(SSL *ssl, uint8_t type, in add_record_to_flight()
171 bool ssl3_init_message(SSL *ssl, CBB *cbb, CBB *body, uint8_t type) { in ssl3_init_message()
184 bool ssl3_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in ssl3_finish_message()
188 bool ssl3_add_message(SSL *ssl, Array<uint8_t> msg) { in ssl3_add_message()
244 bool tls_flush_pending_hs_data(SSL *ssl) { in tls_flush_pending_hs_data()
265 bool ssl3_add_change_cipher_spec(SSL *ssl) { in ssl3_add_change_cipher_spec()
283 int ssl3_flush_flight(SSL *ssl) { in ssl3_flush_flight()
349 static ssl_open_record_t read_v2_client_hello(SSL *ssl, size_t *out_consumed, in read_v2_client_hello()
471 static bool parse_message(const SSL *ssl, SSLMessage *out, in parse_message()
499 bool ssl3_get_message(const SSL *ssl, SSLMessage *out) { in ssl3_get_message()
[all …]
Dtls_record.cc143 static bool ssl_needs_record_splitting(const SSL *ssl) { in ssl_needs_record_splitting()
165 size_t ssl_record_prefix_len(const SSL *ssl) { in ssl_record_prefix_len()
176 size_t ssl_seal_align_prefix_len(const SSL *ssl) { in ssl_seal_align_prefix_len()
190 static ssl_open_record_t skip_early_data(SSL *ssl, uint8_t *out_alert, in skip_early_data()
206 ssl_open_record_t tls_open_record(SSL *ssl, uint8_t *out_type, in tls_open_record()
376 static bool do_seal_record(SSL *ssl, uint8_t *out_prefix, uint8_t *out, in do_seal_record()
425 static size_t tls_seal_scatter_prefix_len(const SSL *ssl, uint8_t type, in tls_seal_scatter_prefix_len()
442 static bool tls_seal_scatter_suffix_len(const SSL *ssl, size_t *out_suffix_len, in tls_seal_scatter_suffix_len()
467 static bool tls_seal_scatter_record(SSL *ssl, uint8_t *out_prefix, uint8_t *out, in tls_seal_scatter_record()
512 bool tls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, in tls_seal_record()
[all …]
Dssl_buffer.cc105 static int dtls_read_buffer_next_packet(SSL *ssl) { in dtls_read_buffer_next_packet()
126 static int tls_read_buffer_extend_to(SSL *ssl, size_t len) { in tls_read_buffer_extend_to()
150 int ssl_read_buffer_extend_to(SSL *ssl, size_t len) { in ssl_read_buffer_extend_to()
188 int ssl_handle_open_record(SSL *ssl, bool *out_retry, ssl_open_record_t ret, in ssl_handle_open_record()
240 static int tls_write_buffer_flush(SSL *ssl) { in tls_write_buffer_flush()
255 static int dtls_write_buffer_flush(SSL *ssl) { in dtls_write_buffer_flush()
274 int ssl_write_buffer_flush(SSL *ssl) { in ssl_write_buffer_flush()
Ds3_pkt.cc130 int ssl3_write_app_data(SSL *ssl, bool *out_needs_handshake, const uint8_t *in, in ssl3_write_app_data()
205 static int ssl3_write_pending(SSL *ssl, int type, const uint8_t *in, in ssl3_write_pending()
224 static int do_ssl3_write(SSL *ssl, int type, const uint8_t *in, unsigned len) { in do_ssl3_write()
303 ssl_open_record_t ssl3_open_app_data(SSL *ssl, Span<uint8_t> *out, in ssl3_open_app_data()
359 ssl_open_record_t ssl3_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in ssl3_open_change_cipher_spec()
385 void ssl_send_alert(SSL *ssl, int level, int desc) { in ssl_send_alert()
402 int ssl_send_alert_impl(SSL *ssl, int level, int desc) { in ssl_send_alert_impl()
430 int ssl3_dispatch_alert(SSL *ssl) { in ssl3_dispatch_alert()
Dbio_ssl.cc20 SSL *ssl = get_ssl(bio); in ssl_read() local
60 SSL *ssl = get_ssl(bio); in ssl_write() local
94 SSL *ssl = get_ssl(bio); in ssl_ctrl() local
141 SSL *ssl = get_ssl(bio); in ssl_free() local
156 SSL *ssl = get_ssl(bio); in ssl_callback_ctrl() local
177 long BIO_set_ssl(BIO *bio, SSL *ssl, int take_owership) { in BIO_set_ssl()
Dhandshake_client.cc218 SSL *const ssl = hs->ssl; in ssl_write_client_cipher_list() local
285 SSL *const ssl = hs->ssl; in ssl_write_client_hello() local
344 SSL *const ssl = hs->ssl; in parse_supported_versions() local
380 SSL *const ssl = hs->ssl; in do_start_connect() local
442 SSL *const ssl = hs->ssl; in do_enter_early_data() local
499 SSL *const ssl = hs->ssl; in do_read_hello_verify_request() local
543 SSL *const ssl = hs->ssl; in do_read_server_hello() local
793 SSL *const ssl = hs->ssl; in do_read_server_certificate() local
840 SSL *const ssl = hs->ssl; in do_read_certificate_status() local
926 SSL *const ssl = hs->ssl; in do_read_server_key_exchange() local
[all …]
Dtls13_server.cc64 SSL *const ssl = hs->ssl; in resolve_ecdhe_secret() local
107 const SSL *ssl, const SSL_CLIENT_HELLO *client_hello, uint16_t group_id) { in choose_tls13_cipher()
118 SSL *const ssl = hs->ssl; in add_new_session_tickets() local
202 SSL *const ssl = hs->ssl; in do_select_parameters() local
255 SSL *const ssl = hs->ssl; in select_session() local
331 SSL *const ssl = hs->ssl; in do_select_session() local
489 SSL *const ssl = hs->ssl; in do_send_hello_retry_request() local
524 SSL *const ssl = hs->ssl; in do_read_second_client_hello() local
594 SSL *const ssl = hs->ssl; in do_send_server_hello() local
728 SSL *const ssl = hs->ssl; in do_send_server_finished() local
[all …]
Dhandshake.cc167 UniquePtr<SSL_HANDSHAKE> ssl_handshake_new(SSL *ssl) { in ssl_handshake_new()
180 bool ssl_check_message_type(SSL *ssl, const SSLMessage &msg, int type) { in ssl_check_message_type()
191 bool ssl_add_message_cbb(SSL *ssl, CBB *cbb) { in ssl_add_message_cbb()
201 size_t ssl_max_handshake_message_len(const SSL *ssl) { in ssl_max_handshake_message_len()
292 SSL *const ssl = hs->ssl; in ssl_verify_peer_cert() local
392 SSL *const ssl = hs->ssl; in ssl_reverify_peer_cert() local
429 SSL *const ssl = hs->ssl; in ssl_get_finished() local
478 SSL *const ssl = hs->ssl; in ssl_send_finished() local
537 SSL *const ssl = hs->ssl; in ssl_run_handshake() local
Dtls13_client.cc56 SSL *const ssl = hs->ssl; in do_read_hello_retry_request() local
198 SSL *const ssl = hs->ssl; in do_send_second_client_hello() local
218 SSL *const ssl = hs->ssl; in do_read_server_hello() local
416 SSL *const ssl = hs->ssl; in do_read_encrypted_extensions() local
468 SSL *const ssl = hs->ssl; in do_read_certificate_request() local
546 SSL *const ssl = hs->ssl; in do_read_server_certificate() local
569 SSL *const ssl = hs->ssl; in do_read_server_certificate_verify() local
611 SSL *const ssl = hs->ssl; in do_read_server_finished() local
632 SSL *const ssl = hs->ssl; in do_send_end_of_early_data() local
661 SSL *const ssl = hs->ssl; in do_send_client_certificate() local
[all …]
Dssl_x509.cc163 static void check_ssl_x509_method(const SSL *ssl) { in check_ssl_x509_method()
524 X509 *SSL_get_peer_certificate(const SSL *ssl) { in SSL_get_peer_certificate()
567 int SSL_set_purpose(SSL *ssl, int purpose) { in SSL_set_purpose()
580 int SSL_set_trust(SSL *ssl, int trust) { in SSL_set_trust()
593 int SSL_set1_param(SSL *ssl, const X509_VERIFY_PARAM *param) { in SSL_set1_param()
606 X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl) { in SSL_get0_param()
615 int SSL_get_verify_depth(const SSL *ssl) { in SSL_get_verify_depth()
624 int (*SSL_get_verify_callback(const SSL *ssl))(int, X509_STORE_CTX *) { in SSL_get_verify_callback()
649 void SSL_set_verify(SSL *ssl, int mode, in SSL_set_verify()
661 void SSL_set_verify_depth(SSL *ssl, int depth) { in SSL_set_verify_depth()
[all …]
Dt1_lib.cc206 bool ssl_client_hello_init(const SSL *ssl, SSL_CLIENT_HELLO *out, in ssl_client_hello_init()
307 SSL *const ssl = hs->ssl; in tls1_get_shared_group() local
506 static SSLSignatureAlgorithmList tls12_get_verify_sigalgs(const SSL *ssl, in tls12_get_verify_sigalgs()
521 bool tls12_add_verify_sigalgs(const SSL *ssl, CBB *out, bool for_certs) { in tls12_add_verify_sigalgs()
532 bool tls12_check_peer_sigalg(const SSL *ssl, uint8_t *out_alert, in tls12_check_peer_sigalg()
547 bool tls12_has_different_verify_sigalgs_for_certs(const SSL *ssl) { in tls12_has_different_verify_sigalgs_for_certs()
607 SSL *const ssl = hs->ssl; in ext_sni_add_clienthello() local
660 SSL *const ssl = hs->ssl; in ext_ri_add_clienthello() local
684 SSL *const ssl = hs->ssl; in ext_ri_parse_serverhello() local
767 SSL *const ssl = hs->ssl; in ext_ri_parse_clienthello() local
[all …]
Dhandshake_server.cc197 SSL *const ssl = hs->ssl; in negotiate_version() local
332 SSL *const ssl = hs->ssl; in ssl3_choose_cipher() local
508 SSL *const ssl = hs->ssl; in extract_sni() local
555 SSL *const ssl = hs->ssl; in do_read_client_hello() local
645 SSL *const ssl = hs->ssl; in do_select_certificate() local
725 SSL *const ssl = hs->ssl; in do_select_parameters() local
846 SSL *const ssl = hs->ssl; in do_send_server_hello() local
921 SSL *const ssl = hs->ssl; in do_send_server_certificate() local
1011 SSL *const ssl = hs->ssl; in do_send_server_key_exchange() local
1084 SSL *const ssl = hs->ssl; in do_send_server_hello_done() local
[all …]
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/
Dssl_lib.c68 int ossl_statem_in_error(const SSL *ssl) in ossl_statem_in_error()
81 int SSL_want(const SSL *ssl) in SSL_want()
91 int SSL_want_nothing(const SSL *ssl) in SSL_want_nothing()
104 int SSL_want_read(const SSL *ssl) in SSL_want_read()
117 int SSL_want_write(const SSL *ssl) in SSL_want_write()
130 int SSL_want_x509_lookup(const SSL *ssl) in SSL_want_x509_lookup()
140 int SSL_get_error(const SSL *ssl, int ret_code) in SSL_get_error()
171 OSSL_HANDSHAKE_STATE SSL_get_state(const SSL *ssl) in SSL_get_state()
278 SSL *ssl; in SSL_new() local
344 void SSL_free(SSL *ssl) in SSL_free()
[all …]
/third_party/mbedtls/library/
Dssl_cli.c80 static int ssl_write_hostname_ext( mbedtls_ssl_context *ssl, in ssl_write_hostname_ext()
149 static int ssl_write_renegotiation_ext( mbedtls_ssl_context *ssl, in ssl_write_renegotiation_ext()
194 static int ssl_write_signature_algorithms_ext( mbedtls_ssl_context *ssl, in ssl_write_signature_algorithms_ext()
292 static int ssl_write_supported_elliptic_curves_ext( mbedtls_ssl_context *ssl, in ssl_write_supported_elliptic_curves_ext()
365 static int ssl_write_supported_point_formats_ext( mbedtls_ssl_context *ssl, in ssl_write_supported_point_formats_ext()
398 static int ssl_write_ecjpake_kkpp_ext( mbedtls_ssl_context *ssl, in ssl_write_ecjpake_kkpp_ext()
471 static int ssl_write_max_fragment_length_ext( mbedtls_ssl_context *ssl, in ssl_write_max_fragment_length_ext()
505 static int ssl_write_truncated_hmac_ext( mbedtls_ssl_context *ssl, in ssl_write_truncated_hmac_ext()
535 static int ssl_write_encrypt_then_mac_ext( mbedtls_ssl_context *ssl, in ssl_write_encrypt_then_mac_ext()
566 static int ssl_write_extended_ms_ext( mbedtls_ssl_context *ssl, in ssl_write_extended_ms_ext()
[all …]
Dssl_srv.c79 int mbedtls_ssl_set_client_transport_id( mbedtls_ssl_context *ssl, in mbedtls_ssl_set_client_transport_id()
109 static int ssl_parse_servername_ext( mbedtls_ssl_context *ssl, in ssl_parse_servername_ext()
177 static int ssl_parse_renegotiation_info( mbedtls_ssl_context *ssl, in ssl_parse_renegotiation_info()
228 static int ssl_parse_signature_algorithms_ext( mbedtls_ssl_context *ssl, in ssl_parse_signature_algorithms_ext()
306 static int ssl_parse_supported_elliptic_curves( mbedtls_ssl_context *ssl, in ssl_parse_supported_elliptic_curves()
372 static int ssl_parse_supported_point_formats( mbedtls_ssl_context *ssl, in ssl_parse_supported_point_formats()
414 static int ssl_parse_ecjpake_kkpp( mbedtls_ssl_context *ssl, in ssl_parse_ecjpake_kkpp()
443 static int ssl_parse_max_fragment_length_ext( mbedtls_ssl_context *ssl, in ssl_parse_max_fragment_length_ext()
462 static int ssl_parse_truncated_hmac_ext( mbedtls_ssl_context *ssl, in ssl_parse_truncated_hmac_ext()
484 static int ssl_parse_encrypt_then_mac_ext( mbedtls_ssl_context *ssl, in ssl_parse_encrypt_then_mac_ext()
[all …]
Dssl_tls.c86 static inline size_t ssl_ep_len( const mbedtls_ssl_context *ssl ) in ssl_ep_len()
101 static void ssl_set_timer( mbedtls_ssl_context *ssl, uint32_t millisecs ) in ssl_set_timer()
113 static int ssl_check_timer( mbedtls_ssl_context *ssl ) in ssl_check_timer()
149 static size_t ssl_get_maximum_datagram_size( mbedtls_ssl_context const *ssl ) in ssl_get_maximum_datagram_size()
159 static int ssl_get_remaining_space_in_datagram( mbedtls_ssl_context const *ssl ) in ssl_get_remaining_space_in_datagram()
175 static int ssl_get_remaining_payload_in_datagram( mbedtls_ssl_context const *ssl ) in ssl_get_remaining_payload_in_datagram()
226 static int ssl_double_retransmit_timeout( mbedtls_ssl_context *ssl ) in ssl_double_retransmit_timeout()
261 static void ssl_reset_retransmit_timeout( mbedtls_ssl_context *ssl ) in ssl_reset_retransmit_timeout()
639 int mbedtls_ssl_derive_keys( mbedtls_ssl_context *ssl ) in mbedtls_ssl_derive_keys()
1149 void ssl_calc_verify_ssl( mbedtls_ssl_context *ssl, unsigned char *hash ) in ssl_calc_verify_ssl()
[all …]
Ddebug.c88 static inline void debug_send_line( const mbedtls_ssl_context *ssl, int level, in debug_send_line()
106 void mbedtls_debug_print_msg( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_msg()
148 void mbedtls_debug_print_ret( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ret()
176 void mbedtls_debug_print_buf( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_buf()
236 void mbedtls_debug_print_ecp( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_ecp()
259 void mbedtls_debug_print_mpi( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_mpi()
317 static void debug_print_pk( const mbedtls_ssl_context *ssl, int level, in debug_print_pk()
355 static void debug_print_line_by_line( const mbedtls_ssl_context *ssl, int level, in debug_print_line_by_line()
380 void mbedtls_debug_print_crt( const mbedtls_ssl_context *ssl, int level, in mbedtls_debug_print_crt()
414 static void mbedtls_debug_printf_ecdh_internal( const mbedtls_ssl_context *ssl, in mbedtls_debug_printf_ecdh_internal()
[all …]
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c47 mbedtls_ssl_context ssl; member
101 int ssl_pm_new(SSL *ssl) in ssl_pm_new()
207 void ssl_pm_free(SSL *ssl) in ssl_pm_free()
223 static int ssl_pm_reload_crt(SSL *ssl) in ssl_pm_reload_crt()
270 static int mbedtls_handshake( mbedtls_ssl_context *ssl ) in mbedtls_handshake()
290 int ssl_pm_handshake(SSL *ssl) in ssl_pm_handshake()
362 ssl_get_peer_mbedtls_x509_crt(SSL *ssl) in ssl_get_peer_mbedtls_x509_crt()
372 int ssl_pm_shutdown(SSL *ssl) in ssl_pm_shutdown()
394 int ssl_pm_clear(SSL *ssl) in ssl_pm_clear()
400 int ssl_pm_read(SSL *ssl, void *buffer, int len) in ssl_pm_read()
[all …]
/third_party/nghttp2/src/
Dtls.cc77 const char *get_tls_protocol(SSL *ssl) { in get_tls_protocol()
98 TLSSessionInfo *get_tls_session_info(TLSSessionInfo *tls_info, SSL *ssl) { in get_tls_session_info()
135 bool check_http2_cipher_black_list(SSL *ssl) { in check_http2_cipher_black_list()
141 bool check_http2_tls_version(SSL *ssl) { in check_http2_tls_version()
147 bool check_http2_requirement(SSL *ssl) { in check_http2_requirement()
/third_party/boringssl/src/ssl/test/
Dtest_config.cc372 bool SetTestConfig(SSL *ssl, const TestConfig *config) { in SetTestConfig()
377 const TestConfig *GetTestConfig(const SSL *ssl) { in GetTestConfig()
382 static int LegacyOCSPCallback(SSL *ssl, void *arg) { in LegacyOCSPCallback()
402 static int ServerNameCallback(SSL *ssl, int *out_alert, void *arg) { in ServerNameCallback()
416 static int NextProtoSelectCallback(SSL *ssl, uint8_t **out, uint8_t *outlen, in NextProtoSelectCallback()
429 static int NextProtosAdvertisedCallback(SSL *ssl, const uint8_t **out, in NextProtosAdvertisedCallback()
442 const void *buf, size_t len, SSL *ssl, void *arg) { in MessageCallback()
518 static int TicketKeyCallback(SSL *ssl, uint8_t *key_name, uint8_t *iv, in TicketKeyCallback()
551 static int NewSessionCallback(SSL *ssl, SSL_SESSION *session) { in NewSessionCallback()
565 static void InfoCallback(const SSL *ssl, int type, int val) { in InfoCallback()
[all …]
/third_party/openssl/test/ossl_shim/
Dossl_shim.cc103 static bool SetTestConfig(SSL *ssl, const TestConfig *config) { in SetTestConfig()
107 static const TestConfig *GetTestConfig(const SSL *ssl) { in GetTestConfig()
111 static bool SetTestState(SSL *ssl, std::unique_ptr<TestState> state) { in SetTestState()
120 static TestState *GetTestState(const SSL *ssl) { in GetTestState()
148 static bool GetCertificate(SSL *ssl, bssl::UniquePtr<X509> *out_x509, in GetCertificate()
167 static bool InstallCertificate(SSL *ssl) { in InstallCertificate()
185 static int ClientCertCallback(SSL *ssl, X509 **out_x509, EVP_PKEY **out_pkey) { in ClientCertCallback()
216 static int NextProtosAdvertisedCallback(SSL *ssl, const uint8_t **out, in NextProtosAdvertisedCallback()
228 static int NextProtoSelectCallback(SSL* ssl, uint8_t** out, uint8_t* outlen, in NextProtoSelectCallback()
240 static int AlpnSelectCallback(SSL* ssl, const uint8_t** out, uint8_t* outlen, in AlpnSelectCallback()
[all …]
/third_party/boringssl/src/tool/
Dclient.cc158 static int NextProtoSelectCallback(SSL* ssl, uint8_t** out, uint8_t* outlen, in NextProtoSelectCallback()
167 static void KeyLogCallback(const SSL *ssl, const char *line) { in KeyLogCallback()
175 static int NewSessionCallback(SSL *ssl, SSL_SESSION *session) { in NewSessionCallback()
188 static bool WaitForSession(SSL *ssl, int sock) { in WaitForSession()
230 bool (*cb)(SSL *ssl, int sock)) { in DoConnection()
254 bssl::UniquePtr<SSL> ssl(SSL_new(ctx)); in DoConnection() local
327 static void InfoCallback(const SSL *ssl, int type, int value) { in InfoCallback()

12345678910