Added backend check to rsa primitives
Style nitpick
Merge pull request #807 from Ayrx/add-backend-check-to-rsa

Added backend check to rsa primitives