Module sw

Module sw 

Source
Expand description

This module contains definitions for the Short Weierstrass model of the curve.

Modules§

instance
This module contains curve instances in the Short Weierstrass model.

Structs§

Affine
Affine coordinates for a point on an elliptic curve in short Weierstrass form, over the base field P::BaseField.
Projective
Jacobian coordinates for a point on an elliptic curve in short Weierstrass form, over the base field P::BaseField. This struct implements arithmetic via the Jacobian formulae.

Traits§

SWCurveConfig
Constants and convenience functions that collectively define the Short Weierstrass model of the curve.

Functions§

sw_double_and_add_affine
Standard double-and-add method for multiplication by a scalar.
sw_double_and_add_projective
Standard double-and-add method for multiplication by a scalar.