Optimized Galois-Counter-Mode Implementation
Galois-Counter-Mode (GCM) is a block cipher mode of operation that uses universal hashing over a binary Galois field to provide authenticated encryption. Galois Hash is used for authentication, and the advanced encryption standard (AES) block cipher is used for encryption in counter mode of operation. This paper describes an optimized implementation of GCM benefiting from the PCLMULQDQ instruction and AES-NI set of instructions on Intel® processors based on the 32-nm microarchitecture.
This paper describes an optimized implementation of GCM that combines function stitching with novel polynomial multiplication methods. We are able to achieve performance of ~ 2.8 cycles/byte on large buffers, on a single core of an Intel® Core™ i5 650 processor, with Intel® Hyper-Threading Technology. This represents a new record for GCM performance on Intel® processors.
The Intel® Embedded Design Center provides qualified developers with web-based access to technical resources. Access Intel confidential design materials, step-by step guidance, application reference solutions, training, Intel’s tool loaner program, and connect with an e-help desk and the embedded community. Design Fast. Design Smart. Get started today. www.intel.com/embedded/edc.