AEAD family

Grain-128AEAD

A stream-cipher-based AEAD from the Grain family, with a 96-bit IV and 64-bit tag

unverified 1 variant NIST Lightweight Cryptography submission

Overview

Grain-128AEAD is an authenticated encryption design from the Grain stream cipher family, using a 16-byte key, a 12-byte nonce and an 8-byte tag. It was submitted to the NIST Lightweight Cryptography process. NextSSL carries the second version as an unverified variant.

Grain-128AEAD extends the Grain stream cipher family with message authentication. Its state combines a linear and a nonlinear feedback shift register with an accumulator that produces the tag, so the same compact hardware structure that makes Grain attractive also generates authentication.

NextSSL carries the variant grain128aeadv2 with a 16-byte key, a 12-byte nonce and an 8-byte tag. The 8-byte tag gives roughly 64-bit forgery resistance, which is short for general use. The design was aimed at very constrained hardware, and the archive records it as unverified.

Its design is closely related to the Grain-128 stream cipher, which is also in the archive under the grain entry, so cryptanalysis of the base cipher is relevant background for this variant.

History

2018–2025
  1. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  2. Grain-128AEAD published by Martin Hell, Thomas Johansson, Alexander Maximov, Willi Meier

  3. 56 round-1 candidates accepted; 32 advance to round 2 in August

    NIST Lightweight Cryptography project
  4. Ten finalists announced

    NIST Lightweight Cryptography project
  5. Ascon selected as the lightweight standard

    NIST Lightweight Cryptography project
  6. Ascon published in NIST SP 800-232

    NIST Lightweight Cryptography project

How it works

  1. The 16-byte key and 12-byte nonce load the two shift registers.
  2. A warm-up phase mixes the state before any output is used.
  3. Plaintext is encrypted by XOR with keystream while the authentication part updates an accumulator, producing the 8-byte tag.

Security notes

Unverified in NextSSL. Designs in the Grain family have a published cryptanalysis history, so the unverified tier is a reason for caution. The 8-byte tag limits forgery resistance.

Typical uses

Constrained hardware where a stream-cipher AEAD is preferredResearch into hybrid stream cipher and MAC designsComparing NLFSR-based AEADs with sponge and block-cipher AEADs

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
Grain128aeadv2
grain128aeadv2
unverified key 16 · nonce 12 · tag 8 — root

Frequently asked questions

What is Grain-128AEAD?

Grain-128AEAD is a stream-cipher-based AEAD from the Grain family, submitted to NIST's lightweight cryptography process and carried by NextSSL as unverified.

Is Grain-128AEAD secure and post-quantum?

It is not recommended for production given its unverified status and 8-byte tag. Its 128-bit key gives about 64-bit strength against Grover's quantum key search.

What key and nonce sizes does Grain-128AEAD use?

It uses a 16-byte key, a 12-byte nonce and an 8-byte tag.

Which Grain-128AEAD variants does NextSSL include?

NextSSL registers 1 Grain-128AEAD variant: grain128aeadv2.