跳到主要內容

簡易檢索 / 詳目顯示

研究生: 呂誌忠
Chih-Chung Lu
論文名稱: 適用於RSA公匙密碼系統之高效能Montgomery模組
Design Methodology of Booth-encoded Montgomery Module Design for RSA Cryptosystem
指導教授: 吳安宇
An-Yeu Wu
口試委員:
學位類別: 碩士
Master
系所名稱: 資訊電機學院 - 電機工程學系
Department of Electrical Engineering
畢業學年度: 88
語文別: 中文
論文頁數: 59
中文關鍵詞: 密碼
外文關鍵詞: cryptography, cryptosystem, RSA, Montgomery, modular multiplication, modular exponentail
相關次數: 點閱:15下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報


  • In this thesis, a design methodology for Booth-encoded Montgomery''s modular multiplication algorithms is proposed. The new design methodology helps us to re-duce the required iteration number in the Encryption/Decryption of RSA cryptosys-tem. With application of pipelining and folding/unfolding techniques to the design of Montgomery''s modular multiplication module, we construct the processing element (PE) called M-cell. With the M-cell''s, we can easily reconfigure the RSA chip. It is very convenient to reconfigure the RSA chip for different specification by cascade different number of M-cells and reuse them. The final optimized Montgomery''s modular multiplication module is a digit-serial, pure-systolic, and scalable architec-ture with 100% utilization of all PE modules. The simulation result shows that we can not only reduce the required iteration number from 2n^2 to n^2 using H algorithm, hard-ware complexity is also simplified. The efficiency (time-area product) of our design is improved about a factor of 2.5. The simulation results show that the maximum speed-performance of single RSA chip can be up to 476kbit/sec.

    1. INTRODUCTION1 1.2 INTRODUCTION OF RSA CRYPTOGRAPHY2 1.3 IMPLEMENTATION ISSUE OF RSA CRYPTOGRAPHY4 1.4 PROPOSED DESIGN APPROACHES4 1.5 THESIS ORGANIZATION5 2. COMPARISON OF MODULAR EXPONENTIAL ALGORITHMS6 2.1 EXPONENTIAL ALGORITHM7 2.2 COMPARISON OF EXPONENTIAL ALGORITHMS12 3. BOOTH-ENCODED MONTGOMERY''S MODULAR MULTIPLICATION ALGORITHMS14 3.1 REVIEW OF MONTGOMERY''S MODULAR MULTIPLICATION ALGORITHM14 3.2 PROPOSED DESIGN METHODOLOGY16 3.3 COMPARISON OF MONTGOMERY''S MODULAR MULTIPLICATION ALGORITHMS20 3.4 MODIFIED MODULAR EXPONENTIAL ALGORITHM21 4. ARCHITECTURAL DESIGN OF MONTGOMERY MODULE23 4.1 APPLY OPTIMIZATION TECHNIQUE FOR MONTGOMERY MODULE23 4.2 FULLY PIPELINED DIGIT-SERIAL ARCHITECTURE26 4.3 IMPROVED MODULE UTILIZATION30 4.4 DESIGN OF CONTROL UNIT30 4.5 RSA PROCESSOR DESIGN33 5. COMPARISON AND SIMULATION RESULT38 5.1 COMPARISON OF EFFICIENCY FOR MONTGOMERY''S MODULAR MULTIPLICATION ALGORITHMS38 5.2 COMPARISON OF HARDWARE ARCHITECTURE40 5.3 SIMULATION RESULT41 5.3.1 GENERATE RSA KEY FOR TESTING PROPOSE41 5.3.2 VERIFICATION OF OUR ARCHITECTURE42 5.3.3 OTHER TESTING CASES44 6. CONCLUSIONS47 REFERENCES48

    [1] S.C. Pohlig and M.E. Hellamn, "An Improved Algorithm for Computing Loga-rithms if GF(p) and Its Cryptographic Significance," IEEE Transactions on Infor-mation Theory, v. 24, n. 1, pp.106-111, Jan 1978.
    [2] R.L. Rivest, A. Shamir, and L.M. Adleman, "A Method for Obtaining Digital Sig-natures and Public-Key Cryptosystems," Communications of the ACM, v. 21, n. 2, pp. 120-126, Feb 1978.
    [3] R.L. Rivest, A. Shamir, and L.M. Adleman, "On Digital Signatures and Public Key Cryptosystems," MIT Laboratory for Computer Science, Technical Report, MIT/LCS/TR-212, Jan 1979.
    [4] Bruce Schneier, "Applied Cryptography; Protocols, Algorithms, and Source Code in C," John Wiley & Sons, Inc., 1994
    [5] M.O. Rabin, "Digital Signatures and Public-Key Functions as Intractable as Fac-torization," MIT Laboratory for Computer Science, Technical Report, MIT/LCS/TR212, Jan 1979.
    [6] Ching-Chao Yang, Tian-Sheuan Chang, and Chein-Wei Jen, "A New RSA Crypto-system Hardware Design Based on Montgomery''s Algorithm," IEEE Transactions on Circuits and Systems-II: Analog and Digital Signal Processing. Vol. 45, No. 7, pp. 908-913, July 1998.
    [7] P. Adrain Wang, Wei-Chang Tsai, and C. Bernard Shung, "New Vlsi Architectures of RSA Public-Key Cryptosystem," in IEEE International Symposium on Circuit and System, June 9-12, 1997.
    [8] Jen-Shiun Chiang, and Jian-Kao Chen, "An efficient VLSI architecture for RSA public-key cryptosystem," Circuits and Systems, 1999. ISCAS ''99. Proceedings of the 1999 IEEE International Symposium on Volume: 1, Page(s): 496 -499 vol.1, 1999.
    [9] Jia-Lin Sheu, Ming-Der Shieh, Chien-Hsing Wu, and Ming-Hwa Sheu, "A Pipe-lined Architecture of fast modular multiplication for RSA cryptography," in Proc. of the IEEE International Symposium on, Vol. 2, pp.121-124. Vol. 2, 1998.
    [10] Zhang, C.N.; Xu, Y.; Wu, C.C.,"A bit-serial systolic algorithm and VLSI imple-mentation for RSA" Communications, Computers and Signal Processing. 10 Years PACRIM 1987-1997 - Networking the Pacific Rim. 1997 IEEE Pacific Rim Con-ference on, vol. 2, pp. 523-526. Vol.2, 1997.
    [11] Keshab K. Parhi, "A Systematic Approach for Design of Digit-Serial Signal Processing Architecture," IEEE Transactions on Circuits and Systems, Vol. 38, No.4, April 1991.
    [12] M. Shand and J. Vuillemin, "Fast implementations of RSA cryptography," in Proc. 11th Symp. On Computer Arithmetic, pp. 252-259, 1993.
    [13] P. L. Montgomery, "Modular multiplication without trial division," Math. Com-put., vol. 44, pp.519-521, Apr. 1985.
    [14] H. Orup, "A 100Kbits/s single chip modular exponentiation processor," in HOT Chips VI, Symp. Rec., pp. 53-59, 1994.
    [15] S. Ishii, K. Ohyama, and K. Yamanaka, "A single-chip RSA processor imple-mented in a 0.5 um rule gate array," in Proc. 7th Annu. IEEE Int. ASIC Conf. Ex-hibit, pp. 433-436, 1994.
    [16] P. S. Chen, S. A. Hwang, and C. W. Wu, "A systolic RSA public key cryptosys-tem," in Proc. IEEE International Symposium on Circuit and Systems, vol. 4, pp. 408-411, 1996.
    [17] Jyh-Huei Guo, Chin-Liang Wang, and Hung-Chin Hu, "Design and Implemen-tation of an RSA Public-key Cryptosystem," in Proc. IEEE International Sympo-sium on Circuit and Systems, vol. 1, pp. 504-507, 1999.
    [18] R. Katti, "A modified Booth algorithm for high radix fix-point multiplication," IEEE Transactions on Very Large Scale Integration Systems, vol. 1, no. 2, pp. 164-167, Jane 1993.
    [19] Jye-Jong Leu and A.-Y. Wu, "A Scalable Low-Complexity Bit-Serial VLSI Ar-chitecture for RSA Cryptosystem," in IEEE Workshop on Signal Processing Sys-tems (SiPS-99), pp. 586-595, Taipei, Oct. 1999.
    [20] Jye-Jong Leu, and An-Yeu Wu, "Design Methodology For Booth-Encoded Montgomery Module Design For RSA Cryptosystem," To appear ISCAS 2000.
    [21] R. Katti, "A modified Booth algorithm for high radix fix-point multiplication," IEEE Transactions on Very Large Scale Integration Systems, vol. 1, no. 2, pp. 164-167, Jane 1993.

    QR CODE
    :::