LWEEncryptSk

Trait LWEEncryptSk 

Source
pub trait LWEEncryptSk<BE: Backend> {
    // Required method
    fn lwe_encrypt_sk<R, P, S>(
        &self,
        res: &mut R,
        pt: &P,
        sk: &S,
        source_xa: &mut Source,
        source_xe: &mut Source,
    )
       where R: LWEToMut,
             P: LWEPlaintextToRef,
             S: LWESecretToRef;
}

Required Methods§

Source

fn lwe_encrypt_sk<R, P, S>( &self, res: &mut R, pt: &P, sk: &S, source_xa: &mut Source, source_xe: &mut Source, )

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> LWEEncryptSk<BE> for Module<BE>

Source§

fn lwe_encrypt_sk<R, P, S>( &self, res: &mut R, pt: &P, sk: &S, source_xa: &mut Source, source_xe: &mut Source, )

Implementors§