Gimli
Cross-platform 384-bit permutation in a duplex AEAD; 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–2025Gimli published
NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography project56 round-1 candidates accepted; 32 advance to round 2 in August
NIST Lightweight Cryptography projectTen finalists announced
NIST Lightweight Cryptography projectAscon selected as the lightweight standard
NIST Lightweight Cryptography projectAscon 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
Variants in NextSSL
2| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| 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
Other authenticated encryption
All 392Related
Lightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
KNOTBitsliced PRESENT-like permutation family in a duplex mode; NIST LWC round 2
XoodyakCyclist-mode AEAD and hash on the Xoodoo permutation; NIST LWC finalist
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
KNOTA NIST LWC second-round family built on bit-sliced PRESENT-like permutations
XoodyakA NIST LWC finalist using the 384-bit Xoodoo permutation in the Cyclist duplex mode