GLWENoise

Trait GLWENoise 

Source
pub trait GLWENoise<BE: Backend> {
    // Required methods
    fn glwe_noise_tmp_bytes<A>(&self, infos: &A) -> usize
       where A: GLWEInfos;
    fn glwe_noise<R, P, S>(
        &self,
        res: &R,
        pt_want: &P,
        sk_prepared: &S,
        scratch: &mut Scratch<BE>,
    ) -> Stats
       where R: GLWEToRef + GLWEInfos,
             P: GLWEToRef,
             S: GLWESecretPreparedToRef<BE>;
}

Required Methods§

Source

fn glwe_noise_tmp_bytes<A>(&self, infos: &A) -> usize
where A: GLWEInfos,

Source

fn glwe_noise<R, P, S>( &self, res: &R, pt_want: &P, sk_prepared: &S, scratch: &mut Scratch<BE>, ) -> Stats

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> GLWENoise<BE> for Module<BE>

Source§

fn glwe_noise_tmp_bytes<A>(&self, infos: &A) -> usize
where A: GLWEInfos,

Source§

fn glwe_noise<R, P, S>( &self, res: &R, pt_want: &P, sk_prepared: &S, scratch: &mut Scratch<BE>, ) -> Stats

Implementors§