Clean rsa and fix rsa_socle_majore