Home
last modified time | relevance | path

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

12

/third_party/openssl/ssl/
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 …]
Ds3_msg.c55 SSL_CTX_remove_session(s->session_ctx, s->session); in ssl3_send_alert()
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()
3521 i = s->session_ctx->session_cache_mode; in ssl_update_cache()
3540 || s->session_ctx->remove_session_cb != NULL in ssl_update_cache()
3542 SSL_CTX_add_session(s->session_ctx, s->session); in ssl_update_cache()
3549 if (s->session_ctx->new_session_cb != NULL) { in ssl_update_cache()
3551 if (!s->session_ctx->new_session_cb(s, s->session)) in ssl_update_cache()
[all …]
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()
/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/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/openssl/ssl/statem/
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()
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()
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()
1860 s->session_ctx->ext.cookie_hmac_key, in tls_construct_stoc_cookie()
1861 sizeof(s->session_ctx->ext in tls_construct_stoc_cookie()
Dstatem_clnt.c1612 tsan_counter(&s->session_ctx->stats.sess_miss); in tls_process_server_hello()
2627 if ((s->session_ctx->session_cache_mode & SSL_SESS_CACHE_CLIENT) != 0 in tls_process_new_session_ticket()
2634 SSL_CTX_remove_session(s->session_ctx, s->session); in tls_process_new_session_ticket()
/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,
Dtls_internal.c375 const u8 *session_ctx, size_t session_ctx_len) in tls_connection_set_verify() argument
Dtls_openssl.c3209 const u8 *session_ctx, size_t session_ctx_len) in tls_connection_set_verify() argument
3247 } else if (session_ctx) { in tls_connection_set_verify()
3248 SSL_set_session_id_context(conn->ssl, session_ctx, in tls_connection_set_verify()
/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
Dtls_openssl.c3138 const u8 *session_ctx, size_t session_ctx_len) in tls_connection_set_verify() argument
3172 } else if (session_ctx) { in tls_connection_set_verify()
3173 SSL_set_session_id_context(conn->ssl, session_ctx, in tls_connection_set_verify()
/third_party/openssl/ssl/record/
Drec_layer_d1.c620 SSL_CTX_remove_session(s->session_ctx, s->session); in dtls1_read_bytes()

12