Module group

Module group 

Source
Expand description

Definitions of generic traits with scalars of prime fields and points on elliptic curves. Traits for operating on Groups and Elliptic Curves.

Structs§

CurveFrom
Helper which binds together a scalar with a group type to form a curve

Traits§

Curve
A group holds functionalities to create scalar and points related; it is similar to the Engine definition, just much more simpler.
Element
Element represents an element of a group with the additive notation which is also equipped with a multiplication transformation. Two implementations are for Scalar which forms a ring so RHS is the same and Point which can be multiplied by a scalar of its prime field.
PairingCurve
A curve equipped with a bilinear pairing operation.
Point
Basic point functionality that can be multiplied by a scalar
Scalar
Scalar can be multiplied by only a Scalar, no other elements.