Searched refs:session_ctx (Results 1 – 12 of 12) sorted by relevance
/openssl/ssl/ |
H A D | ssl_sess.c | 403 else if (s->session_ctx->generate_session_id) in ssl_generate_session_id() 404 cb = s->session_ctx->generate_session_id; in ssl_generate_session_id() 405 CRYPTO_THREAD_unlock(s->session_ctx->lock); in ssl_generate_session_id() 452 ss->timeout = s->session_ctx->session_timeout; in ssl_get_new_session() 499 if ((s->session_ctx->session_cache_mode in lookup_sess_in_cache() 517 CRYPTO_THREAD_unlock(s->session_ctx->lock); in lookup_sess_in_cache() 519 ssl_tsan_counter(s->session_ctx, &s->session_ctx->stats.sess_miss); in lookup_sess_in_cache() 535 ssl_tsan_counter(s->session_ctx, in lookup_sess_in_cache() 552 if ((s->session_ctx->session_cache_mode & in lookup_sess_in_cache() 667 ssl_tsan_counter(s->session_ctx, &s->session_ctx->stats.sess_timeout); in ssl_get_prev_session() [all …]
|
H A D | s3_msg.c | 62 SSL_CTX_remove_session(s->session_ctx, s->session); in ssl3_send_alert()
|
H A D | ssl_lib.c | 827 s->session_ctx = ctx; in ossl_ssl_connection_new_int() 1064 if (!CRYPTO_THREAD_read_lock(sc->session_ctx->lock)) in SSL_has_matching_session_id() 1066 p = lh_SSL_SESSION_retrieve(sc->session_ctx->sessions, &r); in SSL_has_matching_session_id() 1067 CRYPTO_THREAD_unlock(sc->session_ctx->lock); in SSL_has_matching_session_id() 1444 SSL_CTX_free(s->session_ctx); in ossl_ssl_connection_free() 4650 i = s->session_ctx->session_cache_mode; in ssl_update_cache() 4671 SSL_CTX_add_session(s->session_ctx, s->session); in ssl_update_cache() 4678 if (s->session_ctx->new_session_cb != NULL) { in ssl_update_cache() 4691 stat = &s->session_ctx->stats.sess_connect_good; in ssl_update_cache() 4693 stat = &s->session_ctx->stats.sess_accept_good; in ssl_update_cache() [all …]
|
H A D | t1_lib.c | 2382 SSL_CTX *tctx = s->session_ctx; in tls_decrypt_ticket() 2575 if (s->session_ctx->decrypt_ticket_cb != NULL in tls_decrypt_ticket() 2585 retcb = s->session_ctx->decrypt_ticket_cb(SSL_CONNECTION_GET_SSL(s), in tls_decrypt_ticket() 2588 s->session_ctx->ticket_cb_data); in tls_decrypt_ticket()
|
H A D | ssl_local.h | 1714 SSL_CTX *session_ctx; /* initial ctx, used to store sessions */ member
|
/openssl/ssl/statem/ |
H A D | statem_lib.c | 221 ssl_tsan_counter(s->session_ctx, &s->session_ctx->stats.sess_accept); in tls_setup_handshake() 230 ssl_tsan_counter(s->session_ctx, &s->session_ctx->stats.sess_connect); in tls_setup_handshake() 232 ssl_tsan_counter(s->session_ctx, in tls_setup_handshake() 233 &s->session_ctx->stats.sess_connect_renegotiate); in tls_setup_handshake() 1479 if ((s->session_ctx->session_cache_mode in tls_finish_handshake() 1481 SSL_CTX_remove_session(s->session_ctx, s->session); in tls_finish_handshake() 1490 ssl_tsan_counter(s->session_ctx, in tls_finish_handshake() 1491 &s->session_ctx->stats.sess_hit); in tls_finish_handshake() 1494 ssl_tsan_counter(s->session_ctx, in tls_finish_handshake() 1495 &s->session_ctx->stats.sess_connect_good); in tls_finish_handshake() [all …]
|
H A D | extensions.c | 998 if (!ossl_assert(sctx != NULL) || !ossl_assert(s->session_ctx != NULL)) { in final_server_name() 1006 else if (s->session_ctx->ext.servername_cb != NULL) in final_server_name() 1007 ret = s->session_ctx->ext.servername_cb(ussl, &altmp, in final_server_name() 1008 s->session_ctx->ext.servername_arg); in final_server_name() 1035 if (SSL_IS_FIRST_HANDSHAKE(s) && sctx != s->session_ctx in final_server_name() 1038 ssl_tsan_decr(s->session_ctx, &s->session_ctx->stats.sess_accept); in final_server_name()
|
H A D | extensions_srvr.c | 764 s->session_ctx->ext.cookie_hmac_key, in tls_parse_ctos_cookie() 765 sizeof(s->session_ctx->ext.cookie_hmac_key)); in tls_parse_ctos_cookie() 1174 && !SSL_CTX_remove_session(s->session_ctx, sess)) { in tls_parse_ctos_psk() 1864 s->session_ctx->ext.cookie_hmac_key, in tls_construct_stoc_cookie() 1865 sizeof(s->session_ctx->ext.cookie_hmac_key)); in tls_construct_stoc_cookie()
|
H A D | statem_clnt.c | 1666 ssl_tsan_counter(s->session_ctx, &s->session_ctx->stats.sess_miss); in tls_process_server_hello() 2738 if ((s->session_ctx->session_cache_mode & SSL_SESS_CACHE_CLIENT) != 0 in tls_process_new_session_ticket() 2745 SSL_CTX_remove_session(s->session_ctx, s->session); in tls_process_new_session_ticket()
|
H A D | statem_srvr.c | 3936 SSL_CTX *tctx = s->session_ctx; in construct_stateless_ticket() 4166 SSL_CTX *tctx = s->session_ctx; in tls_construct_new_session_ticket()
|
/openssl/ssl/record/ |
H A D | rec_layer_d1.c | 448 SSL_CTX_remove_session(sc->session_ctx, sc->session); in dtls1_read_bytes()
|
H A D | rec_layer_s3.c | 916 SSL_CTX_remove_session(s->session_ctx, s->session); in ssl3_read_bytes()
|
Completed in 89 milliseconds