Paper 2026/1338

Bitslicing the AEGIS

Frank Denis, Fastly Inc.
Abstract

The AEGIS family of authenticated encryption algorithms is built on a large state whose update function is a cascade of dependent AES rounds. For bitslicing, this looks like the worst possible case. Yet the parallelism is already inside a single update: for example, an AEGIS-128L update applies one AES round to all eight state blocks at once, filling an eight-block bitsliced data path by itself. We describe a sliced representation that keeps the rest of the cipher cheap too and lets AEGIS-128L run $2.5 times$ fewer parallel AES rounds per byte than bitsliced AES-128-CTR. On ARM, RISC-V, and WebAssembly, the resulting constant-time implementations are faster than side-channel-hardened AES-GCM on every platform measured, the X2 variants by factors of two to six. In pure JavaScript, where bitwise operators are exactly 32 bits wide, the same layout is faster than the widely used pure-JavaScript implementations of AES-GCM and ChaCha20-Poly1305.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
aegisaegis-128aegis-256bitslicingbitslicedimplementation
Contact author(s)
fde @ 00f net
History
2026-07-02: approved
2026-06-29: received
See all versions
Short URL
https://ia.cr/2026/1338
License
No rights reserved
CC0

BibTeX

@misc{cryptoeprint:2026/1338,
      author = {Frank Denis},
      title = {Bitslicing the {AEGIS}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1338},
      year = {2026},
      url = {https://eprint.iacr.org/2026/1338}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.