crypto/crypto/group/bls12_381/src/pairing/pairing library

Classes

Bls12PairingUtils
Utilities for computing pairings and Miller loop operations on BLS12-381.
G2Prepared
Precomputes Miller loop coefficients for a G2 point to speed up pairings.
Gt
Element of GT, the BLS12-381 pairing target group, represented additively.
MillerLoopDriverBls12
Drives a multi-pairing Miller loop over a batch of (G1, prepared-G2) terms.
MillerLoopDriverBls12Pairing
Implements the Miller loop driver for BLS12-381 pairings using affine G1 and projective G2 points.
MillerLoopResultBls12
The accumulated (unreduced) output of the Miller loop; call MillerLoopResultBls12.finalExponentiation to get a Gt element.
MultiMillerLoopBls12
Computes a combined Miller loop over multiple G1/G2 pairs for BLS12-381.