ensure that pubKey length is greater than m