TakeGGSW

Trait TakeGGSW 

Source
pub trait TakeGGSW {
    // Required method
    fn take_ggsw(
        &mut self,
        n: usize,
        basek: usize,
        k: usize,
        rows: usize,
        digits: usize,
        rank: usize,
    ) -> (GGSWCiphertext<&mut [u8]>, &mut Self);
}

Required Methods§

Source

fn take_ggsw( &mut self, n: usize, basek: usize, k: usize, rows: usize, digits: usize, rank: usize, ) -> (GGSWCiphertext<&mut [u8]>, &mut Self)

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<B: Backend> TakeGGSW for Scratch<B>
where Scratch<B>: TakeMatZnx,

Source§

fn take_ggsw( &mut self, n: usize, basek: usize, k: usize, rows: usize, digits: usize, rank: usize, ) -> (GGSWCiphertext<&mut [u8]>, &mut Self)

Implementors§