Paper 2013/759 Original: eprint.iacr.org/2013/759 ↗
Vectorization of ChaCha Stream Cipher
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.
Metadata
- Available format(s)
PDF
- Category
- Implementation
- Publication info
- Preprint.
- History
- 2013-11-22: last updated
- 2013-11-21: published
- Short URL
- https://ia.cr/2013/759
- License
- https://creativecommons.org/licenses/by/4.0/
BibTeX
@misc{cryptoeprint:2013/759,
author = {Martin Goll and Shay Gueron},
title = {Vectorization of ChaCha Stream Cipher},
howpublished = {Cryptology {ePrint} Archive, Paper 2013/759},
year = {2013},
url = {https://eprint.iacr.org/2013/759}
}