pub trait LWEFromGLWE<BE: Backend>where
Self: GLWEKeyswitch<BE> + LWESampleExtract,{
// Provided methods
fn lwe_from_glwe_tmp_bytes<R, A, K>(
&self,
lwe_infos: &R,
glwe_infos: &A,
key_infos: &K,
) -> usize
where R: LWEInfos,
A: GLWEInfos,
K: GGLWEInfos { ... }
fn lwe_from_glwe<R, A, K>(
&self,
res: &mut R,
a: &A,
key: &K,
scratch: &mut Scratch<BE>,
)
where R: LWEToMut,
A: GLWEToRef,
K: GGLWEPreparedToRef<BE> + GGLWEInfos,
Scratch<BE>: ScratchTakeCore<BE> { ... }
}Provided Methods§
fn lwe_from_glwe_tmp_bytes<R, A, K>( &self, lwe_infos: &R, glwe_infos: &A, key_infos: &K, ) -> usize
fn lwe_from_glwe<R, A, K>(
&self,
res: &mut R,
a: &A,
key: &K,
scratch: &mut Scratch<BE>,
)where
R: LWEToMut,
A: GLWEToRef,
K: GGLWEPreparedToRef<BE> + GGLWEInfos,
Scratch<BE>: ScratchTakeCore<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.