TakeGLWEPk

Trait TakeGLWEPk 

Source
pub trait TakeGLWEPk {
    // Required method
    fn take_glwe_pk(
        &mut self,
        n: usize,
        basek: usize,
        k: usize,
        rank: usize,
    ) -> (GLWEPublicKey<&mut [u8]>, &mut Self);
}

Required Methods§

Source

fn take_glwe_pk( &mut self, n: usize, basek: usize, k: usize, rank: usize, ) -> (GLWEPublicKey<&mut [u8]>, &mut Self)

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<B: Backend> TakeGLWEPk for Scratch<B>
where Scratch<B>: TakeVecZnx,

Source§

fn take_glwe_pk( &mut self, n: usize, basek: usize, k: usize, rank: usize, ) -> (GLWEPublicKey<&mut [u8]>, &mut Self)

Implementors§