AEGIS
Very fast AES-round-based AEAD from the CAESAR high-performance portfolio
Overview
AEGIS is a family of authenticated ciphers that update a large state with the AES round function, absorbing message blocks directly into the state. AEGIS-128L and AEGIS-256 are being standardised by the IRTF CFRG.
Each AEGIS step applies one AES round to every state word in parallel and XORs in message blocks, so a single message block costs well under one full AES encryption. On processors with AES instructions, AEGIS-128L reaches throughput substantially higher than AES-GCM. AEGIS-128 was selected for the CAESAR final portfolio in the high-performance category; AEGIS-128L uses a 1024-bit state and 256-bit rate, and AEGIS-256 uses a 256-bit key and nonce.
The CFRG draft defines AEGIS-128L, AEGIS-256 and parallel X variants with 128-bit or 256-bit tags. NextSSL implements AEGIS-128L and AEGIS-256. The large nonces make random generation practical, particularly for AEGIS-256.
History
2013–2019AEGIS published by Hongjun Wu, Bart Preneel
CAESAR competition for authenticated encryption announced
CAESAR competition57 first-round candidates published
CAESAR competitionSecond round announced
CAESAR competitionThird round announced
CAESAR competitionFinalists announced
CAESAR competitionFinal portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB
CAESAR competition
How it works
- Initialise the state from the key, nonce and fixed constants, then run several update rounds.
- Absorb associated data blocks by XORing them into the state during AES-round updates.
- Encrypt each plaintext block by XOR with a keystream derived from state words, then absorb the plaintext.
- Absorb the lengths, run finalisation rounds and output the tag from the state.
Security notes
AEGIS is not nonce-misuse resistant: a repeated nonce leaks plaintext information and can allow state recovery and forgeries. Use unique nonces; AEGIS-256 allows random nonces. Releasing unverified plaintext must be avoided.
Typical uses
Variants in NextSSL
2| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| AEGIS-128L aegis128l |
standard | key 16 · nonce 16 · tag 16 | draft-irtf-cfrg-aegis-aead | safe |
| AEGIS-256 aegis256 |
standard | key 32 · nonce 32 · tag 16 | draft-irtf-cfrg-aegis-aead | safe |
Frequently asked questions
Which AEGIS variants does NextSSL include?
NextSSL registers 2 AEGIS variants: aegis128l, aegis256.
Families with similar names
Other authenticated encryption
All 392Related
Counter-mode AES with a GHASH polynomial MAC; the default AEAD of TLS and IPsec
ChaCha20-Poly1305ARX stream cipher with a one-time Poly1305 MAC; fast and constant-time in software
AESThe Advanced Encryption Standard: the world's default 128-bit block cipher
ChaChaBernstein's ARX stream cipher; ChaCha20 secures much of today's TLS, SSH and VPN traffic