An error that may occur when trying to interpret a
This trait represents an element of a field.
This represents an element of a prime field.
This trait represents a wrapper around a biginteger which can encode any element of a particular
prime field. It is a smart wrapper around a sequence of
An "engine" is a collection of types (fields, elliptic curve groups, etc.) with well-defined relationships. Specific relationships (for example, a pairing-friendly curve) can be defined in a subtrait.
This trait represents an element of a field that has a square root operation described for it.
Calculate a + b + carry, returning the sum and modifying the carry value.
Calculate a + (b * c) + carry, returning the least significant digit and setting carry to the most significant digit.
Calculate a - b - borrow, returning the result and modifying the borrow value.