A scalar in unpacked representation.
Functions
fn fromBytes(s: CompressedScalar, endian: std.builtin.Endian) NonCanonicalError!Scalar
Unpack a serialized representation of a scalar.
fn fromBytes64(s: [64]u8, endian: std.builtin.Endian) Scalar
Reduce a 512 bit input to the field size.
fn sqrt(n: Scalar) NotSquareError!Scalar
Return the square root of L, or NotSquare if there isn’t any solutions.