Explain Z1=1 again

This commit is contained in:
George Tankersley 2017-07-07 00:00:00 +00:00
parent c9f6a1c183
commit ce27eaf07c
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ func (curve ed25519Curve) Double(x1, y1 *big.Int) (x, y *big.Int) {
p.FromAffine(x1, y1)
// Use the special-case DoubleZ1 here because we know Z will be 1.
return p.DoubleZ1().ToAffine()
}