Structs§
- EcCreate
Point Libfunc - Libfunc for creating an EC point from its coordinates
x
andy
. If(x, y)
is not on the curve, nothing is returned. - EcIs
Zero Libfunc - Libfunc for checking whether the given
EcPoint
is the zero point. - EcNeg
Libfunc - Libfunc for unwrapping the x,y values of an EC point.
- EcOp
Type - EcPoint
FromX Libfunc - Libfunc for creating an EC point from its x coordinate.
- EcPoint
Type - An EC point is a pair (x,y) on the curve.
- EcState
AddLibfunc - Libfunc for initializing an EC state from an EC point.
- EcState
AddMul Libfunc - Libfunc for applying the EC op builtin: given an EC state
S
, a scalarM
and an EC pointQ
, computes a new EC stateS + M * Q
. - EcState
Finalize Libfunc - Libfunc for initializing an EC state from an EC point.
- EcState
Init Libfunc - Libfunc for initializing an EC state from an EC point.
- EcState
Type - An EC state is an EC point and a pointer to a random EC point shift.
- EcUnwrap
Point Libfunc - Libfunc for unwrapping the x,y values of an EC point.
- EcZero
Libfunc - Libfunc for returning the zero point (the point at infinity).