secp256k1GejEqGeVar static method

int secp256k1GejEqGeVar(
  1. Secp256k1Gej a,
  2. Secp256k1Ge b
)

Implementation

static int secp256k1GejEqGeVar(Secp256k1Gej a, Secp256k1Ge b) {
  Secp256k1Gej tmp = Secp256k1Gej();
  secp256k1GejNeg(tmp, a);
  secp256k1GejAddGeVar(tmp, tmp, b, null);
  return secp256k1GejIsInfinity(tmp);
}