pyecsca.ec.model module¶
Provides curve model classes for the supported curve models.
- class CurveModel[source]¶
Bases:
object
Model(form) of an elliptic curve.
-
coordinates:
MutableMapping
[str
,CoordinateModel
][source]¶
-
coordinates:
- class ShortWeierstrassModel[source]¶
Bases:
EFDCurveModel
Short-Weierstrass curve model.
\[y^2 = x^3 + a x + b\]-
coordinates:
MutableMapping
[str
,CoordinateModel
][source]¶
-
coordinates:
- class MontgomeryModel[source]¶
Bases:
EFDCurveModel
Montgomery curve model.
\[B y^2 = x^3 + A x^2 + x\]-
coordinates:
MutableMapping
[str
,CoordinateModel
][source]¶
-
coordinates:
- class EdwardsModel[source]¶
Bases:
EFDCurveModel
Edwards curve model.
\[x^2 + y^2 = c^2 (1 + d x^2 y^2)\]-
coordinates:
MutableMapping
[str
,CoordinateModel
][source]¶
-
coordinates:
- class TwistedEdwardsModel[source]¶
Bases:
EFDCurveModel
Twisted-Edwards curve model.
\[a x^2 + y^2 = 1 + d x^2 y^2\]-
coordinates:
MutableMapping
[str
,CoordinateModel
][source]¶
-
coordinates: