Template Function lbcrypto::operator+=

Function Documentation

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

operator+= overload for Ciphertexts. Performs EvalAdd.

Template Parameters

Element – a ring element.

Parameters
  • a – ciphertext to be added to

  • b – ciphertext to add to a

Returns

a