A tiny RSA coprocessor based on optimized systolic Montgomery architecture