Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_session.cc479 const uint8_t *session_buf, in ssl_encrypt_ticket_with_cipher_ctx() argument
529 OPENSSL_memcpy(ptr, session_buf, 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()
558 const uint8_t *session_buf, in ssl_encrypt_ticket_with_method() argument
574 if (!method->seal(ssl, ptr, &out_len, max_out, session_buf, session_len)) { in ssl_encrypt_ticket_with_method()
588 uint8_t *session_buf = NULL; in ssl_encrypt_ticket() local
590 if (!SSL_SESSION_to_bytes_for_ticket(session, &session_buf, &session_len)) { in ssl_encrypt_ticket()
596 ret = ssl_encrypt_ticket_with_method(ssl, out, session_buf, session_len); in ssl_encrypt_ticket()
599 ssl_encrypt_ticket_with_cipher_ctx(ssl, out, session_buf, session_len); in ssl_encrypt_ticket()
602 OPENSSL_free(session_buf); in ssl_encrypt_ticket()