Home
last modified time | relevance | path

Searched refs:cipher_list (Results 1 – 24 of 24) sorted by relevance

/external/boringssl/src/ssl/
Dhandoff.cc112 ssl->config->cipher_list ? ssl->config->cipher_list->ciphers.get() in apply_remote_features()
113 : ssl->ctx->cipher_list->ciphers.get(); in apply_remote_features()
123 if (sk_SSL_CIPHER_num(unsupported.get()) && !ssl->config->cipher_list) { in apply_remote_features()
124 ssl->config->cipher_list = bssl::MakeUnique<SSLCipherPreferenceList>(); in apply_remote_features()
125 if (!ssl->config->cipher_list->Init(*ssl->ctx->cipher_list)) { in apply_remote_features()
130 ssl->config->cipher_list->Remove(unsupported_cipher); in apply_remote_features()
Dssl_lib.cc1908 return ctx->cipher_list->ciphers.get(); in STACK_OF()
1912 if (i >= sk_SSL_CIPHER_num(ctx->cipher_list->ciphers.get())) { in SSL_CTX_cipher_in_group()
1915 return ctx->cipher_list->in_group_flags[i]; in SSL_CTX_cipher_in_group()
1927 return ssl->config->cipher_list ? ssl->config->cipher_list->ciphers.get() in STACK_OF()
1928 : ssl->ctx->cipher_list->ciphers.get(); in STACK_OF()
1950 return ssl_create_cipher_list(&ctx->cipher_list, str, false /* not strict */); in SSL_CTX_set_cipher_list()
1954 return ssl_create_cipher_list(&ctx->cipher_list, str, true /* strict */); in SSL_CTX_set_strict_cipher_list()
1961 return ssl_create_cipher_list(&ssl->config->cipher_list, str, in SSL_set_cipher_list()
1969 return ssl_create_cipher_list(&ssl->config->cipher_list, str, in SSL_set_strict_cipher_list()
Dhandshake_server.cc645 SSLCipherPreferenceList *prefs = hs->config->cipher_list in do_select_certificate()
646 ? hs->config->cipher_list.get() in do_select_certificate()
647 : ssl->ctx->cipher_list.get(); in do_select_certificate()
Dinternal.h2480 UniquePtr<SSLCipherPreferenceList> cipher_list;
2903 bssl::UniquePtr<bssl::SSLCipherPreferenceList> cipher_list;
Dssl_test.cc2031 const char *cipher_list = "CHACHA20:ALL"; in TEST() local
2033 ASSERT_TRUE(SSL_CTX_set_strict_cipher_list(ctx.get(), cipher_list)); in TEST()
/external/grpc-grpc/test/core/handshake/
Dserver_ssl_common.cc169 const char* cipher_list = in server_ssl_test() local
172 if (!SSL_CTX_set_cipher_list(ctx, cipher_list)) { in server_ssl_test()
Dclient_ssl.cc163 const char* cipher_list = in server_thread() local
166 if (!SSL_CTX_set_cipher_list(ctx, cipher_list)) { in server_thread()
/external/curl/lib/vtls/
Dnss.c276 char *cipher_list) in set_ciphers() argument
302 cipher = cipher_list; in set_ciphers()
304 while(cipher_list && (cipher_list[0])) { in set_ciphers()
308 cipher_list = strchr(cipher, ','); in set_ciphers()
309 if(cipher_list) { in set_ciphers()
310 *cipher_list++ = '\0'; in set_ciphers()
328 if(cipher_list) { in set_ciphers()
329 cipher = cipher_list; in set_ciphers()
1895 if(SSL_CONN_CONFIG(cipher_list)) { in nss_setup_connect()
1896 if(set_ciphers(data, model, SSL_CONN_CONFIG(cipher_list)) != SECSuccess) { in nss_setup_connect()
Dvtls.c99 Curl_safe_strcasecompare(data->cipher_list, needle->cipher_list) && in Curl_ssl_config_matches()
122 CLONE_STRING(cipher_list); in Curl_clone_primary_ssl_config()
135 Curl_safefree(sslc->cipher_list); in Curl_free_primary_ssl_config()
Dmesalink.c171 ciphers = SSL_CONN_CONFIG(cipher_list); in mesalink_connect_step1()
Dcyassl.c262 ciphers = SSL_CONN_CONFIG(cipher_list); in cyassl_connect_step1()
Dschannel.c582 if(SSL_CONN_CONFIG(cipher_list)) { in schannel_connect_step1()
583 result = set_ssl_ciphers(&schannel_cred, SSL_CONN_CONFIG(cipher_list)); in schannel_connect_step1()
Dgskit.c306 const char *cipherlist = SSL_CONN_CONFIG(cipher_list); in set_ciphers()
Dgtls.c709 if(SSL_CONN_CONFIG(cipher_list) != NULL) { in gtls_connect_step1()
Dopenssl.c2548 ciphers = SSL_CONN_CONFIG(cipher_list); in ossl_connect_step1()
2591 if(!SSL_CONN_CONFIG(cipher_list)) { in ossl_connect_step1()
/external/openssh/
Dcipher.c270 char *cipher_list, *cp; in ciphers_valid() local
275 if ((cipher_list = cp = strdup(names)) == NULL) in ciphers_valid()
281 free(cipher_list); in ciphers_valid()
285 free(cipher_list); in ciphers_valid()
/external/curl/src/
Dtool_cfgable.h122 char *cipher_list; member
Dtool_cfgable.c108 Curl_safefree(config->cipher_list); in free_config_fields()
Dtool_operate.c1278 if(config->cipher_list) in operate_do()
1279 my_setopt_str(curl, CURLOPT_SSL_CIPHER_LIST, config->cipher_list); in operate_do()
Dtool_getparam.c629 GetStr(&config->cipher_list, nextarg); in getparameter()
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.cc658 const char* cipher_list) { in populate_ssl_context() argument
678 if ((cipher_list != nullptr) && in populate_ssl_context()
679 !SSL_CTX_set_cipher_list(context, cipher_list)) { in populate_ssl_context()
680 gpr_log(GPR_ERROR, "Invalid cipher list: %s.", cipher_list); in populate_ssl_context()
/external/boringssl/src/ssl/test/
Dtest_config.cc1168 std::string cipher_list = "ALL"; in SetupCtx() local
1170 cipher_list = cipher; in SetupCtx()
1173 if (!SSL_CTX_set_strict_cipher_list(ssl_ctx.get(), cipher_list.c_str())) { in SetupCtx()
/external/curl/lib/
Durldata.h222 char *cipher_list; /* list of ciphers to use */ member
Durl.c3870 data->set.ssl.primary.cipher_list = in create_conn()
3872 data->set.proxy_ssl.primary.cipher_list = in create_conn()