Home
last modified time | relevance | path

Searched refs:connssl (Results 1 – 14 of 14) sorted by relevance

/third_party/curl/lib/vtls/
Dmesalink.c71 #define BACKEND connssl->backend
96 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mesalink_connect_step1() local
107 if(connssl->state == ssl_connection_complete) in mesalink_connect_step1()
287 connssl->connecting_state = ssl_connect_2; in mesalink_connect_step1()
296 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mesalink_connect_step2() local
306 connssl->connecting_state = ssl_connect_2_reading; in mesalink_connect_step2()
327 connssl->connecting_state = ssl_connect_3; in mesalink_connect_step2()
340 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mesalink_connect_step3() local
342 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); in mesalink_connect_step3()
379 connssl->connecting_state = ssl_connect_done; in mesalink_connect_step3()
[all …]
Dwolfssl.c214 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in wolfssl_connect_step1() local
215 struct ssl_backend_data *backend = connssl->backend; in wolfssl_connect_step1()
225 if(connssl->state == ssl_connection_complete) in wolfssl_connect_step1()
512 connssl->connecting_state = ssl_connect_2; in wolfssl_connect_step1()
522 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in wolfssl_connect_step2() local
523 struct ssl_backend_data *backend = connssl->backend; in wolfssl_connect_step2()
569 connssl->connecting_state = ssl_connect_2_reading; in wolfssl_connect_step2()
573 connssl->connecting_state = ssl_connect_2_writing; in wolfssl_connect_step2()
707 connssl->connecting_state = ssl_connect_3; in wolfssl_connect_step2()
725 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in wolfssl_connect_step3() local
[all …]
Dbearssl.c300 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_connect_step1() local
301 struct ssl_backend_data *backend = connssl->backend; in bearssl_connect_step1()
423 connssl->connecting_state = ssl_connect_2; in bearssl_connect_step1()
432 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_run_until() local
433 struct ssl_backend_data *backend = connssl->backend; in bearssl_run_until()
448 if(connssl->state != ssl_connection_complete) { in bearssl_run_until()
478 if(connssl->state != ssl_connection_complete) in bearssl_run_until()
479 connssl->connecting_state = ssl_connect_2_writing; in bearssl_run_until()
495 if(connssl->state != ssl_connection_complete) in bearssl_run_until()
496 connssl->connecting_state = ssl_connect_2_reading; in bearssl_run_until()
[all …]
Dmbedtls.c206 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in set_ssl_version_min_max() local
207 struct ssl_backend_data *backend = connssl->backend; in set_ssl_version_min_max()
251 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mbed_connect_step1() local
252 struct ssl_backend_data *backend = connssl->backend; in mbed_connect_step1()
548 connssl->connecting_state = ssl_connect_2; in mbed_connect_step1()
558 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mbed_connect_step2() local
559 struct ssl_backend_data *backend = connssl->backend; in mbed_connect_step2()
569 connssl->connecting_state = ssl_connect_2_reading; in mbed_connect_step2()
573 connssl->connecting_state = ssl_connect_2_writing; in mbed_connect_step2()
707 connssl->connecting_state = ssl_connect_3; in mbed_connect_step2()
[all …]
Drustls.c66 const struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in cr_data_pending() local
67 struct ssl_backend_data *backend = connssl->backend; in cr_data_pending()
119 struct ssl_connect_data *const connssl = &conn->ssl[sockindex]; in cr_recv() local
120 struct ssl_backend_data *const backend = connssl->backend; in cr_recv()
212 struct ssl_connect_data *const connssl = &conn->ssl[sockindex]; in cr_send() local
213 struct ssl_backend_data *const backend = connssl->backend; in cr_send()
386 struct ssl_connect_data *const connssl = &conn->ssl[sockindex]; in cr_connect_nonblocking() local
388 struct ssl_backend_data *const backend = connssl->backend; in cr_connect_nonblocking()
398 if(ssl_connection_none == connssl->state) { in cr_connect_nonblocking()
399 result = cr_init_backend(data, conn, connssl->backend); in cr_connect_nonblocking()
[all …]
Dgskit.c110 #define BACKEND connssl->backend
504 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in cancel_async_handshake() local
512 static void close_async_handshake(struct ssl_connect_data *connssl) in close_async_handshake() argument
522 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in pipe_ssloverssl() local
532 if(!connssl->use || !connproxyssl->use) in pipe_ssloverssl()
596 static void close_one(struct ssl_connect_data *connssl, struct Curl_easy *data, in close_one() argument
618 close_async_handshake(connssl); in close_one()
626 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in gskit_send() local
651 struct ssl_connect_data *connssl = &conn->ssl[num]; in gskit_recv() local
710 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in gskit_connect_step1() local
[all …]
Dgtls.c203 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in handshake() local
204 struct ssl_backend_data *backend = connssl->backend; in handshake()
222 if(connssl->connecting_state == ssl_connect_2_reading in handshake()
223 || connssl->connecting_state == ssl_connect_2_writing) { in handshake()
226 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in handshake()
228 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in handshake()
253 connssl->connecting_state = in handshake()
288 connssl->connecting_state = ssl_connect_1; in handshake()
388 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in gtls_connect_step1() local
389 struct ssl_backend_data *backend = connssl->backend; in gtls_connect_step1()
[all …]
Dnss.c472 static CURLcode nss_create_object(struct ssl_connect_data *connssl, in nss_create_object() argument
488 struct ssl_backend_data *backend = connssl->backend; in nss_create_object()
1109 static CURLcode cmp_peer_pubkey(struct ssl_connect_data *connssl, in cmp_peer_pubkey() argument
1113 struct ssl_backend_data *backend = connssl->backend; in cmp_peer_pubkey()
1165 struct ssl_connect_data *connssl = (struct ssl_connect_data *)arg; in SelectClientCert() local
1166 struct ssl_backend_data *backend = connssl->backend; in SelectClientCert()
1253 struct ssl_connect_data *connssl = (struct ssl_connect_data *)secret; in nss_update_connecting_state() local
1258 switch(connssl->connecting_state) { in nss_update_connecting_state()
1269 connssl->connecting_state = state; in nss_update_connecting_state()
1533 struct ssl_connect_data *connssl = &conn->ssl[FIRSTSOCKET]; in nss_check_cxn() local
[all …]
Dsectransp.c836 struct ssl_connect_data *connssl = (struct ssl_connect_data *)connection; in SocketRead() local
837 struct ssl_backend_data *backend = connssl->backend; in SocketRead()
897 struct ssl_connect_data *connssl = (struct ssl_connect_data *)connection; in SocketWrite() local
898 struct ssl_backend_data *backend = connssl->backend; in SocketWrite()
1371 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in set_ssl_version_min_max() local
1372 struct ssl_backend_data *backend = connssl->backend; in set_ssl_version_min_max()
1663 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local
1664 struct ssl_backend_data *backend = connssl->backend;
2130 err = SSLSetConnection(backend->ssl_ctx, connssl);
2136 connssl->connecting_state = ssl_connect_2;
[all …]
Dopenssl.c1398 struct ssl_connect_data *connssl) in ossl_closeone() argument
1400 struct ssl_backend_data *backend = connssl->backend; in ossl_closeone()
1441 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in ossl_shutdown() local
1449 struct ssl_backend_data *backend = connssl->backend; in ossl_shutdown()
1844 struct ssl_connect_data *connssl) in verifystatus() argument
1854 struct ssl_backend_data *backend = connssl->backend; in verifystatus()
2114 struct ssl_connect_data *connssl = &conn->ssl[0]; in ossl_trace() local
2115 struct ssl_backend_data *backend = connssl->backend; in ossl_trace()
2399 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in set_ssl_version_min_max_legacy() local
2592 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in ossl_connect_step1() local
[all …]
Dschannel.c144 #define BACKEND connssl->backend
421 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_acquire_credential_handle() local
757 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_step1() local
1012 connssl->connecting_state = ssl_connect_2; in schannel_connect_step1()
1023 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_step2() local
1035 doread = (connssl->connecting_state != ssl_connect_2_writing) ? TRUE : FALSE; in schannel_connect_step2()
1097 if(connssl->connecting_state != ssl_connect_2_writing) in schannel_connect_step2()
1098 connssl->connecting_state = ssl_connect_2_reading; in schannel_connect_step2()
1159 connssl->connecting_state = ssl_connect_2_reading; in schannel_connect_step2()
1171 connssl->connecting_state = ssl_connect_2_writing; in schannel_connect_step2()
[all …]
Dvtls.c668 struct ssl_connect_data *connssl = &conn->ssl[FIRSTSOCKET]; in Curl_ssl_getsock() local
670 if(connssl->connecting_state == ssl_connect_2_writing) { in Curl_ssl_getsock()
675 if(connssl->connecting_state == ssl_connect_2_reading) { in Curl_ssl_getsock()
1237 static void *multissl_get_internals(struct ssl_connect_data *connssl, in multissl_get_internals() argument
1242 return Curl_ssl->get_internals(connssl, info); in multissl_get_internals()
Dschannel_verify.c54 #define BACKEND connssl->backend
572 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in Curl_verify_certificate() local
Dvtls.h74 void *(*get_internals)(struct ssl_connect_data *connssl, CURLINFO info);