pub trait GLWEDecrypt<BE: Backend>where
Self: Sized + ModuleN + VecZnxDftBytesOf + VecZnxNormalizeTmpBytes + VecZnxBigBytesOf + VecZnxDftApply<BE> + SvpApplyDftToDftInplace<BE> + VecZnxIdftApplyConsume<BE> + VecZnxBigAddInplace<BE> + VecZnxBigAddSmallInplace<BE> + VecZnxBigNormalize<BE>,{
// Provided 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 Scratch<BE>,
)
where R: GLWEToRef,
P: GLWEPlaintextToMut,
S: GLWESecretPreparedToRef<BE>,
Scratch<BE>: ScratchTakeBasic { ... }
}Provided 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 Scratch<BE>,
)where
R: GLWEToRef,
P: GLWEPlaintextToMut,
S: GLWESecretPreparedToRef<BE>,
Scratch<BE>: ScratchTakeBasic,
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.