Template Function lbcrypto::operator+

Function Documentation

template<class Element>
Ciphertext<Element> lbcrypto::operator+(const Ciphertext<Element> &a, const Ciphertext<Element> &b)

operator+ overload for Ciphertexts. Performs EvalAdd.

Template Parameters

Element – a ring element.

Parameters
  • &a – ciphertext operand

  • &b – ciphertext operand

Returns

The result of addition.