Skip to main content

point_add

Function point_add 

Source
fn point_add(
    c: &Curve,
    p1: &Option<(BigUint, BigUint)>,
    p2: &Option<(BigUint, BigUint)>,
) -> Option<(BigUint, BigUint)>
Expand description

Point addition on the short-Weierstrass curve y^2 = x^3 + a·x + b (mod p).