Re-exports§
pub use models::*;
Modules§
Structs§
- Affine
- Affine coordinates for a point on a twisted Edwards curve, over the
base field
P::BaseField
. - Batch
MulPreprocessing - Preprocessing used internally for batch scalar multiplication via
ScalarMul::batch_mul
. - Montgomery
Affine - Projective
Projective
implements Extended Twisted Edwards Coordinates as described in [HKCD08].
Enums§
- TEFlags
- Flags to be encoded into the serialization. The default flags (empty) should not change the binary representation.
Traits§
- Affine
Repr - The canonical representation of an elliptic curve group element. This should represent the affine coordinates of the point corresponding to this group element.
- Curve
Group - An opaque representation of an elliptic curve group element that is suitable for efficient group arithmetic.
- Mont
Curve Config - Constants and convenience functions that collectively define the Montgomery model
of the curve. In this model, the curve equation is
b * y² = x³ + a * x² + x
, for constantsa
andb
. - Prime
Group - Represents (elements of) a group of prime order
r
. - Scalar
Mul - TECurve
Config - Constants and convenience functions that collectively define the Twisted Edwards model
of the curve. In this model, the curve equation is
a * x² + y² = 1 + d * x² * y²
, for constantsa
andd
. - Variable
BaseMSM
Functions§
- sw_
double_ and_ add_ affine - Standard double-and-add method for multiplication by a scalar.
- sw_
double_ and_ add_ projective - Standard double-and-add method for multiplication by a scalar.