/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_peap.c | 40 struct eap_ssl_data ssl; member in struct:eap_peap_data 168 if (eap_peer_tls_ssl_init(sm, &data->ssl, config)) { 169 wpa_printf(MSG_INFO, "EAP-PEAP: Failed to initialize SSL."); 186 eap_peer_tls_ssl_deinit(sm, &data->ssl); 265 tls_connection_resumed(sm->ssl_ctx, data->ssl.conn)) { 775 eap_peer_tls_reset_input(&data->ssl); 796 return eap_peer_tls_encrypt(sm, &data->ssl, EAP_TYPE_PEAP, 801 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); 1017 if (eap_peer_tls_encrypt(sm, &data->ssl, EAP_TYPE_PEAP, 1042 pos = eap_peer_tls_process_init(sm, &data->ssl, EAP_TYPE_PEAP, ret [all...] |
eap_fast.c | 40 struct eap_ssl_data ssl; member in struct:eap_fast_data 178 if (eap_peer_tls_ssl_init(sm, &data->ssl, config)) { 179 wpa_printf(MSG_INFO, "EAP-FAST: Failed to initialize SSL."); 184 if (tls_connection_set_session_ticket_cb(sm->ssl_ctx, data->ssl.conn, 198 if (tls_connection_enable_workaround(sm->ssl_ctx, data->ssl.conn)) { 238 eap_peer_tls_ssl_deinit(sm, &data->ssl); 270 sks = eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, "key expansion", 296 eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, 1110 if (eap_peer_tls_encrypt(sm, &data->ssl, EAP_TYPE_FAST, [all...] |
eap_ttls.c | 46 struct eap_ssl_data ssl; member in struct:eap_ttls_data 180 eap_peer_tls_ssl_deinit(sm, &data->ssl); 273 data->ssl.conn, 286 data->key_data = eap_peer_tls_derive_key(sm, &data->ssl, 312 if (tls_connection_get_keys(sm->ssl_ctx, data->ssl.conn, &keys) || 368 return eap_peer_tls_derive_key(sm, &data->ssl, 375 if (tls_connection_get_keys(sm->ssl_ctx, data->ssl.conn, &keys) || 1043 data->ssl.conn, [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_peap.c | 40 struct eap_ssl_data ssl; member in struct:eap_peap_data 168 if (eap_peer_tls_ssl_init(sm, &data->ssl, config)) { 169 wpa_printf(MSG_INFO, "EAP-PEAP: Failed to initialize SSL."); 186 eap_peer_tls_ssl_deinit(sm, &data->ssl); 265 tls_connection_resumed(sm->ssl_ctx, data->ssl.conn)) { 775 eap_peer_tls_reset_input(&data->ssl); 796 return eap_peer_tls_encrypt(sm, &data->ssl, EAP_TYPE_PEAP, 801 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); 1017 if (eap_peer_tls_encrypt(sm, &data->ssl, EAP_TYPE_PEAP, 1042 pos = eap_peer_tls_process_init(sm, &data->ssl, EAP_TYPE_PEAP, ret [all...] |
eap_fast.c | 40 struct eap_ssl_data ssl; member in struct:eap_fast_data 178 if (eap_peer_tls_ssl_init(sm, &data->ssl, config)) { 179 wpa_printf(MSG_INFO, "EAP-FAST: Failed to initialize SSL."); 184 if (tls_connection_set_session_ticket_cb(sm->ssl_ctx, data->ssl.conn, 198 if (tls_connection_enable_workaround(sm->ssl_ctx, data->ssl.conn)) { 238 eap_peer_tls_ssl_deinit(sm, &data->ssl); 270 sks = eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, "key expansion", 296 eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, 1110 if (eap_peer_tls_encrypt(sm, &data->ssl, EAP_TYPE_FAST, [all...] |
eap_ttls.c | 46 struct eap_ssl_data ssl; member in struct:eap_ttls_data 180 eap_peer_tls_ssl_deinit(sm, &data->ssl); 273 data->ssl.conn, 286 data->key_data = eap_peer_tls_derive_key(sm, &data->ssl, 312 if (tls_connection_get_keys(sm->ssl_ctx, data->ssl.conn, &keys) || 368 return eap_peer_tls_derive_key(sm, &data->ssl, 375 if (tls_connection_get_keys(sm->ssl_ctx, data->ssl.conn, &keys) || 1037 data->ssl.conn, [all...] |
/external/chromium/chrome/browser/tab_contents/ |
render_view_context_menu.cc | 1389 NavigationEntry::SSLStatus ssl; local [all...] |
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
__init__.py | 61 # Build the appropriate socket wrapper for ssl 63 import ssl # python 2.6 namespace 64 _ssl_wrap_socket = ssl.wrap_socket 67 ssl_sock = socket.ssl(sock, key_file, cert_file) 753 "This class allows communication via SSL." 763 "Connect to a host on a given (SSL) port." [all...] |
/external/wpa_supplicant/ |
eap_ttls.c | 42 struct eap_ssl_data ssl; member in struct:eap_ttls_data 217 eap_tls_ssl_deinit(sm, &data->ssl); 234 resp = os_malloc(sizeof(struct eap_hdr) + 2 + data->ssl.tls_out_limit); 245 res = tls_connection_encrypt(sm->ssl_ctx, data->ssl.conn, 247 pos, data->ssl.tls_out_limit); 346 data->ssl.conn, 358 data->key_data = eap_tls_derive_key(sm, &data->ssl, 383 if (tls_connection_get_keys(sm->ssl_ctx, data->ssl.conn, &keys) || 436 return eap_tls_derive_key(sm, &data->ssl, "ttls challenge", 441 if (tls_connection_get_keys(sm->ssl_ctx, data->ssl.conn, &keys) | [all...] |
tls_openssl.c | 2 * WPA Supplicant / SSL/TLS interface functions for openssl 23 #include <openssl/ssl.h> 59 SSL *ssl; member in struct:tls_connection 363 static int tls_cryptoapi_cert(SSL *ssl, const char *name) 433 if (!SSL_use_certificate(ssl, cert)) { 447 if (!SSL_use_RSAPrivateKey(ssl, rsa)) 466 static int tls_cryptoapi_ca_cert(SSL_CTX *ssl_ctx, SSL *ssl, const char *name 731 SSL_CTX *ssl; local 775 SSL_CTX *ssl = ssl_ctx; local 888 SSL_CTX *ssl = ssl_ctx; local 1039 SSL *ssl; local 1859 SSL *ssl; local [all...] |
eap_fast.c | 91 struct eap_ssl_data ssl; member in struct:eap_fast_data 703 if (eap_tls_ssl_init(sm, &data->ssl, config)) { 704 wpa_printf(MSG_INFO, "EAP-FAST: Failed to initialize SSL."); 712 tls_connection_enable_workaround(sm->ssl_ctx, data->ssl.conn); 741 eap_tls_ssl_deinit(sm, &data->ssl); 764 resp = os_malloc(sizeof(struct eap_hdr) + 2 + data->ssl.tls_out_limit); 775 res = tls_connection_encrypt(sm->ssl_ctx, data->ssl.conn, 777 pos, data->ssl.tls_out_limit); 859 tls_connection_get_keys(sm->ssl_ctx, data->ssl.conn, &keys) || 916 return tls_connection_set_master_key(sm->ssl_ctx, data->ssl.conn [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
tls_openssl.c | 2 * WPA Supplicant / SSL/TLS interface functions for openssl 23 #include <openssl/ssl.h> 69 SSL *ssl; member in struct:tls_connection 319 static int tls_cryptoapi_cert(SSL *ssl, const char *name) 386 if (!SSL_use_certificate(ssl, cert)) { 400 if (!SSL_use_RSAPrivateKey(ssl, rsa)) 419 static int tls_cryptoapi_ca_cert(SSL_CTX *ssl_ctx, SSL *ssl, const char *name 681 SSL_CTX *ssl; local 737 SSL_CTX *ssl = ssl_ctx; local 869 SSL_CTX *ssl = ssl_ctx; local 1020 SSL *ssl; local 2033 SSL *ssl; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_fast.c | 37 struct eap_ssl_data ssl; member in struct:eap_fast_data 281 sks = eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, "key expansion", 307 eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, 436 if (eap_server_tls_ssl_init(sm, &data->ssl, 0)) { 437 wpa_printf(MSG_INFO, "EAP-FAST: Failed to initialize SSL."); 442 if (tls_connection_set_cipher_list(sm->ssl_ctx, data->ssl.conn, 450 if (tls_connection_set_session_ticket_cb(sm->ssl_ctx, data->ssl.conn, 513 eap_server_tls_ssl_deinit(sm, &data->ssl); 555 if (tls_get_cipher(sm->ssl_ctx, data->ssl.conn, cipher, sizeof(cipher)) 819 encr = eap_server_tls_encrypt(sm, &data->ssl, wpabuf_mhead(plain) [all...] |
eap_peap.c | 39 struct eap_ssl_data ssl; member in struct:eap_peap_data 187 if (eap_server_tls_ssl_init(sm, &data->ssl, 0)) { 188 wpa_printf(MSG_INFO, "EAP-PEAP: Failed to initialize SSL."); 204 eap_server_tls_ssl_deinit(sm, &data->ssl); 263 encr_req = eap_server_tls_encrypt(sm, &data->ssl, req, req_len); 301 encr_req = eap_server_tls_encrypt(sm, &data->ssl, req, req_len); 334 tk = eap_server_tls_derive_key(sm, &data->ssl, "client EAP encryption", 453 encr_req = eap_server_tls_encrypt(sm, &data->ssl, wpabuf_head(buf), 481 encr_req = eap_server_tls_encrypt(sm, &data->ssl, (u8 *) hdr, req_len); 492 if (data->ssl.state == FRAG_ACK) [all...] |
eap_ttls.c | 43 struct eap_ssl_data ssl; member in struct:eap_ttls_data 327 return eap_server_tls_derive_key(sm, &data->ssl, 332 if (tls_connection_get_keys(sm->ssl_ctx, data->ssl.conn, &keys) || 403 if (eap_server_tls_ssl_init(sm, &data->ssl, 0)) { 404 wpa_printf(MSG_INFO, "EAP-TTLS: Failed to initialize SSL."); 420 eap_server_tls_ssl_deinit(sm, &data->ssl); 475 encr_req = eap_server_tls_encrypt(sm, &data->ssl, req, req_len); 517 encr_req = eap_server_tls_encrypt(sm, &data->ssl, req, req_len); 536 data->ssl.conn, final, 553 if (data->ssl.state == FRAG_ACK) [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_fast.c | 38 struct eap_ssl_data ssl; member in struct:eap_fast_data 282 sks = eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, "key expansion", 308 eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, 437 if (eap_server_tls_ssl_init(sm, &data->ssl, 0)) { 438 wpa_printf(MSG_INFO, "EAP-FAST: Failed to initialize SSL."); 443 if (tls_connection_set_cipher_list(sm->ssl_ctx, data->ssl.conn, 451 if (tls_connection_set_session_ticket_cb(sm->ssl_ctx, data->ssl.conn, 514 eap_server_tls_ssl_deinit(sm, &data->ssl); 556 if (tls_get_cipher(sm->ssl_ctx, data->ssl.conn, cipher, sizeof(cipher)) 825 encr = eap_server_tls_encrypt(sm, &data->ssl, plain) [all...] |
eap_server_peap.c | 40 struct eap_ssl_data ssl; member in struct:eap_peap_data 188 if (eap_server_tls_ssl_init(sm, &data->ssl, 0)) { 189 wpa_printf(MSG_INFO, "EAP-PEAP: Failed to initialize SSL."); 205 eap_server_tls_ssl_deinit(sm, &data->ssl); 265 encr_req = eap_server_tls_encrypt(sm, &data->ssl, &msgbuf); 304 encr_req = eap_server_tls_encrypt(sm, &data->ssl, &msgbuf); 337 tk = eap_server_tls_derive_key(sm, &data->ssl, "client EAP encryption", 456 encr_req = eap_server_tls_encrypt(sm, &data->ssl, buf); 484 encr_req = eap_server_tls_encrypt(sm, &data->ssl, &msgbuf); 495 if (data->ssl.state == FRAG_ACK) [all...] |
eap_server_ttls.c | 43 struct eap_ssl_data ssl; member in struct:eap_ttls_data 327 return eap_server_tls_derive_key(sm, &data->ssl, 332 if (tls_connection_get_keys(sm->ssl_ctx, data->ssl.conn, &keys) || 403 if (eap_server_tls_ssl_init(sm, &data->ssl, 0)) { 404 wpa_printf(MSG_INFO, "EAP-TTLS: Failed to initialize SSL."); 420 eap_server_tls_ssl_deinit(sm, &data->ssl); 471 encr_req = eap_server_tls_encrypt(sm, &data->ssl, buf); 512 encr_req = eap_server_tls_encrypt(sm, &data->ssl, &msgbuf); 523 data->ssl.conn, final); 531 if (data->ssl.state == FRAG_ACK) [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
HandshakeCompletedEventTest.java | 18 package tests.api.javax.net.ssl; 29 import javax.net.ssl.HandshakeCompletedEvent; 30 import javax.net.ssl.HandshakeCompletedListener; 31 import javax.net.ssl.KeyManager; 32 import javax.net.ssl.KeyManagerFactory; 33 import javax.net.ssl.SSLContext; 34 import javax.net.ssl.SSLPeerUnverifiedException; 35 import javax.net.ssl.SSLServerSocket; 36 import javax.net.ssl.SSLSession; 37 import javax.net.ssl.SSLSocket [all...] |
SSLSessionTest.java | 18 package tests.api.javax.net.ssl; 29 import javax.net.ssl.KeyManager; 30 import javax.net.ssl.KeyManagerFactory; 31 import javax.net.ssl.SSLContext; 32 import javax.net.ssl.SSLServerSocket; 33 import javax.net.ssl.SSLSession; 34 import javax.net.ssl.SSLSessionBindingEvent; 35 import javax.net.ssl.SSLSessionBindingListener; 36 import javax.net.ssl.SSLSocket; 37 import javax.net.ssl.TrustManager [all...] |
SSLEngineTest.java | 18 package tests.api.javax.net.ssl; 32 import javax.net.ssl.SSLContext; 33 import javax.net.ssl.SSLEngine; 34 import javax.net.ssl.SSLEngineResult; 35 import javax.net.ssl.SSLException; 36 import javax.net.ssl.SSLEngineResult.HandshakeStatus; 144 * javax.net.ssl.SSLEngine#getSupportedProtocols() 159 * javax.net.ssl.SSLEngine#setEnabledProtocols(String[] protocols) 160 * javax.net.ssl.SSLEngine#getEnabledProtocols() 184 * javax.net.ssl.SSLEngine#getSupportedCipherSuites( [all...] |
/external/chromium/net/http/ |
http_network_transaction_unittest.cc | 5463 bool ssl; member in struct:net::GroupNameTest [all...] |
/external/wpa_supplicant_8/src/crypto/ |
tls_openssl.c | 2 * SSL/TLS interface functions for OpenSSL 23 #include <openssl/ssl.h> 68 SSL *ssl; member in struct:tls_connection 326 static int tls_cryptoapi_cert(SSL *ssl, const char *name) 393 if (!SSL_use_certificate(ssl, cert)) { 407 if (!SSL_use_RSAPrivateKey(ssl, rsa)) 426 static int tls_cryptoapi_ca_cert(SSL_CTX *ssl_ctx, SSL *ssl, const char *name 688 SSL_CTX *ssl; local 772 SSL_CTX *ssl = ssl_ctx; local 906 SSL_CTX *ssl = ssl_ctx; local 1175 SSL *ssl; local 2286 SSL *ssl; local [all...] |
/libcore/luni/src/main/native/ |
org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp | 35 #include <openssl/ssl.h> 129 void operator()(SSL* p) const { 133 typedef UniquePtr<SSL, SSL_Delete> Unique_SSL; 186 * Frees the SSL error state. 229 * Throws a javax.net.ssl.SSLException with the given string as a message. 233 jniThrowException(env, "javax/net/ssl/SSLException", message); 237 * Throws a javax.net.ssl.SSLProcotolException with the given string as a message. 241 jniThrowException(env, "javax/net/ssl/SSLProtocolException", message); 246 * SSL errors. This will also log the errors. 249 * @param ssl the possibly NULL SS 390 SSL* ssl = reinterpret_cast<SSL*>(static_cast<uintptr_t>(ssl_address)); local 1349 SSL* ssl = reinterpret_cast<SSL*>(X509_STORE_CTX_get_ex_data(x509_store_ctx, local 1709 SSL* ssl = to_SSL(env, ssl_address, true); local 1760 SSL* ssl = to_SSL(env, ssl_address, true); local 1845 SSL* ssl = to_SSL(env, ssl_address, true); local 1863 SSL* ssl = to_SSL(env, ssl_address, true); local 1929 SSL* ssl = to_SSL(env, ssl_address, true); local 1944 SSL* ssl = to_SSL(env, ssl_address, true); local 1959 SSL* ssl = to_SSL(env, ssl_address, true); local 1974 SSL* ssl = to_SSL(env, ssl_address, true); local 1989 SSL* ssl = to_SSL(env, ssl_address, true); local 2004 SSL* ssl = to_SSL(env, ssl_address, true); local 2020 SSL* ssl = to_SSL(env, ssl_address, true); local 2085 SSL* ssl = to_SSL(env, ssl_address, true); local 2099 SSL* ssl = to_SSL(env, ssl_address, true); local 2126 SSL* ssl = to_SSL(env, ssl_address, true); local 2138 SSL* ssl = to_SSL(env, ssl_address, true); local 2163 SSL* ssl = to_SSL(env, ssl_address, true); local 2179 SSL* ssl = to_SSL(env, ssl_address, true); local 2353 SSL* ssl = to_SSL(env, ssl_address, true); local 2382 SSL* ssl = to_SSL(env, ssl_address, true); local 2421 SSL* ssl = to_SSL(env, ssl_address, true); local 2597 SSL* ssl = to_SSL(env, ssl_address, true); local 2802 SSL* ssl = to_SSL(env, ssl_address, true); local 2850 SSL* ssl = to_SSL(env, ssl_address, false); local 2875 SSL* ssl = to_SSL(env, ssl_address, false); local 2955 SSL* ssl = to_SSL(env, ssl_address, true); local [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLSessionTest.java | 17 package libcore.javax.net.ssl; 22 import javax.net.ssl.SSLPeerUnverifiedException;
|