Home
last modified time | relevance | path

Searched refs:session_ctx (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/
H A Dssl_sess.c324 CRYPTO_THREAD_read_lock(s->session_ctx->lock); in ssl_generate_session_id()
327 else if (s->session_ctx->generate_session_id) in ssl_generate_session_id()
328 cb = s->session_ctx->generate_session_id; in ssl_generate_session_id()
329 CRYPTO_THREAD_unlock(s->session_ctx->lock); in ssl_generate_session_id()
375 if (s->session_ctx->session_timeout == 0) in ssl_get_new_session()
378 ss->timeout = s->session_ctx->session_timeout; in ssl_get_new_session()
424 if ((s->session_ctx->session_cache_mode in lookup_sess_in_cache()
435 CRYPTO_THREAD_read_lock(s->session_ctx->lock); in lookup_sess_in_cache()
436 ret = lh_SSL_SESSION_retrieve(s->session_ctx->sessions, &data); in lookup_sess_in_cache()
441 CRYPTO_THREAD_unlock(s->session_ctx->lock); in lookup_sess_in_cache()
[all …]
H A Ds3_msg.c55 SSL_CTX_remove_session(s->session_ctx, s->session); in ssl3_send_alert()
H A Dssl_lib.c776 s->session_ctx = ctx; in SSL_new()
941 CRYPTO_THREAD_read_lock(ssl->session_ctx->lock); in SSL_has_matching_session_id()
942 p = lh_SSL_SESSION_retrieve(ssl->session_ctx->sessions, &r); in SSL_has_matching_session_id()
943 CRYPTO_THREAD_unlock(ssl->session_ctx->lock); in SSL_has_matching_session_id()
1191 SSL_CTX_free(s->session_ctx); in SSL_free()
3536 i = s->session_ctx->session_cache_mode; in ssl_update_cache()
3555 || s->session_ctx->remove_session_cb != NULL in ssl_update_cache()
3557 SSL_CTX_add_session(s->session_ctx, s->session); in ssl_update_cache()
3564 if (s->session_ctx->new_session_cb != NULL) { in ssl_update_cache()
3566 if (!s->session_ctx->new_session_cb(s, s->session)) in ssl_update_cache()
[all …]
H A Dt1_lib.c1369 SSL_CTX *tctx = s->session_ctx; in tls_decrypt_ticket()
1530 if (s->session_ctx->decrypt_ticket_cb != NULL in tls_decrypt_ticket()
1540 retcb = s->session_ctx->decrypt_ticket_cb(s, sess, etick, keyname_len, in tls_decrypt_ticket()
1542 s->session_ctx->ticket_cb_data); in tls_decrypt_ticket()
H A Dssl_local.h1398 SSL_CTX *session_ctx; /* initial ctx, used to store sessions */ member
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/statem/
H A Dstatem_lib.c135 tsan_counter(&s->session_ctx->stats.sess_accept); in tls_setup_handshake()
144 tsan_counter(&s->session_ctx->stats.sess_connect); in tls_setup_handshake()
146 tsan_counter(&s->session_ctx->stats.sess_connect_renegotiate); in tls_setup_handshake()
1099 if ((s->session_ctx->session_cache_mode in tls_finish_handshake()
1101 SSL_CTX_remove_session(s->session_ctx, s->session); in tls_finish_handshake()
1110 tsan_counter(&s->session_ctx->stats.sess_hit); in tls_finish_handshake()
1113 tsan_counter(&s->session_ctx->stats.sess_connect_good); in tls_finish_handshake()
1518 if (!ossl_assert(s->ctx != NULL) || !ossl_assert(s->session_ctx != NULL)) in is_tls13_capable()
1526 || s->session_ctx->ext.servername_cb != NULL) in is_tls13_capable()
H A Dextensions.c934 if (!ossl_assert(s->ctx != NULL) || !ossl_assert(s->session_ctx != NULL)) { in final_server_name()
943 else if (s->session_ctx->ext.servername_cb != NULL) in final_server_name()
944 ret = s->session_ctx->ext.servername_cb(s, &altmp, in final_server_name()
945 s->session_ctx->ext.servername_arg); in final_server_name()
973 if (SSL_IS_FIRST_HANDSHAKE(s) && s->ctx != s->session_ctx in final_server_name()
976 tsan_decr(&s->session_ctx->stats.sess_accept); in final_server_name()
H A Dextensions_srvr.c771 s->session_ctx->ext.cookie_hmac_key, in tls_parse_ctos_cookie()
772 sizeof(s->session_ctx->ext in tls_parse_ctos_cookie()
1205 && !SSL_CTX_remove_session(s->session_ctx, sess)) { in tls_parse_ctos_psk()
1859 s->session_ctx->ext.cookie_hmac_key, in tls_construct_stoc_cookie()
1860 sizeof(s->session_ctx->ext in tls_construct_stoc_cookie()
H A Dstatem_clnt.c1617 tsan_counter(&s->session_ctx->stats.sess_miss); in tls_process_server_hello()
2632 if ((s->session_ctx->session_cache_mode & SSL_SESS_CACHE_CLIENT) != 0 in tls_process_new_session_ticket()
2639 SSL_CTX_remove_session(s->session_ctx, s->session); in tls_process_new_session_ticket()
H A Dstatem_srvr.c3876 SSL_CTX *tctx = s->session_ctx; in construct_stateless_ticket()
4061 SSL_CTX *tctx = s->session_ctx; in tls_construct_new_session_ticket()
/netbsd-src/external/bsd/wpa/dist/src/eap_server/
H A Deap_sim_db.h35 void (*get_complete_cb)(void *ctx, void *session_ctx),
H A Deap_sim_db.c64 void (*get_complete_cb)(void *ctx, void *session_ctx);
756 void (*get_complete_cb)(void *ctx, void *session_ctx), in eap_sim_db_init() argument
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/
H A Ds3_msg.c59 SSL_CTX_remove_session(s->session_ctx, s->session); in ssl3_send_alert()
H A Dssl_local.h1714 SSL_CTX *session_ctx; /* initial ctx, used to store sessions */ member
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/statem/
H A Dstatem_clnt.c1578 ssl_tsan_counter(s->session_ctx, &s->session_ctx->stats.sess_miss); in tls_process_server_hello()
2504 if ((s->session_ctx->session_cache_mode & SSL_SESS_CACHE_CLIENT) != 0 in tls_process_new_session_ticket()
2511 SSL_CTX_remove_session(s->session_ctx, s->session); in tls_process_new_session_ticket()
H A Dstatem_srvr.c3677 SSL_CTX *tctx = s->session_ctx; in construct_stateless_ticket()
3898 SSL_CTX *tctx = s->session_ctx; in tls_construct_new_session_ticket()
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/record/
H A Drec_layer_d1.c618 SSL_CTX_remove_session(s->session_ctx, s->session); in dtls1_read_bytes()
H A Drec_layer_s3.c1610 SSL_CTX_remove_session(s->session_ctx, s->session); in ssl3_read_bytes()
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/record/
H A Drec_layer_d1.c620 SSL_CTX_remove_session(s->session_ctx, s->session); in dtls1_read_bytes()
H A Drec_layer_s3.c1568 SSL_CTX_remove_session(s->session_ctx, s->session); in ssl3_read_bytes()