Home
last modified time | relevance | path

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

/external/openssl/ssl/
Dt1_lib.c122 static int tls_decrypt_ticket(SSL *s, const unsigned char *tick, int ticklen,
395 int ticklen; in ssl_add_clienthello_tlsext() local
397 ticklen = s->session->tlsext_ticklen; in ssl_add_clienthello_tlsext()
401 ticklen = s->tlsext_session_ticket->length; in ssl_add_clienthello_tlsext()
402 s->session->tlsext_tick = OPENSSL_malloc(ticklen); in ssl_add_clienthello_tlsext()
407 ticklen); in ssl_add_clienthello_tlsext()
408 s->session->tlsext_ticklen = ticklen; in ssl_add_clienthello_tlsext()
411 ticklen = 0; in ssl_add_clienthello_tlsext()
412 if (ticklen == 0 && s->tlsext_session_ticket && in ssl_add_clienthello_tlsext()
418 if ((long)(limit - ret - 4 - ticklen) < 0) return NULL; in ssl_add_clienthello_tlsext()
[all …]
Ds3_clnt.c1888 int ok,al,ret=0, ticklen; in ssl3_get_new_session_ticket() local
1924 n2s(p, ticklen); in ssl3_get_new_session_ticket()
1926 if (ticklen + 6 != n) in ssl3_get_new_session_ticket()
1937 s->session->tlsext_tick = OPENSSL_malloc(ticklen); in ssl3_get_new_session_ticket()
1943 memcpy(s->session->tlsext_tick, p, ticklen); in ssl3_get_new_session_ticket()
1944 s->session->tlsext_ticklen = ticklen; in ssl3_get_new_session_ticket()
1960 EVP_Digest(p, ticklen, in ssl3_get_new_session_ticket()