Lines Matching refs:connssl
300 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()
509 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_connect_step2() local
510 struct ssl_backend_data *backend = connssl->backend; in bearssl_connect_step2()
522 connssl->connecting_state = ssl_connect_3; in bearssl_connect_step2()
530 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_connect_step3() local
531 struct ssl_backend_data *backend = connssl->backend; in bearssl_connect_step3()
534 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); in bearssl_connect_step3()
584 connssl->connecting_state = ssl_connect_done; in bearssl_connect_step3()
593 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_send() local
594 struct ssl_backend_data *backend = connssl->backend; in bearssl_send()
626 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_recv() local
627 struct ssl_backend_data *backend = connssl->backend; in bearssl_recv()
652 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_connect_common() local
658 if(ssl_connection_complete == connssl->state) { in bearssl_connect_common()
663 if(ssl_connect_1 == connssl->connecting_state) { in bearssl_connect_common()
669 while(ssl_connect_2 == connssl->connecting_state || in bearssl_connect_common()
670 ssl_connect_2_reading == connssl->connecting_state || in bearssl_connect_common()
671 ssl_connect_2_writing == connssl->connecting_state) { in bearssl_connect_common()
682 if(ssl_connect_2_reading == connssl->connecting_state || in bearssl_connect_common()
683 ssl_connect_2_writing == connssl->connecting_state) { in bearssl_connect_common()
686 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in bearssl_connect_common()
688 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in bearssl_connect_common()
719 (ssl_connect_2 == connssl->connecting_state || in bearssl_connect_common()
720 ssl_connect_2_reading == connssl->connecting_state || in bearssl_connect_common()
721 ssl_connect_2_writing == connssl->connecting_state))) in bearssl_connect_common()
725 if(ssl_connect_3 == connssl->connecting_state) { in bearssl_connect_common()
731 if(ssl_connect_done == connssl->connecting_state) { in bearssl_connect_common()
732 connssl->state = ssl_connection_complete; in bearssl_connect_common()
741 connssl->connecting_state = ssl_connect_1; in bearssl_connect_common()
754 const struct ssl_connect_data *connssl = &conn->ssl[connindex]; in bearssl_data_pending() local
755 struct ssl_backend_data *backend = connssl->backend; in bearssl_data_pending()
801 static void *bearssl_get_internals(struct ssl_connect_data *connssl, in bearssl_get_internals() argument
804 struct ssl_backend_data *backend = connssl->backend; in bearssl_get_internals()
811 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in bearssl_close() local
812 struct ssl_backend_data *backend = connssl->backend; in bearssl_close()