Merge pull request #807 from Ayrx/add-backend-check-to-rsa

Added backend check to rsa primitives