Vectorization on ChaCha stream cipher

Martin Goll, Shay Gueron

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

Abstract

This paper describes software optimization for the stream Cipher ChaCha. We leverage the wide vectorization capabilities of the new AVX2 architecture, to speed up ChaCha encryption (and decryption) on the latest x86-64 processors. In addition, we show how to apply vectorization for the future AVX512 architecture, and get further speedup. This leads to significant performance gains. For example, on the latest Intel Has well micro architecture, our AVX2 implementation performs at 1.43 cycles per byte (on a 4KB message), which is ~2x faster than the current implementation in the Chromium project.

Original languageEnglish
Title of host publicationITNG 2014 - Proceedings of the 11th International Conference on Information Technology
Subtitle of host publicationNew Generations
PublisherIEEE Computer Society
Pages612-615
Number of pages4
ISBN (Print)9781479931873
DOIs
StatePublished - 2014
Event11th International Conference on Information Technology: New Generations, ITNG 2014 - Las Vegas, NV, United States
Duration: 7 Apr 20149 Apr 2014

Publication series

NameITNG 2014 - Proceedings of the 11th International Conference on Information Technology: New Generations

Conference

Conference11th International Conference on Information Technology: New Generations, ITNG 2014
Country/TerritoryUnited States
CityLas Vegas, NV
Period7/04/149/04/14

Keywords

  • ChaCha
  • Component
  • Haswell
  • Optimization
  • SSL
  • Stream Cipher
  • TLS

ASJC Scopus subject areas

  • Information Systems

Fingerprint

Dive into the research topics of 'Vectorization on ChaCha stream cipher'. Together they form a unique fingerprint.

Cite this