GLWETensorKeyEncryptSk

Trait GLWETensorKeyEncryptSk 

Source
pub trait GLWETensorKeyEncryptSk<BE: Backend> {
    // Required methods
    fn glwe_tensor_key_encrypt_sk_tmp_bytes<A>(&self, infos: &A) -> usize
       where A: GGLWEInfos;
    fn glwe_tensor_key_encrypt_sk<R, S>(
        &self,
        res: &mut R,
        sk: &S,
        source_xa: &mut Source,
        source_xe: &mut Source,
        scratch: &mut Scratch<BE>,
    )
       where R: GLWETensorKeyToMut,
             S: GLWESecretToRef + GetDistribution + GLWEInfos;
}

Required Methods§

Source

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

Source

fn glwe_tensor_key_encrypt_sk<R, S>( &self, res: &mut R, 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> GLWETensorKeyEncryptSk<BE> for Module<BE>

Source§

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

Source§

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

Implementors§