GGSWNoise

Trait GGSWNoise 

Source
pub trait GGSWNoise<BE: Backend> {
    // Required methods
    fn ggsw_noise_tmp_bytes<A>(&self, infos: &A) -> usize
       where A: GGSWInfos;
    fn ggsw_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: GGSWToRef,
             S: GLWESecretPreparedToRef<BE>,
             P: ScalarZnxToRef;
}

Required Methods§

Source

fn ggsw_noise_tmp_bytes<A>(&self, infos: &A) -> usize
where A: GGSWInfos,

Source

fn ggsw_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> GGSWNoise<BE> for Module<BE>

Source§

fn ggsw_noise_tmp_bytes<A>(&self, infos: &A) -> usize
where A: GGSWInfos,

Source§

fn ggsw_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§