Hash family

Luffa

Hitachi's SHA-3 candidate: a sponge-like hash built from parallel 256-bit permutations

unverified 1 variant NIST SHA-3 competition (round 2)

Overview

Luffa is a hash function designed by researchers at Hitachi and Katholieke Universiteit Leuven and submitted to the NIST SHA-3 competition, where it reached the second round. It uses multiple 256-bit permutations in parallel rather than one large one.

Luffa maintains three, four or five 256-bit blocks of state for the 224/256-, 384- and 512-bit versions respectively. Each 256-bit message block is injected into all state blocks through a linear message-injection function, after which each block is permuted independently by a 256-bit permutation built from a 4-bit S-box applied in bit-sliced form and a word-level mixing step. Output is extracted sponge-style.

NextSSL includes a sphlib-based Luffa entry and Luffa-256, Luffa-384 and Luffa-512 entries wired from benchmarking sources. Each version's state width is chosen so that the overall capacity exceeds twice the digest length, and the separate small permutations allow parallel hardware implementation. Like the other non-selected candidates, its main value today is as a reference point for understanding the designs NIST evaluated and the cryptanalysis the competition produced.

History

2007–2015
  1. NIST announces a public competition for a new hash standard, SHA-3

    NIST SHA-3 competition
  2. Luffa published by Christophe De Cannière, Hisayoshi Sato, Dai Watanabe

  3. 64 designs submitted; 51 accepted into round 1

    NIST SHA-3 competition
  4. 14 designs advance to round 2

    NIST SHA-3 competition
  5. Five finalists named: BLAKE, Grøstl, JH, Keccak and Skein

    NIST SHA-3 competition
  6. Keccak selected as SHA-3

    NIST SHA-3 competition
  7. SHA-3 published as FIPS 202

    NIST SHA-3 competition

Security notes

No practical attacks on full Luffa are known, though distinguishers on reduced-round permutations were published. It was not chosen as a finalist and is for research only.

Typical uses

SHA-3 competition researchStudy of multi-permutation sponges

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
Luffa512
luffa512
unverified out 64 — root

Frequently asked questions

Which Luffa variants does NextSSL include?

NextSSL registers 1 Luffa variant: luffa512.