Home
last modified time | relevance | path

Searched refs:ticklen (Results 1 – 7 of 7) sorted by relevance

/third_party/openssl/ssl/statem/
Dextensions_clnt.c258 size_t ticklen; in tls_construct_ctos_session_ticket() local
266 ticklen = s->session->ext.ticklen; in tls_construct_ctos_session_ticket()
269 ticklen = s->ext.session_ticket->length; in tls_construct_ctos_session_ticket()
270 s->session->ext.tick = OPENSSL_malloc(ticklen); in tls_construct_ctos_session_ticket()
276 s->ext.session_ticket->data, ticklen); in tls_construct_ctos_session_ticket()
277 s->session->ext.ticklen = ticklen; in tls_construct_ctos_session_ticket()
279 ticklen = 0; in tls_construct_ctos_session_ticket()
282 if (ticklen == 0 && s->ext.session_ticket != NULL && in tls_construct_ctos_session_ticket()
287 || !WPACKET_sub_memcpy_u16(pkt, s->session->ext.tick, ticklen)) { in tls_construct_ctos_session_ticket()
934 && s->session->ext.ticklen != 0 in tls_construct_ctos_padding()
[all …]
Dstatem_clnt.c2455 unsigned int ticklen; in tls_process_new_session_ticket() local
2468 || !PACKET_get_net_2(pkt, &ticklen) in tls_process_new_session_ticket()
2469 || (SSL_IS_TLS13(s) ? (ticklen == 0 || PACKET_remaining(pkt) < ticklen) in tls_process_new_session_ticket()
2470 : PACKET_remaining(pkt) != ticklen)) { in tls_process_new_session_ticket()
2480 if (ticklen == 0) in tls_process_new_session_ticket()
2522 s->session->ext.ticklen = 0; in tls_process_new_session_ticket()
2524 s->session->ext.tick = OPENSSL_malloc(ticklen); in tls_process_new_session_ticket()
2529 if (!PACKET_copy_bytes(pkt, s->session->ext.tick, ticklen)) { in tls_process_new_session_ticket()
2536 s->session->ext.ticklen = ticklen; in tls_process_new_session_ticket()
2579 if (!EVP_Digest(s->session->ext.tick, ticklen, in tls_process_new_session_ticket()
Dextensions.c998 ss->ext.ticklen = 0; in final_server_name()
/third_party/openssl/ssl/
Dssl_sess.c246 OPENSSL_memdup(src->ext.tick, src->ext.ticklen); in ssl_session_dup()
251 dest->ext.ticklen = 0; in ssl_session_dup()
990 return (s->ext.ticklen > 0) ? 1 : 0; in SSL_SESSION_has_ticket()
1001 *len = s->ext.ticklen; in SSL_SESSION_get0_ticket()
1071 && (s->session_id_length > 0 || s->ext.ticklen > 0); in SSL_SESSION_is_resumable()
Dssl_asn1.c176 in->ext.tick, in->ext.ticklen); in i2d_SSL_SESSION()
341 ret->ext.ticklen = as->tlsext_tick->length; in d2i_SSL_SESSION()
Dssl_txt.c111 (bp, (const char *)x->ext.tick, (int)x->ext.ticklen, 4) in SSL_SESSION_print()
Dssl_local.h616 size_t ticklen; /* Session ticket length */ member