elliptic_curve::weierstrass

Function double

Source
pub fn double<Fe>(
    (x, y, z): ProjectivePoint<Fe>,
    curve_equation_b: Fe,
) -> ProjectivePoint<Fe>
where Fe: Field,
Expand description

Implements the exception-free point doubling formula from Renes-Costello-Batina 2015 (Algorithm 6).