GLWESwitchingKeyCompressedEncryptSk

Trait GLWESwitchingKeyCompressedEncryptSk 

Source
pub trait GLWESwitchingKeyCompressedEncryptSk<BE: Backend> {
    // Required methods
    fn glwe_switching_key_compressed_encrypt_sk_tmp_bytes<A>(
        &self,
        infos: &A,
    ) -> usize
       where A: GGLWEInfos;
    fn glwe_switching_key_compressed_encrypt_sk<R, S1, S2>(
        &self,
        res: &mut R,
        sk_in: &S1,
        sk_out: &S2,
        seed_xa: [u8; 32],
        source_xe: &mut Source,
        scratch: &mut Scratch<BE>,
    )
       where R: GGLWECompressedToMut + GGLWECompressedSeedMut + GLWESwitchingKeyDegreesMut + GGLWEInfos,
             S1: GLWESecretToRef,
             S2: GLWESecretToRef;
}

Required Methods§

Source

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

Source

fn glwe_switching_key_compressed_encrypt_sk<R, S1, S2>( &self, res: &mut R, sk_in: &S1, sk_out: &S2, seed_xa: [u8; 32], 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> GLWESwitchingKeyCompressedEncryptSk<BE> for Module<BE>

Implementors§