Skip to main content

GGSWExpandRows

Trait GGSWExpandRows 

Source
pub trait GGSWExpandRows<BE: Backend> {
    // Required methods
    fn ggsw_expand_rows_tmp_bytes<R, A>(
        &self,
        res_infos: &R,
        tsk_infos: &A,
    ) -> usize
       where R: GGSWInfos,
             A: GGLWEInfos;
    fn ggsw_expand_row<R, T>(
        &self,
        res: &mut R,
        tsk: &T,
        tsk_size: usize,
        scratch: &mut ScratchArena<'_, BE>,
    )
       where R: GGSWToBackendMut<BE> + GGSWInfos,
             T: GGLWEToGGSWKeyPreparedToBackendRef<BE> + GGLWEInfos;
}

Required Methods§

Source

fn ggsw_expand_rows_tmp_bytes<R, A>( &self, res_infos: &R, tsk_infos: &A, ) -> usize
where R: GGSWInfos, A: GGLWEInfos,

Source

fn ggsw_expand_row<R, T>( &self, res: &mut R, tsk: &T, tsk_size: usize, scratch: &mut ScratchArena<'_, BE>, )

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> GGSWExpandRows<BE> for Module<BE>
where BE: Backend + ConversionImpl<BE>, Module<BE>: ConversionDefault<BE>,

Source§

fn ggsw_expand_rows_tmp_bytes<R, A>( &self, res_infos: &R, tsk_infos: &A, ) -> usize
where R: GGSWInfos, A: GGLWEInfos,

Source§

fn ggsw_expand_row<R, T>( &self, res: &mut R, tsk: &T, tsk_size: usize, scratch: &mut ScratchArena<'_, BE>, )

Implementors§