GGLWEEncryptSk

Trait GGLWEEncryptSk 

Source
pub trait GGLWEEncryptSk<BE: Backend> {
    // Required methods
    fn gglwe_encrypt_sk_tmp_bytes<A>(&self, infos: &A) -> usize
       where A: GGLWEInfos;
    fn gglwe_encrypt_sk<R, P, S>(
        &self,
        res: &mut R,
        pt: &P,
        sk: &S,
        source_xa: &mut Source,
        source_xe: &mut Source,
        scratch: &mut Scratch<BE>,
    )
       where R: GGLWEToMut,
             P: ScalarZnxToRef,
             S: GLWESecretPreparedToRef<BE>;
}

Required Methods§

Source

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

Source

fn gglwe_encrypt_sk<R, P, S>( &self, res: &mut R, pt: &P, sk: &S, source_xa: &mut Source, source_xe: &mut Source, 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.

Implementations on Foreign Types§

Source§

impl<BE: Backend> GGLWEEncryptSk<BE> for Module<BE>

Source§

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

Source§

fn gglwe_encrypt_sk<R, P, S>( &self, res: &mut R, pt: &P, sk: &S, source_xa: &mut Source, source_xe: &mut Source, scratch: &mut Scratch<BE>, )

Implementors§