Home
last modified time | relevance | path

Searched refs:BACKEND (Results 1 – 25 of 121) sorted by relevance

12345

/external/curl/lib/vtls/
Dschannel.c148 #define BACKEND connssl->backend macro
454 BACKEND->use_alpn = conn->bits.tls_enable_alpn && in schannel_connect_step1()
460 BACKEND->use_alpn = false; in schannel_connect_step1()
467 BACKEND->use_manual_cred_validation = true; in schannel_connect_step1()
476 BACKEND->use_manual_cred_validation = true; in schannel_connect_step1()
485 BACKEND->use_manual_cred_validation = false; in schannel_connect_step1()
494 BACKEND->cred = NULL; in schannel_connect_step1()
500 BACKEND->cred = old_cred; in schannel_connect_step1()
504 BACKEND->cred->refcount++; in schannel_connect_step1()
507 BACKEND->cred->refcount)); in schannel_connect_step1()
[all …]
Dmbedtls.c77 #define BACKEND connssl->backend macro
229 mbedtls_ssl_conf_min_version(&BACKEND->config, MBEDTLS_SSL_MAJOR_VERSION_3, in set_ssl_version_min_max()
231 mbedtls_ssl_conf_max_version(&BACKEND->config, MBEDTLS_SSL_MAJOR_VERSION_3, in set_ssl_version_min_max()
263 mbedtls_ctr_drbg_init(&BACKEND->ctr_drbg); in mbed_connect_step1()
265 ret = mbedtls_ctr_drbg_seed(&BACKEND->ctr_drbg, entropy_func_mutex, in mbed_connect_step1()
275 mbedtls_entropy_init(&BACKEND->entropy); in mbed_connect_step1()
276 mbedtls_ctr_drbg_init(&BACKEND->ctr_drbg); in mbed_connect_step1()
278 ret = mbedtls_ctr_drbg_seed(&BACKEND->ctr_drbg, mbedtls_entropy_func, in mbed_connect_step1()
279 &BACKEND->entropy, NULL, 0); in mbed_connect_step1()
290 mbedtls_x509_crt_init(&BACKEND->cacert); in mbed_connect_step1()
[all …]
Dmesalink.c71 #define BACKEND connssl->backend macro
135 if(BACKEND->ctx) in mesalink_connect_step1()
136 SSL_CTX_free(BACKEND->ctx); in mesalink_connect_step1()
137 BACKEND->ctx = SSL_CTX_new(req_method); in mesalink_connect_step1()
139 if(!BACKEND->ctx) { in mesalink_connect_step1()
145 BACKEND->ctx, verifypeer ? SSL_VERIFY_PEER : SSL_VERIFY_NONE, NULL); in mesalink_connect_step1()
148 if(!SSL_CTX_load_verify_locations(BACKEND->ctx, ssl_cafile, ssl_capath)) { in mesalink_connect_step1()
174 if(!SSL_CTX_set_cipher_list(BACKEND->ctx, ciphers)) { in mesalink_connect_step1()
182 if(BACKEND->handle) in mesalink_connect_step1()
183 SSL_free(BACKEND->handle); in mesalink_connect_step1()
[all …]
Dpolarssl.c83 #define BACKEND connssl->backend macro
209 ssl_set_min_version(&BACKEND->ssl, SSL_MAJOR_VERSION_3, ssl_min_ver); in set_ssl_version_min_max()
210 ssl_set_max_version(&BACKEND->ssl, SSL_MAJOR_VERSION_3, ssl_max_ver); in set_ssl_version_min_max()
238 if((ret = ctr_drbg_init(&BACKEND->ctr_drbg, entropy_func_mutex, &entropy, in polarssl_connect_step1()
245 entropy_init(&BACKEND->entropy); in polarssl_connect_step1()
247 if((ret = ctr_drbg_init(&BACKEND->ctr_drbg, entropy_func, &BACKEND->entropy, in polarssl_connect_step1()
256 memset(&BACKEND->cacert, 0, sizeof(x509_crt)); in polarssl_connect_step1()
259 ret = x509_crt_parse_file(&BACKEND->cacert, in polarssl_connect_step1()
273 ret = x509_crt_parse_path(&BACKEND->cacert, capath); in polarssl_connect_step1()
286 memset(&BACKEND->clicert, 0, sizeof(x509_crt)); in polarssl_connect_step1()
[all …]
Dcyassl.c120 #define BACKEND connssl->backend macro
228 if(BACKEND->ctx) in cyassl_connect_step1()
229 SSL_CTX_free(BACKEND->ctx); in cyassl_connect_step1()
230 BACKEND->ctx = SSL_CTX_new(req_method); in cyassl_connect_step1()
232 if(!BACKEND->ctx) { in cyassl_connect_step1()
248 if((wolfSSL_CTX_SetMinVersion(BACKEND->ctx, WOLFSSL_TLSV1) != 1) && in cyassl_connect_step1()
249 (wolfSSL_CTX_SetMinVersion(BACKEND->ctx, WOLFSSL_TLSV1_1) != 1) && in cyassl_connect_step1()
250 (wolfSSL_CTX_SetMinVersion(BACKEND->ctx, WOLFSSL_TLSV1_2) != 1) in cyassl_connect_step1()
252 && (wolfSSL_CTX_SetMinVersion(BACKEND->ctx, WOLFSSL_TLSV1_3) != 1) in cyassl_connect_step1()
264 if(!SSL_CTX_set_cipher_list(BACKEND->ctx, ciphers)) { in cyassl_connect_step1()
[all …]
Dgskit.c106 #define BACKEND connssl->backend macro
504 QsoWaitForIOCompletion(BACKEND->iocport, &cstat, (struct timeval *) NULL); in cancel_async_handshake()
510 QsoDestroyIOCompletionPort(BACKEND->iocport); in close_async_handshake()
511 BACKEND->iocport = -1; in close_async_handshake()
629 FD_SET(BACKEND->remotefd, &fds_write); in pipe_ssloverssl()
630 n = BACKEND->remotefd; in pipe_ssloverssl()
633 FD_SET(BACKEND->remotefd, &fds_read); in pipe_ssloverssl()
634 n = BACKEND->remotefd; in pipe_ssloverssl()
643 if(FD_ISSET(BACKEND->remotefd, &fds_write)) { in pipe_ssloverssl()
651 i = write(BACKEND->remotefd, buf, n); in pipe_ssloverssl()
[all …]
Dsectransp.c140 #define BACKEND connssl->backend macro
203 int sock = BACKEND->ssl_sockfd; in SocketRead()
232 BACKEND->ssl_direction = false; in SocketRead()
263 int sock = BACKEND->ssl_sockfd; in SocketWrite()
283 BACKEND->ssl_direction = true; in SocketWrite()
1328 (void)SSLSetProtocolVersionMin(BACKEND->ssl_ctx, darwin_ver_min); in set_ssl_version_min_max()
1329 (void)SSLSetProtocolVersionMax(BACKEND->ssl_ctx, darwin_ver_max); in set_ssl_version_min_max()
1335 (void)SSLSetProtocolVersionEnabled(BACKEND->ssl_ctx, in set_ssl_version_min_max()
1341 (void)SSLSetProtocolVersionEnabled(BACKEND->ssl_ctx, in set_ssl_version_min_max()
1346 (void)SSLSetProtocolVersionEnabled(BACKEND->ssl_ctx, in set_ssl_version_min_max()
[all …]
Dopenssl.c234 #define BACKEND connssl->backend macro
1271 if(BACKEND->handle) { in ossl_close()
1272 (void)SSL_shutdown(BACKEND->handle); in ossl_close()
1273 SSL_set_connect_state(BACKEND->handle); in ossl_close()
1275 SSL_free(BACKEND->handle); in ossl_close()
1276 BACKEND->handle = NULL; in ossl_close()
1278 if(BACKEND->ctx) { in ossl_close()
1279 SSL_CTX_free(BACKEND->ctx); in ossl_close()
1280 BACKEND->ctx = NULL; in ossl_close()
1316 (void)SSL_shutdown(BACKEND->handle); in Curl_ossl_shutdown()
[all …]
Dgtls.c113 #define BACKEND connssl->backend macro
286 gnutls_session_t session = BACKEND->session; in handshake()
576 rc = gnutls_certificate_allocate_credentials(&BACKEND->cred); in gtls_connect_step1()
587 &BACKEND->srp_client_cred); in gtls_connect_step1()
594 rc = gnutls_srp_set_client_credentials(BACKEND->srp_client_cred, in gtls_connect_step1()
607 gnutls_certificate_set_verify_flags(BACKEND->cred, in gtls_connect_step1()
610 rc = gnutls_certificate_set_x509_trust_file(BACKEND->cred, in gtls_connect_step1()
627 rc = gnutls_certificate_set_x509_trust_dir(BACKEND->cred, in gtls_connect_step1()
646 gnutls_certificate_set_x509_system_trust(BACKEND->cred); in gtls_connect_step1()
652 rc = gnutls_certificate_set_x509_crl_file(BACKEND->cred, in gtls_connect_step1()
[all …]
Dnss.c89 #define BACKEND connssl->backend macro
489 if(insert_wrapped_ptr(&BACKEND->obj_list, obj) != CURLE_OK) { in nss_create_object()
496 BACKEND->obj_clicert = obj; in nss_create_object()
1071 struct Curl_easy *data = BACKEND->data; in cmp_peer_pubkey()
1079 cert = SSL_PeerCertificate(BACKEND->handle); in cmp_peer_pubkey()
1123 struct Curl_easy *data = BACKEND->data; in SelectClientCert()
1124 const char *nickname = BACKEND->client_nickname; in SelectClientCert()
1127 if(BACKEND->obj_clicert) { in SelectClientCert()
1140 if(PK11_ReadRawAttribute(PK11_TypeGeneric, BACKEND->obj_clicert, CKA_VALUE, in SelectClientCert()
1488 PR_Recv(BACKEND->handle, (void *)&buf, 1, PR_MSG_PEEK, in Curl_nss_check_cxn()
[all …]
/external/elfutils/backends/
Driscv_corenote.c40 # define BACKEND riscv_ macro
43 # define BACKEND riscv64_ macro
Dsparc_corenote.c42 # define BACKEND sparc_ macro
45 # define BACKEND sparc64_ macro
Dx86_64_corenote.c42 # define BACKEND x86_64_ macro
45 # define BACKEND x32_ macro
Dppc_corenote.c41 # define BACKEND ppc_ macro
44 # define BACKEND ppc64_ macro
Ds390_corenote.c41 # define BACKEND s390_ macro
44 # define BACKEND s390x_ macro
Darm_auxv.c33 #define BACKEND arm_ macro
Dalpha_auxv.c33 #define BACKEND alpha_ macro
Dsparc_auxv.c33 #define BACKEND sparc_ macro
Dppc_auxv.c33 #define BACKEND ppc_ macro
Di386_auxv.c33 #define BACKEND i386_ macro
Dbpf_symbol.c37 #define BACKEND bpf_ macro
Di386_syscall.c33 #define BACKEND i386_ macro
Dx86_64_syscall.c33 #define BACKEND x86_64_ macro
Dtilegx_symbol.c37 #define BACKEND tilegx_ macro
Dppc_syscall.c33 #define BACKEND ppc_ macro

12345