scSub method

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

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

Implementation

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