Allow the fairly common case of generating the public key along with the private