AffinePointt.infinity constructor

AffinePointt.infinity(
  1. CurveFp curve
)

Factory method to create an infinity point on the given curve.

Implementation

factory AffinePointt.infinity(CurveFp curve) {
  return AffinePointt(curve, BigInt.zero, BigInt.zero);
}