AEAD family

AEGIS

Very fast AES-round-based AEAD from the CAESAR high-performance portfolio

standard 2 variants CAESAR final portfolio (high performance); draft-irtf-cfrg-aegis-aead

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–2019
  1. AEGIS published by Hongjun Wu, Bart Preneel

  2. CAESAR competition for authenticated encryption announced

    CAESAR competition
  3. 57 first-round candidates published

    CAESAR competition
  4. Second round announced

    CAESAR competition
  5. Third round announced

    CAESAR competition
  6. Finalists announced

    CAESAR competition
  7. Final portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB

    CAESAR competition

How it works

  1. Initialise the state from the key, nonce and fixed constants, then run several update rounds.
  2. Absorb associated data blocks by XORing them into the state during AES-round updates.
  3. Encrypt each plaintext block by XOR with a keystream derived from state words, then absorb the plaintext.
  4. 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

High-throughput network and storage encryption on CPUs with AES instructionsReplacing AES-GCM where performance mattersRandom-nonce encryption with AEGIS-256

Variants in NextSSL

2
AlgorithmTierSizes (bytes)StandardsAPI
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.