Home | History | Annotate | Download | only in crypto

Lines Matching refs:Point

25 struct Point {
26 // SetFromString the value of the point from the 56 byte, external
27 // representation. The external point representation is an (x, y) pair of a
28 // point on the curve. Each field element is represented as a big-endian
32 // ToString returns an external representation of the Point.
35 // An Point is represented in Jacobian form (x/z², y/z³).
45 void ScalarMult(const Point& in, const uint8_t* scalar, Point* out);
47 // ScalarBaseMult computes *out = g*scalar where g is the base point of the
49 void ScalarBaseMult(const uint8_t* scalar, Point* out);
52 void Add(const Point& a, const Point& b, Point* out);
55 void Negate(const Point& a, Point* out);