additionStep method

  1. @override
Bls12NativeFp12 additionStep(
  1. Bls12NativeFp12 acc
)
override

Performs an addition step using the base G2 point and updates the current G2 point.

Implementation

@override
Bls12NativeFp12 additionStep(Bls12NativeFp12 acc) {
  final coeffs = Bls12PairingUtils.additionStep(_cur, base);
  _cur = coeffs.$1;
  return Bls12PairingUtils.ell(acc, coeffs.$2, p);
}