Optimized implementation of RSA for ARM processors