Fix ECDSA keysize computation.