AEAD family

Gimli

Cross-platform 384-bit permutation in a duplex AEAD; NIST LWC round 2

unverified 2 variants NIST LWC round 2

Overview

Gimli is a 384-bit permutation designed to be fast and compact on platforms from 8-bit microcontrollers to vector CPUs and hardware, used here in a duplex authenticated-encryption mode. It was a second-round candidate in the NIST Lightweight Cryptography process.

The Gimli state is a 3x4 matrix of 32-bit words. Each of its 24 rounds applies an SP-box to each column, using shifts, rotations, AND, OR and XOR, followed by occasional small and big swaps of words and a round constant. Gimli-Cipher absorbs data at a 128-bit rate.

NextSSL implements Gimli-24-Cipher with a 256-bit key, 128-bit nonce and 128-bit tag. The submission also defines Gimli-Hash, and the permutation has been used outside the NIST process in lightweight protocol libraries. Second-round candidates were evaluated by NIST on security, hardware and software performance and side-channel properties; ten were chosen as finalists in 2021, and Ascon was selected in 2023.

History

2017–2025
  1. Gimli published

  2. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  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

Security notes

Requires unique nonces. Published distinguishers on the full Gimli permutation exist, though they do not translate into practical attacks on Gimli-Cipher as specified.

Typical uses

Cross-platform lightweight softwareResearch on permutation design trade-offs

Variants in NextSSL

2
AlgorithmTierSizes (bytes)StandardsAPI
Gimli
gimli
unverified key 32 · nonce 16 · tag 16 — root
Gimli24v1-Aead
gimli24v1-aead
unverified key 32 · nonce 16 · tag 16 — root

Frequently asked questions

Which Gimli variants does NextSSL include?

NextSSL registers 2 Gimli variants: gimli, gimli24v1-aead.

Families with similar names