Home
last modified time | relevance | path

Searched refs:SSL_CTX_new (Results 1 – 25 of 41) sorted by relevance

12

/external/boringssl/src/ssl/
Dssl_test.cc478 bssl::UniquePtr<SSL_CTX> ctx(SSL_CTX_new(TLS_method())); in TEST()
500 bssl::UniquePtr<SSL_CTX> ctx(SSL_CTX_new(TLS_method())); in TEST()
509 bssl::UniquePtr<SSL_CTX> ctx(SSL_CTX_new(TLS_method())); in TEST()
522 bssl::UniquePtr<SSL_CTX> ctx(SSL_CTX_new(TLS_method())); in TEST()
534 bssl::UniquePtr<SSL_CTX> ctx(SSL_CTX_new(TLS_method())); in TEST()
751 bssl::UniquePtr<SSL_CTX> ssl_ctx(SSL_CTX_new(TLS_method())); in TestSSL_SESSIONEncoding()
825 bssl::UniquePtr<SSL_CTX> ssl_ctx(SSL_CTX_new(TLS_method())); in TestBadSSL_SESSIONEncoding()
841 bssl::UniquePtr<SSL_CTX> ctx(SSL_CTX_new(method())); in ExpectDefaultVersion()
1015 bssl::UniquePtr<SSL_CTX> ssl_ctx(SSL_CTX_new(TLS_method())); in CreateSessionWithTicket()
1066 bssl::UniquePtr<SSL_CTX> ctx(SSL_CTX_new(TLS_method())); in GetClientHelloLen()
[all …]
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java319 long c = NativeCrypto.SSL_CTX_new(); in test_SSL_CTX_new()
321 long c2 = NativeCrypto.SSL_CTX_new(); in test_SSL_CTX_new()
334 NativeCrypto.SSL_CTX_free(NativeCrypto.SSL_CTX_new(), null); in test_SSL_CTX_free()
344 long c = NativeCrypto.SSL_CTX_new(); in SSL_CTX_set_session_id_context_withNullShouldThrow()
354 long c = NativeCrypto.SSL_CTX_new(); in test_SSL_CTX_set_session_id_context_withInvalidIdShouldThrow()
366 long c = NativeCrypto.SSL_CTX_new(); in test_SSL_CTX_set_session_id_context()
377 long c = NativeCrypto.SSL_CTX_new(); in test_SSL_new()
399 long c = NativeCrypto.SSL_CTX_new(); in setLocalCertsAndPrivateKey_withNullCertificatesShouldThrow()
411 long c = NativeCrypto.SSL_CTX_new(); in setLocalCertsAndPrivateKey_withNullKeyShouldThrow()
423 long c = NativeCrypto.SSL_CTX_new(); in setLocalCertsAndPrivateKey()
[all …]
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DNativeCryptoTest.java323 long c = NativeCrypto.SSL_CTX_new(); in test_SSL_CTX_new()
325 long c2 = NativeCrypto.SSL_CTX_new(); in test_SSL_CTX_new()
338 NativeCrypto.SSL_CTX_free(NativeCrypto.SSL_CTX_new(), null); in test_SSL_CTX_free()
348 long c = NativeCrypto.SSL_CTX_new(); in SSL_CTX_set_session_id_context_withNullShouldThrow()
358 long c = NativeCrypto.SSL_CTX_new(); in test_SSL_CTX_set_session_id_context_withInvalidIdShouldThrow()
370 long c = NativeCrypto.SSL_CTX_new(); in test_SSL_CTX_set_session_id_context()
381 long c = NativeCrypto.SSL_CTX_new(); in test_SSL_new()
403 long c = NativeCrypto.SSL_CTX_new(); in setLocalCertsAndPrivateKey_withNullCertificatesShouldThrow()
415 long c = NativeCrypto.SSL_CTX_new(); in setLocalCertsAndPrivateKey_withNullKeyShouldThrow()
427 long c = NativeCrypto.SSL_CTX_new(); in setLocalCertsAndPrivateKey()
[all …]
/external/boringssl/src/tool/
Dciphers.cc38 bssl::UniquePtr<SSL_CTX> ctx(SSL_CTX_new(TLS_method())); in Ciphers()
Dserver.cc218 bssl::UniquePtr<SSL_CTX> ctx(SSL_CTX_new(TLS_method())); in Server()
Dclient.cc353 bssl::UniquePtr<SSL_CTX> ctx(SSL_CTX_new(TLS_method())); in Client()
/external/tensorflow/tensorflow/contrib/ignite/kernels/client/
Dignite_ssl_wrapper.cc63 ctx_ = SSL_CTX_new(SSLv23_method()); in InitSslContext()
/external/grpc-grpc/test/core/tsi/
Dssl_session_cache_test.cc42 SessionTracker() { ssl_context_ = SSL_CTX_new(TLSv1_2_method()); } in SessionTracker()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DAbstractSessionContext.java43 final long sslCtxNativePointer = NativeCrypto.SSL_CTX_new();
/external/conscrypt/common/src/main/java/org/conscrypt/
DAbstractSessionContext.java42 final long sslCtxNativePointer = NativeCrypto.SSL_CTX_new();
/external/grpc-grpc/test/core/handshake/
Dserver_ssl_common.cc150 SSL_CTX* ctx = SSL_CTX_new(method); in server_ssl_test()
Dclient_ssl.cc144 SSL_CTX* ctx = SSL_CTX_new(method); in server_thread()
/external/honggfuzz/examples/openssl/
Dclient.c443 ctx = SSL_CTX_new(SSLv23_method()); in LLVMFuzzerInitialize()
Dserver.c481 ctx = SSL_CTX_new(SSLv23_method()); in LLVMFuzzerInitialize()
/external/libevent/sample/
Dle-proxy.c273 ssl_ctx = SSL_CTX_new(TLS_method()); in main()
Dhttps-client.c332 ssl_ctx = SSL_CTX_new(SSLv23_method()); in main()
/external/libcups/cups/
Dtls-boringssl.c355 context = SSL_CTX_new(TLS_method()); in _httpTLSStart()
/external/webrtc/webrtc/base/
Dopensslstreamadapter.cc904 ctx = SSL_CTX_new(ssl_mode_ == SSL_MODE_DTLS ? in SetupSSLContext()
963 ctx = SSL_CTX_new(method); in SetupSSLContext()
/external/curl/lib/
Dsetup-vms.h275 #define SSL_CTX_new SSL_CTX_NEW macro
/external/boringssl/src/ssl/test/
Dfuzzer.h379 ctx_.reset(SSL_CTX_new(protocol_ == kDTLS ? DTLS_method() : TLS_method())); in Init()
/external/python/cpython3/Modules/
D_ssl.c2963 ctx = SSL_CTX_new(TLSv1_method()); in _ssl__SSLContext_impl()
2966 ctx = SSL_CTX_new(TLSv1_1_method()); in _ssl__SSLContext_impl()
2968 ctx = SSL_CTX_new(TLSv1_2_method()); in _ssl__SSLContext_impl()
2972 ctx = SSL_CTX_new(SSLv3_method()); in _ssl__SSLContext_impl()
2976 ctx = SSL_CTX_new(SSLv2_method()); in _ssl__SSLContext_impl()
2979 ctx = SSL_CTX_new(TLS_method()); in _ssl__SSLContext_impl()
2981 ctx = SSL_CTX_new(TLS_client_method()); in _ssl__SSLContext_impl()
2983 ctx = SSL_CTX_new(TLS_server_method()); in _ssl__SSLContext_impl()
/external/python/cpython2/Modules/
D_ssl.c2189 ctx = SSL_CTX_new(TLSv1_method()); in context_new()
2192 ctx = SSL_CTX_new(TLSv1_1_method()); in context_new()
2194 ctx = SSL_CTX_new(TLSv1_2_method()); in context_new()
2198 ctx = SSL_CTX_new(SSLv3_method()); in context_new()
2202 ctx = SSL_CTX_new(SSLv2_method()); in context_new()
2205 ctx = SSL_CTX_new(TLS_method()); in context_new()
/external/curl/lib/vtls/
Dmesalink.c137 BACKEND->ctx = SSL_CTX_new(req_method); in mesalink_connect_step1()
/external/libbrillo/brillo/streams/
Dtls_stream.cc344 ctx_.reset(SSL_CTX_new(TLSv1_2_client_method())); in Init()
/external/libevent/test/
Dregress_ssl.c172 the_ssl_ctx = SSL_CTX_new(SSLv23_method()); in get_ssl_ctx()

12