Home
last modified time | relevance | path

Searched refs:cipherlist (Results 1 – 5 of 5) sorted by relevance

/external/curl/lib/vtls/
Dgskit.c302 const char *cipherlist = conn_config->cipher_list; in set_ciphers() local
316 if(!cipherlist) in set_ciphers()
318 while(is_separator(*cipherlist)) /* Skip initial separators. */ in set_ciphers()
319 cipherlist++; in set_ciphers()
320 if(!*cipherlist) in set_ciphers()
326 l = strlen(cipherlist) + 1; in set_ciphers()
343 for(clp = cipherlist; *cipherlist && !is_separator(*cipherlist);) in set_ciphers()
344 cipherlist++; in set_ciphers()
345 l = cipherlist - clp; in set_ciphers()
368 while(is_separator(*cipherlist)) in set_ciphers()
[all …]
Dnss.c120 #define NUM_OF_CIPHERS sizeof(cipherlist)/sizeof(cipherlist[0])
121 static const struct cipher_s cipherlist[] = { variable
357 if(strcasecompare(name, cipherlist[i].name)) { in set_ciphers()
359 if(SSL_CipherPrefSet(model, cipherlist[i].num, PR_TRUE) != in set_ciphers()
393 SSL_CipherPolicyGet(cipherlist[i].num, &policy); in any_cipher_enabled()
/external/python/cpython3/Modules/clinic/
D_ssl.c.h437 _ssl__SSLContext_set_ciphers_impl(PySSLContext *self, const char *cipherlist);
443 const char *cipherlist; in _ssl__SSLContext_set_ciphers() local
450 cipherlist = PyUnicode_AsUTF8AndSize(arg, &cipherlist_length); in _ssl__SSLContext_set_ciphers()
451 if (cipherlist == NULL) { in _ssl__SSLContext_set_ciphers()
454 if (strlen(cipherlist) != (size_t)cipherlist_length) { in _ssl__SSLContext_set_ciphers()
458 return_value = _ssl__SSLContext_set_ciphers_impl(self, cipherlist); in _ssl__SSLContext_set_ciphers()
/external/python/cpython2/Modules/
D_ssl.c2318 const char *cipherlist; in set_ciphers() local
2320 if (!PyArg_ParseTuple(args, "s:set_ciphers", &cipherlist)) in set_ciphers()
2322 ret = SSL_CTX_set_cipher_list(self->ctx, cipherlist); in set_ciphers()
/external/python/cpython3/Modules/
D_ssl.c3232 _ssl__SSLContext_set_ciphers_impl(PySSLContext *self, const char *cipherlist) in _ssl__SSLContext_set_ciphers_impl() argument
3235 int ret = SSL_CTX_set_cipher_list(self->ctx, cipherlist); in _ssl__SSLContext_set_ciphers_impl()