pub trait Add<EK, CT1, CT2, CT> {
fn add(ek: &EK, c1: CT1, c2: CT2) -> CT;
}
Expand description
Addition of two ciphertexts.
Homomorphically combine ciphertexts c1
and c2
to obtain a ciphertext containing
the sum of the two underlying plaintexts, reduced modulus n
from ek
.