GLWEFromLWE

Trait GLWEFromLWE 

Source
pub trait GLWEFromLWE<BE: Backend>
where Self: GLWEKeyswitch<BE>,
{ // Provided methods fn glwe_from_lwe_tmp_bytes<R, A, K>( &self, glwe_infos: &R, lwe_infos: &A, key_infos: &K, ) -> usize where R: GLWEInfos, A: LWEInfos, K: GGLWEInfos { ... } fn glwe_from_lwe<R, A, K>( &self, res: &mut R, lwe: &A, ksk: &K, scratch: &mut Scratch<BE>, ) where R: GLWEToMut, A: LWEToRef, K: GGLWEPreparedToRef<BE> + GGLWEInfos, Scratch<BE>: ScratchTakeCore<BE> { ... } }

Provided Methods§

Source

fn glwe_from_lwe_tmp_bytes<R, A, K>( &self, glwe_infos: &R, lwe_infos: &A, key_infos: &K, ) -> usize
where R: GLWEInfos, A: LWEInfos, K: GGLWEInfos,

Source

fn glwe_from_lwe<R, A, K>( &self, res: &mut R, lwe: &A, ksk: &K, scratch: &mut Scratch<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: Backend> GLWEFromLWE<BE> for Module<BE>
where Self: GLWEKeyswitch<BE>,

Implementors§