Home
last modified time | relevance | path

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

/external/openssl/ssl/
Dt1_lib.c123 static int tls_decrypt_ticket(SSL *s, const unsigned char *tick, int ticklen,
513 int ticklen; in ssl_add_clienthello_tlsext() local
515 ticklen = s->session->tlsext_ticklen; in ssl_add_clienthello_tlsext()
519 ticklen = s->tlsext_session_ticket->length; in ssl_add_clienthello_tlsext()
520 s->session->tlsext_tick = OPENSSL_malloc(ticklen); in ssl_add_clienthello_tlsext()
525 ticklen); in ssl_add_clienthello_tlsext()
526 s->session->tlsext_ticklen = ticklen; in ssl_add_clienthello_tlsext()
529 ticklen = 0; in ssl_add_clienthello_tlsext()
530 if (ticklen == 0 && s->tlsext_session_ticket && in ssl_add_clienthello_tlsext()
536 if ((long)(limit - ret - 4 - ticklen) < 0) return NULL; in ssl_add_clienthello_tlsext()
[all …]
Ds3_clnt.c2093 int ok,al,ret=0, ticklen; in ssl3_get_new_session_ticket() local
2129 n2s(p, ticklen); in ssl3_get_new_session_ticket()
2131 if (ticklen + 6 != n) in ssl3_get_new_session_ticket()
2142 s->session->tlsext_tick = OPENSSL_malloc(ticklen); in ssl3_get_new_session_ticket()
2148 memcpy(s->session->tlsext_tick, p, ticklen); in ssl3_get_new_session_ticket()
2149 s->session->tlsext_ticklen = ticklen; in ssl3_get_new_session_ticket()
2165 EVP_Digest(p, ticklen, in ssl3_get_new_session_ticket()