Skip to content

Commit 2557ed4

Browse files
committed
Document source of montgomery::differential_add_and_double
1 parent ad7186f commit 2557ed4

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
@@ -184,6 +184,8 @@ impl Mul<&ProjectiveMontgomeryXpoint> for &EdwardsScalar {
184184
}
185185
}
186186

187+
// (1987 Montgomery) Speeding the Pollard and elliptic curve methods of factorization
188+
// fifth and sixth displays, plus common-subexpression elimination, plus assumption Z1=1
187189
fn differential_add_and_double(
188190
P: &mut ProjectiveMontgomeryXpoint,
189191
Q: &mut ProjectiveMontgomeryXpoint,

0 commit comments

Comments
 (0)