Home
last modified time | relevance | path

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

12

/third_party/openssl/ssl/
Dssl_sess.c383 if (!CRYPTO_THREAD_read_lock(s->session_ctx->lock)) { in ssl_generate_session_id()
391 else if (s->session_ctx->generate_session_id) in ssl_generate_session_id()
392 cb = s->session_ctx->generate_session_id; in ssl_generate_session_id()
393 CRYPTO_THREAD_unlock(s->session_ctx->lock); in ssl_generate_session_id()
437 if (s->session_ctx->session_timeout == 0) in ssl_get_new_session()
440 ss->timeout = s->session_ctx->session_timeout; in ssl_get_new_session()
486 if ((s->session_ctx->session_cache_mode in lookup_sess_in_cache()
497 if (!CRYPTO_THREAD_read_lock(s->session_ctx->lock)) in lookup_sess_in_cache()
499 ret = lh_SSL_SESSION_retrieve(s->session_ctx->sessions, &data); in lookup_sess_in_cache()
504 CRYPTO_THREAD_unlock(s->session_ctx->lock); in lookup_sess_in_cache()
[all …]
Ds3_msg.c59 SSL_CTX_remove_session(s->session_ctx, s->session); in ssl3_send_alert()
Dssl_lib.c770 s->session_ctx = ctx; in SSL_new()
937 if (!CRYPTO_THREAD_read_lock(ssl->session_ctx->lock)) in SSL_has_matching_session_id()
939 p = lh_SSL_SESSION_retrieve(ssl->session_ctx->sessions, &r); in SSL_has_matching_session_id()
940 CRYPTO_THREAD_unlock(ssl->session_ctx->lock); in SSL_has_matching_session_id()
1221 SSL_CTX_free(s->session_ctx); in SSL_free()
3738 i = s->session_ctx->session_cache_mode; in ssl_update_cache()
3757 || s->session_ctx->remove_session_cb != NULL in ssl_update_cache()
3759 SSL_CTX_add_session(s->session_ctx, s->session); in ssl_update_cache()
3766 if (s->session_ctx->new_session_cb != NULL) { in ssl_update_cache()
3768 if (!s->session_ctx->new_session_cb(s, s->session)) in ssl_update_cache()
[all …]
/third_party/node/deps/openssl/openssl/ssl/
Dssl_sess.c383 if (!CRYPTO_THREAD_read_lock(s->session_ctx->lock)) { in ssl_generate_session_id()
391 else if (s->session_ctx->generate_session_id) in ssl_generate_session_id()
392 cb = s->session_ctx->generate_session_id; in ssl_generate_session_id()
393 CRYPTO_THREAD_unlock(s->session_ctx->lock); in ssl_generate_session_id()
437 if (s->session_ctx->session_timeout == 0) in ssl_get_new_session()
440 ss->timeout = s->session_ctx->session_timeout; in ssl_get_new_session()
486 if ((s->session_ctx->session_cache_mode in lookup_sess_in_cache()
497 if (!CRYPTO_THREAD_read_lock(s->session_ctx->lock)) in lookup_sess_in_cache()
499 ret = lh_SSL_SESSION_retrieve(s->session_ctx->sessions, &data); in lookup_sess_in_cache()
504 CRYPTO_THREAD_unlock(s->session_ctx->lock); in lookup_sess_in_cache()
[all …]
Ds3_msg.c59 SSL_CTX_remove_session(s->session_ctx, s->session); in ssl3_send_alert()
Dssl_lib.c819 s->session_ctx = ctx; in SSL_new()
990 if (!CRYPTO_THREAD_read_lock(ssl->session_ctx->lock)) in SSL_has_matching_session_id()
992 p = lh_SSL_SESSION_retrieve(ssl->session_ctx->sessions, &r); in SSL_has_matching_session_id()
993 CRYPTO_THREAD_unlock(ssl->session_ctx->lock); in SSL_has_matching_session_id()
1274 SSL_CTX_free(s->session_ctx); in SSL_free()
3823 i = s->session_ctx->session_cache_mode; in ssl_update_cache()
3842 || s->session_ctx->remove_session_cb != NULL in ssl_update_cache()
3844 SSL_CTX_add_session(s->session_ctx, s->session); in ssl_update_cache()
3851 if (s->session_ctx->new_session_cb != NULL) { in ssl_update_cache()
3853 if (!s->session_ctx->new_session_cb(s, s->session)) in ssl_update_cache()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_tls_common.c49 u8 session_ctx[8]; in eap_server_tls_ssl_init() local
76 os_memcpy(session_ctx, "hostapd", 7); in eap_server_tls_ssl_init()
77 session_ctx[7] = (u8) eap_type; in eap_server_tls_ssl_init()
79 flags, session_ctx, in eap_server_tls_ssl_init()
80 sizeof(session_ctx))) { in eap_server_tls_ssl_init()
Deap_sim_db.h35 void (*get_complete_cb)(void *ctx, void *session_ctx),
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
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_tls_common.c49 u8 session_ctx[8]; in eap_server_tls_ssl_init() local
76 os_memcpy(session_ctx, "hostapd", 7); in eap_server_tls_ssl_init()
77 session_ctx[7] = (u8) eap_type; in eap_server_tls_ssl_init()
79 flags, session_ctx, in eap_server_tls_ssl_init()
80 sizeof(session_ctx))) { in eap_server_tls_ssl_init()
Deap_sim_db.h35 void (*get_complete_cb)(void *ctx, void *session_ctx),
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
/third_party/openssl/ssl/statem/
Dstatem_lib.c178 ssl_tsan_counter(s->session_ctx, &s->session_ctx->stats.sess_accept); in tls_setup_handshake()
187 ssl_tsan_counter(s->session_ctx, &s->session_ctx->stats.sess_connect); in tls_setup_handshake()
189 ssl_tsan_counter(s->session_ctx, in tls_setup_handshake()
190 &s->session_ctx->stats.sess_connect_renegotiate); in tls_setup_handshake()
1109 if ((s->session_ctx->session_cache_mode in tls_finish_handshake()
1111 SSL_CTX_remove_session(s->session_ctx, s->session); in tls_finish_handshake()
1120 ssl_tsan_counter(s->session_ctx, in tls_finish_handshake()
1121 &s->session_ctx->stats.sess_hit); in tls_finish_handshake()
1124 ssl_tsan_counter(s->session_ctx, in tls_finish_handshake()
1125 &s->session_ctx->stats.sess_connect_good); in tls_finish_handshake()
[all …]
Dextensions.c941 if (!ossl_assert(s->ctx != NULL) || !ossl_assert(s->session_ctx != NULL)) { in final_server_name()
949 else if (s->session_ctx->ext.servername_cb != NULL) in final_server_name()
950 ret = s->session_ctx->ext.servername_cb(s, &altmp, in final_server_name()
951 s->session_ctx->ext.servername_arg); in final_server_name()
978 if (SSL_IS_FIRST_HANDSHAKE(s) && s->ctx != s->session_ctx in final_server_name()
981 ssl_tsan_decr(s->session_ctx, &s->session_ctx->stats.sess_accept); in final_server_name()
Dextensions_srvr.c726 s->session_ctx->ext.cookie_hmac_key, in tls_parse_ctos_cookie()
727 sizeof(s->session_ctx->ext.cookie_hmac_key)); in tls_parse_ctos_cookie()
1130 && !SSL_CTX_remove_session(s->session_ctx, sess)) { in tls_parse_ctos_psk()
1803 s->session_ctx->ext.cookie_hmac_key, in tls_construct_stoc_cookie()
1804 sizeof(s->session_ctx->ext.cookie_hmac_key)); in tls_construct_stoc_cookie()
/third_party/node/deps/openssl/openssl/ssl/statem/
Dstatem_lib.c199 ssl_tsan_counter(s->session_ctx, &s->session_ctx->stats.sess_accept); in tls_setup_handshake()
208 ssl_tsan_counter(s->session_ctx, &s->session_ctx->stats.sess_connect); in tls_setup_handshake()
210 ssl_tsan_counter(s->session_ctx, in tls_setup_handshake()
211 &s->session_ctx->stats.sess_connect_renegotiate); in tls_setup_handshake()
1144 if ((s->session_ctx->session_cache_mode in tls_finish_handshake()
1146 SSL_CTX_remove_session(s->session_ctx, s->session); in tls_finish_handshake()
1155 ssl_tsan_counter(s->session_ctx, in tls_finish_handshake()
1156 &s->session_ctx->stats.sess_hit); in tls_finish_handshake()
1159 ssl_tsan_counter(s->session_ctx, in tls_finish_handshake()
1160 &s->session_ctx->stats.sess_connect_good); in tls_finish_handshake()
[all …]
Dextensions.c969 if (!ossl_assert(s->ctx != NULL) || !ossl_assert(s->session_ctx != NULL)) { in final_server_name()
977 else if (s->session_ctx->ext.servername_cb != NULL) in final_server_name()
978 ret = s->session_ctx->ext.servername_cb(s, &altmp, in final_server_name()
979 s->session_ctx->ext.servername_arg); in final_server_name()
1006 if (SSL_IS_FIRST_HANDSHAKE(s) && s->ctx != s->session_ctx in final_server_name()
1009 ssl_tsan_decr(s->session_ctx, &s->session_ctx->stats.sess_accept); in final_server_name()
Dextensions_srvr.c726 s->session_ctx->ext.cookie_hmac_key, in tls_parse_ctos_cookie()
727 sizeof(s->session_ctx->ext.cookie_hmac_key)); in tls_parse_ctos_cookie()
1130 && !SSL_CTX_remove_session(s->session_ctx, sess)) { in tls_parse_ctos_psk()
1837 s->session_ctx->ext.cookie_hmac_key, in tls_construct_stoc_cookie()
1838 sizeof(s->session_ctx->ext.cookie_hmac_key)); in tls_construct_stoc_cookie()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dauthsrv.c38 static void hostapd_sim_db_cb(void *ctx, void *session_ctx) in hostapd_sim_db_cb() argument
41 if (ap_for_each_sta(hapd, hostapd_sim_db_cb_sta, session_ctx) == 0) { in hostapd_sim_db_cb()
43 radius_server_eap_pending_cb(hapd->radius_srv, session_ctx); in hostapd_sim_db_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dauthsrv.c38 static void hostapd_sim_db_cb(void *ctx, void *session_ctx) in hostapd_sim_db_cb() argument
41 if (ap_for_each_sta(hapd, hostapd_sim_db_cb_sta, session_ctx) == 0) { in hostapd_sim_db_cb()
43 radius_server_eap_pending_cb(hapd->radius_srv, session_ctx); in hostapd_sim_db_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_none.c83 const u8 *session_ctx, size_t session_ctx_len) in tls_connection_set_verify() argument
Dtls.h368 const u8 *session_ctx,
Dtls_internal.c375 const u8 *session_ctx, size_t session_ctx_len) in tls_connection_set_verify() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_none.c83 const u8 *session_ctx, size_t session_ctx_len) in tls_connection_set_verify() argument
Dtls.h368 const u8 *session_ctx,

12