Bagus Hanindhito, Nur Ahmadi, Hafez Hogantara, A. Arrahmah, T. Adiono
{"title":"2048位RSA密码系统的改进串行蒙哥马利模乘法的FPGA实现","authors":"Bagus Hanindhito, Nur Ahmadi, Hafez Hogantara, A. Arrahmah, T. Adiono","doi":"10.1109/ISITIA.2015.7219964","DOIUrl":null,"url":null,"abstract":"RSA (Rivest, Shamir, Adleman) is one of the most widely used cryptographic algorithms worldwide to perform data encryption and decryption. An essential step in RSA computation lies on its modular multiplication which is relatively expensive and time consuming to be implemented in hardware. This paper proposes two modular multiplication architectures based on modified serial montgomery algorithm for 2048-bit RSA. By limiting the integer modulo that has sequence of A094358, a very simple and fast modular multiplication hardware can be developed. The first archictecture which incorporates 2048-bit adders performes better in term of latency (19010 Logic Cells, 2048 clock cycles or 0.0022 s), while the second architecture utilizing multiple smaller 128-bit adders offers less area consumption (8926 Logic Cells, 36864 clock cycles or 0.0031 s). An area multiplied with squared latency (AT2) can be used as trade-off parameter for choosing the most suitable design for certain need. For prototyping purpose, we have successfully synthesized and implemented our proposed designs written in VHDL using Altera Quartus II with Cyclone II EP2C70F896C6 FPGA as a target board.","PeriodicalId":124449,"journal":{"name":"2015 International Seminar on Intelligent Technology and Its Applications (ISITIA)","volume":"111 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-05-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":"{\"title\":\"FPGA implementation of modified serial montgomery modular multiplication for 2048-bit RSA cryptosystems\",\"authors\":\"Bagus Hanindhito, Nur Ahmadi, Hafez Hogantara, A. Arrahmah, T. Adiono\",\"doi\":\"10.1109/ISITIA.2015.7219964\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"RSA (Rivest, Shamir, Adleman) is one of the most widely used cryptographic algorithms worldwide to perform data encryption and decryption. An essential step in RSA computation lies on its modular multiplication which is relatively expensive and time consuming to be implemented in hardware. This paper proposes two modular multiplication architectures based on modified serial montgomery algorithm for 2048-bit RSA. By limiting the integer modulo that has sequence of A094358, a very simple and fast modular multiplication hardware can be developed. The first archictecture which incorporates 2048-bit adders performes better in term of latency (19010 Logic Cells, 2048 clock cycles or 0.0022 s), while the second architecture utilizing multiple smaller 128-bit adders offers less area consumption (8926 Logic Cells, 36864 clock cycles or 0.0031 s). An area multiplied with squared latency (AT2) can be used as trade-off parameter for choosing the most suitable design for certain need. For prototyping purpose, we have successfully synthesized and implemented our proposed designs written in VHDL using Altera Quartus II with Cyclone II EP2C70F896C6 FPGA as a target board.\",\"PeriodicalId\":124449,\"journal\":{\"name\":\"2015 International Seminar on Intelligent Technology and Its Applications (ISITIA)\",\"volume\":\"111 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-05-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"7\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2015 International Seminar on Intelligent Technology and Its Applications (ISITIA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISITIA.2015.7219964\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 International Seminar on Intelligent Technology and Its Applications (ISITIA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISITIA.2015.7219964","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7
摘要
RSA (Rivest, Shamir, Adleman)是世界上使用最广泛的加密算法之一,用于执行数据加密和解密。RSA计算的一个关键步骤是它的模乘法,在硬件上实现是相对昂贵和耗时的。提出了两种基于改进串行montgomery算法的2048位RSA模块化乘法体系结构。通过限制具有A094358序列的整数模,可以开发出一种非常简单快速的模乘法硬件。采用2048位加法器的第一种架构在延迟方面表现更好(19010个逻辑单元,2048个时钟周期或0.0022秒),而采用多个较小的128位加法器的第二种架构提供更少的面积消耗(8926个逻辑单元,36864个时钟周期或0.0031秒)。面积乘以平方延迟(AT2)可以用作权衡参数,以选择最适合特定需求的设计。为了进行原型设计,我们使用Altera Quartus II和Cyclone II EP2C70F896C6 FPGA作为目标板,成功地合成并实现了我们用VHDL编写的设计。
FPGA implementation of modified serial montgomery modular multiplication for 2048-bit RSA cryptosystems
RSA (Rivest, Shamir, Adleman) is one of the most widely used cryptographic algorithms worldwide to perform data encryption and decryption. An essential step in RSA computation lies on its modular multiplication which is relatively expensive and time consuming to be implemented in hardware. This paper proposes two modular multiplication architectures based on modified serial montgomery algorithm for 2048-bit RSA. By limiting the integer modulo that has sequence of A094358, a very simple and fast modular multiplication hardware can be developed. The first archictecture which incorporates 2048-bit adders performes better in term of latency (19010 Logic Cells, 2048 clock cycles or 0.0022 s), while the second architecture utilizing multiple smaller 128-bit adders offers less area consumption (8926 Logic Cells, 36864 clock cycles or 0.0031 s). An area multiplied with squared latency (AT2) can be used as trade-off parameter for choosing the most suitable design for certain need. For prototyping purpose, we have successfully synthesized and implemented our proposed designs written in VHDL using Altera Quartus II with Cyclone II EP2C70F896C6 FPGA as a target board.