Home
last modified time | relevance | path

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

/external/curl/lib/vtls/
Dmesalink.c71 #define BACKEND connssl->backend
96 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mesalink_connect_step1() local
108 if(connssl->state == ssl_connection_complete) in mesalink_connect_step1()
288 connssl->connecting_state = ssl_connect_2; in mesalink_connect_step1()
297 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mesalink_connect_step2() local
307 connssl->connecting_state = ssl_connect_2_reading; in mesalink_connect_step2()
328 connssl->connecting_state = ssl_connect_3; in mesalink_connect_step2()
341 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mesalink_connect_step3() local
343 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); in mesalink_connect_step3()
377 connssl->connecting_state = ssl_connect_done; in mesalink_connect_step3()
[all …]
Dwolfssl.c99 #define BACKEND connssl->backend
126 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in wolfssl_connect_step1() local
136 if(connssl->state == ssl_connection_complete) in wolfssl_connect_step1()
417 connssl->connecting_state = ssl_connect_2; in wolfssl_connect_step1()
428 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in wolfssl_connect_step2() local
453 connssl->connecting_state = ssl_connect_2_reading; in wolfssl_connect_step2()
457 connssl->connecting_state = ssl_connect_2_writing; in wolfssl_connect_step2()
592 connssl->connecting_state = ssl_connect_3; in wolfssl_connect_step2()
611 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in wolfssl_connect_step3() local
613 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); in wolfssl_connect_step3()
[all …]
Dpolarssl.c84 #define BACKEND connssl->backend
178 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in set_ssl_version_min_max() local
221 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in polarssl_connect_step1() local
445 connssl->connecting_state = ssl_connect_2; in polarssl_connect_step1()
456 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in polarssl_connect_step2() local
476 connssl->connecting_state = ssl_connect_2_reading; in polarssl_connect_step2()
480 connssl->connecting_state = ssl_connect_2_writing; in polarssl_connect_step2()
602 connssl->connecting_state = ssl_connect_3; in polarssl_connect_step2()
613 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in polarssl_connect_step3() local
616 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); in polarssl_connect_step3()
[all …]
Dmbedtls.c78 #define BACKEND connssl->backend
198 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in set_ssl_version_min_max() local
243 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in mbed_connect_step1() local
527 connssl->connecting_state = ssl_connect_2; in mbed_connect_step1()
538 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; in mbed_connect_step2() local
550 connssl->connecting_state = ssl_connect_2_reading; in mbed_connect_step2()
554 connssl->connecting_state = ssl_connect_2_writing; in mbed_connect_step2()
692 connssl->connecting_state = ssl_connect_3; in mbed_connect_step2()
703 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in mbed_connect_step3() local
706 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); in mbed_connect_step3()
[all …]
Dgskit.c108 #define BACKEND connssl->backend
502 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in cancel_async_handshake() local
510 static void close_async_handshake(struct ssl_connect_data *connssl) in close_async_handshake() argument
519 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in pipe_ssloverssl() local
530 if(!connssl->use || !connproxyssl->use) in pipe_ssloverssl()
591 static void close_one(struct ssl_connect_data *connssl, in close_one() argument
611 close_async_handshake(connssl); in close_one()
618 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in gskit_send() local
643 struct ssl_connect_data *connssl = &conn->ssl[num]; in gskit_recv() local
703 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in gskit_connect_step1() local
[all …]
Dschannel.c149 #define BACKEND connssl->backend
419 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_step1() local
858 connssl->connecting_state = ssl_connect_2; in schannel_connect_step1()
869 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in schannel_connect_step2() local
882 doread = (connssl->connecting_state != ssl_connect_2_writing) ? TRUE : FALSE; in schannel_connect_step2()
944 if(connssl->connecting_state != ssl_connect_2_writing) in schannel_connect_step2()
945 connssl->connecting_state = ssl_connect_2_reading; in schannel_connect_step2()
1006 connssl->connecting_state = ssl_connect_2_reading; in schannel_connect_step2()
1018 connssl->connecting_state = ssl_connect_2_writing; in schannel_connect_step2()
1114 connssl->connecting_state = ssl_connect_2_reading; in schannel_connect_step2()
[all …]
Dsectransp.c141 #define BACKEND connssl->backend
203 struct ssl_connect_data *connssl = (struct ssl_connect_data *)connection; in SocketRead() local
263 struct ssl_connect_data *connssl = (struct ssl_connect_data *)connection; in SocketWrite() local
1278 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in set_ssl_version_min_max() local
1375 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local
1968 err = SSLSetConnection(BACKEND->ssl_ctx, connssl);
1974 connssl->connecting_state = ssl_connect_2;
2348 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local
2355 DEBUGASSERT(ssl_connect_2 == connssl->connecting_state
2356 || ssl_connect_2_reading == connssl->connecting_state
[all …]
Dopenssl.c235 #define BACKEND connssl->backend
1268 static void ossl_close(struct ssl_connect_data *connssl) in ossl_close() argument
1299 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in Curl_ossl_shutdown() local
1703 struct ssl_connect_data *connssl) in verifystatus() argument
2268 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in set_ssl_version_min_max_legacy() local
2392 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in ossl_connect_step1() local
2419 DEBUGASSERT(ssl_connect_1 == connssl->connecting_state); in ossl_connect_step1()
2895 connssl->connecting_state = ssl_connect_2; in ossl_connect_step1()
2904 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in ossl_connect_step2() local
2907 DEBUGASSERT(ssl_connect_2 == connssl->connecting_state in ossl_connect_step2()
[all …]
Dnss.c90 #define BACKEND connssl->backend
449 static CURLcode nss_create_object(struct ssl_connect_data *connssl, in nss_create_object() argument
1083 static CURLcode cmp_peer_pubkey(struct ssl_connect_data *connssl, in cmp_peer_pubkey() argument
1138 struct ssl_connect_data *connssl = (struct ssl_connect_data *)arg; in SelectClientCert() local
1225 struct ssl_connect_data *connssl = (struct ssl_connect_data *)secret; in nss_update_connecting_state() local
1230 switch(connssl->connecting_state) { in nss_update_connecting_state()
1241 connssl->connecting_state = state; in nss_update_connecting_state()
1505 struct ssl_connect_data *connssl = &conn->ssl[FIRSTSOCKET]; in Curl_nss_check_cxn() local
1521 static void nss_close(struct ssl_connect_data *connssl) in nss_close() argument
1552 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in Curl_nss_close() local
[all …]
Dgtls.c114 #define BACKEND connssl->backend
286 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in handshake() local
304 if(connssl->connecting_state == ssl_connect_2_reading in handshake()
305 || connssl->connecting_state == ssl_connect_2_writing) { in handshake()
308 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in handshake()
310 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in handshake()
335 connssl->connecting_state = in handshake()
370 connssl->connecting_state = ssl_connect_1; in handshake()
525 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in gtls_connect_step1() local
561 if(connssl->state == ssl_connection_complete) in gtls_connect_step1()
[all …]
Dvtls.c523 struct ssl_connect_data *connssl = &conn->ssl[FIRSTSOCKET]; in Curl_ssl_getsock() local
525 if(connssl->connecting_state == ssl_connect_2_writing) { in Curl_ssl_getsock()
530 if(connssl->connecting_state == ssl_connect_2_reading) { in Curl_ssl_getsock()
1127 static void *Curl_multissl_get_internals(struct ssl_connect_data *connssl, in Curl_multissl_get_internals() argument
1132 return Curl_ssl->get_internals(connssl, info); in Curl_multissl_get_internals()
Dschannel_verify.c54 #define BACKEND connssl->backend
419 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in Curl_verify_certificate() local
Dvtls.h62 void *(*get_internals)(struct ssl_connect_data *connssl, CURLINFO info);