• DocumentCode
    3210123
  • Title

    A Program Behavior Study of Block Cryptography Algorithms on GPGPU

  • Author

    Liu, Gu ; An, Hong ; Han, Wenting ; Xu, Guang ; Yao, Ping ; Xu, Mu ; Hao, Xiurui ; Wang, Yaobin

  • Author_Institution
    Dept. of Comput. Sci. & Technol., Univ. of Sci. & Technol. of China, Hefei, China
  • fYear
    2009
  • fDate
    17-19 Dec. 2009
  • Firstpage
    33
  • Lastpage
    39
  • Abstract
    Recently many studies have been made to map cryptography algorithms onto graphics processors (GPU), and gained great performances. This paper does not focus on the performance of a specific program exploited by using all kinds of optimization methods algorithmically, but the intrinsic reason which lies in GPU architectural features for this performance improvement. Thus we present a study of several block encryption algorithms(AES, TRI-DES, RC5, TWOFISH and the chained block cipher formed by their combinations) processing on GPU using CUDA. We introduce our CUDA implementations, and investigate the program behavioral characteristics and their impacts on the performance in four aspects. We find that the number of threads used by a CUDA program can affect the overall performance fundamentally. Many block encryption algorithms can benefit from the shared memory if the capacity is large enough to hold the lookup tables. The data stored in device memory should be organized purposely to avoid performance degradation. Besides, the communication between host and device may turn out to be the bottleneck of a program. Through these analyses we hope to find out an effective way to optimize a CUDA program, as well as to reveal some desirable architectural features to support block encryption applications better.
  • Keywords
    computer graphics; coprocessors; cryptography; file organisation; multi-threading; shared memory systems; table lookup; CUDA program; GPGPU; GPU architectural features; block cryptography algorithms; block encryption algorithms; data organization; device memory; graphics processors; lookup tables; program behavior study; shared memory; Acceleration; Computer architecture; Computer graphics; Computer science; Cryptography; Hardware; Laboratories; Optimization methods; Parallel processing; Runtime; CUDA; GPGPU; block cryptography;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Frontier of Computer Science and Technology, 2009. FCST '09. Fourth International Conference on
  • Conference_Location
    Shanghai
  • Print_ISBN
    978-0-7695-3932-4
  • Electronic_ISBN
    978-1-4244-5467-9
  • Type

    conf

  • DOI
    10.1109/FCST.2009.13
  • Filename
    5392941