Home
last modified time | relevance | path

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

12

/third_party/openssl/test/
Dsslcorrupttest.c138 static const char **cipher_list = NULL; variable
157 cipher_list = OPENSSL_malloc(sk_SSL_CIPHER_num(sk_ciphers) * in setup_cipher_list()
158 sizeof(cipher_list[0])); in setup_cipher_list()
159 if (!TEST_ptr(cipher_list)) in setup_cipher_list()
166 cipher_list[j++] = SSL_CIPHER_get_name(cipher); in setup_cipher_list()
195 TEST_info("Starting #%d, %s", testidx, cipher_list[testidx]); in test_ssl_corrupt()
204 || !TEST_true(SSL_CTX_set_cipher_list(cctx, cipher_list[testidx])) in test_ssl_corrupt()
279 OPENSSL_free(cipher_list); in cleanup_tests()
/third_party/libwebsockets/lib/tls/
Dtls-client.c107 const char *cipher_list = info->ssl_cipher_list; in lws_context_init_client_ssl() local
126 cipher_list = info->client_ssl_cipher_list; in lws_context_init_client_ssl()
152 if (lws_tls_client_create_vhost_context(vhost, info, cipher_list, in lws_context_init_client_ssl()
Dprivate-network.h183 const char *cipher_list,
/third_party/openssl/ssl/
Dssl_ciph.c1371 STACK_OF(SSL_CIPHER) **cipher_list, in update_cipher_list()
1376 STACK_OF(SSL_CIPHER) *tmp_cipher_list = sk_SSL_CIPHER_dup(*cipher_list); in update_cipher_list()
1408 sk_SSL_CIPHER_free(*cipher_list); in update_cipher_list()
1409 *cipher_list = tmp_cipher_list; in update_cipher_list()
1418 if (ret && ctx->cipher_list != NULL) in SSL_CTX_set_ciphersuites()
1419 return update_cipher_list(ctx, &ctx->cipher_list, &ctx->cipher_list_by_id, in SSL_CTX_set_ciphersuites()
1427 STACK_OF(SSL_CIPHER) *cipher_list; in SSL_set_ciphersuites()
1430 if (s->cipher_list == NULL) { in SSL_set_ciphersuites()
1431 if ((cipher_list = SSL_get_ciphers(s)) != NULL) in SSL_set_ciphersuites()
1432 s->cipher_list = sk_SSL_CIPHER_dup(cipher_list); in SSL_set_ciphersuites()
[all …]
Dssl_lib.c661 &(ctx->cipher_list), in SSL_CTX_set_ssl_version()
1201 sk_SSL_CIPHER_free(s->cipher_list); in SSL_free()
2640 if (s->cipher_list != NULL) { in STACK_OF()
2641 return s->cipher_list; in STACK_OF()
2642 } else if ((s->ctx != NULL) && (s->ctx->cipher_list != NULL)) { in STACK_OF()
2643 return s->ctx->cipher_list; in STACK_OF()
2718 return ctx->cipher_list; in STACK_OF()
2748 &ctx->cipher_list, &ctx->cipher_list_by_id, str, in SSL_CTX_set_cipher_list()
2772 &s->cipher_list, &s->cipher_list_by_id, str, in SSL_set_cipher_list()
3287 &ret->cipher_list, &ret->cipher_list_by_id, in SSL_CTX_new_ex()
[all …]
Dssl_local.h845 STACK_OF(SSL_CIPHER) *cipher_list;
1449 STACK_OF(SSL_CIPHER) *cipher_list;
2398 STACK_OF(SSL_CIPHER) **cipher_list,
/third_party/node/deps/openssl/openssl/ssl/
Dssl_ciph.c1371 STACK_OF(SSL_CIPHER) **cipher_list, in update_cipher_list()
1376 STACK_OF(SSL_CIPHER) *tmp_cipher_list = sk_SSL_CIPHER_dup(*cipher_list); in update_cipher_list()
1408 sk_SSL_CIPHER_free(*cipher_list); in update_cipher_list()
1409 *cipher_list = tmp_cipher_list; in update_cipher_list()
1418 if (ret && ctx->cipher_list != NULL) in SSL_CTX_set_ciphersuites()
1419 return update_cipher_list(ctx, &ctx->cipher_list, &ctx->cipher_list_by_id, in SSL_CTX_set_ciphersuites()
1427 STACK_OF(SSL_CIPHER) *cipher_list; in SSL_set_ciphersuites()
1430 if (s->cipher_list == NULL) { in SSL_set_ciphersuites()
1431 if ((cipher_list = SSL_get_ciphers(s)) != NULL) in SSL_set_ciphersuites()
1432 s->cipher_list = sk_SSL_CIPHER_dup(cipher_list); in SSL_set_ciphersuites()
[all …]
Dssl_lib.c710 &(ctx->cipher_list), in SSL_CTX_set_ssl_version()
1254 sk_SSL_CIPHER_free(s->cipher_list); in SSL_free()
2725 if (s->cipher_list != NULL) { in STACK_OF()
2726 return s->cipher_list; in STACK_OF()
2727 } else if ((s->ctx != NULL) && (s->ctx->cipher_list != NULL)) { in STACK_OF()
2728 return s->ctx->cipher_list; in STACK_OF()
2803 return ctx->cipher_list; in STACK_OF()
2833 &ctx->cipher_list, &ctx->cipher_list_by_id, str, in SSL_CTX_set_cipher_list()
2857 &s->cipher_list, &s->cipher_list_by_id, str, in SSL_set_cipher_list()
3372 &ret->cipher_list, &ret->cipher_list_by_id, in SSL_CTX_new_ex()
[all …]
Dssl_local.h854 STACK_OF(SSL_CIPHER) *cipher_list;
1473 STACK_OF(SSL_CIPHER) *cipher_list;
2454 STACK_OF(SSL_CIPHER) **cipher_list,
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c713 const char *cipher_list, argument
795 if (cipher_list)
796 EVP_DigestUpdate(mdctx, cipher_list, strlen(cipher_list));
942 if (cipher_list)
943 SSL_CTX_set_cipher_list(vh->tls.ssl_client_ctx, cipher_list);
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dmod.rs1063 pub fn set_cipher_list(&mut self, cipher_list: &str) -> Result<(), ErrorStack> { in set_cipher_list()
1064 let cipher_list = CString::new(cipher_list).unwrap(); in set_cipher_list() localVariable
1068 cipher_list.as_ptr() as *const _, in set_cipher_list()
1084 pub fn set_ciphersuites(&mut self, cipher_list: &str) -> Result<(), ErrorStack> { in set_ciphersuites()
1085 let cipher_list = CString::new(cipher_list).unwrap(); in set_ciphersuites() localVariable
1089 cipher_list.as_ptr() as *const _, in set_ciphersuites()
3333 pub fn set_ciphersuites(&mut self, cipher_list: &str) -> Result<(), ErrorStack> { in set_ciphersuites()
3334 let cipher_list = CString::new(cipher_list).unwrap(); in set_ciphersuites() localVariable
3338 cipher_list.as_ptr() as *const _, in set_ciphersuites()
3352 pub fn set_cipher_list(&mut self, cipher_list: &str) -> Result<(), ErrorStack> { in set_cipher_list()
[all …]
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dtypes.rs488 cipher_list: *mut stack_st_SSL_CIPHER,
547 cipher_list: *mut stack_st_SSL_CIPHER,
645 cipher_list: *mut stack_st_SSL_CIPHER,
782 cipher_list: *mut stack_st_SSL_CIPHER,
799 cipher_list: *mut c_void,
869 cipher_list: *mut c_void,
/third_party/openssl/engines/
De_devcrypto.c591 static void devcrypto_select_all_ciphers(int *cipher_list) in devcrypto_select_all_ciphers() argument
596 cipher_list[i] = 1; in devcrypto_select_all_ciphers()
601 int *cipher_list = (int *)usr; in cryptodev_select_cipher_cb() local
614 cipher_list[i] = 1; in cryptodev_select_cipher_cb()
/third_party/node/deps/openssl/openssl/engines/
De_devcrypto.c591 static void devcrypto_select_all_ciphers(int *cipher_list) in devcrypto_select_all_ciphers() argument
596 cipher_list[i] = 1; in devcrypto_select_all_ciphers()
601 int *cipher_list = (int *)usr; in cryptodev_select_cipher_cb() local
614 cipher_list[i] = 1; in cryptodev_select_cipher_cb()
/third_party/curl/src/
Dtool_cfgable.h133 char *cipher_list; member
Dtool_cfgable.c114 Curl_safefree(config->cipher_list); in free_config_fields()
Dtool_operate.c2120 if(config->cipher_list) in single_transfer()
2121 my_setopt_str(curl, CURLOPT_SSL_CIPHER_LIST, config->cipher_list); in single_transfer()
/third_party/curl/lib/vtls/
Dvtls.c182 strcasecompare(data->cipher_list, needle->cipher_list) && in Curl_ssl_config_matches()
211 CLONE_STRING(cipher_list); in Curl_clone_primary_ssl_config()
230 Curl_safefree(sslc->cipher_list); in Curl_free_primary_ssl_config()
Dbearssl.c667 if(conn_config->cipher_list) { in bearssl_connect_step1()
672 conn_config->cipher_list); in bearssl_connect_step1()
Dwolfssl.c486 ciphers = conn_config->cipher_list; in wolfssl_connect_step1()
Dschannel.c758 if(!conn_config->cipher_list && in schannel_acquire_credential_handle()
979 char *ciphers = conn_config->cipher_list; in schannel_acquire_credential_handle()
/third_party/libwebsockets/lib/roles/http/server/
Dlejp-conf.c552 const char *cipher_list = in lejp_vhosts_cb() local
560 a->info->client_ssl_cipher_list = cipher_list; in lejp_vhosts_cb()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-client.c368 const char *cipher_list, in lws_tls_client_create_vhost_context() argument
/third_party/curl/lib/
Durldata.h274 char *cipher_list; /* list of ciphers to use */ member
/third_party/node/deps/openssl/openssl/ssl/statem/
Dstatem_srvr.c1938 sk_SSL_CIPHER_free(s->cipher_list); in tls_early_post_process_client_hello()
1939 s->cipher_list = sk_SSL_CIPHER_dup(s->peer_ciphers); in tls_early_post_process_client_hello()

12