AffineCurve2
export type AffineCurve2 = {
b: [bigint, bigint]
ZERO: Point2C
add(
a: Point2C,
b: Point2C
): Point2C
equals(
a: Point2C,
b: Point2C
): boolean
fromAffine(point: Point2C): Point2C
isValidPoint(p: Point2C): boolean
isZero(point: Point2C): boolean
negate(a: Point2C): Point2C
scale(
point: Point2C,
s: bigint
): Point2C
subtract(
a: Point2C,
b: Point2C
): Point2C
toAffine(point: Point2C): Point2C
}