Home
last modified time | relevance | path

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

/openssl/ssl/statem/
H A Dextensions_clnt.c287 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()
973 && s->session->ext.ticklen != 0 in tls_construct_ctos_padding()
1054 if (s->session->ext.ticklen != 0) { in tls_construct_ctos_psk()
[all …]
H A Dstatem_clnt.c2688 unsigned int ticklen; in tls_process_new_session_ticket() local
2702 || !PACKET_get_net_2(pkt, &ticklen) in tls_process_new_session_ticket()
2703 || (SSL_CONNECTION_IS_TLS13(s) ? (ticklen == 0 in tls_process_new_session_ticket()
2704 || PACKET_remaining(pkt) < ticklen) in tls_process_new_session_ticket()
2705 : PACKET_remaining(pkt) != ticklen)) { in tls_process_new_session_ticket()
2715 if (ticklen == 0) in tls_process_new_session_ticket()
2757 s->session->ext.ticklen = 0; in tls_process_new_session_ticket()
2759 s->session->ext.tick = OPENSSL_malloc(ticklen); in tls_process_new_session_ticket()
2764 if (!PACKET_copy_bytes(pkt, s->session->ext.tick, ticklen)) { in tls_process_new_session_ticket()
2771 s->session->ext.ticklen = ticklen; in tls_process_new_session_ticket()
[all …]
H A Dextensions.c1055 ss->ext.ticklen = 0; in final_server_name()
/openssl/ssl/
H A Dssl_sess.c233 OPENSSL_memdup(src->ext.tick, src->ext.ticklen); in ssl_session_dup_intern()
238 dest->ext.ticklen = 0; in ssl_session_dup_intern()
1032 return (s->ext.ticklen > 0) ? 1 : 0; in SSL_SESSION_has_ticket()
1043 *len = s->ext.ticklen; in SSL_SESSION_get0_ticket()
1118 && (s->session_id_length > 0 || s->ext.ticklen > 0); in SSL_SESSION_is_resumable()
H A Dssl_txt.c113 (bp, (const char *)x->ext.tick, (int)x->ext.ticklen, 4) in SSL_SESSION_print()
H A Dssl_asn1.c189 in->ext.tick, in->ext.ticklen); in i2d_SSL_SESSION()
374 ret->ext.ticklen = as->tlsext_tick->length; in d2i_SSL_SESSION_ex()
H A Dssl_local.h536 size_t ticklen; /* Session ticket length */ member

Completed in 88 milliseconds