Module pasta_curves::arithmetic
source · Expand description
This module provides common utilities, traits and structures for group and field arithmetic.
This module is temporary, and the extension traits defined here are expected to be
upstreamed into the ff
and group
crates after some refactoring.
Structs
- Coordinates
alloc
The affine coordinates of a point on an elliptic curve.
Traits
- CurveAffine
alloc
This trait is the affine counterpart toCurve
and is used for serialization, storage in memory, and inspection of $x$ and $y$ coordinates. - CurveExt
alloc
This trait is a common interface for dealing with elements of an elliptic curve group in a “projective” form, where that arithmetic is usually more efficient.