diff --git a/src/field.rs b/src/field.rs index e0fbbe3..cb729b8 100644 --- a/src/field.rs +++ b/src/field.rs @@ -869,6 +869,10 @@ impl FieldElement { FieldElement::reduce(&[h0, h1, h2, h3, h4, h5, h6, h7, h8, h9]) } + #[cfg(feature="radix_51")] + pub fn multiply(&self, _rhs: &FieldElement) -> FieldElement { + unimplemented!(); + } #[cfg(feature="radix_25_5")] fn square_inner(&self) -> [i64;10] { @@ -910,6 +914,10 @@ impl FieldElement { h } + #[cfg(feature="radix_51")] + fn square_inner(&self) -> [u128;5] { + unimplemented!(); + } /// Calculates h = f*f. Can overlap h with f. /// @@ -926,6 +934,10 @@ impl FieldElement { pub fn square(&self) -> FieldElement { FieldElement::reduce(&self.square_inner()) } + #[cfg(feature="radix_51")] + pub fn square(&self) -> FieldElement { + unimplemented!(); + } /// Square this field element and multiply the result by 2. /// @@ -951,6 +963,10 @@ impl FieldElement { } FieldElement::reduce(&coeffs) } + #[cfg(feature="radix_51")] + pub fn square2(&self) -> FieldElement { + unimplemented!(); + } #[inline] #[allow(dead_code)]