Skip to main navigation menu Skip to main content Skip to site footer

AES Encryption and Decryption Using Direct3D 10 API

Abstract

Current video cards (GPUs – Graphics Processing Units) are very programmable, have become much more powerful than the CPUs and they are very affordable. In this paper, we present an implementation for the AES algorithm using Direct3D 10 certified GPUs. The graphics API Direct3D 10 is the first version that allows the use of integer operations, making from the traditional GPUs (that works only with floating point numbers), General Purpose GPUs that can be used for a large number of algorithms, including encryption. We present the performance of the symmetric key encryption algorithm – AES, on a middle range GPU and on a middle range quad core CPU. On the testing system, the developed solution is almost 3 times faster on the GPU than on one single core CPU, showing that the GPU can perform as an efficient cryptographic accelerator.

Keywords

Cryptography, AES, Graphics, Direct3D 10 API, GP-GPU

PDF

Author Biography

Adrian Marius Chiuta

IT&C Security Master, Cybernetics and Economic Informatics


References

  1. [1] National Institute of Standards and Technology (NIST), FIPS 197: Advanced Encryption Standard (AES), 2001
  2. [2] Debra L. Cook, John Ioannidis, Angelos D. Keromytis, Jake Luck, CryptoGraphics: Secret Key Cryptography Using Graphics Cards
  3. [3] Owen Harrison, John Waldron, AES Encryption Implementation and Analysis on Commodity Graphics Processing Units
  4. [4] Takeshi Yamanouchi, GPU Gems 3: Chapter 36. AES Encryption and Decryption on the GPU, 2007
  5. [5] Svetlin A. Manavski, CUDA Compatible GPU as an Efficient Hardware Accelerator for AES Cryptography, 2007
  6. [6] Wendy Jones, Beginning DirectX 10 Game Programming, 2007
  7. [7] Frank D. Luna, Introduction to 3D Game Programming with DirectX 10, 2008
  8. [8]Reference for Direct3D 10, http://msdn.microsoft.com
  9. [9]OpenSSL Open Source Project, http://www.openssl.org