Lines Matching defs:ssl
13 #include <openssl/ssl.h>
45 int AllowEarlyDataCallback(SSL* ssl, void* arg) {
51 int NewSessionCallback(SSL* ssl, SSL_SESSION* session) {
54 return TLSContext::From(ssl).OnNewSession(session);
57 void KeylogCallback(const SSL* ssl, const char* line) {
58 TLSContext::From(ssl).Keylog(line);
61 int AlpnSelectionCallback(SSL* ssl,
67 auto& context = TLSContext::From(ssl);
234 void EnableTrace(Environment* env, crypto::BIOPointer* bio, SSL* ssl) {
246 ssl,
252 SSL* ssl,
255 SSL_trace(write_p, version, content_type, buf, len, ssl, arg);
257 SSL_set_msg_callback_arg(ssl, bio->get());
332 inline const TLSContext& TLSContext::From(const SSL* ssl) {
333 auto ref = static_cast<ngtcp2_crypto_conn_ref*>(SSL_get_app_data(ssl));
338 inline TLSContext& TLSContext::From(SSL* ssl) {
339 auto ref = static_cast<ngtcp2_crypto_conn_ref*>(SSL_get_app_data(ssl));