mul static method

List<int> mul(
  1. List<int> scalar1,
  2. List<int> scalar2
)

mul two scalar r = a*b

Implementation

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