GGLWENoise

Trait GGLWENoise 

Source
pub trait GGLWENoise<BE: Backend> {
    // Required methods
    fn gglwe_noise_tmp_bytes<A>(&self, infos: &A) -> usize
       where A: GGLWEInfos;
    fn gglwe_noise<R, S, P>(
        &self,
        res: &R,
        res_row: usize,
        res_col: usize,
        pt_want: &P,
        sk_prepared: &S,
        scratch: &mut Scratch<BE>,
    ) -> Stats
       where R: GGLWEToRef,
             S: GLWESecretPreparedToRef<BE>,
             P: ScalarZnxToRef;
}

Required Methods§

Source

fn gglwe_noise_tmp_bytes<A>(&self, infos: &A) -> usize
where A: GGLWEInfos,

Source

fn gglwe_noise<R, S, P>( &self, res: &R, res_row: usize, res_col: usize, 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> GGLWENoise<BE> for Module<BE>

Source§

fn gglwe_noise_tmp_bytes<A>(&self, infos: &A) -> usize
where A: GGLWEInfos,

Source§

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

Implementors§