pub trait GLWEAutomorphism<BE: Backend> {
// Required methods
fn glwe_automorphism_tmp_bytes<R, A, K>(
&self,
res_infos: &R,
a_infos: &A,
key_infos: &K,
) -> usize
where R: GLWEInfos,
A: GLWEInfos,
K: GGLWEInfos;
fn glwe_automorphism<R, A, K>(
&self,
res: &mut R,
a: &A,
key: &K,
scratch: &mut Scratch<BE>,
)
where R: GLWEToMut + GLWEInfos,
A: GLWEToRef + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos;
fn glwe_automorphism_inplace<R, K>(
&self,
res: &mut R,
key: &K,
scratch: &mut Scratch<BE>,
)
where R: GLWEToMut + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos;
fn glwe_automorphism_add<R, A, K>(
&self,
res: &mut R,
a: &A,
key: &K,
scratch: &mut Scratch<BE>,
)
where R: GLWEToMut + GLWEInfos,
A: GLWEToRef + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos;
fn glwe_automorphism_add_inplace<R, K>(
&self,
res: &mut R,
key: &K,
scratch: &mut Scratch<BE>,
)
where R: GLWEToMut + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos;
fn glwe_automorphism_sub<R, A, K>(
&self,
res: &mut R,
a: &A,
key: &K,
scratch: &mut Scratch<BE>,
)
where R: GLWEToMut + GLWEInfos,
A: GLWEToRef + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos;
fn glwe_automorphism_sub_negate<R, A, K>(
&self,
res: &mut R,
a: &A,
key: &K,
scratch: &mut Scratch<BE>,
)
where R: GLWEToMut + GLWEInfos,
A: GLWEToRef + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos;
fn glwe_automorphism_sub_inplace<R, K>(
&self,
res: &mut R,
key: &K,
scratch: &mut Scratch<BE>,
)
where R: GLWEToMut + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos;
fn glwe_automorphism_sub_negate_inplace<R, K>(
&self,
res: &mut R,
key: &K,
scratch: &mut Scratch<BE>,
)
where R: GLWEToMut + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos;
}Required Methods§
fn glwe_automorphism_tmp_bytes<R, A, K>( &self, res_infos: &R, a_infos: &A, key_infos: &K, ) -> usize
fn glwe_automorphism<R, A, K>(
&self,
res: &mut R,
a: &A,
key: &K,
scratch: &mut Scratch<BE>,
)where
R: GLWEToMut + GLWEInfos,
A: GLWEToRef + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos,
fn glwe_automorphism_inplace<R, K>( &self, res: &mut R, key: &K, scratch: &mut Scratch<BE>, )
fn glwe_automorphism_add<R, A, K>(
&self,
res: &mut R,
a: &A,
key: &K,
scratch: &mut Scratch<BE>,
)where
R: GLWEToMut + GLWEInfos,
A: GLWEToRef + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos,
fn glwe_automorphism_add_inplace<R, K>( &self, res: &mut R, key: &K, scratch: &mut Scratch<BE>, )
fn glwe_automorphism_sub<R, A, K>(
&self,
res: &mut R,
a: &A,
key: &K,
scratch: &mut Scratch<BE>,
)where
R: GLWEToMut + GLWEInfos,
A: GLWEToRef + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos,
fn glwe_automorphism_sub_negate<R, A, K>(
&self,
res: &mut R,
a: &A,
key: &K,
scratch: &mut Scratch<BE>,
)where
R: GLWEToMut + GLWEInfos,
A: GLWEToRef + GLWEInfos,
K: GetGaloisElement + GGLWEPreparedToRef<BE> + GGLWEInfos,
fn glwe_automorphism_sub_inplace<R, K>( &self, res: &mut R, key: &K, scratch: &mut Scratch<BE>, )
fn glwe_automorphism_sub_negate_inplace<R, K>( &self, res: &mut R, key: &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.