Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
G2.Uncompressed
Sourceinclude Elliptic_curve_sig.T with type Scalar.t = Fr.t
The type of the element in the elliptic curve
The size of a point representation, in bytes
Create an empty value to store an element of the curve. DO NOT USE THIS TO DO COMPUTATIONS WITH, UNDEFINED BEHAVIORS MAY HAPPEN
Check if a point, represented as a byte array, is on the curve *
Attempt to construct a point from a byte array. Raise Not_on_curve
if the point is not on the curve
Generate a random element
Create a point from the coordinates. If the point is not on the curve, None is return. The points must be given modulo the order of Fq. The points are in the form (c0, c1) where x = c1 * X + c0 and y = c1 * X + c0. To create the point at infinity, use zero ()