Skip to content

Commit 7220bb5

Browse files
committed
Document source of montgomery::differential_add_and_double
1 parent 304a23d commit 7220bb5

File tree

1 file changed

+2
-0
lines changed
  • ed448-goldilocks/src/montgomery

1 file changed

+2
-0
lines changed

ed448-goldilocks/src/montgomery/x.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ impl Mul<&ProjectiveMontgomeryXpoint> for &EdwardsScalar {
199199
}
200200
}
201201

202+
// (1987 Montgomery) Speeding the Pollard and elliptic curve methods of factorization
203+
// fifth and sixth displays, plus common-subexpression elimination, plus assumption Z1=1
202204
fn differential_add_and_double(
203205
P: &mut ProjectiveMontgomeryXpoint,
204206
Q: &mut ProjectiveMontgomeryXpoint,

0 commit comments

Comments
 (0)