Searched refs:session_buf (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_session.cc | 461 const uint8_t *session_buf, in ssl_encrypt_ticket_with_cipher_ctx() argument 511 OPENSSL_memcpy(ptr, session_buf, session_len); in ssl_encrypt_ticket_with_cipher_ctx() 515 if (!EVP_EncryptUpdate(ctx.get(), ptr + total, &len, session_buf, session_len)) { in ssl_encrypt_ticket_with_cipher_ctx() 540 const uint8_t *session_buf, in ssl_encrypt_ticket_with_method() argument 557 if (!method->seal(ssl, ptr, &out_len, max_out, session_buf, in ssl_encrypt_ticket_with_method() 573 uint8_t *session_buf = NULL; in ssl_encrypt_ticket() local 575 if (!SSL_SESSION_to_bytes_for_ticket(session, &session_buf, &session_len)) { in ssl_encrypt_ticket() 581 ret = ssl_encrypt_ticket_with_method(hs, out, session_buf, session_len); in ssl_encrypt_ticket() 583 ret = ssl_encrypt_ticket_with_cipher_ctx(hs, out, session_buf, session_len); in ssl_encrypt_ticket() 586 OPENSSL_free(session_buf); in ssl_encrypt_ticket()
|