pub trait GLWEDecrypt<BE: Backend> {
// Required methods
fn glwe_decrypt_tmp_bytes<A>(&self, infos: &A) -> usize
where A: GLWEInfos;
fn glwe_decrypt<R, P, S>(
&self,
res: &R,
pt: &mut P,
sk: &S,
scratch: &mut ScratchArena<'_, BE>,
)
where R: GLWEToBackendRef<BE> + GLWEInfos,
P: GLWEToBackendMut<BE> + GLWEInfos + SetLWEInfos,
S: GLWESecretPreparedToBackendRef<BE> + GLWEInfos;
}Required Methods§
fn glwe_decrypt_tmp_bytes<A>(&self, infos: &A) -> usizewhere
A: GLWEInfos,
fn glwe_decrypt<R, P, S>(
&self,
res: &R,
pt: &mut P,
sk: &S,
scratch: &mut ScratchArena<'_, BE>,
)where
R: GLWEToBackendRef<BE> + GLWEInfos,
P: GLWEToBackendMut<BE> + GLWEInfos + SetLWEInfos,
S: GLWESecretPreparedToBackendRef<BE> + GLWEInfos,
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.