verifySignature

Checks the ECDSA verification equation: with w = s^-1 mod n, u1 = z*w mod n, u2 = r*w mod n, the signature is valid iff (u1*G + u2*Q).x mod n == r.

Returns false (never throws) for out-of-range r/s — an out-of-range component simply is not a valid signature, not an error condition.