LWEDecrypt

Trait LWEDecrypt 

Source
pub trait LWEDecrypt<BE: Backend> {
    // Required method
    fn lwe_decrypt<R, P, S>(&self, res: &mut R, pt: &mut P, sk: &S)
       where R: LWEToMut,
             P: LWEPlaintextToMut,
             S: LWESecretToRef;
}

Required Methods§

Source

fn lwe_decrypt<R, P, S>(&self, res: &mut R, pt: &mut P, sk: &S)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<BE: Backend> LWEDecrypt<BE> for Module<BE>

Source§

fn lwe_decrypt<R, P, S>(&self, res: &mut R, pt: &mut P, sk: &S)

Implementors§