HiCrypt: A Specialized Translator for Symmetric Block Cipher and GPGPU

Keisuke IWAI  Naoki NISHIKAWA  Takakazu KUROKAWA  

Publication
IEICE TRANSACTIONS on Information and Systems   Vol.E96-D   No.12   pp.2575-2586
Publication Date: 2013/12/01
Online ISSN: 1745-1361
DOI: 10.1587/transinf.E96.D.2575
Print ISSN: 0916-8532
Type of Manuscript: Special Section PAPER (Special Section on Parallel and Distributed Computing and Networking)
Category: 
Keyword: 
translator,  CUDA,  OpenCL,  symmetric block ciphers,  GPGPU,  

Full Text: PDF(721.6KB)>>
Buy this Article




Summary: 
Many-core computer systems with GPUs are coming into mainstream use from high-end computing, including supercomputers, to embedded processors. Consequently, the implementation of cryptographic methods on GPGPU is also becoming popular because of such systems' performance. However, many factors affect the performance of GPUs. To cope with this problem, we developed a new translator, HiCrypt, which can generate an optimized GPGPU program written in both of CUDA and OpenCL from a cipher program written in standard C language with directives. Users must annotate only variables and an encoding/decoding function, which are characteristics of cipher programs, with directives. To evaluate the translator, five representative cipher programs are translated into CUDA and OpenCL programs by the translator. Generated programs perform high throughput almost identical to hand optimized programs for all five cipher programs. HiCrypt will contribute to development and evaluate of new and various symmetric block ciphers using GPGPU.