Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_session.cc480 size_t session_len) { in ssl_encrypt_ticket_with_cipher_ctx() argument
488 if (session_len > 0xffff - kMaxTicketOverhead) { in ssl_encrypt_ticket_with_cipher_ctx()
523 !CBB_reserve(out, &ptr, session_len + EVP_MAX_BLOCK_LENGTH)) { in ssl_encrypt_ticket_with_cipher_ctx()
529 OPENSSL_memcpy(ptr, session_buf, session_len); in ssl_encrypt_ticket_with_cipher_ctx()
530 total = session_len; in ssl_encrypt_ticket_with_cipher_ctx()
533 if (!EVP_EncryptUpdate(ctx.get(), ptr + total, &len, session_buf, session_len)) { in ssl_encrypt_ticket_with_cipher_ctx()
559 size_t session_len) { in ssl_encrypt_ticket_with_method() argument
562 const size_t max_out = session_len + max_overhead; in ssl_encrypt_ticket_with_method()
574 if (!method->seal(ssl, ptr, &out_len, max_out, session_buf, session_len)) { in ssl_encrypt_ticket_with_method()
589 size_t session_len; in ssl_encrypt_ticket() local
[all …]