liftX static method

Secp256k1Ge? liftX(
  1. Secp256k1Fe x,
  2. int odd
)

Implementation

static Secp256k1Ge? liftX(Secp256k1Fe x, int odd) {
  Secp256k1Ge r = Secp256k1Ge();
  if (Secp256k1.secp256k1GeSetXoVar(r, x, odd) == 1) {
    return r;
  }
  return null;
}