Lines Matching refs:ssl
91 mbedtls_ssl_context ssl; member
536 if(data->set.ssl.certinfo) in mbed_verify_cb()
817 mbedtls_ssl_init(&backend->ssl);
831 ret = mbedtls_ssl_setup(&backend->ssl, &backend->config);
839 mbedtls_ssl_set_bio(&backend->ssl, cf,
892 ret = mbedtls_ssl_set_session(&backend->ssl, &session);
916 if(mbedtls_ssl_set_hostname(&backend->ssl, connssl->peer.sni ?
958 if(data->set.ssl.fsslctx) {
959 CURLcode result = (*data->set.ssl.fsslctx)(data, &backend->config,
960 data->set.ssl.fsslctxp);
989 ret = mbedtls_ssl_handshake(&backend->ssl);
1007 mbedtls_ssl_get_version_number(&backend->ssl));
1020 mbedtls_ssl_get_ciphersuite_id_from_ssl(&backend->ssl);
1023 mbedtls_ssl_get_version(&backend->ssl), cipher_str);
1027 mbedtls_ssl_get_version(&backend->ssl));
1037 peercert = mbedtls_ssl_get_peer_cert(&backend->ssl);
1105 const char *proto = mbedtls_ssl_get_alpn_protocol(&backend->ssl);
1141 ret = mbedtls_ssl_get_session(&backend->ssl, &session);
1187 ret = mbedtls_ssl_write(&backend->ssl, (unsigned char *)mem, len);
1234 ret = mbedtls_ssl_close_notify(&backend->ssl);
1258 ret = mbedtls_ssl_read(&backend->ssl, buf, sizeof(buf));
1262 ret = mbedtls_ssl_read(&backend->ssl, buf, sizeof(buf));
1315 mbedtls_ssl_free(&backend->ssl);
1336 ret = mbedtls_ssl_read(&backend->ssl, (unsigned char *)buf,
1505 if(mbedtls_ssl_get_version_number(&backend->ssl) <=
1598 return mbedtls_ssl_get_bytes_avail(&backend->ssl) != 0;
1629 return &backend->ssl;