Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/ssl/
H A Dssl_sess.c1157 OPENSSL_free(s->ext.session_ticket); in SSL_set_session_ticket_ext()
1158 s->ext.session_ticket = NULL; in SSL_set_session_ticket_ext()
1159 s->ext.session_ticket = in SSL_set_session_ticket_ext()
1161 if (s->ext.session_ticket == NULL) { in SSL_set_session_ticket_ext()
1167 s->ext.session_ticket->length = ext_len; in SSL_set_session_ticket_ext()
1168 s->ext.session_ticket->data = s->ext.session_ticket + 1; in SSL_set_session_ticket_ext()
1169 memcpy(s->ext.session_ticket->data, ext_data, ext_len); in SSL_set_session_ticket_ext()
1171 s->ext.session_ticket->length = 0; in SSL_set_session_ticket_ext()
1172 s->ext.session_ticket->data = NULL; in SSL_set_session_ticket_ext()
H A Dssl_local.h1626 TLS_SESSION_TICKET_EXT *session_ticket; member
H A Dt1_lib.c123 OPENSSL_free(s->ext.session_ticket); in tls1_free()
/freebsd/crypto/openssl/test/helpers/
H A Dhandshake.h46 ssl_session_ticket_t session_ticket; member
H A Dhandshake.c1637 ret->session_ticket = SSL_TEST_SESSION_TICKET_NO; in do_handshake_internal()
1639 ret->session_ticket = SSL_TEST_SESSION_TICKET_YES; in do_handshake_internal()
/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_server_i.h50 u8 *session_ticket; member
H A 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()
H A Dtlsv1_server.c428 os_free(conn->session_ticket); in tlsv1_server_clear_data()
429 conn->session_ticket = NULL; in tlsv1_server_clear_data()
H A 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()
/freebsd/crypto/openssl/test/
H A Dext_internal_test.c38 EXT_ENTRY(session_ticket),
H A 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()
/freebsd/crypto/openssl/ssl/statem/
H A 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()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_wolfssl.c92 byte session_ticket[SESSION_TICKET_LEN]; member
2153 word32 ticket_len = sizeof(conn->session_ticket); in tls_sess_sec_cb()
2162 wolfSSL_get_SessionTicket(s, conn->session_ticket, in tls_sess_sec_cb()
2170 conn->session_ticket, ticket_len, in tls_sess_sec_cb()
H A Dtls_openssl.c257 u8 *session_ticket; member
1792 os_free(conn->session_ticket); in tls_connection_deinit()
5799 conn->session_ticket, in tls_sess_sec_cb()
5814 conn->session_ticket, in tls_sess_sec_cb()
5820 os_free(conn->session_ticket); in tls_sess_sec_cb()
5821 conn->session_ticket = NULL; in tls_sess_sec_cb()
5841 os_free(conn->session_ticket); in tls_session_ticket_ext_cb()
5842 conn->session_ticket = NULL; in tls_session_ticket_ext_cb()
5847 conn->session_ticket = os_memdup(data, len); in tls_session_ticket_ext_cb()
5848 if (conn->session_ticket == NULL) in tls_session_ticket_ext_cb()