Hash family

Grøstl

A SHA-3 finalist built from two AES-like permutations in a wide-pipe construction

legacy 1 variant NIST SHA-3 competition finalist

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–2015
  1. NIST announces a public competition for a new hash standard, SHA-3

    NIST SHA-3 competition
  2. Grøstl published

  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 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

SHA-3 competition researchReference for Kupyna and AES-based hashing

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
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.