Crate concrete_npe[][src]

Noise Propagation Estimator Module

  • Contains material needed to estimate the growth of the noise when performing homomophic computation

Re-exports

pub use cross::Cross;
pub use lwe::LWE;
pub use rlwe::RLWE;

Modules

cross

Noise formulas for the cross-sample type operations Those functions will be used in the cross-sample tests to check that the noise behavior is consistent with the theory.

lwe

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.

rlwe

Noise formulas for the RLWE operations considering that all slot have the same error variance

Functions

add_ciphertexts

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

add_several_ciphertexts

Computes the variance of the error distribution after the addition several uncorrelated ciphertexts Argument

nb_bit_from_variance_99

Computes the number of bits affected by the noise with a variance var describing a normal distribution takes into account the number of bits of the integers