Searched refs:ticket_len (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_test.cc | 756 static ScopedSSL_SESSION CreateSessionWithTicket(size_t ticket_len) { in CreateSessionWithTicket() argument 768 session->tlsext_tick = reinterpret_cast<uint8_t*>(OPENSSL_malloc(ticket_len)); in CreateSessionWithTicket() 772 memset(session->tlsext_tick, 'a', ticket_len); in CreateSessionWithTicket() 773 session->tlsext_ticklen = ticket_len; in CreateSessionWithTicket() 783 static size_t GetClientHelloLen(size_t ticket_len) { in GetClientHelloLen() argument 785 ScopedSSL_SESSION session = CreateSessionWithTicket(ticket_len); in GetClientHelloLen()
|
D | t1_lib.c | 1049 int ticket_len = 0; in ext_ticket_add_clienthello() local 1059 ticket_len = ssl->session->tlsext_ticklen; in ext_ticket_add_clienthello() 1065 !CBB_add_bytes(&ticket, ticket_data, ticket_len) || in ext_ticket_add_clienthello() 2488 size_t ticket_len, const uint8_t *session_id, in tls_process_ticket() argument 2506 if (ticket_len == 0) { in tls_process_ticket() 2516 if (ticket_len < SSL_TICKET_KEY_NAME_LEN + EVP_MAX_IV_LENGTH) { in tls_process_ticket() 2555 if (ticket_len < SSL_TICKET_KEY_NAME_LEN + iv_len + 1 + mac_len) { in tls_process_ticket() 2559 HMAC_Update(&hmac_ctx, ticket, ticket_len - mac_len); in tls_process_ticket() 2561 if (CRYPTO_memcmp(mac, ticket + (ticket_len - mac_len), mac_len) != 0) { in tls_process_ticket() 2567 size_t ciphertext_len = ticket_len - SSL_TICKET_KEY_NAME_LEN - iv_len - in tls_process_ticket()
|
D | ssl_session.c | 437 size_t ticket_len = 0; in ssl_get_prev_session() local 442 &ticket, &ticket_len); in ssl_get_prev_session() 444 if (!tls_process_ticket(ssl, &session, &send_ticket, ticket, ticket_len, in ssl_get_prev_session()
|
D | internal.h | 1229 size_t ticket_len, const uint8_t *session_id,
|