質數域高基數架構與高性能之橢圓曲線標量乘法實現於FPGA
顯示簡易詮釋資料 統計資料| 欄位 | 內容 | 語言 |
|---|---|---|
dc.contributor.advisor |
趙昌博 | |
dc.contributor.advisor |
Chao, Paul C.-P. | |
dc.contributor.author |
林俊霖 | |
dc.contributor.author |
Lin, Jun-Lin | |
dc.contributor.college |
電機學院 | |
dc.contributor.committee |
黃聖傑 | |
dc.contributor.committee |
賴伯承 | |
dc.contributor.committee |
Huang, Sheng-Chieh | |
dc.contributor.committee |
Lai, Bo-Cheng | |
dc.contributor.department |
電控工程研究所 | |
dc.contributor.studentid |
0660030 | |
dc.date.NCLavailable |
不公開 | |
dc.date.USTavailable |
不公開 | |
dc.date.etdavailablereason |
與公司有簽保密 | |
dc.date.issued |
2020 | |
dc.date.issuedROC |
109 | |
dc.date.paperavailable |
立即公開 | |
dc.date.schoolyear |
109 | |
dc.description.abstract |
自提出協定以來,已經提出許多用於ECC的硬體加速器和加密解密處理器,這方面的密碼處理器基本能分為兩類別,特殊質數域和一般質數域。美國國家科學技術院(NIST)在特殊質數域上定義了5個EC ( elliptic curve),雖然有較好的速度增益,但犧牲了質數選擇的靈活度。本文改良了傳統的基數2交錯乘法,提出高基數交錯乘法,交錯式模乘技術是由Blakley提出,這是將乘積(a.bi)以迭代的方式加到累加器上,相較於原本的乘法器,只需要原本周期的四分之一即可完成運算。使用高基數乘法器能減少模乘法的運算時間,因此不需要用到四顆模乘法,整體的運算速度也夠快。也不用因為使用四顆模乘法器而降低乘法器的硬體使用率。由於在投影坐標系下,模除法的使用被大幅降低,因此模除法部分透過使用右移二進制反(RS)演算法,使其和模加減法器共用一個硬體資源來增加整體硬體的效能。此種硬體電路架構以Verilog HDL來描述。並使用Virtex6 來模擬驗證,其工作頻率為117MHz,面積是13.43LUT,橢圓標量乘法的運算時間為1.12ms。 | |
dc.description.abstract |
Since the protocol was proposed, many hardware accelerators and cryptography processors for ECC have been proposed. The cryptography processors in this area can basically be divided into two categories, general prime number fields and special prime number fields. The National Academy of Science and Technology (NIST) defines 5 elliptic curves on a special prime number field. Although it has a good speed and performance, it sacrifices the flexibility. This work improves the traditional radix-2 interleaved multiplication and proposes high-radix interleaved multiplication. The interleaved modular multiplication algorithm is proposed by Blakley. The modular multiplication adds the product (c•di) to the accumulator in each iteration, compared to the original modular multiplication our only needs a quarter of the original cycle. The use of a high-radix multiplier can reduce the operation time of modular multiplication. There is no need to use four modular multiplications to speed up the calculating time, because the overall operation speed is fast enough. Also, there is no need to reduce the hardware utilization rate of the multiplier because of the use of four modular multipliers. Since the times we use the modular division is greatly reduced when we use the projective coordinate system, the modular division part uses the right-shift binary inverse (RS) algorithm to share the same hardware resource with the modular adder and subtraction to increase the overall hardware effectiveness. This kind of hardware circuit architecture is described in Verilog HDL. Also, we have simulation and verification in Virtex6. The clock frequency is 117MHz, the area is 13.43LUT and the time to calculate elliptic curve scale multiplication is 1.12 ms. | |
dc.description.abstractopendate |
||
dc.description.degree |
碩士 | |
dc.description.tableofcontents |
摘要 iAbstract iiAcknowledgement iiiTable of content ivTable captions viFigure captions viiI. Introduction 91.1. Introduction 91.2. Motivation 91.3. The structure of thesis 10II. ECC architecture and algorithm 112.1. Introduction of cryptography 112.2. Introduction of elliptic curve cryptography 122.2.1 Basic mathematic theory 142.2.2 Introduction of finite field 172.2.3 Affine coodinate 172.2.4 Projective coodinate 182.2.5 Elliptic curve scalar multiplication 202.3. The operand of elliptic curve over Finite field GF(P) 222.3.1 Modular inversion 22III. ECC hardware architecture and circuit design 253.1 The overall archetecture of elliptic curve cryptography system 253.2 Implementation of operand unit 273.2.1 Modular multiplication 273.2.2 Moddular Addition / Subtraction 333.2.3 Modular Inversion 353.3 Scheduling and execution flow 37IV. Chip design and Simukation Results 394.1 Chip design 394.2 Verilog simulation and synthesis result 394.3 Gate level simulation 424.4 Post-layout simulation 43V. Experimental Results 455.1 FPGA implementation for ECC 455.2 Spec comparison 46VI. Conclusion and Future Works 496.1 Conclusions 496.2 Future works 49REFERENCES 51 | |
dc.identifier.citation |
[1] National Institute of Standards and Technology (NIST), “DIGITAL SIGNATURE STANDARD (DSS),” fips186-2, October. 2001.[2] National Institute of Standards and Technology (NIST), “SECURITY REQUIREMENTS FOR CRYPTOGRAPHIC MODULES,” fips1140-2, January. 1994.[3] P. Choi , M.K. Lee ,J.H. Kim, D. K. Kim ,“Low-Complexity Elliptic Curve Cryptography Processor Based on Configurable Partial Modular Reduction Over NIST Prime Fields”, IEEE Transactions on Circuits and Systems II, Vol.65 , Nov. 2018 .[4] J. Ding , S. Li , Z. Gu ,“High-Speed ECC Processor Over NIST Prime Fields Applied With Toom–Cook Multiplication” , IEEE Transactions on Circuits and Systems I, Vol. 66 , March 2019 .[5] H. Marzouqi , M. Al-Qutayri , K. Salah , D. Schinianakis , T. Stouraitis ,“A High-Speed FPGA Implementation of an RSD-Based ECC Processor”, IEEE Transactions on Very Large Scale Integration (VLSI) Systems ,Vol. 24 , Jan. 2016 .[6] P. Choi, M.K. Lee, J.T. Kong, D.K. Kim, “Efficient Design and Performance Analysis of a Hardware Right-shift Binary Modular Inversion Algorithm in GF(p)”, Journal of Semiconductor Technology and Science ,pp425-437 , January 2017.[7] G. C.T. Chow , K. Eguro ,W. Luk ; Philip Leong, “ A Karatsuba-based Montgomery Multiplier”, International Conference on Field Programmable Logic and Applications, Aug. 2010.[8] Y.H. Chen, C.Y. Li, T.Y. Chang, “ Area-Effective and Power-Efficient Fixed-Width Booth Multipliers Using Generalized Probabilistic Estimation Bias”, IEEE Journal on Emerging and Selected Topics in Circuits and Systems , Vol.1, Sept. 2011.[9] H. Marzouqi ; M. Al-Qutayri ; K. Salah, “ RSD Based Karatsuba Multiplier For ECC Processors”, IEEE Design and Test Symposium, Aug. 2013.[10] A. Avizienis , “ Signed-Digit Numbe Representations for Fast Parallel Arithmetic”, IRE Transactions on Electronic Computers , Vol. EC-10, Sept. 1961.[11] 蘇詮勝 , “Energy-Efficient Scalable Serial-Parallel Multiplication Architecture for Elliptic Curve Cryptosystem”, 國立中山大學資訊工程學系碩士論文,July 2012.[12] M. S. Hossain , Y. Kong , E. Saeedi , N. C. Vayalil, “High-performance elliptic curve cryptography processor over NIST prime fields”, IET Computers & Digital Techniques ,Vol.11 , Jan. 2017 .[13] J.W. Lee , S.C. Chung , H.C. Chang ,C.Y. Lee, “Efficient Power-Analysis-Resistant Dual-Field Elliptic Curve Cryptographic Processor Using Heterogeneous Dual-Processing-Element Architecture”, IEEE Transactions on Very Large Scale Integration (VLSI) Systems ,Vol.22 , Jan. 2014 .[14] R. Azarderakhsh , A. Reyhani-Masoleh, “ Parallel and High-Speed Computations of Elliptic Curve Cryptography Using Hybrid-Double Multipliers”, IEEE Transactions on Parallel and Distributed Systems ,Vol.26 , June 1 2015 .[15] Rodriguez-Henriquez, F., Saqib, N.A., Díaz Pérez, A., Koc, C.K., “ Cryptographic Algorithms on Reconfigurable Hardware”, springer,2007.• [16] C. Paar, J. Pelzl,” Understanding Cryptography”, springer,2010.[17]W. Stallings, “Cryptography and Network Security Principles and Practices, Fourth Edition”, pearson,2006.[18] D. Hankerson, S. Vanstone, A. Menezes, “Guide to Elliptic Curve Cryptography”,springer,2003.[19] Y. A. Shah, K. Javeed, S. Azmat, and X. Wang, “A high-speed RSDbased flexible ECC processor for arbitrary curves over general prime field,” Int. J. Circuit Theory Appl., vol. 46, no. 10, pp. 1858–1878, 2018.[20] D. B. Roy, D. Mukhopadhyay , “High-Speed Implementation of ECC Scalar Multiplication in GF(p) for Generic Montgomery Curves”, IEEE Transactions on Very Large Scale Integration (VLSI) Systems ,Vol.27 , July 2019 .[21] K. Javeed , X. Wang, M. Scott ,“High performance hardware support for elliptic curve cryptography over general prime field.” Microprocess Microsyst. 2017;51:331‐42.[22] 蔡嘉和 , “ 高效能基數四之字組式蒙哥馬利模數乘法器”, 國立中山大學資訊工程學系碩士論文,July 2014[23] K. Javeed , X. Wang, M. Scott, “ Low latency flexible FPGA implementation of point multiplication on elliptic curves over GF (p).”, Int J Circuit Theory Appl. 2017;45(2):214‐28.[24] S. Ghosh, D. Mukhopadhyay, D. Roychowdhury , “Petrel: power and timing attack resistant elliptic curve scalar multiplier based on programmable GF(p) arithmetic unit.”, IEEE Trans Circuits Syst Regul Pap. 2011;58(8):1798‐812.[25] S. Ghosh, M. Alam, D.R. Chowdhury , I.S. Gupta, “ Parallel crypto‐devices for GF (p) elliptic curve multiplication resistant against side channel attacks.”, Comput Electr Eng. 2009;35(2):329‐38.[26] R. de Clercq, L. Uhsadel, A. Van Herrewege and I. Verbauwhede, "Ultra low-power implementation of ECC on the ARM Cortex-M0+," 2014 51st ACM/EDAC/IEEE Design Automation Conference (DAC), San Francisco, CA, 2014, pp. 1-6, doi: 10.1145/2593069.2593238. | |
dc.identifier.uri |
https://hdl.handle.net/20.500.14371/76166 | |
dc.language.iso |
英文 | |
dc.relation.alma |
990057787670206772 | |
dc.relation.page |
53 | |
dc.subject.keyword |
可程式化邏輯設計 | |
dc.subject.keyword |
橢圓標量乘法 | |
dc.subject.keyword |
高基數 | |
dc.subject.keyword |
橢圓曲線 | |
dc.subject.keyword |
FPGA | |
dc.subject.keyword |
EC scale multiplication | |
dc.subject.keyword |
Elliptic curve cryptography | |
dc.subject.keyword |
High-radix | |
dc.title |
質數域高基數架構與高性能之橢圓曲線標量乘法實現於FPGA | zh-TW |
dc.title |
High Performance FPGA Implement of Elliptic Curve Scale Multiplication based on High-Radix Architecture in GF(p) | en |
dc.type |
Thesis | zh-TW |
檔案
全文未公開。
所屬典藏: 電控工程研究所
引用此條目
Lin, J.-L. (2020). High Performance FPGA Implement of Elliptic Curve Scale Multiplication based on High-Radix Architecture in GF(p). https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76166
引用文字依 APA 第 7 版格式自動產生,使用前請再核對。
分享
永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/76166