multiMillerLoop method

  1. @override
MillerLoopResultBls12 multiMillerLoop(
  1. List<(G1AffinePoint, G2Prepared)> terms
)
override

Executes the multi-Miller loop for the given list of term pairs.

Implementation

@override
MillerLoopResultBls12 multiMillerLoop(
  List<(G1AffinePoint, G2Prepared)> terms,
) {
  final adder = MillerLoopDriverBls12(terms: terms, index: 0);
  final tmp = Bls12PairingUtils.millerLoop(adder);
  return MillerLoopResultBls12(tmp);
}