Grøstl
A SHA-3 finalist built from two AES-like permutations in a wide-pipe construction
Overview
Grøstl is a hash function designed at the Technical University of Denmark and TU Graz that was one of the five SHA-3 finalists. It reuses AES design principles and the AES S-box, giving it a well-understood security analysis.
Grøstl's compression function computes P(h ⊕ m) ⊕ Q(m) ⊕ h, where P and Q are two distinct fixed permutations and h is a chaining state twice as wide as the output. P and Q are AES-like: they apply AddRoundConstant, SubBytes with the AES S-box, ShiftBytes and MixBytes to an 8x8 (512-bit) or 8x16 (1024-bit) byte matrix. A final output transformation P(h) ⊕ h is truncated to the digest length.
The tweaked round-3 version, which changed the round constants and shift values to resist rebound attacks found during round two, is the one carried in NextSSL. It was not selected as SHA-3 in 2012, but Kupyna borrowed its construction. Earlier round-2 Grøstl produces different digests, so test vectors must match the tweaked specification.
History
2007–2015NIST announces a public competition for a new hash standard, SHA-3
NIST SHA-3 competitionGrøstl published
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 tweaked Grøstl are known; rebound attacks reach reduced rounds. It is slower than SHA-2 without AES hardware support and is rarely deployed, so NextSSL classes it as legacy.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Groestl groestl |
legacy | out 28–64 | Groestl (SHA-3 finalist), tweaked round-3 version | root |
Frequently asked questions
Which Grøstl variants does NextSSL include?
NextSSL registers 1 Grøstl variant: groestl.
Families with similar names
Other hash functions
All 424Related
The Advanced Encryption Standard: the world's default 128-bit block cipher
JHHongjun Wu's SHA-3 finalist, built on a large bit-sliced SPN permutation
KupynaUkraine's national hash standard, DSTU 7564:2014, an AES-like wide-pipe design
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2