Searched refs:session_buf (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_session.cc | 596 const uint8_t *session_buf, in ssl_encrypt_ticket_with_cipher_ctx() argument 641 OPENSSL_memcpy(ptr, session_buf, session_len); in ssl_encrypt_ticket_with_cipher_ctx() 645 if (!EVP_EncryptUpdate(ctx.get(), ptr + total, &len, session_buf, session_len)) { in ssl_encrypt_ticket_with_cipher_ctx() 670 const uint8_t *session_buf, in ssl_encrypt_ticket_with_method() argument 686 if (!method->seal(ssl, ptr, &out_len, max_out, session_buf, session_len)) { in ssl_encrypt_ticket_with_method() 700 uint8_t *session_buf = NULL; in ssl_encrypt_ticket() local 702 if (!SSL_SESSION_to_bytes_for_ticket(session, &session_buf, &session_len)) { in ssl_encrypt_ticket() 708 ret = ssl_encrypt_ticket_with_method(ssl, out, session_buf, session_len); in ssl_encrypt_ticket() 711 ssl_encrypt_ticket_with_cipher_ctx(ssl, out, session_buf, session_len); in ssl_encrypt_ticket() 714 OPENSSL_free(session_buf); in ssl_encrypt_ticket()
|