《电子技术应用》
您所在的位置:首页 > 可编程逻辑 > 设计应用 > 基于流水线的RSA加密算法硬件实现
基于流水线的RSA加密算法硬件实现
电子技术应用
杨龙飞,卢仕,彭旷
湖北大学 微电子学院,湖北 武汉 430062
摘要: 针对硬件实现高位RSA加密算法成本比较高的问题,在传统的基4蒙哥马利(Montgomery)算法上进行改进。首先引入CSA加法器快速完成大数的加法计算;然后在后处理上做优化,以减少每次蒙哥马利计算的大数个数;最后在计算RSA加密算法时加入了流水线,在并行执行RSA加密的条件下降低硬件资源的使用。在Xilinx XC7K410T系列的FPGA开发板上的实验结果表明,在保证加密速率的前提下,改进的RSA加密算法结构使用的硬件资源是原来并行结构的1/2,而且可以在更高的频率下工作。
中图分类号:TP039 文献标志码:A DOI: 10.16157/j.issn.0258-7998.234404
中文引用格式: 杨龙飞,卢仕,彭旷. 基于流水线的RSA加密算法硬件实现[J]. 电子技术应用,2024,50(1):66-70.
英文引用格式: Yang Longfei,Lu Shi,Peng Kuang. Hardware implementation of RSA encryption algorithm based on pipeline[J]. Application of Electronic Technique,2024,50(1):66-70.
Hardware implementation of RSA encryption algorithm based on pipeline
Yang Longfei,Lu Shi,Peng Kuang
School of Microelectronics, Hubei University, Wuhan 430062, China
Abstract: To address the high cost of implementing long-bits RSA encryption algorithms in hardware, improvements have been made to the traditional radix-4 Montgomery algorithm. Firstly, a Carry-Save Adder (CSA) is introduced to efficiently complete large numbers of addition computations. Optimization is then carried out in post-processing to reduce the number of large numbers to be calculated at each Montgomery computation. Finally, a pipelining technique is incorporated into the RSA encryption algorithm for parallel execution, thereby reducing the use of hardware resources. Experimental results on a Xilinx XC7K410T FPGA development board demonstrate that while maintaining encryption speed, the hardware resources used by the improved RSA encryption algorithm are only half of those of the previous parallel structure and can operate at higher frequencies.
Key words : RSA encryption;Montgomery algorithm;FPGA hardware implementation;pipeline

引言

从古到今,信息安全都是一项值得注意的问题,如今也有许多可考究的古代密码学的应用。直到1976年,几乎所有的加密方法都是同一种模式:加解密使用同样的密钥。但在1976年两位美国计算机学家提出了Diffie-Hellman密钥交换算法,非对称加密算法便由此诞生[1-2]。非对称加密算法有两个不同密钥——公钥和私钥,公钥用来加密明文,私钥用来解密密文。而RSA加密算法便是非对称加密算法中的一种。密码学不断发展的今天,RSA加密算法已经成为国际公认的比较理想的一种加密算法[3-5]。


本文详细内容请下载:

https://www.chinaaet.com/resource/share/2000005837


作者信息:

杨龙飞,卢仕,彭旷

(湖北大学 微电子学院,湖北 武汉 430062)


weidian.jpg

此内容为AET网站原创,未经授权禁止转载。