A prime order finite field GF(q) over which all scalar values for our prime order group can be multiplied are defined.
The scalar type for this field
The serialization type (fixed-length byte array)
Returns the zero element of the field, the additive identity.
Returns the one element of the field, the multiplicative identity.
Computes the multiplicative inverse of an element of the scalar field, failing if the element is zero.
Generate a random scalar from the entire space [0, l-1]
Serialize a scalar to bytes.
Serialize a scalar to bytes in little-endian order.
Deserialize a scalar from bytes.
Add two scalars.
Subtract two scalars.
Multiply two scalars.
Negate a scalar.
Check if two scalars are equal (constant-time).
Check if a scalar is zero.
A prime order finite field GF(q) over which all scalar values for our prime order group can be multiplied are defined.