Two are better than one: Software optimizations for AES-GCM over short messages

Shay Gueron, Regev Shemy

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

This paper describes some software optimizations for AES-GCM over short messages, applicable for modern processors that have dedicated instructions. By processing two (short) messages in parallel, we achieve better performance than by processing twice, back-to-back, a single (short) message. Additional performance is gained if the using application collects several messages, sorts them by order of length, and the feeds them (in pairs) to the two-message AES-GCM function. For example, our experiments carried out on the latest Intel processor (micro architecture codename Skylake), over a realistic distribution of message lengths, our optimization achieves up to 1.95x speedup, compared to OpenSSL.

Original languageEnglish
Title of host publicationInformation Technology – New Generations - 14th International Conference on Information Technology
EditorsShahram Latifi
PublisherSpringer Verlag
Pages187-191
Number of pages5
ISBN (Print)9783319549774
DOIs
StatePublished - 2018
Event14th International Conference on Information Technology - New Generations, ITNG 2017 - Las Vegas, United States
Duration: 10 Apr 201712 Apr 2017

Publication series

NameAdvances in Intelligent Systems and Computing
Volume558
ISSN (Print)2194-5357

Conference

Conference14th International Conference on Information Technology - New Generations, ITNG 2017
Country/TerritoryUnited States
CityLas Vegas
Period10/04/1712/04/17

Bibliographical note

Publisher Copyright:
© Springer International Publishing AG 2018.

Keywords

  • AES-GCM
  • Component
  • IPSEC
  • Skylake
  • Software optimizations
  • TLS

ASJC Scopus subject areas

  • Control and Systems Engineering
  • General Computer Science

Fingerprint

Dive into the research topics of 'Two are better than one: Software optimizations for AES-GCM over short messages'. Together they form a unique fingerprint.

Cite this