mirror of
https://github.com/arnaucube/phantom-zone.git
synced 2026-01-11 16:41:29 +01:00
clean
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -146,26 +146,25 @@ impl<El> BoolParameters<El> {
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
struct DecompostionLogBase(pub(crate) usize);
|
||||
pub(crate) struct DecompostionLogBase(pub(crate) usize);
|
||||
impl AsRef<usize> for DecompostionLogBase {
|
||||
fn as_ref(&self) -> &usize {
|
||||
&self.0
|
||||
}
|
||||
}
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
struct DecompositionCount(pub(crate) usize);
|
||||
pub(crate) struct DecompositionCount(pub(crate) usize);
|
||||
impl AsRef<usize> for DecompositionCount {
|
||||
fn as_ref(&self) -> &usize {
|
||||
&self.0
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
struct LweDimension(pub(crate) usize);
|
||||
pub(crate) struct LweDimension(pub(crate) usize);
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
struct PolynomialSize(pub(crate) usize);
|
||||
pub(crate) struct PolynomialSize(pub(crate) usize);
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
struct Modulus<T>(pub(crate) T);
|
||||
pub(crate) struct Modulus<T>(pub(crate) T);
|
||||
|
||||
pub(super) const SP_BOOL_PARAMS: BoolParameters<u64> = BoolParameters::<u64> {
|
||||
rlwe_q: Modulus(268369921u64),
|
||||
|
||||
Reference in New Issue
Block a user