Home
last modified time | relevance | path

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

/external/chromium_org/net/third_party/nss/ssl/
Dsslnonce.c434 ssl3_SetSIDSessionTicket(sslSessionID *sid, NewSessionTicket *session_ticket) in ssl3_SetSIDSessionTicket() argument
452 if (session_ticket->ticket.len > 0) { in ssl3_SetSIDSessionTicket()
454 &session_ticket->ticket); in ssl3_SetSIDSessionTicket()
464 session_ticket->received_timestamp; in ssl3_SetSIDSessionTicket()
466 session_ticket->ticket_lifetime_hint; in ssl3_SetSIDSessionTicket()
Dssl3ext.c503 NewSessionTicket *session_ticket = NULL; in ssl3_SendSessionTicketXtn() local
520 session_ticket = &sid->u.ssl3.sessionTicket; in ssl3_SendSessionTicketXtn()
521 if (session_ticket->ticket.data) { in ssl3_SendSessionTicketXtn()
523 extension_length += session_ticket->ticket.len; in ssl3_SendSessionTicketXtn()
525 (session_ticket->ticket_lifetime_hint == 0 || in ssl3_SendSessionTicketXtn()
526 (session_ticket->ticket_lifetime_hint + in ssl3_SendSessionTicketXtn()
527 session_ticket->received_timestamp > ssl_Time()))) { in ssl3_SendSessionTicketXtn()
528 extension_length += session_ticket->ticket.len; in ssl3_SendSessionTicketXtn()
540 if (session_ticket && session_ticket->ticket.data && in ssl3_SendSessionTicketXtn()
542 rv = ssl3_AppendHandshakeVariable(ss, session_ticket->ticket.data, in ssl3_SendSessionTicketXtn()
[all …]
Dsslimpl.h1840 NewSessionTicket *session_ticket);
Dssl3con.c9777 NewSessionTicket session_ticket; in ssl3_HandleNewSessionTicket() local
9791 session_ticket.received_timestamp = ssl_Time(); in ssl3_HandleNewSessionTicket()
9797 session_ticket.ticket_lifetime_hint = in ssl3_HandleNewSessionTicket()
9800 rv = ssl3_ConsumeHandshakeVariable(ss, &session_ticket.ticket, 2, in ssl3_HandleNewSessionTicket()
9808 rv = ssl3_SetSIDSessionTicket(ss->sec.ci.sid, &session_ticket); in ssl3_HandleNewSessionTicket()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c103 u8 *session_ticket; member
1052 os_free(conn->session_ticket); in tls_connection_deinit()
3146 conn->session_ticket, in tls_sess_sec_cb()
3150 os_free(conn->session_ticket); in tls_sess_sec_cb()
3151 conn->session_ticket = NULL; in tls_sess_sec_cb()
3172 os_free(conn->session_ticket); in tls_session_ticket_ext_cb()
3173 conn->session_ticket = NULL; in tls_session_ticket_ext_cb()
3178 conn->session_ticket = os_malloc(len); in tls_session_ticket_ext_cb()
3179 if (conn->session_ticket == NULL) in tls_session_ticket_ext_cb()
3182 os_memcpy(conn->session_ticket, data, len); in tls_session_ticket_ext_cb()
[all …]
/external/wpa_supplicant_8/src/tls/
Dtlsv1_server_i.h48 u8 *session_ticket; member
Dtlsv1_server_read.c248 os_free(conn->session_ticket); in tls_process_client_hello()
249 conn->session_ticket = os_malloc(ext_len); in tls_process_client_hello()
250 if (conn->session_ticket) { in tls_process_client_hello()
251 os_memcpy(conn->session_ticket, pos, in tls_process_client_hello()
Dtlsv1_server.c385 os_free(conn->session_ticket); in tlsv1_server_clear_data()
386 conn->session_ticket = NULL; in tlsv1_server_clear_data()
Dtlsv1_server_write.c100 if (conn->session_ticket && conn->session_ticket_cb) { in tls_write_server_hello()
103 conn->session_ticket, conn->session_ticket_len, in tls_write_server_hello()