secp256k1FeMulInt static method

void secp256k1FeMulInt(
  1. Secp256k1Fe r,
  2. int a
)

Implementation

static void secp256k1FeMulInt(Secp256k1Fe r, int a) {
  _cond(a >= 0 && a <= 32, "secp256k1FeMulInt");
  r[0] *= a.toBigInt;
  r[1] *= a.toBigInt;
  r[2] *= a.toBigInt;
  r[3] *= a.toBigInt;
  r[4] *= a.toBigInt;
}