Hash family

Gimli

A 384-bit permutation designed to be fast across hardware, microcontrollers and SIMD CPUs

unverified 1 variant NIST Lightweight Cryptography process (round 2)

Overview

Gimli is a cryptographic permutation published in 2017 by Daniel J. Bernstein and co-authors, together with hash and authenticated-encryption modes. It was submitted to the NIST Lightweight Cryptography process and reached the second round.

Gimli's state is 384 bits, arranged as a 3x4 matrix of 32-bit words. Each of its 24 rounds applies a non-linear SP-box to each column, using shifts, rotations, AND, OR and XOR, followed every second or fourth round by small swaps of words between columns and a round constant. The design deliberately avoids large S-boxes and tables so that it performs well on very different platforms.

Gimli-Hash uses the permutation in a sponge with a 128-bit rate. NextSSL includes a gimli24-hash entry and a gimli24v1 entry wired from benchmarking sources. Gimli was integrated into some libraries during the competition, notably libhydrogen. The distinguishers found against it encouraged the community to look harder at the security margins of small permutations designed primarily for speed.

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

Cryptanalysis published during the NIST process found distinguishers and attacks on reduced-round and full-round variants of the permutation with high complexity, and Gimli did not become a finalist. It should be regarded as a research design.

Typical uses

Lightweight cryptography researchCross-platform permutation benchmarking

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
Gimli24-Hash
gimli24-hash
unverified out 32 — root

Frequently asked questions

Which Gimli variants does NextSSL include?

NextSSL registers 1 Gimli variant: gimli24-hash.

Families with similar names