arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1403.7295cs.DCcs.CR
收藏

利用多核处理器提高AES算法的吞吐量

Improving the throughput of the AES algorithm with multicore processors

A. Barnes, R. Fernando, K. Mettananda, R. G. Ragel

摘要:

AES,高级加密标准,可以被认为是使用最广泛的现代对称密钥加密标准。要使用AES算法加密/解密文件,文件必须经历一组复杂的计算步骤。因此,AES算法的软件实现将是缓慢的并且消耗大量的时间来完成。近年来,存储和传输的数据的巨大增长使得当需要加密/解密这种数据时,这个问题变得更加令人生畏。为了解决这个问题,在本文中,我们提出了一个广泛的研究,提高AES加密算法的吞吐量,利用最先进的多核架构。我们采用一个实现AES算法的顺序程序,并将其转换为在多核架构上运行,只需最小的工作量。我们实现了两个不同的并行程序,一个是Linux中的fork系统调用,另一个是pthreads,POSIX标准的线程。后来,我们在不同的多核架构上运行了两个版本的并行程序,并比较和分析了实现之间和不同架构之间的吞吐量。在我们进行的所有实验中,pthreads实现都表现出色,并且在32核处理器(我们拥有的最大核数)上获得的最佳吞吐量约为7 Gbps。

英文摘要:

AES, Advanced Encryption Standard, can be considered the most widely used modern symmetric key encryption standard. To encrypt/decrypt a file using the AES algorithm, the file must undergo a set of complex computational steps. Therefore a software implementation of AES algorithm would be slow and consume large amount of time to complete. The immense increase of both stored and transferred data in the recent years had made this problem even more daunting when the need to encrypt/decrypt such data arises. As a solution to this problem, in this paper, we present an extensive study of enhancing the throughput of AES encryption algorithm by utilizing the state of the art multicore architectures. We take a sequential program that implements the AES algorithm and convert the same to run on multicore architectures with minimum effort. We implement two different parallel programmes, one with the fork system call in Linux and the other with the pthreads, the POSIX standard for threads. Later, we ran both the versions of the parallel programs on different multicore architectures and compared and analysed the throughputs between the implementations and among different architectures. The pthreads implementation outperformed in all the experiments we conducted and the best throughput obtained is around 7Gbps on a 32-core processor (the largest number of cores we had) with the pthreads implementation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑