Move RSA key generation into the wrappers.