Searched refs:mod_inv (Results 1 – 1 of 1) sorted by relevance
189 fn mod_inv(x: &BigInt, m: &BigInt) -> Option<BigInt> { in mod_inv() function350 (&(3 * x1.pow(2) + Curve::A) * &mod_inv(&(2 * y1), p).unwrap()) % p in add()353 (&(y2 - y1) * &mod_inv(&(x2 - x1), p).unwrap()) % p in add()