{"title":"A Design of Elliptic Curve Cryptography Processor Based on SM2 over GF(p)","authors":"Shiji Hu, Lei Li, Wanting Zhou, Daohong Yang","volume":203,"journal":"International Journal of Cognitive and Language Sciences","pagesStart":598,"pagesEnd":606,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/10013330","abstract":"<p>The data encryption is the foundation of today\u2019s communication. On this basis, to improve the speed of data encryption and decryption is always an important goal for high-speed applications. This paper proposed an elliptic curve crypto processor architecture based on SM2 prime field. Regarding hardware implementation, we optimized the algorithms in different stages of the structure. For modulo operation on finite field, we proposed an optimized improvement of the Karatsuba-Ofman multiplication algorithm and shortened the critical path through the pipeline structure in the algorithm implementation. Based on SM2 recommended prime field, a fast modular reduction algorithm is used to reduce 512-bit data obtained from the multiplication unit. The radix-4 extended Euclidean algorithm was used to realize the conversion between the affine coordinate system and the Jacobi projective coordinate system. In the parallel scheduling point operations on elliptic curves, we proposed a three-level parallel structure of point addition and point double based on the Jacobian projective coordinate system. Combined with the scalar multiplication algorithm, we added mutual pre-operation to the point addition and double point operation to improve the efficiency of the scalar point multiplication. The proposed ECC hardware architecture was verified and implemented on Xilinx Virtex-7 and ZYNQ-7 platforms, and each 256-bit scalar multiplication operation took 0.275ms. The performance for handling scalar multiplication is 32 times that of CPU (dual-core ARM Cortex-A9).<\/p>","references":"[1] Victor S Miller. Use of elliptic curves in cryptography. In Advances in\r\nCryptology\u0142CRYPTO85 Proceedings, pages 417\u2013 426. Springer, 1985.\r\n[2] Neal Koblitz. Elliptic curve cryptosystems. Mathematics of computation,\r\n48(177):203\u2013209, 1987.\r\n[3] Yang A, Nam J, Kim M, et al. Provably-secure (Chinese government)\r\nSM2 and simplified SM2 key exchange protocols (J). The Scientific World\r\nJournal, 2014, 2014.\r\n[4] Zhang Y, He D, Zhang M, et al. A provable-secure and practical two-party\r\ndistributed signing protocol for SM2 signature algorithm (J). Frontiers of\r\nComputer Science, 2020, 14: 1-14.\r\n[5] Zhou L, Su C, Hu Z, et al. Lightweight implementations of NIST P-256\r\nand SM2 ECC on 8-bit resource-constraint embedded device (J).  ACM\r\nTransactions on Embedded Computing Systems (TECS), 2019, 18(3):\r\n1-13.\r\n[6] Liu Z, Liu D, Zou X. An efficient and flexible hardware implementation of\r\nthe dual-field elliptic curve cryptographic processor (J). IEEE Transactions\r\non Industrial Electronics, 2016, 64(3): 2353-2362.\r\n[7] Roy D B, Mukhopadhyay D. High-speed implementation of ECC scalar\r\nmultiplication in GF (p) for generic Montgomery curves (J).  IEEE\r\ntransactions on very large scale integration (VLSI) systems, 2019, 27(7):\r\n1587-1600.\r\n[8] Seo S C, Kim T, Hong S. Accelerating elliptic curve scalar multiplication\r\nover GF (2m) on graphic hardwares (J).  Journal of Parallel and Distributed\r\nComputing, 2015, 75: 152-167.\r\n[9] Salman A, Ferozpuri A, Homsirikamol E, et al. A scalable ECC processor\r\nimplementation for high-speed and lightweight with side-channel\r\ncountermeasures (C)\/\/2017 international conference on ReConFigurable\r\nComputing and FPGAs (ReConFig). IEEE, 2017: 1-8.\r\n[10] Awaludin A M, Larasati H T, Kim H. High-speed and unified ECC\r\nprocessor for generic Weierstrass curves over GF (p) on FPGA (J). \r\nSensors, 2021, 21(4): 1451.\r\n[11] Ding J, Li S. A reconfigurable high-speed ECC processor over\r\nNIST primes (C)\/\/2017 IEEE Trustcom\/BigDataSE\/ICESS. IEEE, 2017:\r\n1064-1069.\r\n[12] Ding J, Li S, Gu Z. High-speed ECC processor over NIST prime fields\r\napplied with Toom\u2013Cook multiplication (J).  IEEE Transactions on Circuits\r\nand Systems I: Regular Papers, 2018, 66(3): 1003-1016.\r\n[13] Khan S, Javeed K, Shah Y A. High-speed FPGA implementation\r\nof full-word Montgomery multiplier for ECC applications (J). \r\nMicroprocessors and Microsystems, 2018, 62: 91-101. [14] Feng X, Li S. A high performance FPGA implementation of\r\n256-bit elliptic curve cryptography processor over GF (p) (J). IEICE\r\nTransactions on Fundamentals of Electronics, Communications and\r\nComputer Sciences, 2015, 98(3): 863-869.\r\n[15] Zhang D, Bai G. High-performance implementation of SM2 based on\r\nFPGA (C)\/\/2016 8th IEEE International Conference on Communication\r\nSoftware and Networks (ICCSN). IEEE, 2016: 718-722.\r\n[16] Deschamps J P, Sutter G. Hardware implementation of finite-field\r\ndivision (J). Acta Applicandae Mathematica, 2006, 93: 119-147.\r\n[17] Anagreh M, Vainikko E, Laud P. Accelerate Performance for\r\nElliptic Curve Scalar Multiplication based on NAF by Parallel\r\nComputing (C)\/\/ICISSP. 2019: 238-245.\r\n[18] Wu T, Ye J, Lu J. Hardware implementation of SM2 ECC protocols\r\non FPGAs (C)\/\/2021 IEEE 5th Information Technology, Networking,\r\nElectronic and Automation Control Conference (ITNEC). IEEE, 2021,\r\n5: 33-37.\r\n[19] Kudithi T, Sakthivel R. High-performance ECC processor architecture\r\ndesign for IoT security applications (J).  The Journal of Supercomputing,\r\n2019, 75(1): 447-474.\r\n[20] Shah Y A, Javeed K, Azmat S, et al. Redundant-signed-digit-based\r\nhigh speed elliptic curve cryptographic processor (J). Journal of Circuits,\r\nSystems and Computers, 2019, 28(05): 1950081.\r\n[21] Hu X, Zheng X, Zhang S, et al. A high-performance elliptic curve\r\ncryptographic processor of SM2 over GF (p) (J).  Electronics, 2019, 8(4):\r\n431.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 203, 2023"}