Luffa
Hitachi's SHA-3 candidate: a sponge-like hash built from parallel 256-bit permutations
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–2015NIST announces a public competition for a new hash standard, SHA-3
NIST SHA-3 competitionLuffa published by Christophe De Cannière, Hisayoshi Sato, Dai Watanabe
64 designs submitted; 51 accepted into round 1
NIST SHA-3 competition14 designs advance to round 2
NIST SHA-3 competitionFive finalists named: BLAKE, Grøstl, JH, Keccak and Skein
NIST SHA-3 competitionKeccak selected as SHA-3
NIST SHA-3 competitionSHA-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
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Luffa256 luffa256 |
unverified | out 32 | — | root |
Frequently asked questions
Which Luffa variants does NextSSL include?
NextSSL registers 1 Luffa variant: luffa256.