fix: incorrect syntax for negation in cfg

This commit is contained in:
David Kotval 2024-02-04 14:27:30 -06:00
parent 81f9189d2f
commit b7c3eb9b67

View file

@ -69,7 +69,7 @@ pub(crate) const SQRT_M1: FieldElement2625 = FieldElement2625::from_limbs([
/// `APLUS2_OVER_FOUR` is (A+2)/4. (This is used internally within the Montgomery ladder.) /// `APLUS2_OVER_FOUR` is (A+2)/4. (This is used internally within the Montgomery ladder.)
/// The u32e backend uses hardware acceleration for this. /// The u32e backend uses hardware acceleration for this.
#[cfg(curve_dalek_backend != "u32e_backend")] #[cfg(not(curve_dalek_backend = "u32e_backend"))]
pub(crate) const APLUS2_OVER_FOUR: FieldElement2625 = pub(crate) const APLUS2_OVER_FOUR: FieldElement2625 =
FieldElement2625::from_limbs([121666, 0, 0, 0, 0, 0, 0, 0, 0, 0]); FieldElement2625::from_limbs([121666, 0, 0, 0, 0, 0, 0, 0, 0, 0]);