Skip to main content

GLWETensorDecrypt

Trait GLWETensorDecrypt 

Source
pub trait GLWETensorDecrypt<BE: Backend> {
    // Required methods
    fn glwe_tensor_decrypt_tmp_bytes<A>(&self, infos: &A) -> usize
       where A: GLWEInfos;
    fn glwe_tensor_decrypt<R: Data, P: Data, S0: Data, S1: Data>(
        &self,
        res: &GLWETensor<R>,
        pt: &mut GLWEPlaintext<P>,
        sk: &GLWESecretPrepared<S0, BE>,
        sk_tensor: &GLWESecretTensorPrepared<S1, BE>,
        scratch: &mut ScratchArena<'_, BE>,
    )
       where GLWETensor<R>: GLWEToBackendRef<BE> + GLWEInfos,
             GLWEPlaintext<P>: GLWEToBackendMut<BE> + GLWEInfos + SetLWEInfos,
             GLWESecretPrepared<S0, BE>: GLWESecretPreparedToBackendRef<BE> + GLWEInfos,
             GLWESecretTensorPrepared<S1, BE>: GLWESecretTensorPreparedToBackendRef<BE> + GLWEInfos;
}

Required Methods§

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

Implementors§