Module ec

Source

Structs§

EcCreatePointLibfunc
Libfunc for creating an EC point from its coordinates x and y. If (x, y) is not on the curve, nothing is returned.
EcIsZeroLibfunc
Libfunc for checking whether the given EcPoint is the zero point.
EcNegLibfunc
Libfunc for unwrapping the x,y values of an EC point.
EcOpType
EcPointFromXLibfunc
Libfunc for creating an EC point from its x coordinate.
EcPointType
An EC point is a pair (x,y) on the curve.
EcStateAddLibfunc
Libfunc for initializing an EC state from an EC point.
EcStateAddMulLibfunc
Libfunc for applying the EC op builtin: given an EC state S, a scalar M and an EC point Q, computes a new EC state S + M * Q.
EcStateFinalizeLibfunc
Libfunc for initializing an EC state from an EC point.
EcStateInitLibfunc
Libfunc for initializing an EC state from an EC point.
EcStateType
An EC state is an EC point and a pointer to a random EC point shift.
EcUnwrapPointLibfunc
Libfunc for unwrapping the x,y values of an EC point.
EcZeroLibfunc
Libfunc for returning the zero point (the point at infinity).

Enums§

EcConcreteLibfunc
EcLibfunc