Function concrete_npe::add_ciphertexts[][src]

pub fn add_ciphertexts(var_ct1: f64, var_ct2: f64) -> f64

Computes the variance of the error distribution after the addition of two uncorrelated ciphertexts Arguments

  • var_ct1 - noise variance of the first ciphertext
  • var_ct2 - noise variance of the second ciphertext Output
  • the variance of the sum of the first and the second ciphertext