Font Size: a A A

Optimization Of Openssl-AES Based On OpenCL

Posted on:2013-09-20Degree:MasterType:Thesis
Country:ChinaCandidate:F ShiFull Text:PDF
GTID:2248330371484017Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
With the popularity and development of computer networks, modern civilizationhas been increasingly dependent on the network. The computer network of the mostimportant feature is open to everyone, to bring great convenience, at the same time itsopenness to people’s privacy and network security has brought unprecedentedchallenges. The security agreement becomes allow people to pay more attention,cryptographic techniques which the main components of security protocols graduallyplays a more important role in people’s lives.Cryptography conform to the needs of the times and become more and moreimportant, the two higher requirements for their performance in the applicationprocess. Its security and its rate has become the research focus of moderncryptography. The SSL protocol is the communication protocol for networkcommunications security, OpenSSL is the password for its library, Which contains themodern latest Advanced Encryption Standard-AES encryption algorithm. Butsubject to the reasons for the CPU serial execution, the OpenSSL-AES encryptionspeed is not very much to meet people’s needs.For the encryption process requires a lot of computing, the selectedgeneral-purpose graphics processor GPGPU computing platform.GPU as a graphicsprocessor, not only in the graphics play a very important role, now can handlefloating-point operations in various areas of computing, also played a very importantrole, especially in the unified programming framework CUDA more full advantage ofGPU general computing capacity. For the encryption process requires a lot ofcomputing, the selected general-purpose graphics processor GPU computingplatform.With the announcement of the Open Computing Language OpenCL, a free,open standard, it provides a compatible and efficient development platform. Combinemultiple heterogeneous systems, Conducive to full play to the role of the GPUcomputing unit.In this paper, the OpenSSL-AES encryption algorithm to optimize basedOpenCL parallel encryption and decryption program. First described in detail themathematical theory of the OpenSSL-AES encryption algorithm, AES and theOpenSSL library processes were analyzed. And then study the OpenCL programmingframework, on the basis of its programming model, with the combination ofOpenSSL-AES algorithm structure,designed on the basis of its programming model,three parallel implementation of OpenSSL-AES encryption programs in parallel,according to the principles of its thread allocation and calculation unit utilization,select Option2for the detailed design and realization of OpenSSL-AES parallel mode,improve the speed than the existing traditional CPU encryption process.Finally, based on the applicable conditions of the parallel speedup, analysis of the performance inthe parallel process of influencing factors.
Keywords/Search Tags:OpenSSL crypto library, the Advanced Encryption Standard, Open ComputingLanguage, General Graphics Processor
PDF Full Text Request
Related items