1. Accelerating DES and AES Algorithms for a Heterogeneous Many-core Processor
- Author
-
Yang Yongquan, Wei Zhiqiang, Cuihua He, Wang Dandan, Xing Biao, and Jiajing Wu
- Subjects
010302 applied physics ,Computer science ,business.industry ,Advanced Encryption Standard ,Data security ,02 engineering and technology ,Information security ,Encryption ,01 natural sciences ,020202 computer hardware & architecture ,Theoretical Computer Science ,Serial memory processing ,Task (computing) ,0103 physical sciences ,Vectorization (mathematics) ,0202 electrical engineering, electronic engineering, information engineering ,business ,Algorithm ,Software ,Information Systems ,Data transmission - Abstract
Data security is the focus of information security. As a primary method, file encryption is adopted for ensuring data security. Encryption algorithms created to meet the Data Encryption Standard (DES) and the Advanced Encryption Standard (AES) are widely used in a variety of systems. These algorithms are computationally highly complex, thus, the efficiency of encrypting or decrypting large files can be drastically reduced. To this end, we propose an optimized algorithm that efficiently encrypts and decrypts large files by parallelizing processing tasks on a single heterogeneous many-core processor in the Sunway TaihuLight computer system. Firstly, we convert the serial DES and AES programs to our experimental platform. Then we implement a task assignment strategy to test the converted algorithms. Finally, in order to optimize parallelized algorithms and improve data transmission performance, we apply the master-slave communication optimization, the three-stage parallel pipeline, and vectorization. Extensive experiments demonstrate that our optimized algorithm is faster than the state-of-the-art open-source implementations of DES and AES. Compared with the serial processing algorithms, our parallelized DES and AES perform nearly 40 times and 72 times faster, respectively. The work described in this paper leverages existing methods and provides a sound basis for the direction of future research in data encryption.
- Published
- 2021