Home
last modified time | relevance | path

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

/third_party/openssl/ssl/
Dssl_sess.c1116 OPENSSL_free(s->ext.session_ticket); in SSL_set_session_ticket_ext()
1117 s->ext.session_ticket = NULL; in SSL_set_session_ticket_ext()
1118 s->ext.session_ticket = in SSL_set_session_ticket_ext()
1120 if (s->ext.session_ticket == NULL) { in SSL_set_session_ticket_ext()
1126 s->ext.session_ticket->length = ext_len; in SSL_set_session_ticket_ext()
1127 s->ext.session_ticket->data = s->ext.session_ticket + 1; in SSL_set_session_ticket_ext()
1128 memcpy(s->ext.session_ticket->data, ext_data, ext_len); in SSL_set_session_ticket_ext()
1130 s->ext.session_ticket->length = 0; in SSL_set_session_ticket_ext()
1131 s->ext.session_ticket->data = NULL; in SSL_set_session_ticket_ext()
Dssl_local.h1626 TLS_SESSION_TICKET_EXT *session_ticket; member
Dt1_lib.c122 OPENSSL_free(s->ext.session_ticket); in tls1_free()
/third_party/node/deps/openssl/openssl/ssl/
Dssl_sess.c1116 OPENSSL_free(s->ext.session_ticket); in SSL_set_session_ticket_ext()
1117 s->ext.session_ticket = NULL; in SSL_set_session_ticket_ext()
1118 s->ext.session_ticket = in SSL_set_session_ticket_ext()
1120 if (s->ext.session_ticket == NULL) { in SSL_set_session_ticket_ext()
1126 s->ext.session_ticket->length = ext_len; in SSL_set_session_ticket_ext()
1127 s->ext.session_ticket->data = s->ext.session_ticket + 1; in SSL_set_session_ticket_ext()
1128 memcpy(s->ext.session_ticket->data, ext_data, ext_len); in SSL_set_session_ticket_ext()
1130 s->ext.session_ticket->length = 0; in SSL_set_session_ticket_ext()
1131 s->ext.session_ticket->data = NULL; in SSL_set_session_ticket_ext()
Dssl_local.h1655 TLS_SESSION_TICKET_EXT *session_ticket; member
Dt1_lib.c123 OPENSSL_free(s->ext.session_ticket); in tls1_free()
/third_party/openssl/test/helpers/
Dhandshake.h46 ssl_session_ticket_t session_ticket; member
Dhandshake.c1631 ret->session_ticket = SSL_TEST_SESSION_TICKET_NO; in do_handshake_internal()
1633 ret->session_ticket = SSL_TEST_SESSION_TICKET_YES; in do_handshake_internal()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_server_i.h50 u8 *session_ticket; member
Dtlsv1_server_read.c363 os_free(conn->session_ticket); in tls_process_client_hello()
364 conn->session_ticket = os_malloc(ext_len); in tls_process_client_hello()
365 if (conn->session_ticket) { in tls_process_client_hello()
366 os_memcpy(conn->session_ticket, pos, in tls_process_client_hello()
Dtlsv1_server.c428 os_free(conn->session_ticket); in tlsv1_server_clear_data()
429 conn->session_ticket = NULL; in tlsv1_server_clear_data()
Dtlsv1_server_write.c129 if (conn->session_ticket && conn->session_ticket_cb) { in tls_write_server_hello()
132 conn->session_ticket, conn->session_ticket_len, in tls_write_server_hello()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_server_i.h50 u8 *session_ticket; member
Dtlsv1_server_read.c363 os_free(conn->session_ticket); in tls_process_client_hello()
364 conn->session_ticket = os_malloc(ext_len); in tls_process_client_hello()
365 if (conn->session_ticket) { in tls_process_client_hello()
366 os_memcpy(conn->session_ticket, pos, in tls_process_client_hello()
Dtlsv1_server.c428 os_free(conn->session_ticket); in tlsv1_server_clear_data()
429 conn->session_ticket = NULL; in tlsv1_server_clear_data()
Dtlsv1_server_write.c129 if (conn->session_ticket && conn->session_ticket_cb) { in tls_write_server_hello()
132 conn->session_ticket, conn->session_ticket_len, in tls_write_server_hello()
/third_party/openssl/test/
Dext_internal_test.c38 EXT_ENTRY(session_ticket),
Dssl_test.c139 if (!TEST_int_eq(result->session_ticket, in check_session_ticket()
143 ssl_session_ticket_name(result->session_ticket)); in check_session_ticket()
/third_party/node/deps/openssl/openssl/ssl/statem/
Dextensions_clnt.c267 } else if (s->session && s->ext.session_ticket != NULL in tls_construct_ctos_session_ticket()
268 && s->ext.session_ticket->data != NULL) { in tls_construct_ctos_session_ticket()
269 ticklen = s->ext.session_ticket->length; in tls_construct_ctos_session_ticket()
276 s->ext.session_ticket->data, ticklen); in tls_construct_ctos_session_ticket()
282 if (ticklen == 0 && s->ext.session_ticket != NULL && in tls_construct_ctos_session_ticket()
283 s->ext.session_ticket->data == NULL) in tls_construct_ctos_session_ticket()
/third_party/openssl/ssl/statem/
Dextensions_clnt.c267 } else if (s->session && s->ext.session_ticket != NULL in tls_construct_ctos_session_ticket()
268 && s->ext.session_ticket->data != NULL) { in tls_construct_ctos_session_ticket()
269 ticklen = s->ext.session_ticket->length; in tls_construct_ctos_session_ticket()
276 s->ext.session_ticket->data, ticklen); in tls_construct_ctos_session_ticket()
282 if (ticklen == 0 && s->ext.session_ticket != NULL && in tls_construct_ctos_session_ticket()
283 s->ext.session_ticket->data == NULL) in tls_construct_ctos_session_ticket()
/third_party/node/src/quic/
Dbindingdata.h54 V(session_ticket, SessionTicket) \
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_openssl.c250 u8 *session_ticket; member
1631 os_free(conn->session_ticket); in tls_connection_deinit()
5352 conn->session_ticket, in tls_sess_sec_cb()
5367 conn->session_ticket, in tls_sess_sec_cb()
5373 os_free(conn->session_ticket); in tls_sess_sec_cb()
5374 conn->session_ticket = NULL; in tls_sess_sec_cb()
5394 os_free(conn->session_ticket); in tls_session_ticket_ext_cb()
5395 conn->session_ticket = NULL; in tls_session_ticket_ext_cb()
5400 conn->session_ticket = os_memdup(data, len); in tls_session_ticket_ext_cb()
5401 if (conn->session_ticket == NULL) in tls_session_ticket_ext_cb()
Dtls_wolfssl.c86 byte session_ticket[SESSION_TICKET_LEN]; member
2081 word32 ticket_len = sizeof(conn->session_ticket); in tls_sess_sec_cb()
2090 wolfSSL_get_SessionTicket(s, conn->session_ticket, in tls_sess_sec_cb()
2098 conn->session_ticket, ticket_len, in tls_sess_sec_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_openssl.c255 u8 *session_ticket; member
1643 os_free(conn->session_ticket); in tls_connection_deinit()
5641 conn->session_ticket, in tls_sess_sec_cb()
5656 conn->session_ticket, in tls_sess_sec_cb()
5662 os_free(conn->session_ticket); in tls_sess_sec_cb()
5663 conn->session_ticket = NULL; in tls_sess_sec_cb()
5683 os_free(conn->session_ticket); in tls_session_ticket_ext_cb()
5684 conn->session_ticket = NULL; in tls_session_ticket_ext_cb()
5689 conn->session_ticket = os_memdup(data, len); in tls_session_ticket_ext_cb()
5690 if (conn->session_ticket == NULL) in tls_session_ticket_ext_cb()
Dtls_wolfssl.c87 byte session_ticket[SESSION_TICKET_LEN]; member
2088 word32 ticket_len = sizeof(conn->session_ticket); in tls_sess_sec_cb()
2097 wolfSSL_get_SessionTicket(s, conn->session_ticket, in tls_sess_sec_cb()
2105 conn->session_ticket, ticket_len, in tls_sess_sec_cb()