Font Size: a A A

Design And Implementation Of The7-zip Encryption Algorithm By OpenCL

Posted on:2013-08-18Degree:MasterType:Thesis
Country:ChinaCandidate:F B MengFull Text:PDF
GTID:2248330371485169Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the high speed development of multimedia computer technology, computer networktechnology, and modern multimedia communications technology, people pay more attentionto the date encryption. data encryption, also known as cryptography, It’s about turningbeplaintext to ciphertext by the encryption algorithm and encryption key. The developmentspeed of GPU is faster than the development speed of CPU, almost there will have a newgeneration of GPU every year,the GPU is not only limited to3D graphics, image processing,floating point computing, it has been made more successful in parallel computing. AsDedicated processor for graphics rendering, GPU has a higher degree of parallel, Hence,many researchers pay more attention on the computing of GPU.In October2,2000, the U.S. government officially announced that the algorithm RIJNDAELproved to be the AES encryption algorithm, which is presented by Belgian cryptographersJoan Daemen and Vincent Rijmen. SubBytes is about the transformations task that turn thenonlinear byte to complete the alternative, it also can replace independently the bytes in thestate mention Representative (s box); ShiftRow refers to the bytes in the linemove to a lowerposition, the lowest byte swapping to the highest level; MixColumns each column as afour-degree polynomial, then calculated for each column; AddRoundKey is the operationabout using a bit and a round key to execute XOR operation, and then ralate to the state r.There are five encryption modes in the AES algorithm,it is ECB, CBC, CFB, OFB and CTR.The mode is CTR that we study in AES algorithm, and the CTR mode encryption is a seriesof input data block (counter)encryption, resulting in a series of output block, the ciphertext isby the operation output block XOR with the plaintext.In June2008, the United States Applehas proposed OpenCL specification of the design on WWDC conference. The Khronos Groupannounced the establishment of the GPU general computing on open industry standards group,based on Apple’s proposal for the creation of OpenCL industry standards. The whole name ofOpenCL is Open Computing Languange, is a open computer language, and played a powerfulcomputing of GPU, it provided a mutually developed, more compatible, more efficientplatform. OpenCL could connect GPU with CPU, so that connection more closely. The paper is about the optimization of encryption algorithm in7-zip by OpenCL, there areseveral steps when optimization of encryption algorithm: the OpenCL platform initialization,the OpenCL running module, OpenCL memory managementmodule to achieve improvementsin the AES encryption algorithm, so achieve accelerated results. Firstly, we compared thearchitecture of the GPU with CPU, found the advantage of the GPU. we also a detailed studyof the AES encryption algorithm, we can do some parallel optimization for the encryptionalgorithm of7-zip, we implemented the AES encryption algorithm based on OpenCL,improved the7-zip the overall operating efficiency. After OpenCL implemented, total time isreduced than pure CPU calculation speed about20%-30%.
Keywords/Search Tags:7-zip, the AES algorithm, OpenCL, GPU general computing
PDF Full Text Request
Related items