Home
last modified time | relevance | path

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

/external/curl/lib/vtls/
Dgskit.c308 const char *cipherlist = SSL_CONN_CONFIG(cipher_list); in set_ciphers() local
322 if(!cipherlist) in set_ciphers()
324 while(is_separator(*cipherlist)) /* Skip initial separators. */ in set_ciphers()
325 cipherlist++; in set_ciphers()
326 if(!*cipherlist) in set_ciphers()
332 l = strlen(cipherlist) + 1; in set_ciphers()
349 for(clp = cipherlist; *cipherlist && !is_separator(*cipherlist);) in set_ciphers()
350 cipherlist++; in set_ciphers()
351 l = cipherlist - clp; in set_ciphers()
374 while(is_separator(*cipherlist)) in set_ciphers()
[all …]
Dnss.c118 #define NUM_OF_CIPHERS sizeof(cipherlist)/sizeof(cipherlist[0])
119 static const struct cipher_s cipherlist[] = { variable
323 if(strcasecompare(cipher, cipherlist[i].name)) { in set_ciphers()
345 if(SSL_CipherPrefSet(model, cipherlist[i].num, PR_TRUE) != SECSuccess) { in set_ciphers()
346 failf(data, "cipher-suite not supported by NSS: %s", cipherlist[i].name); in set_ciphers()
364 SSL_CipherPolicyGet(cipherlist[i].num, &policy); in any_cipher_enabled()
/external/python/cpython3/Modules/clinic/
D_ssl.c.h433 _ssl__SSLContext_set_ciphers_impl(PySSLContext *self, const char *cipherlist);
439 const char *cipherlist; in _ssl__SSLContext_set_ciphers() local
446 cipherlist = PyUnicode_AsUTF8AndSize(arg, &cipherlist_length); in _ssl__SSLContext_set_ciphers()
447 if (cipherlist == NULL) { in _ssl__SSLContext_set_ciphers()
450 if (strlen(cipherlist) != (size_t)cipherlist_length) { in _ssl__SSLContext_set_ciphers()
454 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.c3339 _ssl__SSLContext_set_ciphers_impl(PySSLContext *self, const char *cipherlist) in _ssl__SSLContext_set_ciphers_impl() argument
3342 int ret = SSL_CTX_set_cipher_list(self->ctx, cipherlist); in _ssl__SSLContext_set_ciphers_impl()