Expand description
This module provides common operations to work with elliptic curves.
Abstractions and api in this module are similar to Arkworks Algebra ark-ec library.
Modules§
- sw
- This module contains definitions for the Short Weierstrass model of the curve.
- te
- This module contains definitions for the Twisted Edwards model of the curve.
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
Config - Elliptic curves can be represented via different “models” with varying efficiency properties.
- Curve
Group - An opaque representation of an elliptic curve group element that is suitable for efficient group arithmetic.
- Prime
Group - Represents (elements of) a group of prime order
r.
Functions§
- batch_
inversion - Efficiently computes inverses of non-zero elements in the slice.