crypto/crypto/group/pasta/point/core
library
Classes
-
BasePastaPoint<SCALAR extends PastaFieldElement<SCALAR>, BASE extends PastaFieldElement<BASE>>
-
Contract shared by every Pasta point representation (projective and affine).
-
PastaAffinePoint<SCALAR extends PastaFieldElement<SCALAR>, BASE extends PastaFieldElement<BASE>, P extends PastaPoint<SCALAR, BASE, P>>
-
A Pasta point in affine coordinates.
-
PastaCurveParams<F extends PastaFieldElement<F>>
-
A Pasta curve's Weierstrass coefficients (
y^2 = x^3 + a*x + b).
-
PastaPoint<SCALAR extends PastaFieldElement<SCALAR>, BASE extends PastaFieldElement<BASE>, P extends PastaPoint<SCALAR, BASE, P>>
-
A Pasta point in projective coordinates, with full group and
cofactor operations.
Enums
-
PastaCurveName
-
Field elements are represented as multiple fixed-size limbs (typically
4
Uint64s) with algorithms written in a constant-time style. Because
they rely on multi-precision arithmetic over Dart ints, these
implementations are not guaranteed to be constant-time at the machine
level and should not be considered fully side-channel resistant.
Identifies which of the four Pasta curves a point belongs to.