Module coords

Source
Expand description

Exposes information about point coordinates

Curve by default does not require that points expose their coordinates. Some curves implementations intentionally don’t expose points coordinates, and, generally, most of the EC algorithms don’t need them. Each curve implementation may optionally expose affine coordinates by implementing trait from this module.

Enums§

Parity
Parity of coordinate
Sign
Sign of coordinate

Traits§

AlwaysHasAffineY
A point that always has affine y coordinate
AlwaysHasAffineYAndSign
A point that always has affine y coordinate and sign of x coordinate
HasAffineX
A point that has affine x coordinate
HasAffineXAndParity
A point that has affine x coordinate and parity of y coordinate
HasAffineXY
A point that has affine x and y coordinates
HasAffineY
A point that has affine y coordinate