摘要
目前,随着用户对隐私保护的需求日益增大,Salsa20加密算法广泛应用于物联网等设备。现有的Salsa20加密算法基本在CPU平台中实现,导致算法速度较慢,不适用于面向异构系统等并行处理器。因此,研究了一种基于OpenCL的Salsa20算法实现。该算法利用OpenCL高性能计算平台,广泛适用于多核心处理器和图形处理器,实现了面向异构系统的轻量级高安全性的流密码快速实现。实验结果表明,算法经过优化后的吞吐率达到11.5 Gb/s,是优化前的2倍。
At present,with the increasing needs of users for privacy protection,Salsa20 encryption algorithm is widely used in devices such as the Internet of Things.The existing Salsa20 encryption algorithm is basically implemented on the CPU platform,which causes the algorithm to be slow and not suitable for parallel processors such as heterogeneous systems.An implementation of Salsa20 algorithm based on OpenCL is explored.This algorithm uses the OpenCL high-performance computing platform,which is widely applicable to multi-core processors and graphics processors,and realizes the rapid implementation of lightweight and high-security stream ciphers for heterogeneous systems.Experimental results indicate that the optimized throughput rate of the algorithm reaches 11.5 Gb/s,which is twice the amount before optimization.
作者
尹浩
于飞
陈曼
YIN Hao;YU Fei;CHEN Man(No.30 Institute of CETC,Chengdu Sichuan 610041,China)
出处
《通信技术》
2020年第11期2790-2794,共5页
Communications Technology