mulSub static method

List<int> mulSub(
  1. List<int> scalar1,
  2. List<int> scalar2,
  3. List<int> scalar3
)

mul and then sub scalar r = a*b-c

Implementation

static List<int> mulSub(
    List<int> scalar1, List<int> scalar2, List<int> scalar3) {
  final out = List<int>.filled(32, 0);
  CryptoOps.scMulSub(out, scalar1, scalar2, scalar3);
  return out.asBytes;
}