mirror of https://github.com/gtank/ristretto255
Explain Z1=1 again
This commit is contained in:
parent
c9f6a1c183
commit
ce27eaf07c
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue