/external/curl/lib/vtls/ |
D | schannel.c | 148 #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 …]
|
D | mbedtls.c | 77 #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 …]
|
D | mesalink.c | 71 #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 …]
|
D | polarssl.c | 83 #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 …]
|
D | cyassl.c | 120 #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 …]
|
D | gskit.c | 106 #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 …]
|
D | sectransp.c | 140 #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 …]
|
D | openssl.c | 234 #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 …]
|
D | gtls.c | 113 #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 …]
|
D | nss.c | 89 #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/ |
D | riscv_corenote.c | 40 # define BACKEND riscv_ macro 43 # define BACKEND riscv64_ macro
|
D | sparc_corenote.c | 42 # define BACKEND sparc_ macro 45 # define BACKEND sparc64_ macro
|
D | x86_64_corenote.c | 42 # define BACKEND x86_64_ macro 45 # define BACKEND x32_ macro
|
D | ppc_corenote.c | 41 # define BACKEND ppc_ macro 44 # define BACKEND ppc64_ macro
|
D | s390_corenote.c | 41 # define BACKEND s390_ macro 44 # define BACKEND s390x_ macro
|
D | arm_auxv.c | 33 #define BACKEND arm_ macro
|
D | alpha_auxv.c | 33 #define BACKEND alpha_ macro
|
D | sparc_auxv.c | 33 #define BACKEND sparc_ macro
|
D | ppc_auxv.c | 33 #define BACKEND ppc_ macro
|
D | i386_auxv.c | 33 #define BACKEND i386_ macro
|
D | bpf_symbol.c | 37 #define BACKEND bpf_ macro
|
D | i386_syscall.c | 33 #define BACKEND i386_ macro
|
D | x86_64_syscall.c | 33 #define BACKEND x86_64_ macro
|
D | tilegx_symbol.c | 37 #define BACKEND tilegx_ macro
|
D | ppc_syscall.c | 33 #define BACKEND ppc_ macro
|