Skip to main content

GLWEAutomorphismKeyCompressedEncryptSk

Trait GLWEAutomorphismKeyCompressedEncryptSk 

Source
pub trait GLWEAutomorphismKeyCompressedEncryptSk<BE: Backend> {
    // Required methods
    fn glwe_automorphism_key_compressed_encrypt_sk_tmp_bytes<A>(
        &self,
        infos: &A,
    ) -> usize
       where A: GGLWEInfos;
    fn glwe_automorphism_key_compressed_encrypt_sk<R, S, E>(
        &self,
        res: &mut R,
        p: i64,
        sk: &S,
        seed_xa: [u8; 32],
        enc_infos: &E,
        source_xe: &mut Source,
        scratch: &mut ScratchArena<'_, BE>,
    )
       where R: GGLWECompressedToBackendMut<BE> + GGLWECompressedSeedMut + SetGaloisElement + GGLWEInfos,
             E: EncryptionInfos,
             S: GLWESecretToBackendRef<BE> + GLWEInfos;
}

Required Methods§

Source

fn glwe_automorphism_key_compressed_encrypt_sk_tmp_bytes<A>( &self, infos: &A, ) -> usize
where A: GGLWEInfos,

Source

fn glwe_automorphism_key_compressed_encrypt_sk<R, S, E>( &self, res: &mut R, p: i64, sk: &S, seed_xa: [u8; 32], enc_infos: &E, source_xe: &mut Source, scratch: &mut ScratchArena<'_, 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> GLWEAutomorphismKeyCompressedEncryptSk<BE> for Module<BE>
where BE: Backend + EncryptionImpl<BE>,

Implementors§