Abstract
A parallel architecture for efficient hardware implementation of Rivest Shamir Adleman (RSA) cryptography is proposed. Residue number system (RNS) is introduced to realize high parallelism, thus all the elements under the same base are independent of each other and can be computed in parallel. Moreover, a simple and fast base transformation is used to achieve RNS Montgomery modular multiplication algorithm, which facilitates hardware implementation. Based on transport triggered architecture (TTA), the proposed architecture is designed to evaluate the performance and feasibility of the algorithm. With these optimizations, a decryption rate of 106 kbps can be achieved for 1 024-b RSA at the frequency of 100 MHz.
Similar content being viewed by others
References
Montgomery P L. Modular multiplication without trial division[J]. Mathematics of Computation, 1985, 44(170): 519–521.
Wang Dili, Bai Guoqiang, Chen Hongyi. Hardware architecture for the Montgomery multiplication algorithm[J]. Microelectronics and Computer, 2010, 27(5): 1–4(in Chinese).
Hong Jinhua, Wu Chengwen. Cellular-array modular multiplier for fast RSA public-key cryptosystem based on modified Booth’s algorithm[J]. IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2003, 11(3): 474–484.
Nozaki Hanae, Motoyama Masahiko, Shimbo Atsushi et al. Implementation of RSA algorithm based on RNS Montgomery multiplication [C]. In: Cryptographic Hardware and Embedded Systems (CHES). Berlin, Germany, 2001. 364–376.
Kawamura Shinichi, Koike Masanobu, Sano Fumihiko et al. Cox-rower architecture for fast parallel Montgomery multiplication[C]. In: Advances in Cryptology-EUROCRYPT 2000. Bruges, Belgium, 2000. 523–538.
Bajard Jean-Claude, Imbert Laurent. A full RNS implementation of RSA [J]. IEEE Transactions on Computers, 2004, 53(6): 769–774.
Qin Baodong, Li Ming, Kong Fanyu. Cryptanalysis of a type of CRT-based RSA algorithms [J]. Journal of Computer Science and Technology, 2008, 23(2): 214–221.
Cheng Wei, Gu Dawu, Guo Zheng et al. A power analysis attack against RSA-CRT [J]. Communications Technology, 2011, 44(234): 123–128(in Chinese).
Hämäläinen P, Hännikäinen M, Hämäläinen T et al. Implementation of encryption algorithms on transport triggered architectures [C]. In: The 2001 IEEE International Symposium on Circuits and Systems. Sydney, Australia, 2001. 726–729.
Hu Jingwei, Guo Wei, Wei Jizeng et al. A novel architecture for fast RSA key generation based on RNS [C]. In: Fourth International Symposium on Parallel Architectures, Algorithms and Programming (PAAP). Tianjin, China, 2011. 345–349.
Bajard Jean-Claude, Meloni Nicolas, Plantard Thomas. Efficient RNS bases for cryptography [C]. In: World Congress: Scientific Computation Applied Mathematics and Simulation. Paris, France, 2005. 11–15.
Barrett Paul. Implementing the Rivest Shamir and Adleman public key encryption algorithm on a standard digital signal processor [C]. In: Advances in Cryptology — CRYPTO’ 86. Berlin, Germany, 1987. 311–323.
Liu Qiang, Ma Fangzhen, Tong Dong et al. A regular parallel RSA processor [C]. In: 47th IEEE International Midwest Symposium on Circuits and Systems. Hiroshima, Japan, 2004. 467–470.
Shieh Mingder, Chen Junhong, Wu Haohsuan et al. A new modular exponentiation architecture for efficient design of RSA cryptosystem [J]. IEEE Transactions on Very Large Scale Integration(VLSI)Systems, 2008, 16(9): 1151–1161.
Shieh Mingder, Chen Junhong, Lin Wenching et al. A new algorithm for high-speed modular multiplication design [J]. IEEE Transactions on Circuits and Systems-I, 2009, 56(9): 2009–2019.
Shieh Mingder, Lin Wenching. Word-based Montgomery modular multiplication algorithm for low-latency scalable architectures [J]. IEEE Transactions on Computers, 2010, 59(8): 1145–1151.
Huang Miaoqing, Gaj Kris, EI-Ghazawi Tarek. New hardware architectures for Montgomery modular multiplication algorithm [J]. IEEE Transactions on Computers, 2011, 60(7): 923–936.
Author information
Authors and Affiliations
Corresponding author
Additional information
Supported by the Natural Science Foundation of Tianjin (No. 11JCZDJC15800), and the National Natural Science Foundation of China (No. 61003306).
GUO Wei, born in 1961, female, Prof.
Rights and permissions
About this article
Cite this article
Guo, W., Liu, Y., Bai, S. et al. Hardware architecture for RSA cryptography based on residue number system. Trans. Tianjin Univ. 18, 237–242 (2012). https://doi.org/10.1007/s12209-012-1902-7
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12209-012-1902-7