Lines Matching refs:ticklen
287 size_t ticklen; in tls_construct_ctos_session_ticket() local
295 ticklen = s->session->ext.ticklen; in tls_construct_ctos_session_ticket()
298 ticklen = s->ext.session_ticket->length; in tls_construct_ctos_session_ticket()
299 s->session->ext.tick = OPENSSL_malloc(ticklen); in tls_construct_ctos_session_ticket()
305 s->ext.session_ticket->data, ticklen); in tls_construct_ctos_session_ticket()
306 s->session->ext.ticklen = ticklen; in tls_construct_ctos_session_ticket()
308 ticklen = 0; in tls_construct_ctos_session_ticket()
311 if (ticklen == 0 && s->ext.session_ticket != NULL && in tls_construct_ctos_session_ticket()
316 || !WPACKET_sub_memcpy_u16(pkt, s->session->ext.tick, ticklen)) { in tls_construct_ctos_session_ticket()
973 && s->session->ext.ticklen != 0 in tls_construct_ctos_padding()
987 hlen += PSK_PRE_BINDER_OVERHEAD + s->session->ext.ticklen in tls_construct_ctos_padding()
1048 || (s->session->ext.ticklen == 0 && s->psksession == NULL)) in tls_construct_ctos_psk()
1054 if (s->session->ext.ticklen != 0) { in tls_construct_ctos_psk()
1171 s->session->ext.ticklen) in tls_construct_ctos_psk()