scMul method

  1. @override
BuBytes scMul(
  1. List<int> a,
  2. List<int> b
)
override

Scalar multiplication mod n; both scalarLen bytes. Returns scalarLen bytes. Throws on invalid scalar.

Implementation

@override
BuBytes scMul(List<int> a, List<int> b) {
  validateScalar(a, 'scMul');
  validateScalar(b, 'scMul');
  return call('scMul', () => inner.scMul(a, b));
}