GPU-assisted AES encryption using GCM

Publication, 2011


G. Schönberger, J. Fuß - GPU-assisted AES encryption using GCM - Proceedings of the 12th Joint IFIP TC6 and TC11 Conference on Communications and Multimedia Security - CMS 2011, Ghent, Belgium, 2011, pp. 178-185


In this paper we present an implementation of the Galois/Counter Mode (GCM) for the Advanced Encryption Standard (AES) in IPsec allowing Gigabit throughput. GCM is a so called “combinedcipher mode” as it can ensure confidentiality, integrity and authentication. GCM uses for encryption the Counter Mode, therefore counters are encrypted what can be done in advance since no information about the plaintext must be present. We describe a technique where these encryptions are precomputed using a Graphic Processing Unit (GPU) and can later be used to encrypt a plaintext whereupon only the exclusive-OR and authentication part of GCM are left to be computed on the Central Processing Unit (CPU). This design should primarily not limit the performance to the speed of the AES implementation but allow Gigabit throughput and at the same time minimize the CPU load.