Fixing RSA gen instructions