Skip to main content

GGSWExternalProduct

Trait GGSWExternalProduct 

Source
pub trait GGSWExternalProduct<BE: Backend> {
    // Required methods
    fn ggsw_external_product_tmp_bytes<R, A, B>(
        &self,
        res_infos: &R,
        a_infos: &A,
        b_infos: &B,
    ) -> usize
       where R: GGSWInfos,
             A: GGSWInfos,
             B: GGSWInfos;
    fn ggsw_external_product<R, A, B>(
        &self,
        res: &mut R,
        a: &A,
        b: &B,
        key_size: usize,
        scratch: &mut ScratchArena<'_, BE>,
    )
       where R: GGSWToBackendMut<BE> + GGSWAtViewMut<BE> + GGSWInfos,
             A: GGSWToBackendRef<BE> + GGSWAtViewRef<BE> + GGSWInfos,
             B: GGSWPreparedToBackendRef<BE> + GGSWInfos;
    fn ggsw_external_product_assign<R, A>(
        &self,
        res: &mut R,
        a: &A,
        key_size: usize,
        scratch: &mut ScratchArena<'_, BE>,
    )
       where R: GGSWToBackendMut<BE> + GGSWAtViewMut<BE> + GGSWInfos,
             A: GGSWPreparedToBackendRef<BE> + GGSWInfos;
}

Required Methods§

Source

fn ggsw_external_product_tmp_bytes<R, A, B>( &self, res_infos: &R, a_infos: &A, b_infos: &B, ) -> usize
where R: GGSWInfos, A: GGSWInfos, B: GGSWInfos,

Source

fn ggsw_external_product<R, A, B>( &self, res: &mut R, a: &A, b: &B, key_size: usize, scratch: &mut ScratchArena<'_, BE>, )

Source

fn ggsw_external_product_assign<R, A>( &self, res: &mut R, a: &A, key_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> GGSWExternalProduct<BE> for Module<BE>

Source§

fn ggsw_external_product_tmp_bytes<R, A, B>( &self, res_infos: &R, a_infos: &A, b_infos: &B, ) -> usize
where R: GGSWInfos, A: GGSWInfos, B: GGSWInfos,

Source§

fn ggsw_external_product<R, A, B>( &self, res: &mut R, a: &A, b: &B, key_size: usize, scratch: &mut ScratchArena<'_, BE>, )

Source§

fn ggsw_external_product_assign<R, A>( &self, res: &mut R, a: &A, key_size: usize, scratch: &mut ScratchArena<'_, BE>, )

Implementors§