mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
wip
This commit is contained in:
@@ -175,10 +175,7 @@ where
|
||||
self.set_k(a.k());
|
||||
}
|
||||
|
||||
pub fn rotate_inplace<A>(&mut self, module: &Module<FFT64>, k: i64)
|
||||
where
|
||||
A: VecZnxToRef + Infos,
|
||||
{
|
||||
pub fn rotate_inplace(&mut self, module: &Module<FFT64>, k: i64){
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
assert_eq!(self.n(), module.n());
|
||||
@@ -242,3 +239,9 @@ where
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
impl GLWECiphertext<Vec<u8>>{
|
||||
pub fn rsh_scratch_space(module: &Module<FFT64>) -> usize{
|
||||
VecZnx::rsh_scratch_space(module.n())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user