HomeSort by relevance Sort by last modified time
    Searched defs:ssl_ctx (Results 1 - 23 of 23) sorted by null

  /external/libvncserver/libvncserver/
rfbssl_openssl.c 29 SSL_CTX *ssl_ctx; member in struct:rfbssl_ctx
59 } else if (NULL == (ctx->ssl_ctx = SSL_CTX_new(TLSv1_server_method()))) {
61 } else if (SSL_CTX_use_PrivateKey_file(ctx->ssl_ctx, keyfile, SSL_FILETYPE_PEM) <= 0) {
63 } else if (SSL_CTX_use_certificate_file(ctx->ssl_ctx, cl->screen->sslcertfile, SSL_FILETYPE_PEM) <= 0) {
65 } else if (NULL == (ctx->ssl = SSL_new(ctx->ssl_ctx))) {
133 if (ctx->ssl_ctx)
134 SSL_CTX_free(ctx->ssl_ctx);
  /external/wpa_supplicant_8/src/eap_peer/
eap_tls_common.h 68 * ssl_ctx - TLS library context to use for the connection
70 void *ssl_ctx; member in struct:eap_ssl_data
eap_tls.c 26 void *ssl_ctx; member in struct:eap_tls_data
48 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 :
49 sm->ssl_ctx;
85 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 :
86 sm->ssl_ctx;
112 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 :
113 sm->ssl_ctx;
276 if (tls_connection_established(data->ssl_ctx, data->ssl.conn))
291 return tls_connection_established(data->ssl_ctx, data->ssl.conn);
eap_i.h 347 void *ssl_ctx; member in struct:eap_sm
  /external/wpa_supplicant_8/src/radius/
radius_server.h 63 * ssl_ctx - TLS context
68 void *ssl_ctx; member in struct:radius_server_conf
radius_server.c 161 * ssl_ctx - TLS context
166 void *ssl_ctx; member in struct:radius_server_data
679 eap_conf.ssl_ctx = data->ssl_ctx;
    [all...]
  /external/curl/lib/vtls/
axtls.c 54 /* axTLS has no global init. Everything is done through SSL and SSL_CTX
127 if(connssl->ssl_ctx) {
128 ssl_ctx_free(connssl->ssl_ctx);
129 connssl->ssl_ctx = NULL;
141 SSL_CTX *ssl_ctx; local
175 /* Allocate an SSL_CTX struct */
176 ssl_ctx = ssl_ctx_new(client_option, SSL_DEFAULT_CLNT_SESS);
177 if(ssl_ctx == NULL) {
182 conn->ssl[sockindex].ssl_ctx = ssl_ctx
    [all...]
  /external/libbrillo/brillo/streams/
tls_stream.cc 119 std::unique_ptr<SSL_CTX, decltype(&SSL_CTX_free)> ctx_{nullptr, SSL_CTX_free};
330 SSL_CTX* ssl_ctx = ssl ? SSL_get_SSL_CTX(ssl) : nullptr; local
332 if (ssl_ctx) {
334 ssl_ctx, ssl_ctx_private_data_index));
346 return ReportError(error, FROM_HERE, "Cannot create SSL_CTX");
364 // Store a pointer to "this" into SSL_CTX instance.
  /external/wpa_supplicant_8/src/eapol_auth/
eapol_auth_sm.h 22 void *ssl_ctx; member in struct:eapol_auth_config
  /external/libvncserver/libvncclient/
tls_openssl.c 263 SSL_CTX *ssl_ctx = NULL; local
267 ssl_ctx = SSL_CTX_new (SSLv23_client_method ());
268 SSL_CTX_set_default_verify_paths (ssl_ctx);
269 SSL_CTX_set_verify (ssl_ctx, SSL_VERIFY_NONE, &ssl_verify);
270 ssl = SSL_new (ssl_ctx);
276 SSL_CTX_set_app_data (ssl_ctx, client);
  /external/libmicrohttpd/src/examples/
mhd2spdy_structures.h 156 SSL_CTX *ssl_ctx; member in struct:global_options
  /external/libmicrohttpd/src/testspdy/
test_new_connection.c 487 static void init_ssl_ctx(SSL_CTX *ssl_ctx, uint16_t *spdy_proto_version)
490 SSL_CTX_set_options(ssl_ctx, SSL_OP_ALL|SSL_OP_NO_SSLv2);
491 SSL_CTX_set_mode(ssl_ctx, SSL_MODE_AUTO_RETRY);
492 SSL_CTX_set_mode(ssl_ctx, SSL_MODE_RELEASE_BUFFERS);
494 SSL_CTX_set_next_proto_select_cb(ssl_ctx, select_next_proto_cb,
657 SSL_CTX *ssl_ctx; local
674 ssl_ctx = SSL_CTX_new(SSLv23_client_method());
675 if(ssl_ctx == NULL)
    [all...]
test_request_response.c 475 static void init_ssl_ctx(SSL_CTX *ssl_ctx, uint16_t *spdy_proto_version)
478 SSL_CTX_set_options(ssl_ctx, SSL_OP_ALL|SSL_OP_NO_SSLv2);
479 SSL_CTX_set_mode(ssl_ctx, SSL_MODE_AUTO_RETRY);
480 SSL_CTX_set_mode(ssl_ctx, SSL_MODE_RELEASE_BUFFERS);
482 SSL_CTX_set_next_proto_select_cb(ssl_ctx, select_next_proto_cb,
645 SSL_CTX *ssl_ctx; local
662 ssl_ctx = SSL_CTX_new(SSLv23_client_method());
663 if(ssl_ctx == NULL)
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap.h 108 void *ssl_ctx; member in struct:eap_config
eap_i.h 168 void *ssl_ctx; member in struct:eap_sm
  /external/boringssl/src/ssl/test/
bssl_shim.cc 1074 SSL_CTX_add_session((SSL_CTX *)void_param, new_session);
1079 static bssl::UniquePtr<SSL_CTX> SetupCtx(SSL_CTX *old_ctx,
1081 bssl::UniquePtr<SSL_CTX> ssl_ctx(SSL_CTX_new(
1083 if (!ssl_ctx) {
1087 SSL_CTX_set0_buffer_pool(ssl_ctx.get(), g_pool);
1091 (!SSL_CTX_set_min_proto_version(ssl_ctx.get(), SSL3_VERSION) ||
1092 !SSL_CTX_set_max_proto_version(ssl_ctx.get(), TLS1_3_VERSION))) {
2340 bssl::UniquePtr<SSL_CTX> ssl_ctx; local
    [all...]
  /external/wpa_supplicant_8/src/ap/
hostapd.h 172 void *ssl_ctx; member in struct:hostapd_data
  /external/wpa_supplicant_8/src/utils/
http_curl.c 986 SSL_CTX *ssl_ctx; local
990 ssl_ctx = ssl->ctx;
991 ctx = SSL_CTX_get_app_data(ssl_ctx);
1026 res = check_ocsp_resp(ssl_ctx, ssl, cert, ctx->peer_issuer,
1262 SSL_CTX *ssl = s->ctx;
    [all...]
  /external/boringssl/src/ssl/
t1_lib.cc 511 void SSL_CTX_set_ed25519_enabled(SSL_CTX *ctx, int enabled) {
3045 const SSL_CTX *const ssl_ctx = ssl->session_ctx; local
    [all...]
  /external/wpa_supplicant_8/src/crypto/
tls_openssl.c 197 SSL_CTX *ssl;
203 SSL_CTX *ssl_ctx; member in struct:tls_connection
586 static int tls_cryptoapi_ca_cert(SSL_CTX *ssl_ctx, SSL *ssl, const char *name)
633 if (!X509_STORE_add_cert(SSL_CTX_get_cert_store(ssl_ctx),
865 static void remove_session_cb(SSL_CTX *ctx, SSL_SESSION *sess)
886 SSL_CTX *ssl;
1041 void tls_deinit(void *ssl_ctx)
1043 struct tls_data *data = ssl_ctx;
1964 SSL_CTX *ssl_ctx = data->ssl; local
1999 SSL_CTX *ssl_ctx = data->ssl; local
2172 SSL_CTX *ssl_ctx = data->ssl; local
2426 SSL_CTX *ssl_ctx = data->ssl; local
2712 SSL_CTX *ssl_ctx = data->ssl; local
2785 SSL_CTX *ssl_ctx = data->ssl; local
2907 SSL_CTX *ssl_ctx = data->ssl; local
4082 SSL_CTX *ssl_ctx = data->ssl; local
4112 SSL_CTX *ssl_ctx = data->ssl; local
    [all...]
  /external/python/cpython2/Modules/
_ssl.c 153 static pem_password_cb *SSL_CTX_get_default_passwd_cb(SSL_CTX *ctx)
158 static void *SSL_CTX_get_default_passwd_cb_userdata(SSL_CTX *ctx)
282 SSL_CTX *ctx;
546 SSL_CTX *ctx = sslctx->ctx;
2286 PySSLContext *ssl_ctx = (PySSLContext *) args; local
3121 PySSLContext *ssl_ctx = (PySSLContext *) args; local
    [all...]
  /external/conscrypt/common/src/jni/main/cpp/
NativeCrypto.cpp 62 static SSL_CTX* to_SSL_CTX(JNIEnv* env, jlong ssl_ctx_address, bool throwIfNull) {
63 SSL_CTX* ssl_ctx = reinterpret_cast<SSL_CTX*>(static_cast<uintptr_t>(ssl_ctx_address)); local
64 if ((ssl_ctx == nullptr) && throwIfNull) {
65 JNI_TRACE("ssl_ctx == null");
66 Errors::jniThrowNullPointerException(env, "ssl_ctx == null");
68 return ssl_ctx;
    [all...]
  /external/curl/lib/
urldata.h 278 SSL_CTX* ctx;
308 SSL_CTX* ctx;
322 SSL_CTX* ssl_ctx; member in struct:ssl_connect_data
337 SSLContextRef ssl_ctx; member in struct:ssl_connect_data
    [all...]

Completed in 999 milliseconds