geDoubleScalarMultPrecompPointVar method

  1. @override
BuBytes geDoubleScalarMultPrecompPointVar(
  1. List<int> a,
  2. List<List<int>> aI,
  3. List<int> b,
  4. List<List<int>> bI,
)
override

a·A + b·B with precomputed tables aI/bI (from geDsmPrecompVar); scalars 32-byte LE. Returns 32-byte compressed point. Throws on invalid input.

Implementation

@override
BuBytes geDoubleScalarMultPrecompPointVar(
  List<int> a,
  List<List<int>> aI,
  List<int> b,
  List<List<int>> bI,
) {
  return _api
      .geDoubleScalarMultPrecomp(
        a,
        aI.expand((e) => e).toList(),
        b,
        bI.expand((e) => e).toList(),
      )
      .unwrapOrThrowCryptoError();
}