/foundation/communication/netstack/test/unittest/tlssocket/server/ |
H A D | tls_socket_server_mock_branch_test.cpp | 18 #include <openssl/ssl.h> 62 SSL *ssl = SSL_new(ctx); in HWTEST_F() local 63 connection->ssl_ = (SSL *)ssl; in HWTEST_F() 71 SSL *ssl = SSL_new(ctx); in HWTEST_F() local 72 connection->ssl_ = (SSL *)ssl; in HWTEST_F() 81 SSL *ssl = SSL_new(ctx); in HWTEST_F() local 82 connection->ssl_ = (SSL *)ssl; in HWTEST_F() 91 SSL *ssl = SSL_new(ctx); in HWTEST_F() local 92 connection->ssl_ = (SSL *)ssl; in HWTEST_F() 102 SSL *ssl in HWTEST_F() local [all...] |
H A D | TlsSocketServerTest.cpp | 20 #include <openssl/ssl.h>
|
/foundation/communication/netstack/test/unittest/tls_test/server/ |
H A D | tls_socket_server_mock_branch_test.cpp | 18 #include <openssl/ssl.h> 62 SSL *ssl = SSL_new(ctx); in HWTEST_F() local 63 connection->ssl_ = (SSL *)ssl; in HWTEST_F() 71 SSL *ssl = SSL_new(ctx); in HWTEST_F() local 72 connection->ssl_ = (SSL *)ssl; in HWTEST_F() 81 SSL *ssl = SSL_new(ctx); in HWTEST_F() local 82 connection->ssl_ = (SSL *)ssl; in HWTEST_F() 91 SSL *ssl = SSL_new(ctx); in HWTEST_F() local 92 connection->ssl_ = (SSL *)ssl; in HWTEST_F() 102 SSL *ssl in HWTEST_F() local [all...] |
/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | TlsContextTest.cpp | 20 #include <openssl/ssl.h> 92 SSL *ssl = tlsContext->CreateSsl(); in HWTEST_F() local 93 EXPECT_NE(ssl, nullptr); in HWTEST_F() 94 SSL_free(ssl); in HWTEST_F() 95 ssl = nullptr; in HWTEST_F()
|
H A D | tls_utils_test.h | 23 #include <openssl/ssl.h>
|
H A D | TlsSocketBranchTest.cpp | 19 #include <openssl/ssl.h> 338 ssl_st *ssl = tlsSocketInternal->GetSSL(); in HWTEST_F() local 339 EXPECT_NE(ssl, nullptr); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/tls_test/client/ |
H A D | TlsContextTest.cpp | 20 #include <openssl/ssl.h>
92 SSL *ssl = tlsContext->CreateSsl();
in HWTEST_F() local 93 EXPECT_NE(ssl, nullptr);
in HWTEST_F() 94 SSL_free(ssl);
in HWTEST_F() 95 ssl = nullptr;
in HWTEST_F()
|
H A D | tls_utils_test.h | 23 #include <openssl/ssl.h>
|
H A D | TlsSocketBranchTest.cpp | 19 #include <openssl/ssl.h>
338 ssl_st *ssl = tlsSocketInternal->GetSSL();
in HWTEST_F() local 339 EXPECT_NE(ssl, nullptr);
in HWTEST_F()
|
/foundation/communication/netstack/frameworks/native/tls_socket/src/ |
H A D | socket_error.cpp | 22 #include <openssl/ssl.h>
|
H A D | tls_context.cpp | 20 #include <openssl/ssl.h>
|
H A D | tls_context_server.cpp | 21 #include <openssl/ssl.h>
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/ |
H A D | nstackx_openssl.h | 22 #include <openssl/ssl.h>
|
/foundation/communication/netstack/frameworks/native/net_ssl/include/ |
H A D | net_ssl_verify_cert.h | 23 #include <openssl/ssl.h>
|
/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tls_socket.cpp | 28 #include <openssl/ssl.h> 1211 bool TLSSocket::TLSSocketInternal::SendRetry(ssl_st *ssl, const char *curPos, size_t curSendSize, int sockfd) in SendRetry() argument 1226 int len = SSL_write(ssl, curPos, curSendSize); in SendRetry() 1228 int err = SSL_get_error(ssl, SSL_RET_CODE); in SendRetry() 1247 bool TLSSocket::TLSSocketInternal::PollSend(int sockfd, ssl_st *ssl, const char *pdata, int sendSize) in PollSend() argument 1266 if (!ssl) { in PollSend() 1267 NETSTACK_LOGE("ssl is null"); in PollSend() 1271 int len = SSL_write(ssl, curPos, curSendSize); in PollSend() 1273 int err = SSL_get_error(ssl, SSL_RET_CODE); in PollSend() 1278 } else if (!SendRetry(ssl, curPo in PollSend() [all...] |
H A D | tls_socket_server.cpp | 23 #include <openssl/ssl.h>
101 int ConvertSSLError(ssl_st *ssl)
in ConvertSSLError() argument 103 if (!ssl) {
in ConvertSSLError() 106 return TlsSocket::TlsSocketError::TLS_ERR_SSL_BASE + SSL_get_error(ssl, SSL_RET_CODE);
in ConvertSSLError() 790 NETSTACK_LOGE("ssl is null");
in Send() 810 NETSTACK_LOGE("ssl is null");
in Recv() 819 NETSTACK_LOGE("ssl is null");
in Close() 845 NETSTACK_LOGE("ssl is null");
in SetAlpnProtocols() 887 NETSTACK_LOGE("ssl in null");
in GetCipherSuite() 923 NETSTACK_LOGE("ssl i in GetProtocol() [all...] |
/foundation/communication/netstack/interfaces/innerkits/tls_socket/include/ |
H A D | tls_socket.h | 497 * convert the code to ssl error code 498 * @return the value for ssl error code. 551 * Obtain the ssl used in encrypted communication 557 bool SendRetry(ssl_st *ssl, const char *curPos, size_t curSendSize, int sockfd); 563 bool PollSend(int sockfd, ssl_st *ssl, const char *pdata, int sendSize);
|
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/include/ |
H A D | http_exec.h | 29 #include <openssl/ssl.h>
|
/foundation/communication/netstack/interfaces/kits/c/net_ssl/src/ |
H A D | net_ssl_c.cpp | 21 #include <openssl/ssl.h>
|
/foundation/communication/netstack/frameworks/js/napi/net_ssl/async_context/src/ |
H A D | cert_context.cpp | 20 #include <openssl/ssl.h>
|
/foundation/communication/netstack/frameworks/native/http/http_client/ |
H A D | http_client_task.cpp | 21 #include <openssl/ssl.h>
|
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_client_exec.cpp | 25 #include <openssl/ssl.h> 620 // in real life, you should buy a ssl certification and rename it to /etc/ssl/cert.pem in SetServerSSLCertOption()
|
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/ |
H A D | http_exec.cpp | 28 #include <openssl/ssl.h> 1013 // in real life, you should buy a ssl certification and rename it to /etc/ssl/cert.pem in AddCurlHandle()
|