摘要随着信息时代的到来,互联网上流通的数据已达TB甚至PB数量级。这对计算机处理数据的能力提出了很高的要求。并且随着人们在互联网上传输数据的增多,数据的安全性正受到越来越多的关注。因此我将大规模数据下的数据加解密研究作为了我的毕业设计方向。本文旨在文研究在高并行度的信息加解密算法,并在GPU上实现AES加密算法的方法。首先介绍了GPU、CUDA构架和AES算法,然后对CUDA中的GPU结构和CUDA编程模型进行了深入的研究。最后在GPU平台上对设计实现了AES加密和解密算法,使用NIVIDIA公司推出的CUDA(统一计算设备构架)体系,实现了AES算法在GPU多核多线程下对大规模数据的高并行度处理,解决了大规模数据的处理和传输的安全性,取得了理想的加速效果。其实在大多数应用情况下,目前计算机显卡配置的GPU 运算潜能并没有完全释放出来,本文介绍的加密方法是GPU 通用计算具体应用的一个体现。虽然目前以CUDA 为代表的GPU仍然存在精度不高,程序编写限制较多的缺点,但随着并行流处理概念的进一步发展,GPU通用计算技术将在各个领域发挥更大的作用。8963
关键词 CPU-GPU异构, CUDA,多线程技术, AES加解密算法
毕业设计说明书(论文)外文摘要
Information encryption and decryption algorithm research
under high degree of parallelism
Abstract
With the development of informational age, the capacity of data storage devices has been greatly enhanced, and so does the information people contact every day. The data flowing on the Internet has already reached TB or even PB level. This proposes a high demand for the data processing ability of computers. However the present single or few threads mode of the personal computers can hardly fulfill this requirement. Also the security of the data has received unprecedented focus as more and more information are floating on the Internet. This thesis is aimed at information encryption and decryption algorithm research under high degree of parallelism of CPU-GPU architecture. First some brief introductions on GPU,CUDA and AES are given, and then I did some further research into the programming model of CUDA(Compute Unified Device Architecture). Finally the AES algorithm is achieved under the CUDA system proposed by NIVIDIA to deal with the large-scale data processing as well as enable its security. The encrypt method mentioned in this passage is a utility of GPGPU(General purpose computing on graphics processing units).Though under the current circumstance there are still some shortages in GPGPU, with the development of parallilism flow processing, GPGPU has a great potential to play an important role in various fields.
Keywords CPU-GPU Architecture, CUDA, Multi-thread, AES Algorithm
目 次