Module pasta_curves::arithmetic [−][src]
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
The affine coordinates of a point on an elliptic curve.
Tables used for square root computation.
Traits
This trait is the affine counterpart to Curve
and is used for
serialization, storage in memory, and inspection of $x$ and $y$ coordinates.
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.
This trait represents an element of a field.
This trait is a common interface for dealing with elements of a finite field.
This represents an element of a group with basic operations that can be performed. This allows an FFT implementation (for example) to operate generically over either a field or elliptic curve group.