Home
last modified time | relevance | path

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

12

/external/boringssl/src/ssl/
Dhandoff.cc116 ssl->config->cipher_list ? ssl->config->cipher_list->ciphers.get() in apply_remote_features()
117 : ssl->ctx->cipher_list->ciphers.get(); in apply_remote_features()
127 if (sk_SSL_CIPHER_num(unsupported.get()) && !ssl->config->cipher_list) { in apply_remote_features()
128 ssl->config->cipher_list = bssl::MakeUnique<SSLCipherPreferenceList>(); in apply_remote_features()
129 if (!ssl->config->cipher_list->Init(*ssl->ctx->cipher_list)) { in apply_remote_features()
134 ssl->config->cipher_list->Remove(unsupported_cipher); in apply_remote_features()
Dssl_lib.cc1970 return ctx->cipher_list->ciphers.get(); in STACK_OF()
1974 if (i >= sk_SSL_CIPHER_num(ctx->cipher_list->ciphers.get())) { in SSL_CTX_cipher_in_group()
1977 return ctx->cipher_list->in_group_flags[i]; in SSL_CTX_cipher_in_group()
1989 return ssl->config->cipher_list ? ssl->config->cipher_list->ciphers.get() in STACK_OF()
1990 : ssl->ctx->cipher_list->ciphers.get(); in STACK_OF()
2012 return ssl_create_cipher_list(&ctx->cipher_list, str, false /* not strict */); in SSL_CTX_set_cipher_list()
2016 return ssl_create_cipher_list(&ctx->cipher_list, str, true /* strict */); in SSL_CTX_set_strict_cipher_list()
2023 return ssl_create_cipher_list(&ssl->config->cipher_list, str, in SSL_set_cipher_list()
2031 return ssl_create_cipher_list(&ssl->config->cipher_list, str, in SSL_set_strict_cipher_list()
Dhandshake_server.cc700 SSLCipherPreferenceList *prefs = hs->config->cipher_list in do_select_certificate()
701 ? hs->config->cipher_list.get() in do_select_certificate()
702 : ssl->ctx->cipher_list.get(); in do_select_certificate()
Dinternal.h2624 UniquePtr<SSLCipherPreferenceList> cipher_list;
3048 bssl::UniquePtr<bssl::SSLCipherPreferenceList> cipher_list;
/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.c285 char *cipher_list) in set_ciphers() argument
311 cipher = cipher_list; in set_ciphers()
313 while(cipher_list && (cipher_list[0])) { in set_ciphers()
317 cipher_list = strchr(cipher, ','); in set_ciphers()
318 if(cipher_list) { in set_ciphers()
319 *cipher_list++ = '\0'; in set_ciphers()
337 if(cipher_list) { in set_ciphers()
338 cipher = cipher_list; in set_ciphers()
1912 if(SSL_CONN_CONFIG(cipher_list)) { in nss_setup_connect()
1913 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()
123 CLONE_STRING(cipher_list); in Curl_clone_primary_ssl_config()
137 Curl_safefree(sslc->cipher_list); in Curl_free_primary_ssl_config()
Dmesalink.c207 ciphers = SSL_CONN_CONFIG(cipher_list); in mesalink_connect_step1()
Dwolfssl.c239 ciphers = SSL_CONN_CONFIG(cipher_list); in wolfssl_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.c308 const char *cipherlist = SSL_CONN_CONFIG(cipher_list); in set_ciphers()
Dgtls.c710 if(SSL_CONN_CONFIG(cipher_list) != NULL) { in gtls_connect_step1()
Dopenssl.c2664 ciphers = SSL_CONN_CONFIG(cipher_list); in ossl_connect_step1()
2707 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.h134 char *cipher_list; member
Dtool_cfgable.c108 Curl_safefree(config->cipher_list); in free_config_fields()
Dtool_operate.c1609 if(config->cipher_list) in single_transfer()
1610 my_setopt_str(curl, CURLOPT_SSL_CIPHER_LIST, config->cipher_list); in single_transfer()
Dtool_getparam.c640 GetStr(&config->cipher_list, nextarg); in getparameter()
/external/python/pyopenssl/src/OpenSSL/
DSSL.py1170 def set_cipher_list(self, cipher_list): argument
1180 cipher_list = _text_to_bytes_and_warn("cipher_list", cipher_list)
1182 if not isinstance(cipher_list, bytes):
1186 _lib.SSL_CTX_set_cipher_list(self._context, cipher_list) == 1
/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.cc1150 std::string cipher_list = "ALL"; in SetupCtx() local
1152 cipher_list = cipher; in SetupCtx()
1155 if (!SSL_CTX_set_strict_cipher_list(ssl_ctx.get(), cipher_list.c_str())) { in SetupCtx()
/external/curl/lib/
Durldata.h230 char *cipher_list; /* list of ciphers to use */ member
Durl.c3527 data->set.ssl.primary.cipher_list =
3529 data->set.proxy_ssl.primary.cipher_list =
/external/python/pyopenssl/tests/
Dtest_ssl.py417 def test_set_cipher_list_wrong_args(self, context, cipher_list, error): argument
424 context.set_cipher_list(cipher_list)

12