TakeGLWEPkPrepared

Trait TakeGLWEPkPrepared 

Source
pub trait TakeGLWEPkPrepared<B: Backend> {
    // Required method
    fn take_glwe_pk_prepared(
        &mut self,
        n: usize,
        basek: usize,
        k: usize,
        rank: usize,
    ) -> (GLWEPublicKeyPrepared<&mut [u8], B>, &mut Self);
}

Required Methods§

Source

fn take_glwe_pk_prepared( &mut self, n: usize, basek: usize, k: usize, rank: usize, ) -> (GLWEPublicKeyPrepared<&mut [u8], B>, &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> TakeGLWEPkPrepared<B> for Scratch<B>
where Scratch<B>: TakeVecZnxDft<B>,

Source§

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

Implementors§