Module curve

Module curve 

Source
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§

AffineRepr
The canonical representation of an elliptic curve group element. This should represent the affine coordinates of the point corresponding to this group element.
CurveConfig
Elliptic curves can be represented via different “models” with varying efficiency properties.
CurveGroup
An opaque representation of an elliptic curve group element that is suitable for efficient group arithmetic.
PrimeGroup
Represents (elements of) a group of prime order r.

Functions§

batch_inversion
Efficiently computes inverses of non-zero elements in the slice.