Module concrete_npe::lwe [−][src]
Expand description
Noise formulas for the lwe-sample related operations Those functions will be used in the lwe tests to check that the noise behavior is consistent with the theory.
Traits
Functions
Computes the variance of the error distribution after an addition of two uncorrelated ciphertexts sigma_out^2 <- sigma0^2 + sigma1^2 Arguments
Computes the variance of the error distribution after an addition of n uncorrelated ciphertexts sigma_out^2 <- \Sum sigma_i^2 Arguments
Computes an upper bound for the log2 of the rounding noise z*sigma (mean is 0.) 2048 -> 4.838859820820504 1024 -> 4.357122758833062 630 -> 4.024243436996168 512 -> 3.8824357953680453
Computes an upper bound for the number of 1 in a secret key z*sigma + mean