Skip to main content

GGLWEToGGSWKeyEncryptSk

Trait GGLWEToGGSWKeyEncryptSk 

Source
pub trait GGLWEToGGSWKeyEncryptSk<BE: Backend> {
    // Required methods
    fn gglwe_to_ggsw_key_encrypt_sk_tmp_bytes<A>(&self, infos: &A) -> usize
       where A: GGLWEInfos;
    fn gglwe_to_ggsw_key_encrypt_sk<R, S, E>(
        &self,
        res: &mut R,
        sk: &S,
        enc_infos: &E,
        source_xe: &mut Source,
        source_xa: &mut Source,
        scratch: &mut ScratchArena<'_, BE>,
    )
       where R: GGLWEToGGSWKeyToBackendMut<BE>,
             E: EncryptionInfos,
             S: GLWESecretToBackendRef<BE> + GetDistribution + GLWEInfos;
}

Required Methods§

Source

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

Source

fn gglwe_to_ggsw_key_encrypt_sk<R, S, E>( &self, res: &mut R, sk: &S, enc_infos: &E, source_xe: &mut Source, source_xa: &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> GGLWEToGGSWKeyEncryptSk<BE> for Module<BE>
where BE: Backend + EncryptionImpl<BE>,

Source§

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

Source§

fn gglwe_to_ggsw_key_encrypt_sk<R, S, E>( &self, res: &mut R, sk: &S, enc_infos: &E, source_xe: &mut Source, source_xa: &mut Source, scratch: &mut ScratchArena<'_, BE>, )

Implementors§