节点文献

基于SOPC的RSA算法的IP核设计

Design of RSA Algorithm IP Core Based on SOPC

【作者】 张艳华

【导师】 来逢昌;

【作者基本信息】 哈尔滨工业大学 , 集成电路工程, 2011, 硕士

【摘要】 随着现今信息化的飞速发展,信息的安全问题日益突出,同时也已经得到社会各个方面的广泛关注。RSA算法既可用于信息加密,又可用于数字签名,身份验证,因此在各种安全或认证领域得到广泛的应用。由于RSA算法是运算复杂度非常高的密码算法,所以用硬件来实现RSA有较大的难度,需要很多逻辑门,电路面积相当大,实用性较差。而用软件来实现RSA,运算速度太慢,实现效率很低,而且降低了抗解密的强度。而SOPC系统可以解决RSA算法纯软件实现和纯硬件实现的不足和缺点,因此,本文设计了一款基于SOPC的RSA算法的IP核。即:利用软硬件结合的方法实现RSA算法,在电路占用资源和运算速度之间找到最佳结合点,得到较好的性能。本文首先介绍了课题背景、国内外研究现状、SOPC技术、IP核技术以及RSA算法的基础知识和算法原理。然后深入研究RSA算法的实现方法,提出了基于SOPC系统的设计方案。在总体设计方案中,主要分成两大部分,一是软件部分:生成密钥对,由于在整个加解密过程中只执行一次,所以采用软件实现,既不会影响运算速度,又减少了电路资源。二是硬件部分:由于模幂运算是RSA算法的核心部分,其运算速度直接影响到加解密速度,所以这部分采用硬件实现。文中详细介绍了模幂运算实现的各个子模块,以及软硬件之间通信的接口总线。最后整个系统在QuartusII9.1环境中编译、综合,在Modelsim SE6.5中进行了仿真。仿真结果表明系统设计达到了预期的目标。

【Abstract】 With the rapid development of modern information technology, informationsecurity problems have became increasingly prominent, and have been widespreadconcern in all aspects of society. RSA algorithm is not only used for both messageencryption, but also be used for digital signatures, authentication, so in the field ofsecurity or authentication it is widely used.As the RSA algorithm is very high computational complexity of cryptographicalgorithms, hardware implementation of the RSA is very difficult, that will need a lotof logic gates and circuit area is quite large, practicality is poor. The use of softwareto achieve RSA, computing speed is too slow and achieve efficiency is very low, butalso that reduces the intensity of anti-decryption. The SOPC system can solve thepure software and pure hardware implementation deficiencies and shortcomings,therefore, this paper designed a based on SOPC RSA algorithm IP core. That is tosay: the use of a combination of hardware and software methods to implement theRSA algorithm, is to find the best combination between speed of operation andcircuit resources and to get a better performance.This paper introduces the subject of background, research status, SOPCtechnology, IP core technology and the basics of the RSA algorithm and thealgorithm works. And in-depth study of the RSA algorithm implementation isproposed based on SOPC system design.In the overall design,system is divided into two parts, one part of the software:generate the key pair, as in the encryption and decryption process this part isexecuted only once, so the use of software, will not affect the operation speed, andreduces the circuit resources. Second, the hardware: As modular exponentiation is thecore of the RSA algorithm, which directly affects the operation speed encryption anddecryption speed, so this part is implemented in hardware. This paper details theimplementation of modular exponentiation various sub-modules, and communicationbetween hardware and software interface bus.Finally, the entire system uses QuartusII9.1compilation and synthesis.And itcarried out in the Modelsim SE6.5simulation. The simulation results show that thesystem has achieved the desired goal.

【关键词】 RSASOPCIP核模幂运算
【Key words】 RSASOPCIP Coremodular exponentiation operation
  • 【分类号】TP309
  • 【被引频次】3
  • 【下载频次】58
节点文献中: