• DocumentCode
    145469
  • Title

    Vectorization on ChaCha Stream Cipher

  • Author

    Goll, Martin ; Gueron, Shay

  • Author_Institution
    Ruhr-Univ. Bochum, Bochum, Germany
  • fYear
    2014
  • fDate
    7-9 April 2014
  • Firstpage
    612
  • Lastpage
    615
  • 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 Haswell microarchitecture, 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.
  • Keywords
    cryptography; vector quantisation; AVX2 architecture; ChaCha decryption; ChaCha encryption; ChaCha stream cipher vectorization; Chromium project; Intel Haswell microarchitecture; performance gain; software optimization; vectorization capability; x86_64 processors; Ciphers; Encryption; Microarchitecture; Registers; Vectors; ChaCha; Haswell; SSL; Stream Cipher; TLS; optimization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Technology: New Generations (ITNG), 2014 11th International Conference on
  • Conference_Location
    Las Vegas, NV
  • Print_ISBN
    978-1-4799-3187-3
  • Type

    conf

  • DOI
    10.1109/ITNG.2014.33
  • Filename
    6822267