A library for working with pairing-friendly curves.
An implementation of the BLS12-381 pairing-friendly elliptic curve construction.
Placeholder type for implementing
Placeholder type for implementing expand_message_xof based on a hash function
Result of Sgn0.
Generate an element of a base field for a random string of bytes (used by FromRO for extension fields).
This traits enables reading and writing a compressed version.
An “engine” is a collection of types (fields, elliptic curve groups, etc.)
with well-defined relationships. In particular, the G1/G2 curve groups are
of prime order
Generate a field element from a random string of bytes.
Random oracle and injective maps to curve.
Affine representation of an elliptic curve point that can be used to perform pairings.
Signum computations and conditional in-place negation.
Hash to field for they type