{"title":"A Low-Latency Quadratic Extended Domain Modular Multiplier for Bilinear Pairing Based on NLP Multiplication","authors":"Yulong Jia, Xiang Zhang, Ziyuan Wu, Shiji Hu","volume":220,"journal":"International Journal of Cognitive and Language Sciences","pagesStart":48,"pagesEnd":59,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/10014076","abstract":"<p>The calculation of bilinear pairing is the core of the SM9 algorithm, which relies on the underlying prime domain algorithm and the quadratic extension domain algorithm. Among the field algorithms, modular multiplication operation is the most time-consuming part. Therefore, the underlying modular multiplication algorithm is optimized to maximize the operation speed of bilinear pairings. This paper uses a modular multiplication method based on non-least positive (NLP) combined with Karatsuba and schoolbook multiplication to improve the Montgomery algorithm. At the same time, according to the characteristics of multiplication operation in quadratic extension domain, a quadratic extension domain FP2-NLP modular multiplication algorithm for bilinear pairings is proposed, which effectively reduces the operation time of modular multiplication in quadratic extension domain. The sub-expanded domain Fp2-NLP modular multiplication algorithm effectively reduces the operation time of modular multiplication under the second-expanded domain; The multiplication unit in the quadratic extension domain is implemented using SMIC55nm process, and two different implementation architectures are designed to cope with different application scenarios. Compared with the existing related literature, The output latency of this design can reach a minimum of 15 cycles. The shortest time for calculating the <em>(AB+CD)r<sup>\u22121<\/sup> mod M <\/em>form is 37.5ns, and the comprehensive area-time product (AT) is 11400, The final R-ate pairing algorithm hardware accelerator consumes 2670k equivalent logic gates and 1.8ms computing time in 55nm process.<\/p>","references":"[1] A. Shamir, \u201cIdentity-based cryptosystems and signature schemes,\u201d in\r\nAdvances in Cryptology: Proceedings of CRYPTO 84 4. Springer, 1985,\r\npp. 47\u201353.\r\n[2] F. Hess, N. P. Smart, and F. Vercauteren, \u201cThe eta pairing revisited,\u201d IEEE\r\ntransactions on information theory, vol. 52, no. 10, pp. 4595\u20134602, 2006.\r\n[3] E. Lee, H.-S. Lee, and C.-M. Park, \u201cEfficient and generalized pairing\r\ncomputation on abelian varieties,\u201d IEEE Transactions on Information\r\nTheory, vol. 55, no. 4, pp. 1793\u20131803, 2009.\r\n[4] F. Vercauteren, \u201cOptimal pairings,\u201d IEEE transactions on information\r\ntheory, vol. 56, no. 1, pp. 455\u2013461, 2009.\r\n[5] D. F. Aranha, K. Karabina, P. Longa, C. H. Gebotys, and J. L\u00b4opez,\r\n\u201cFaster explicit formulas for computing pairings over ordinary curves,\u201d in\r\nAdvances in Cryptology\u2013EUROCRYPT 2011: 30th Annual International\r\nConference on the Theory and Applications of Cryptographic Techniques,\r\nTallinn, Estonia, May 15-19, 2011. Proceedings 30. Springer, 2011, pp.\r\n48\u201368.\r\n[6] R. C. Cheung, S. Duquesne, J. Fan, N. Guillermin, I. Verbauwhede,\r\nand G. X. Yao, \u201cFpga implementation of pairings using residue number\r\nsystem and lazy reduction,\u201d in International Workshop on Cryptographic\r\nHardware and Embedded Systems. Springer, 2011, pp. 421\u2013441.\r\n[7] P. L. Montgomery, \u201cModular multiplication without trial division,\u201d\r\nMathematics of computation, vol. 44, no. 170, pp. 519\u2013521, 1985.\r\n[8] C. D. Walter, \u201cMontgomery exponentiation needs no final subtractions,\u201d\r\nElectronics letters, vol. 35, no. 21, pp. 1831\u20131832, 1999.\r\n[9] A. F. Tenca and C. K. Koc\u00b8, \u201cA scalable architecture for montgomery\r\nnultiplication,\u201d in Cryptographic Hardware and Embedded Systems: First\r\nInternationalWorkshop, CHES\u201999 Worcester, MA, USA, August 12\u201313,\r\n1999 Proceedings 1. Springer, 1999, pp. 94\u2013108.\r\n[10] A. A. Karatsuba and Y. P. Ofman, \u201cMultiplication of many-digital\r\nnumbers by automatic computers,\u201d in Doklady Akademii Nauk, vol. 145,\r\nno. 2. Russian Academy of Sciences, 1962, pp. 293\u2013294.\r\n[11] A. Rezai and P. Keshavarzi, \u201cHigh-throughput modular multiplication\r\nand exponentiation algorithms using multibit-scan\u2013multibit-shift\r\ntechnique,\u201d IEEE Transactions on Very Large Scale Integration (VLSI)\r\nSystems, vol. 23, no. 9, pp. 1710\u20131719, 2014.\r\n[12] S.-R. Kuang, K.-Y. Wu, and R.-Y. Lu, \u201cLow-cost high-performance vlsi\r\narchitecture for montgomery modular multiplication,\u201d IEEE Transactions\r\non Very Large Scale Integration (VLSI) Systems, vol. 24, no. 2, pp.\r\n434\u2013443, 2015.\r\n[13] S. S. Erdem, T. Yan\u0131k, and A. C\u00b8 elebi, \u201cA general digit-serial architecture\r\nfor montgomery modular multiplication,\u201d IEEE Transactions on Very\r\nLarge Scale Integration (VLSI) Systems, vol. 25, no. 5, pp. 1658\u20131668,\r\n2017. [14] A. Rezai and P. Keshavarzi, \u201cHigh-performance scalable architecture\r\nfor modular multiplication using a new digit-serial computation,\u201d\r\nMicroelectronics journal, vol. 55, pp. 169\u2013178, 2016.\r\n[15] Y. Li, J. Han, S.Wang, D. Fang, and X. Zeng, \u201cAn 800mhz cryptographic\r\npairing processor in 65nm cmos,\u201d in 2012 IEEE Asian Solid State Circuits\r\nConference (A-SSCC). IEEE, 2012, pp. 217\u2013220.\r\n[16] J. Han, Y. Li, Z. Yu, and X. Zeng, \u201cA 65 nm cryptographic processor\r\nfor high speed pairing computation,\u201d IEEE Transactions on Very Large\r\nScale Integration (VLSI) Systems, vol. 23, no. 4, pp. 692\u2013701, 2014.\r\n[17] Y. Pang, Y. Zhang, J. Han, and X. Zeng, \u201cF p 2 arithmetic acceleration\r\nbased on modified barrett modular multiplication algorithm,\u201d in 2017\r\nIEEE 12th International Conference on ASIC (ASICON). IEEE, 2017,\r\npp. 561\u2013564.\r\n[18] A. Miyamoto, N. Homma, T. Aoki, and A. Satoh, \u201cSystematic design\r\nof rsa processors based on high-radix montgomery multipliers,\u201d IEEE\r\nTransactions on very large scale integration (VLSI) Systems, vol. 19,\r\nno. 7, pp. 1136\u20131146, 2010.\r\n[19] C. K. Koc, T. Acar, and B. S. Kaliski, \u201cAnalyzing and comparing\r\nmontgomery multiplication algorithms,\u201d IEEE micro, vol. 16, no. 3, pp.\r\n26\u201333, 1996.\r\n[20] A. T. Wang, B. W. Guo, and C. J. Wei, \u201cHighly-parallel hardware\r\nimplementation of optimal ate pairing over barreto-naehrig curves,\u201d\r\nIntegration, vol. 64, pp. 13\u201321, 2019.\r\n[21] Z. Hao, W. Guo, J. Wei, and D. Sun, \u201cDual processing engine\r\narchitecture to speed up optimal ate pairing on fpga platform,\u201d in 2016\r\nIEEE Trustcom\/BigDataSE\/ISPA. IEEE, 2016, pp. 584\u2013589.\r\n[22] D. D. Chen, G. X. Yao, R. C. Cheung, D. Pao, and C. K. Koc\u00b8,\r\n\u201cParameter space for the architecture of fft-based montgomery modular\r\nmultiplication,\u201d IEEE Transactions on Computers, vol. 65, no. 1, pp.\r\n147\u2013160, 2015.\r\n[23] J. Ding and S. Li, \u201cA low-latency and low-cost montgomery modular\r\nmultiplier based on nlp multiplication,\u201d IEEE Transactions on Circuits\r\nand Systems II: Express Briefs, vol. 67, no. 7, pp. 1319\u20131323, 2019.\r\n[24] X. Dong, M. Gao, X. Ma, C. Xiao, and L. Zhang, \u201cAn implementation\r\nof r-ate pairing based on fpga,\u201d in 2024 3rd International Conference\r\non Big Data, Information and Computer Network (BDICN), 2024, pp.\r\n167\u2013173.\r\n[25] S. Ghosh, D. Mukhopadhyay, and D. Roychowdhury, \u201cHigh speed\r\nflexible pairing cryptoprocessor on fpga platform,\u201d in Pairing-Based\r\nCryptography - Pairing 2010, M. Joye, A. Miyaji, and A. Otsuka, Eds.\r\nBerlin, Heidelberg: Springer Berlin Heidelberg, 2010, pp. 450\u2013466.\r\n[26] J. Fan, F. Vercauteren, and I. Verbauwhede, \u201cFaster Fp-arithmetic\r\nfor cryptographic pairings on barreto-naehrig curves,\u201d in Cryptographic\r\nHardware and Embedded Systems - CHES 2009, C. Clavier and K. Gaj,\r\nEds. Berlin, Heidelberg: Springer Berlin Heidelberg, 2009, pp. 240\u2013253.\r\n[27] D. Kammler, D. Zhang, P. Schwabe, H. Scharwaechter, M. Langenberg,\r\nD. Auras, G. Ascheid, and R. Mathar, \u201cDesigning an asip for\r\ncryptographic pairings over barreto-naehrig curves,\u201d in Cryptographic\r\nHardware and Embedded Systems - CHES 2009, C. Clavier and K. Gaj,\r\nEds. Berlin, Heidelberg: Springer Berlin Heidelberg, 2009, pp. 254\u2013271.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 220, 2025"}