Title
Fast implementation of block ciphers and PRNGs in Maxwell GPU architecture.
Abstract
GPU is widely used in various applications that require huge computational power. In this paper, we contribute to the cryptography and high performance computing research community by presenting techniques to accelerate symmetric block ciphers (AES-128, CAST-128, Camellia, SEED, IDEA, Blowfish and Threefish) in NVIDIA GTX 980 with Maxwell architecture. The proposed techniques consider various aspects of block cipher implementation in GPU, including the placement of encryption keys and T-box in memory, thread block size, cipher operating mode, parallel granularity and data copy between CPU and GPU. We proposed a new method to store the encryption keys in registers with high access speed and exchange it with other threads by using the warp shuffle operation in GPU. The block ciphers implemented in this paper operate in CTR mode, and able to achieve high encryption speed with 149 Gbps (AES-128), 143 Gbps (CAST-128), 124 Gbps (Camelia), 112 Gbps (SEED), 149 Gbps (IDEA), 111 Gbps (Blowfish) and 197 Gbps (Threefish). To the best of our knowledge, this is the first implementation of block ciphers that exploits warp shuffle, an advanced feature in NVIDIA GPU. On the other hand, block ciphers can be used as pseudorandom number generator (PRNG) when it is operating under counter mode (CTR), but the speed is usually slower compare to other PRNG using lighter operations. Hence, we attempt to modify IDEA and Blowfish in order to achieve faster PRNG generation. The modified IDEA and Blowfish manage to pass all NIST Statistical Test and TestU01 SmallCrush except the more stringent tests in TestU01 (Crush and BigCrush).
Year
DOI
Venue
2016
10.1007/s10586-016-0536-2
Cluster Computing
Keywords
Field
DocType
Block cipher, GPU, CUDA, Counter mode, PRNG, Network security
Block size,Threefish,Cipher,Block cipher,Cryptography,Computer science,Parallel computing,Encryption,Blowfish,Pseudorandom number generator
Journal
Volume
Issue
ISSN
19
1
1573-7543
Citations 
PageRank 
References 
6
0.55
17
Authors
4
Name
Order
Citations
PageRank
Wai-Kong Lee13713.00
Hon-Sang Cheong260.55
Raphael C.-W. Phan370366.89
Bok-Min Goi449862.02