Home
last modified time | relevance | path

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

12

/external/boringssl/src/ssl/
Dssl_session.cc377 session->timeout = ssl->session_ctx->session_psk_dhe_timeout; in ssl_get_new_session()
382 session->timeout = ssl->session_ctx->session_timeout; in ssl_get_new_session()
383 session->auth_timeout = ssl->session_ctx->session_timeout; in ssl_get_new_session()
471 SSL_CTX *tctx = hs->ssl->session_ctx.get(); in ssl_encrypt_ticket_with_cipher_ctx()
536 const SSL_TICKET_AEAD_METHOD *method = ssl->session_ctx->ticket_aead_method; in ssl_encrypt_ticket_with_method()
573 if (hs->ssl->session_ctx->ticket_aead_method) { in ssl_encrypt_ticket()
652 if (!(ssl->session_ctx->session_cache_mode & in ssl_lookup_session()
662 MutexReadLock lock(&ssl->session_ctx->lock); in ssl_lookup_session()
664 session = UpRef(lh_SSL_SESSION_retrieve_key(ssl->session_ctx->sessions, in ssl_lookup_session()
670 if (!session && ssl->session_ctx->get_session_cb != nullptr) { in ssl_lookup_session()
[all …]
Dtls13_client.cc475 ssl->session_ctx->session_psk_dhe_timeout); in do_read_server_hello()
1045 if ((ssl->session_ctx->session_cache_mode & SSL_SESS_CACHE_CLIENT) && in tls13_process_new_session_ticket()
1046 ssl->session_ctx->new_session_cb != NULL && in tls13_process_new_session_ticket()
1047 ssl->session_ctx->new_session_cb(ssl, session.get())) { in tls13_process_new_session_ticket()
Dextensions.cc3756 } else if (ssl->session_ctx->servername_callback != 0) { in ssl_check_clienthello_tlsext()
3757 ret = ssl->session_ctx->servername_callback( in ssl_check_clienthello_tlsext()
3758 ssl, &al, ssl->session_ctx->servername_arg); in ssl_check_clienthello_tlsext()
3885 int cb_ret = hs->ssl->session_ctx->ticket_key_cb( in ssl_decrypt_ticket_with_cb()
3905 SSL_CTX *ctx = hs->ssl->session_ctx.get(); in ssl_decrypt_ticket_with_ticket_keys()
3951 hs->ssl->session_ctx->ticket_aead_method->open( in ssl_decrypt_ticket_with_method()
4000 } else if (ssl->session_ctx->ticket_aead_method != NULL) { in ssl_process_ticket()
4010 } else if (ssl->session_ctx->ticket_key_cb != NULL) { in ssl_process_ticket()
Dtls13_server.cc142 assert(ssl->session_ctx->num_tickets <= kMaxTickets); in add_new_session_tickets()
143 for (size_t i = 0; i < ssl->session_ctx->num_tickets; i++) { in add_new_session_tickets()
402 ssl->session_ctx->session_psk_dhe_timeout); in do_select_session()
/external/cronet/third_party/boringssl/src/ssl/
Dssl_session.cc377 session->timeout = ssl->session_ctx->session_psk_dhe_timeout; in ssl_get_new_session()
382 session->timeout = ssl->session_ctx->session_timeout; in ssl_get_new_session()
383 session->auth_timeout = ssl->session_ctx->session_timeout; in ssl_get_new_session()
471 SSL_CTX *tctx = hs->ssl->session_ctx.get(); in ssl_encrypt_ticket_with_cipher_ctx()
536 const SSL_TICKET_AEAD_METHOD *method = ssl->session_ctx->ticket_aead_method; in ssl_encrypt_ticket_with_method()
573 if (hs->ssl->session_ctx->ticket_aead_method) { in ssl_encrypt_ticket()
652 if (!(ssl->session_ctx->session_cache_mode & in ssl_lookup_session()
662 MutexReadLock lock(&ssl->session_ctx->lock); in ssl_lookup_session()
664 session = UpRef(lh_SSL_SESSION_retrieve_key(ssl->session_ctx->sessions, in ssl_lookup_session()
670 if (!session && ssl->session_ctx->get_session_cb != nullptr) { in ssl_lookup_session()
[all …]
Dtls13_client.cc475 ssl->session_ctx->session_psk_dhe_timeout); in do_read_server_hello()
1045 if ((ssl->session_ctx->session_cache_mode & SSL_SESS_CACHE_CLIENT) && in tls13_process_new_session_ticket()
1046 ssl->session_ctx->new_session_cb != NULL && in tls13_process_new_session_ticket()
1047 ssl->session_ctx->new_session_cb(ssl, session.get())) { in tls13_process_new_session_ticket()
Dextensions.cc3756 } else if (ssl->session_ctx->servername_callback != 0) { in ssl_check_clienthello_tlsext()
3757 ret = ssl->session_ctx->servername_callback( in ssl_check_clienthello_tlsext()
3758 ssl, &al, ssl->session_ctx->servername_arg); in ssl_check_clienthello_tlsext()
3885 int cb_ret = hs->ssl->session_ctx->ticket_key_cb( in ssl_decrypt_ticket_with_cb()
3905 SSL_CTX *ctx = hs->ssl->session_ctx.get(); in ssl_decrypt_ticket_with_ticket_keys()
3951 hs->ssl->session_ctx->ticket_aead_method->open( in ssl_decrypt_ticket_with_method()
4000 } else if (ssl->session_ctx->ticket_aead_method != NULL) { in ssl_process_ticket()
4010 } else if (ssl->session_ctx->ticket_key_cb != NULL) { in ssl_process_ticket()
Dtls13_server.cc142 assert(ssl->session_ctx->num_tickets <= kMaxTickets); in add_new_session_tickets()
143 for (size_t i = 0; i < ssl->session_ctx->num_tickets; i++) { in add_new_session_tickets()
402 ssl->session_ctx->session_psk_dhe_timeout); in do_select_session()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_session.cc377 session->timeout = ssl->session_ctx->session_psk_dhe_timeout; in ssl_get_new_session()
382 session->timeout = ssl->session_ctx->session_timeout; in ssl_get_new_session()
383 session->auth_timeout = ssl->session_ctx->session_timeout; in ssl_get_new_session()
471 SSL_CTX *tctx = hs->ssl->session_ctx.get(); in ssl_encrypt_ticket_with_cipher_ctx()
536 const SSL_TICKET_AEAD_METHOD *method = ssl->session_ctx->ticket_aead_method; in ssl_encrypt_ticket_with_method()
573 if (hs->ssl->session_ctx->ticket_aead_method) { in ssl_encrypt_ticket()
654 if (!(ssl->session_ctx->session_cache_mode & in ssl_lookup_session()
664 MutexReadLock lock(&ssl->session_ctx->lock); in ssl_lookup_session()
666 session = UpRef(lh_SSL_SESSION_retrieve_key(ssl->session_ctx->sessions, in ssl_lookup_session()
672 if (!session && ssl->session_ctx->get_session_cb != nullptr) { in ssl_lookup_session()
[all …]
Dtls13_client.cc471 ssl->session_ctx->session_psk_dhe_timeout); in do_read_server_hello()
1042 if ((ssl->session_ctx->session_cache_mode & SSL_SESS_CACHE_CLIENT) && in tls13_process_new_session_ticket()
1043 ssl->session_ctx->new_session_cb != NULL && in tls13_process_new_session_ticket()
1044 ssl->session_ctx->new_session_cb(ssl, session.get())) { in tls13_process_new_session_ticket()
Dextensions.cc3747 } else if (ssl->session_ctx->servername_callback != 0) { in ssl_check_clienthello_tlsext()
3748 ret = ssl->session_ctx->servername_callback( in ssl_check_clienthello_tlsext()
3749 ssl, &al, ssl->session_ctx->servername_arg); in ssl_check_clienthello_tlsext()
3876 int cb_ret = hs->ssl->session_ctx->ticket_key_cb( in ssl_decrypt_ticket_with_cb()
3896 SSL_CTX *ctx = hs->ssl->session_ctx.get(); in ssl_decrypt_ticket_with_ticket_keys()
3943 hs->ssl->session_ctx->ticket_aead_method->open( in ssl_decrypt_ticket_with_method()
3982 } else if (ssl->session_ctx->ticket_aead_method != NULL) { in ssl_process_ticket()
3992 } else if (ssl->session_ctx->ticket_key_cb != NULL) { in ssl_process_ticket()
Dtls13_server.cc400 ssl->session_ctx->session_psk_dhe_timeout); in do_select_session()
/external/wpa_supplicant_8/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
/external/wpa_supplicant_8/src/ap/
Dauthsrv.c39 static void hostapd_sim_db_cb(void *ctx, void *session_ctx) in hostapd_sim_db_cb() argument
42 if (ap_for_each_sta(hapd, hostapd_sim_db_cb_sta, session_ctx) == 0) { in hostapd_sim_db_cb()
44 radius_server_eap_pending_cb(hapd->radius_srv, session_ctx); in hostapd_sim_db_cb()
/external/wpa_supplicant_8/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.c367 const u8 *session_ctx, size_t session_ctx_len) in tls_connection_set_verify() argument
Dtls_wolfssl.c1605 const u8 *session_ctx, size_t session_ctx_len) in tls_connection_set_verify() argument
1639 wolfSSL_set_session_id_context(conn->ssl, session_ctx, in tls_connection_set_verify()
Dtls_gnutls.c863 const u8 *session_ctx, size_t session_ctx_len) in tls_connection_set_verify() argument
Dtls_openssl.c3390 const u8 *session_ctx, size_t session_ctx_len) in tls_connection_set_verify() argument
3428 } else if (session_ctx) { in tls_connection_set_verify()
3429 SSL_set_session_id_context(conn->ssl, session_ctx, in tls_connection_set_verify()
/external/cronet/third_party/boringssl/src/ssl/test/
Dbssl_shim.cc895 SSL_CTX *session_ctx = SSL_get_SSL_CTX(ssl); in DoExchange() local
926 CopySessions(session_ctx, SSL_get_SSL_CTX(ssl)); in DoExchange()
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dbssl_shim.cc882 SSL_CTX *session_ctx = SSL_get_SSL_CTX(ssl); in DoExchange() local
913 CopySessions(session_ctx, SSL_get_SSL_CTX(ssl)); in DoExchange()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc895 SSL_CTX *session_ctx = SSL_get_SSL_CTX(ssl); in DoExchange() local
926 CopySessions(session_ctx, SSL_get_SSL_CTX(ssl)); in DoExchange()

12