Home
last modified time | relevance | path

Searched refs:ssl (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/external/boringssl/src/ssl/
Dssl_lib.cc368 SSL *ssl = (SSL *)OPENSSL_malloc(sizeof(SSL)); in SSL_new() local
369 if (ssl == NULL) { in SSL_new()
372 OPENSSL_memset(ssl, 0, sizeof(SSL)); in SSL_new()
374 ssl->conf_min_version = ctx->conf_min_version; in SSL_new()
375 ssl->conf_max_version = ctx->conf_max_version; in SSL_new()
376 ssl->tls13_variant = ctx->tls13_variant; in SSL_new()
380 ssl->initial_timeout_duration_ms = 1000; in SSL_new()
382 ssl->options = ctx->options; in SSL_new()
383 ssl->mode = ctx->mode; in SSL_new()
384 ssl->max_cert_list = ctx->max_cert_list; in SSL_new()
[all …]
Ds3_pkt.cc125 static int do_ssl3_write(SSL *ssl, int type, const uint8_t *buf, unsigned len);
130 static int ssl3_get_record(SSL *ssl) { in ssl3_get_record() argument
132 switch (ssl->s3->recv_shutdown) { in ssl3_get_record()
146 tls_open_record(ssl, &type, &body, &consumed, &alert, in ssl3_get_record()
147 ssl_read_buffer(ssl), ssl_read_buffer_len(ssl)); in ssl3_get_record()
149 ssl_read_buffer_consume(ssl, consumed); in ssl3_get_record()
153 int read_ret = ssl_read_buffer_extend_to(ssl, consumed); in ssl3_get_record()
166 SSL3_RECORD *rr = &ssl->s3->rrec; in ssl3_get_record()
183 ssl3_send_alert(ssl, SSL3_AL_FATAL, alert); in ssl3_get_record()
192 int ssl3_write_app_data(SSL *ssl, int *out_needs_handshake, const uint8_t *buf, in ssl3_write_app_data() argument
[all …]
Dd1_lib.cc80 int dtls1_new(SSL *ssl) { in dtls1_new() argument
81 if (!ssl3_new(ssl)) { in dtls1_new()
86 ssl3_free(ssl); in dtls1_new()
91 ssl->d1 = d1; in dtls1_new()
98 ssl->version = DTLS1_2_VERSION; in dtls1_new()
102 void dtls1_free(SSL *ssl) { in dtls1_free() argument
103 ssl3_free(ssl); in dtls1_free()
105 if (ssl == NULL || ssl->d1 == NULL) { in dtls1_free()
109 dtls_clear_incoming_messages(ssl); in dtls1_free()
110 dtls_clear_outgoing_messages(ssl); in dtls1_free()
[all …]
Ds3_both.cc133 SSL_HANDSHAKE *ssl_handshake_new(SSL *ssl) { in ssl_handshake_new() argument
140 hs->ssl = ssl; in ssl_handshake_new()
178 hs->ssl->ctx->x509_method->hs_flush_cached_ca_names(hs); in ssl_handshake_free()
192 int ssl_check_message_type(SSL *ssl, int type) { in ssl_check_message_type() argument
193 if (ssl->s3->tmp.message_type != type) { in ssl_check_message_type()
194 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_UNEXPECTED_MESSAGE); in ssl_check_message_type()
197 ssl->s3->tmp.message_type, type); in ssl_check_message_type()
204 static int add_record_to_flight(SSL *ssl, uint8_t type, const uint8_t *in, in add_record_to_flight() argument
207 assert(ssl->s3->pending_flight_offset == 0); in add_record_to_flight()
209 if (ssl->s3->pending_flight == NULL) { in add_record_to_flight()
[all …]
Dhandshake_client.cc188 SSL *const ssl = hs->ssl; in ssl3_connect() local
191 assert(ssl->handshake_func == ssl3_connect); in ssl3_connect()
192 assert(!ssl->server); in ssl3_connect()
199 ssl_do_info_callback(ssl, SSL_CB_HANDSHAKE_START, 1); in ssl3_connect()
209 if (!SSL_is_dtls(ssl) || ssl->d1->send_cookie) { in ssl3_connect()
212 !tls13_advance_key_schedule(hs, ssl->session->master_key, in ssl3_connect()
213 ssl->session->master_key_length) || in ssl3_connect()
215 !tls13_set_traffic_key(ssl, evp_aead_seal, in ssl3_connect()
232 assert(SSL_is_dtls(ssl)); in ssl3_connect()
237 if (ssl->d1->send_cookie) { in ssl3_connect()
[all …]
Dtls13_client.cc52 SSL *const ssl = hs->ssl; in do_process_hello_retry_request() local
53 if (ssl->s3->tmp.message_type != SSL3_MT_HELLO_RETRY_REQUEST) { in do_process_hello_retry_request()
60 CBS_init(&cbs, ssl->init_msg, ssl->init_num); in do_process_hello_retry_request()
67 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_DECODE_ERROR); in do_process_hello_retry_request()
82 ssl3_send_alert(ssl, SSL3_AL_FATAL, alert); in do_process_hello_retry_request()
92 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_DECODE_ERROR); in do_process_hello_retry_request()
105 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_DECODE_ERROR); in do_process_hello_retry_request()
112 tls1_get_grouplist(ssl, &groups, &groups_len); in do_process_hello_retry_request()
122 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_ILLEGAL_PARAMETER); in do_process_hello_retry_request()
130 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_ILLEGAL_PARAMETER); in do_process_hello_retry_request()
[all …]
Dhandshake_server.cc188 SSL *const ssl = hs->ssl; in ssl3_accept() local
191 assert(ssl->handshake_func == ssl3_accept); in ssl3_accept()
192 assert(ssl->server); in ssl3_accept()
199 ssl_do_info_callback(ssl, SSL_CB_HANDSHAKE_START, 1); in ssl3_accept()
204 ret = ssl->method->ssl_get_message(ssl); in ssl3_accept()
234 ssl->method->received_flight(ssl); in ssl3_accept()
243 if (ssl->session != NULL) { in ssl3_accept()
307 ret = ssl->method->read_change_cipher_spec(ssl); in ssl3_accept()
331 if (ssl->s3->tlsext_channel_id_valid) { in ssl3_accept()
346 ssl->method->received_flight(ssl); in ssl3_accept()
[all …]
Dd1_both.cc259 static int dtls1_is_current_message_complete(const SSL *ssl) { in dtls1_is_current_message_complete() argument
260 hm_fragment *frag = ssl->d1->incoming_messages[ssl->d1->handshake_read_seq % in dtls1_is_current_message_complete()
270 SSL *ssl, const struct hm_header_st *msg_hdr) { in dtls1_get_incoming_message() argument
271 if (msg_hdr->seq < ssl->d1->handshake_read_seq || in dtls1_get_incoming_message()
272 msg_hdr->seq - ssl->d1->handshake_read_seq >= SSL_MAX_HANDSHAKE_FLIGHT) { in dtls1_get_incoming_message()
277 hm_fragment *frag = ssl->d1->incoming_messages[idx]; in dtls1_get_incoming_message()
285 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_ILLEGAL_PARAMETER); in dtls1_get_incoming_message()
296 ssl->d1->incoming_messages[idx] = frag; in dtls1_get_incoming_message()
302 static int dtls1_process_handshake_record(SSL *ssl) { in dtls1_process_handshake_record() argument
303 SSL3_RECORD *rr = &ssl->s3->rrec; in dtls1_process_handshake_record()
[all …]
Dtls13_server.cc62 SSL *const ssl = hs->ssl; in resolve_ecdhe_secret() local
70 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_MISSING_EXTENSION); in resolve_ecdhe_secret()
81 ssl3_send_alert(ssl, SSL3_AL_FATAL, alert); in resolve_ecdhe_secret()
100 !CBB_add_u16(&contents, hs->ssl->version) || in ssl_ext_supported_versions_add_serverhello()
109 const SSL *ssl, const SSL_CLIENT_HELLO *client_hello) { in choose_tls13_cipher() argument
119 const uint16_t version = ssl3_protocol_version(ssl); in choose_tls13_cipher()
155 SSL *const ssl = hs->ssl; in add_new_session_tickets() local
166 ssl_session_rebase_time(ssl, session); in add_new_session_tickets()
175 if (!ssl->method->init_message(ssl, &cbb, &body, in add_new_session_tickets()
180 !ssl_encrypt_ticket(ssl, &ticket, session) || in add_new_session_tickets()
[all …]
Dssl_buffer.cc86 uint8_t *ssl_read_buffer(SSL *ssl) { in ssl_read_buffer() argument
87 return ssl->s3->read_buffer.buf + ssl->s3->read_buffer.offset; in ssl_read_buffer()
90 size_t ssl_read_buffer_len(const SSL *ssl) { in ssl_read_buffer_len() argument
91 return ssl->s3->read_buffer.len; in ssl_read_buffer_len()
94 static int dtls_read_buffer_next_packet(SSL *ssl) { in dtls_read_buffer_next_packet() argument
95 SSL3_BUFFER *buf = &ssl->s3->read_buffer; in dtls_read_buffer_next_packet()
105 int ret = BIO_read(ssl->rbio, buf->buf + buf->offset, (int)buf->cap); in dtls_read_buffer_next_packet()
107 ssl->rwstate = SSL_READING; in dtls_read_buffer_next_packet()
115 static int tls_read_buffer_extend_to(SSL *ssl, size_t len) { in tls_read_buffer_extend_to() argument
116 SSL3_BUFFER *buf = &ssl->s3->read_buffer; in tls_read_buffer_extend_to()
[all …]
Dtls13_both.cc37 SSL *const ssl = hs->ssl; in tls13_handshake() local
47 int ret = ssl->method->flush_flight(ssl); in tls13_handshake()
54 ssl->method->expect_flight(ssl); in tls13_handshake()
60 int ret = ssl->method->ssl_get_message(ssl); in tls13_handshake()
68 int ret = ssl->method->read_change_cipher_spec(ssl); in tls13_handshake()
76 if (ssl->s3->hs->can_early_read) { in tls13_handshake()
86 ssl->rwstate = SSL_X509_LOOKUP; in tls13_handshake()
91 ssl->rwstate = SSL_CHANNEL_ID_LOOKUP; in tls13_handshake()
96 ssl->rwstate = SSL_PRIVATE_KEY_OPERATION; in tls13_handshake()
101 ssl->rwstate = SSL_PENDING_TICKET; in tls13_handshake()
[all …]
Dd1_pkt.cc129 int dtls1_get_record(SSL *ssl) { in dtls1_get_record() argument
131 switch (ssl->s3->recv_shutdown) { in dtls1_get_record()
142 if (ssl_read_buffer_len(ssl) == 0) { in dtls1_get_record()
143 int read_ret = ssl_read_buffer_extend_to(ssl, 0 /* unused */); in dtls1_get_record()
144 if (read_ret < 0 && dtls1_is_timer_expired(ssl)) { in dtls1_get_record()
150 int timeout_ret = DTLSv1_handle_timeout(ssl); in dtls1_get_record()
160 assert(ssl_read_buffer_len(ssl) > 0); in dtls1_get_record()
166 dtls_open_record(ssl, &type, &body, &consumed, &alert, in dtls1_get_record()
167 ssl_read_buffer(ssl), ssl_read_buffer_len(ssl)); in dtls1_get_record()
168 ssl_read_buffer_consume(ssl, consumed); in dtls1_get_record()
[all …]
Dtls_record.cc141 static int ssl_needs_record_splitting(const SSL *ssl) { in ssl_needs_record_splitting() argument
143 return ssl->s3->aead_write_ctx != NULL && in ssl_needs_record_splitting()
144 ssl->s3->aead_write_ctx->version < TLS1_1_VERSION && in ssl_needs_record_splitting()
145 (ssl->mode & SSL_MODE_CBC_RECORD_SPLITTING) != 0 && in ssl_needs_record_splitting()
146 SSL_CIPHER_is_block_cipher(ssl->s3->aead_write_ctx->cipher); in ssl_needs_record_splitting()
163 size_t ssl_record_prefix_len(const SSL *ssl) { in ssl_record_prefix_len() argument
165 if (SSL_is_dtls(ssl)) { in ssl_record_prefix_len()
171 return header_len + SSL_AEAD_CTX_explicit_nonce_len(ssl->s3->aead_read_ctx); in ssl_record_prefix_len()
174 size_t ssl_seal_align_prefix_len(const SSL *ssl) { in ssl_seal_align_prefix_len() argument
175 if (SSL_is_dtls(ssl)) { in ssl_seal_align_prefix_len()
[all …]
Ds3_lib.cc165 int ssl3_new(SSL *ssl) { in ssl3_new() argument
172 s3->hs = ssl_handshake_new(ssl); in ssl3_new()
178 ssl->s3 = s3; in ssl3_new()
185 ssl->version = TLS1_2_VERSION; in ssl3_new()
189 void ssl3_free(SSL *ssl) { in ssl3_free() argument
190 if (ssl == NULL || ssl->s3 == NULL) { in ssl3_free()
194 ssl_read_buffer_clear(ssl); in ssl3_free()
195 ssl_write_buffer_clear(ssl); in ssl3_free()
197 SSL_SESSION_free(ssl->s3->established_session); in ssl3_free()
198 ssl_handshake_free(ssl->s3->hs); in ssl3_free()
[all …]
Dt1_lib.cc205 int ssl_client_hello_init(SSL *ssl, SSL_CLIENT_HELLO *out, const uint8_t *in, in ssl_client_hello_init() argument
208 out->ssl = ssl; in ssl_client_hello_init()
227 if (SSL_is_dtls(out->ssl)) { in ssl_client_hello_init()
312 void tls1_get_grouplist(SSL *ssl, const uint16_t **out_group_ids, in tls1_get_grouplist() argument
314 *out_group_ids = ssl->supported_group_list; in tls1_get_grouplist()
315 *out_group_ids_len = ssl->supported_group_list_len; in tls1_get_grouplist()
323 SSL *const ssl = hs->ssl; in tls1_get_shared_group() local
324 assert(ssl->server); in tls1_get_shared_group()
328 tls1_get_grouplist(ssl, &groups, &groups_len); in tls1_get_shared_group()
339 if (ssl->options & SSL_OP_CIPHER_SERVER_PREFERENCE) { in tls1_get_shared_group()
[all …]
Dssl_x509.cc161 static void check_ssl_x509_method(const SSL *ssl) { in check_ssl_x509_method() argument
162 assert(ssl == NULL || ssl->ctx->x509_method == &ssl_crypto_x509_method); in check_ssl_x509_method()
171 X509 *SSL_get_peer_certificate(const SSL *ssl) { in SSL_get_peer_certificate() argument
172 check_ssl_x509_method(ssl); in SSL_get_peer_certificate()
173 if (ssl == NULL) { in SSL_get_peer_certificate()
176 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_peer_certificate()
184 STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *ssl) { in STACK_OF()
185 check_ssl_x509_method(ssl); in STACK_OF()
186 if (ssl == NULL) { in STACK_OF()
189 SSL_SESSION *session = SSL_get_session(ssl); in STACK_OF()
[all …]
Dssl_privkey.cc97 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa) { in SSL_use_RSAPrivateKey() argument
115 ret = ssl_set_pkey(ssl->cert, pkey); in SSL_use_RSAPrivateKey()
121 int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, const uint8_t *der, size_t der_len) { in SSL_use_RSAPrivateKey_ASN1() argument
128 return SSL_use_RSAPrivateKey(ssl, rsa.get()); in SSL_use_RSAPrivateKey_ASN1()
131 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) { in SSL_use_PrivateKey() argument
137 return ssl_set_pkey(ssl->cert, pkey); in SSL_use_PrivateKey()
140 int SSL_use_PrivateKey_ASN1(int type, SSL *ssl, const uint8_t *der, in SSL_use_PrivateKey_ASN1() argument
155 int ret = SSL_use_PrivateKey(ssl, pkey); in SSL_use_PrivateKey_ASN1()
225 void SSL_set_private_key_method(SSL *ssl, in SSL_set_private_key_method() argument
227 ssl->cert->key_method = key_method; in SSL_set_private_key_method()
[all …]
Dinternal.h194 int ssl_get_version_range(const SSL *ssl, uint16_t *out_min_version, in OPENSSL_MSVC_PRAGMA()
214 uint16_t ssl3_protocol_version(const SSL *ssl); in OPENSSL_MSVC_PRAGMA()
526 size_t ssl_record_prefix_len(const SSL *ssl); in OPENSSL_MSVC_PRAGMA()
560 enum ssl_open_record_t tls_open_record(SSL *ssl, uint8_t *out_type, CBS *out, in OPENSSL_MSVC_PRAGMA()
566 enum ssl_open_record_t dtls_open_record(SSL *ssl, uint8_t *out_type, CBS *out, in OPENSSL_MSVC_PRAGMA()
581 size_t ssl_seal_align_prefix_len(const SSL *ssl); in OPENSSL_MSVC_PRAGMA()
594 int tls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, in OPENSSL_MSVC_PRAGMA()
604 size_t dtls_max_seal_overhead(const SSL *ssl, enum dtls1_use_epoch_t use_epoch); in OPENSSL_MSVC_PRAGMA()
608 size_t dtls_seal_prefix_len(const SSL *ssl, enum dtls1_use_epoch_t use_epoch); in OPENSSL_MSVC_PRAGMA()
614 int dtls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, in OPENSSL_MSVC_PRAGMA()
[all …]
Ddtls_method.cc73 static void dtls1_expect_flight(SSL *ssl) { dtls1_start_timer(ssl); } in dtls1_expect_flight() argument
75 static void dtls1_received_flight(SSL *ssl) { dtls1_stop_timer(ssl); } in dtls1_received_flight() argument
77 static int dtls1_set_read_state(SSL *ssl, SSL_AEAD_CTX *aead_ctx) { in dtls1_set_read_state() argument
79 if (dtls_has_incoming_messages(ssl)) { in dtls1_set_read_state()
81 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_UNEXPECTED_MESSAGE); in dtls1_set_read_state()
86 ssl->d1->r_epoch++; in dtls1_set_read_state()
87 OPENSSL_memset(&ssl->d1->bitmap, 0, sizeof(ssl->d1->bitmap)); in dtls1_set_read_state()
88 OPENSSL_memset(ssl->s3->read_sequence, 0, sizeof(ssl->s3->read_sequence)); in dtls1_set_read_state()
90 SSL_AEAD_CTX_free(ssl->s3->aead_read_ctx); in dtls1_set_read_state()
91 ssl->s3->aead_read_ctx = aead_ctx; in dtls1_set_read_state()
[all …]
Dt1_enc.cc327 SSL *const ssl = hs->ssl; in tls1_setup_key_block() local
332 SSL_SESSION *session = ssl->session; in tls1_setup_key_block()
341 session->cipher, ssl3_protocol_version(ssl), in tls1_setup_key_block()
342 SSL_is_dtls(ssl))) { in tls1_setup_key_block()
362 ssl->s3->tmp.new_mac_secret_len = (uint8_t)mac_secret_len; in tls1_setup_key_block()
363 ssl->s3->tmp.new_key_len = (uint8_t)key_len; in tls1_setup_key_block()
364 ssl->s3->tmp.new_fixed_iv_len = (uint8_t)fixed_iv_len; in tls1_setup_key_block()
366 size_t key_block_len = SSL_get_key_block_len(ssl); in tls1_setup_key_block()
374 if (!SSL_generate_key_block(ssl, keyblock, key_block_len)) { in tls1_setup_key_block()
386 SSL *const ssl = hs->ssl; in tls1_change_cipher_state() local
[all …]
Dbio_ssl.cc20 SSL *ssl = get_ssl(bio); in ssl_read() local
21 if (ssl == NULL) { in ssl_read()
27 const int ret = SSL_read(ssl, out, outl); in ssl_read()
29 switch (SSL_get_error(ssl, ret)) { in ssl_read()
60 SSL *ssl = get_ssl(bio); in ssl_write() local
61 if (ssl == NULL) { in ssl_write()
67 const int ret = SSL_write(ssl, out, outl); in ssl_write()
69 switch (SSL_get_error(ssl, ret)) { in ssl_write()
94 SSL *ssl = get_ssl(bio); in ssl_ctrl() local
95 if (ssl == NULL && cmd != BIO_C_SET_SSL) { in ssl_ctrl()
[all …]
/external/python/cpython2/Lib/test/
Dtest_ssl.py25 ssl = support.import_module("ssl") variable
27 PROTOCOLS = sorted(ssl._PROTOCOL_NAMES)
29 IS_LIBRESSL = ssl.OPENSSL_VERSION.startswith('LibreSSL')
30 IS_OPENSSL_1_1 = not IS_LIBRESSL and ssl.OPENSSL_VERSION_INFO >= (1, 1, 0)
91 ssl.sslwrap_simple(socket.socket(socket.AF_INET))
98 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock)
108 return ssl._OPENSSL_API_VERSION >= (0, 9, 8, 13, 15)
112 return ssl.OPENSSL_VERSION_INFO >= (0, 9, 7, 8, 15)
116 return ssl.OPENSSL_VERSION_INFO >= (0, 9, 8, 0, 15)
127 if ssl._OPENSSL_API_VERSION == (0, 9, 8, 9, 15):
[all …]
/external/boringssl/src/ssl/test/
Dbssl_shim.cc128 static bool SetTestConfig(SSL *ssl, const TestConfig *config) { in SetTestConfig() argument
129 return SSL_set_ex_data(ssl, g_config_index, (void *)config) == 1; in SetTestConfig()
132 static const TestConfig *GetTestConfig(const SSL *ssl) { in GetTestConfig() argument
133 return (const TestConfig *)SSL_get_ex_data(ssl, g_config_index); in GetTestConfig()
136 static bool SetTestState(SSL *ssl, std::unique_ptr<TestState> state) { in SetTestState() argument
138 if (SSL_set_ex_data(ssl, g_state_index, state.get()) == 1) { in SetTestState()
145 static TestState *GetTestState(const SSL *ssl) { in GetTestState() argument
146 return (TestState *)SSL_get_ex_data(ssl, g_state_index); in GetTestState()
298 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, in AsyncPrivateKeySign() argument
300 TestState *test_state = GetTestState(ssl); in AsyncPrivateKeySign()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DSslWrapper.java35 import javax.net.ssl.SSLException;
36 import javax.net.ssl.SSLHandshakeException;
37 import javax.net.ssl.X509KeyManager;
38 import javax.net.ssl.X509TrustManager;
52 private long ssl; field in SslWrapper
58 long ssl = NativeCrypto.SSL_new(ctx); in newInstance() local
59 return new SslWrapper(ssl, parameters, handshakeCallbacks, chooser, pskCallbacks); in newInstance()
62 private SslWrapper(long ssl, SSLParametersImpl parameters, in SslWrapper() argument
65 this.ssl = ssl; in SslWrapper()
72 long ssl() { in ssl() method in SslWrapper
[all …]
/external/boringssl/src/include/openssl/
Dssl.h220 OPENSSL_EXPORT void SSL_free(SSL *ssl);
225 OPENSSL_EXPORT SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
228 OPENSSL_EXPORT void SSL_set_connect_state(SSL *ssl);
231 OPENSSL_EXPORT void SSL_set_accept_state(SSL *ssl);
235 OPENSSL_EXPORT int SSL_is_server(const SSL *ssl);
238 OPENSSL_EXPORT int SSL_is_dtls(const SSL *ssl);
258 OPENSSL_EXPORT void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio);
265 OPENSSL_EXPORT void SSL_set0_rbio(SSL *ssl, BIO *rbio);
272 OPENSSL_EXPORT void SSL_set0_wbio(SSL *ssl, BIO *wbio);
275 OPENSSL_EXPORT BIO *SSL_get_rbio(const SSL *ssl);
[all …]

12345678910>>...18