ProjectiveECCPoint.infinity constructor

ProjectiveECCPoint.infinity(
  1. CurveFp curve
)

Constructs a special ProjectiveECCPoint representing infinity on the elliptic curve. The curve parameter specifies the elliptic curve.

Implementation

factory ProjectiveECCPoint.infinity(CurveFp curve) {
  return ProjectiveECCPoint._(
    curve,
    [BigInt.zero, BigInt.zero, BigInt.zero],
    generator: false,
    order: null,
  );
}