Searched refs:ticklen (Results 1 – 3 of 3) sorted by relevance
/external/openssl/ssl/ |
D | t1_lib.c | 123 static int tls_decrypt_ticket(SSL *s, const unsigned char *tick, int ticklen, 504 int ticklen; in ssl_add_clienthello_tlsext() local 506 ticklen = s->session->tlsext_ticklen; in ssl_add_clienthello_tlsext() 510 ticklen = s->tlsext_session_ticket->length; in ssl_add_clienthello_tlsext() 511 s->session->tlsext_tick = OPENSSL_malloc(ticklen); in ssl_add_clienthello_tlsext() 516 ticklen); in ssl_add_clienthello_tlsext() 517 s->session->tlsext_ticklen = ticklen; in ssl_add_clienthello_tlsext() 520 ticklen = 0; in ssl_add_clienthello_tlsext() 521 if (ticklen == 0 && s->tlsext_session_ticket && in ssl_add_clienthello_tlsext() 527 if ((long)(limit - ret - 4 - ticklen) < 0) return NULL; in ssl_add_clienthello_tlsext() [all …]
|
D | s3_clnt.c | 2255 int ok,al,ret=0, ticklen; in ssl3_get_new_session_ticket() local 2291 n2s(p, ticklen); in ssl3_get_new_session_ticket() 2293 if (ticklen + 6 != n) in ssl3_get_new_session_ticket() 2304 s->session->tlsext_tick = OPENSSL_malloc(ticklen); in ssl3_get_new_session_ticket() 2310 memcpy(s->session->tlsext_tick, p, ticklen); in ssl3_get_new_session_ticket() 2311 s->session->tlsext_ticklen = ticklen; in ssl3_get_new_session_ticket() 2327 EVP_Digest(p, ticklen, in ssl3_get_new_session_ticket()
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
D | t1_lib.c | 121 static int tls_decrypt_ticket(SSL *s, const unsigned char *tick, int ticklen, 981 int ticklen; in ssl_add_clienthello_tlsext() local 983 ticklen = s->session->tlsext_ticklen; in ssl_add_clienthello_tlsext() 992 ticklen = s->tlsext_session_ticket->length; in ssl_add_clienthello_tlsext() 993 s->session->tlsext_ticklen = ticklen; in ssl_add_clienthello_tlsext() 996 ticklen = 0; in ssl_add_clienthello_tlsext() 997 if (ticklen == 0 && s->tlsext_session_ticket && in ssl_add_clienthello_tlsext() 1003 if ((long)(limit - ret - 4 - ticklen) < 0) return NULL; in ssl_add_clienthello_tlsext() 1005 s2n(ticklen,ret); in ssl_add_clienthello_tlsext() 1006 if (ticklen) in ssl_add_clienthello_tlsext() [all …]
|