Home
last modified time | relevance | path

Searched refs:SSL_SESSION (Results 1 – 25 of 33) sorted by relevance

12

/external/boringssl/src/ssl/
Dssl_session.cc159 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session);
160 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session);
161 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *session, int lock);
163 SSL_SESSION *ssl_session_new(const SSL_X509_METHOD *x509_method) { in ssl_session_new()
164 SSL_SESSION *session = (SSL_SESSION *)OPENSSL_malloc(sizeof(SSL_SESSION)); in ssl_session_new()
169 OPENSSL_memset(session, 0, sizeof(SSL_SESSION)); in ssl_session_new()
181 SSL_SESSION *SSL_SESSION_new(const SSL_CTX *ctx) { in SSL_SESSION_new()
185 SSL_SESSION *SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup()
186 SSL_SESSION *new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup()
317 void ssl_session_rebase_time(SSL *ssl, SSL_SESSION *session) { in ssl_session_rebase_time()
[all …]
Dinternal.h373 const SSL_SESSION *session, in OPENSSL_MSVC_PRAGMA()
381 size_t *out_len, const SSL_SESSION *session, in OPENSSL_MSVC_PRAGMA()
991 int tls13_verify_psk_binder(SSL_HANDSHAKE *hs, SSL_SESSION *session, in OPENSSL_MSVC_PRAGMA()
1153 SSL_SESSION *new_session; in OPENSSL_MSVC_PRAGMA()
1157 SSL_SESSION *early_session; in OPENSSL_MSVC_PRAGMA()
1591 int (*session_cache_objects)(SSL_SESSION *session); in OPENSSL_MSVC_PRAGMA()
1594 int (*session_dup)(SSL_SESSION *new_session, const SSL_SESSION *session); in OPENSSL_MSVC_PRAGMA()
1596 void (*session_clear)(SSL_SESSION *session); in OPENSSL_MSVC_PRAGMA()
1600 int (*session_verify_cert_chain)(SSL_SESSION *session, SSL *ssl); in OPENSSL_MSVC_PRAGMA()
1793 SSL_SESSION *established_session; in OPENSSL_MSVC_PRAGMA()
[all …]
Dtls_method.cc234 static int ssl_noop_x509_session_cache_objects(SSL_SESSION *sess) { in ssl_noop_x509_session_cache_objects()
237 static int ssl_noop_x509_session_dup(SSL_SESSION *new_session, in ssl_noop_x509_session_dup()
238 const SSL_SESSION *session) { in ssl_noop_x509_session_dup()
241 static void ssl_noop_x509_session_clear(SSL_SESSION *session) {} in ssl_noop_x509_session_clear()
242 static int ssl_noop_x509_session_verify_cert_chain(SSL_SESSION *session, in ssl_noop_x509_session_verify_cert_chain()
Dssl_x509.cc176 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_peer_certificate()
189 SSL_SESSION *session = SSL_get_session(ssl); in STACK_OF()
223 SSL_SESSION *session = SSL_get_session(ssl); in STACK_OF()
352 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_verify_result()
496 static int ssl_crypto_x509_session_cache_objects(SSL_SESSION *sess) { in ssl_crypto_x509_session_cache_objects()
537 static int ssl_crypto_x509_session_dup(SSL_SESSION *new_session, in ssl_crypto_x509_session_dup()
538 const SSL_SESSION *session) { in ssl_crypto_x509_session_dup()
553 static void ssl_crypto_x509_session_clear(SSL_SESSION *session) { in ssl_crypto_x509_session_clear()
622 static int ssl_crypto_x509_session_verify_cert_chain(SSL_SESSION *session, in ssl_crypto_x509_session_verify_cert_chain()
1047 static SSL_SESSION *ssl_session_new_with_crypto_x509(void) { in ssl_session_new_with_crypto_x509()
[all …]
Dssl_test.cc670 bssl::UniquePtr<SSL_SESSION> session( in TestSSL_SESSIONEncoding()
744 bssl::UniquePtr<SSL_SESSION> session( in TestBadSSL_SESSIONEncoding()
814 static bssl::UniquePtr<SSL_SESSION> CreateSessionWithTicket(uint16_t version, in CreateSessionWithTicket()
825 bssl::UniquePtr<SSL_SESSION> session( in CreateSessionWithTicket()
881 bssl::UniquePtr<SSL_SESSION> session = in GetClientHelloLen()
992 static void AppendSession(SSL_SESSION *session, void *arg) { in AppendSession()
993 std::vector<SSL_SESSION*> *out = in AppendSession()
994 reinterpret_cast<std::vector<SSL_SESSION*>*>(arg); in AppendSession()
1001 const std::vector<SSL_SESSION*> &expected) { in CacheEquals()
1003 SSL_SESSION *ptr = ctx->session_cache_head; in CacheEquals()
[all …]
Dssl_asn1.cc197 static int SSL_SESSION_to_bytes_full(const SSL_SESSION *in, uint8_t **out_data, in SSL_SESSION_to_bytes_full()
425 int SSL_SESSION_to_bytes(const SSL_SESSION *in, uint8_t **out_data, in SSL_SESSION_to_bytes()
446 int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in, uint8_t **out_data, in SSL_SESSION_to_bytes_for_ticket()
451 int i2d_SSL_SESSION(SSL_SESSION *in, uint8_t **pp) { in i2d_SSL_SESSION()
577 SSL_SESSION *SSL_SESSION_parse(CBS *cbs, const SSL_X509_METHOD *x509_method, in SSL_SESSION_parse()
579 SSL_SESSION *ret = ssl_session_new(x509_method); in SSL_SESSION_parse()
808 SSL_SESSION *SSL_SESSION_from_bytes(const uint8_t *in, size_t in_len, in SSL_SESSION_from_bytes()
812 SSL_SESSION *ret = SSL_SESSION_parse(&cbs, ctx->x509_method, ctx->pool); in SSL_SESSION_from_bytes()
Dssl_transcript.cc268 const SSL_SESSION *session, in ssl3_handshake_mac()
327 const SSL_SESSION *session, in SSL_TRANSCRIPT_ssl3_cert_verify_hash()
356 size_t *out_len, const SSL_SESSION *session, in SSL_TRANSCRIPT_finish_mac()
Dssl_lib.cc193 static uint32_t ssl_session_hash(const SSL_SESSION *sess) { in ssl_session_hash()
217 static int ssl_session_cmp(const SSL_SESSION *a, const SSL_SESSION *b) { in ssl_session_cmp()
1360 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx) { return ctx->sessions; } in LHASH_OF() argument
1450 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_curve_id()
1542 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_servername()
1550 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_servername_type()
1579 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get0_signed_cert_timestamp_list()
1593 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get0_ocsp_response()
2088 SSL_SESSION *session = SSL_get_session(ssl); in SSL_get_psk_identity()
2226 *ssl_session_size = sizeof(SSL_SESSION); in SSL_get_structure_sizes()
[all …]
Dtls13_server.cc160 SSL_SESSION *session = hs->new_session; in add_new_session_tickets()
262 SSL_HANDSHAKE *hs, uint8_t *out_alert, SSL_SESSION **out_session, in select_session()
295 SSL_SESSION *session = NULL; in select_session()
361 SSL_SESSION *session = NULL; in do_select_session()
Dhandshake_server.cc813 SSL_SESSION *session_raw = nullptr; in ssl3_select_parameters()
816 bssl::UniquePtr<SSL_SESSION> session(session_raw); in ssl3_select_parameters()
961 const SSL_SESSION *session = hs->new_session; in ssl3_send_server_hello()
1673 const SSL_SESSION *session; in ssl3_send_server_finished()
1674 SSL_SESSION *session_copy = NULL; in ssl3_send_server_finished()
Dtls13_enc.cc117 const SSL_SESSION *session = SSL_get_session(ssl); in tls13_set_traffic_key()
408 int tls13_verify_psk_binder(SSL_HANDSHAKE *hs, SSL_SESSION *session, in tls13_verify_psk_binder()
Dssl_versions.cc286 const char *SSL_SESSION_get_version(const SSL_SESSION *session) { in SSL_SESSION_get_version()
/external/boringssl/src/include/openssl/
Dlhash_macros.h139 ((LHASH_OF(SSL_SESSION) *)lh_new( \
140 CHECKED_CAST(lhash_hash_func, uint32_t(*)(const SSL_SESSION *), hash), \
142 int (*)(const SSL_SESSION *a, const SSL_SESSION *b), \
146 lh_free(CHECKED_CAST(_LHASH *, LHASH_OF(SSL_SESSION) *, lh));
149 lh_num_items(CHECKED_CAST(_LHASH *, LHASH_OF(SSL_SESSION) *, lh))
152 ((SSL_SESSION *)lh_retrieve( \
153 CHECKED_CAST(_LHASH *, LHASH_OF(SSL_SESSION) *, lh), \
154 CHECKED_CAST(void *, SSL_SESSION *, data)))
157 lh_insert(CHECKED_CAST(_LHASH *, LHASH_OF(SSL_SESSION) *, lh), \
158 CHECKED_CAST(void **, SSL_SESSION **, old_data), \
[all …]
Dssl.h1625 DECLARE_LHASH_OF(SSL_SESSION)
1626 DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
1631 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_new(const SSL_CTX *ctx);
1635 OPENSSL_EXPORT int SSL_SESSION_up_ref(SSL_SESSION *session);
1639 OPENSSL_EXPORT void SSL_SESSION_free(SSL_SESSION *session);
1645 OPENSSL_EXPORT int SSL_SESSION_to_bytes(const SSL_SESSION *in,
1650 OPENSSL_EXPORT int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in,
1656 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_from_bytes(
1661 OPENSSL_EXPORT const char *SSL_SESSION_get_version(const SSL_SESSION *session);
1665 OPENSSL_EXPORT const uint8_t *SSL_SESSION_get_id(const SSL_SESSION *session,
[all …]
Dbase.h323 typedef struct ssl_session_st SSL_SESSION; typedef
/external/conscrypt/common/src/main/java/org/conscrypt/
DSslSessionWrapper.java49 static SslSessionWrapper newInstance(NativeRef.SSL_SESSION ref, ActiveSession activeSession) in newInstance()
150 NativeRef.SSL_SESSION ref = in newInstance()
151 new NativeRef.SSL_SESSION(NativeCrypto.d2i_SSL_SESSION(sessionData)); in newInstance()
210 private final NativeRef.SSL_SESSION ref;
222 private Impl(AbstractSessionContext context, NativeRef.SSL_SESSION ref, String host, in Impl()
DNativeRef.java138 static final class SSL_SESSION extends NativeRef { class in NativeRef
139 SSL_SESSION(long nativePointer) { in SSL_SESSION() method in NativeRef.SSL_SESSION
DConscryptFileDescriptorSocket.java46 import org.conscrypt.NativeRef.SSL_SESSION;
362 NativeRef.SSL_SESSION ref = new SSL_SESSION(sslSessionNativePtr); in onNewSessionEstablished()
DConscryptEngine.java92 import org.conscrypt.NativeRef.SSL_SESSION;
1542 NativeRef.SSL_SESSION ref = new SSL_SESSION(sslSessionNativePtr); in onNewSessionEstablished()
/external/boringssl/src/tool/
Dclient.cc167 static bssl::UniquePtr<SSL_SESSION> resume_session;
169 static int NewSessionCallback(SSL *ssl, SSL_SESSION *session) { in NewSessionCallback()
178 resume_session = bssl::UniquePtr<SSL_SESSION>(session); in NewSessionCallback()
255 bssl::UniquePtr<SSL_SESSION> session(PEM_read_bio_SSL_SESSION(in.get(), in DoConnection()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc99 bssl::UniquePtr<SSL_SESSION> session;
100 bssl::UniquePtr<SSL_SESSION> pending_session;
110 bssl::UniquePtr<SSL_SESSION> new_session;
836 static SSL_SESSION *GetSessionCallback(SSL *ssl, uint8_t *data, int len, in GetSessionCallback()
877 static int NewSessionCallback(SSL *ssl, SSL_SESSION *session) { in NewSessionCallback()
1070 static void ssl_ctx_add_session(SSL_SESSION *session, void *void_param) { in ssl_ctx_add_session()
1071 SSL_SESSION *new_session = SSL_SESSION_dup( in ssl_ctx_add_session()
1693 const SSL_SESSION *session) { in WriteSettings()
1753 static bool DoExchange(bssl::UniquePtr<SSL_SESSION> *out_session, SSL *ssl,
1760 static bool DoConnection(bssl::UniquePtr<SSL_SESSION> *out_session, in DoConnection()
[all …]
Dfuzzer.h76 bssl::UniquePtr<SSL_SESSION> session( in SetupTest()
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp89 static SSL_SESSION* to_SSL_SESSION(JNIEnv* env, jlong ssl_session_address, bool throwIfNull) { in to_SSL_SESSION()
90 SSL_SESSION* ssl_session in to_SSL_SESSION()
91 = reinterpret_cast<SSL_SESSION*>(static_cast<uintptr_t>(ssl_session_address)); in to_SSL_SESSION()
5837 static int new_session_callback(SSL* ssl, SSL_SESSION* session) { in new_session_callback()
5868 static SSL_SESSION* server_session_requested_callback(SSL* ssl, uint8_t* id, int id_len, in server_session_requested_callback()
5906 SSL_SESSION* ssl_session_ptr = reinterpret_cast<SSL_SESSION*>( in server_session_requested_callback()
6808 SSL_SESSION* ssl_session = to_SSL_SESSION(env, ssl_session_address, false); in NativeCrypto_SSL_set_session()
7957 SSL_SESSION* ssl_session = to_SSL_SESSION(env, ssl_session_address, true); in NativeCrypto_SSL_SESSION_session_id()
7977 SSL_SESSION* ssl_session = to_SSL_SESSION(env, ssl_session_address, true); in NativeCrypto_SSL_SESSION_get_time()
8000 SSL_SESSION* ssl_session = SSL_get_session(ssl); in NativeCrypto_SSL_get_time()
[all …]
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py1254 SSL_SESSION = ssl_session_st variable
1296 ('new_session_cb', CFUNCTYPE(c_int, POINTER(ssl_st), POINTER(SSL_SESSION))),
1297 ('remove_session_cb', CFUNCTYPE(None, POINTER(ssl_ctx_st), POINTER(SSL_SESSION))),
1298 …('get_session_cb', CFUNCTYPE(POINTER(SSL_SESSION), POINTER(ssl_st), POINTER(c_ubyte), c_int, POINT…
1380 ('session', POINTER(SSL_SESSION)),
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c91 static size_t SSL_SESSION_get_master_key(const SSL_SESSION *session, in SSL_SESSION_get_master_key()
865 static void remove_session_cb(SSL_CTX *ctx, SSL_SESSION *sess) in remove_session_cb()
3196 SSL_SESSION *sess; in tls_connection_get_eap_fast_key()
4287 SSL_SESSION *sess; in tls_connection_set_success_data()
4325 SSL_SESSION *sess; in tls_connection_get_success_data()
4336 SSL_SESSION *sess; in tls_connection_remove_session()

12