mulAddQUns method

Point mulAddQUns(
  1. Point R,
  2. BigInt u1,
  3. BigInt u2
)

to private keys. Doesn't use Shamir trick Unsafe: do NOT use for stuff related

Implementation

Point mulAddQUns(Point R, BigInt u1, BigInt u2) {
  // Double scalar mult. Q = u1⋅G + u2⋅R.
  return mul(u1, false).add(R.mul(u2, false)).ok();
}