packing test

This commit is contained in:
Pro7ech
2025-10-20 17:29:23 +02:00
parent d4c936e04c
commit 749552801c
4 changed files with 40 additions and 73 deletions

View File

@@ -179,6 +179,8 @@ where
}
}
impl<BE: Backend> GLWERotate<BE> for Module<BE> where Self: ModuleN + VecZnxRotate + VecZnxRotateInplace<BE> {}
pub trait GLWERotate<BE: Backend>
where
Self: ModuleN + VecZnxRotate + VecZnxRotateInplace<BE>,
@@ -253,6 +255,8 @@ where
}
}
impl<BE: Backend> GLWECopy for Module<BE> where Self: ModuleN + VecZnxCopy {}
pub trait GLWECopy
where
Self: ModuleN + VecZnxCopy,
@@ -278,6 +282,8 @@ where
}
}
impl<BE: Backend> GLWEShift<BE> for Module<BE> where Self: ModuleN + VecZnxRshInplace<BE> {}
pub trait GLWEShift<BE: Backend>
where
Self: ModuleN + VecZnxRshInplace<BE>,
@@ -308,6 +314,8 @@ impl GLWE<Vec<u8>> {
}
}
impl<BE: Backend> GLWENormalize<BE> for Module<BE> where Self: ModuleN + VecZnxNormalize<BE> + VecZnxNormalizeInplace<BE> {}
pub trait GLWENormalize<BE: Backend>
where
Self: ModuleN + VecZnxNormalize<BE> + VecZnxNormalizeInplace<BE>,