mirror of
https://github.com/saymrwulf/betrusted-curve25519-dalek-source.git
synced 2026-09-04 20:24:07 +00:00
fix: incorrect syntax for negation in cfg
This commit is contained in:
parent
81f9189d2f
commit
b7c3eb9b67
1 changed files with 1 additions and 1 deletions
|
|
@ -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.)
|
||||
/// 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 =
|
||||
FieldElement2625::from_limbs([121666, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue