Hash functions

Simd512

A SHA-3 second-round candidate built for vector units, with a code-based message expansion

unverified Root API only
Unverified tier.

Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Simd512

Simd512 is a cryptographic hash function from the SIMD family. It produces a 64-byte (512-bit) output. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

SIMD is a hash function designed by Gaëtan Leurent, Charles Bouillaguet and Pierre-Alain Fouque for the NIST SHA-3 competition, where it reached the second round. As the name says, it was designed to run efficiently on SIMD vector units.

SIMD is a wide-pipe Merkle–Damgård design with a Davies–Meyer-like compression function. Its distinctive feature is a message expansion based on a number-theoretic transform, a form of error-correcting code, which guarantees a large minimum distance between expanded messages and so limits differential paths. The expanded message drives four parallel Feistel-like lines that update the state with additions, rotations and boolean functions.

NextSSL includes SIMD-256 and SIMD-512 entries wired from benchmarking sources. The number-theoretic message expansion was a distinctive idea, giving strong lower bounds on differential paths at the cost of more computation than simpler designs. SIMD's authors later contributed extensively to the cryptanalysis of other candidates. 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. SIMD published by Gaëtan Leurent, Charles Bouillaguet, Pierre-Alain Fouque

  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

A distinguisher on the compression function led to a tweak in round two; no practical attack on the full hash is known. It was not chosen as a finalist and is for research only.

Typical uses

SHA-3 competition researchStudy of code-based message expansion

Sizes

FieldBytesMeaning
out64Output

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
digest = root.call("hash_with", "simd512", None, b"abc")[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Frequently asked questions

What is Simd512?

Simd512 is a hash in the SIMD family. SIMD is a hash function designed by Gaëtan Leurent, Charles Bouillaguet and Pierre-Alain Fouque for the NIST SHA-3 competition, where it reached the second round.

What are the Simd512 sizes?

In NextSSL, Simd512 uses: output 64 bytes.

Who designed Simd512 and when?

Simd512 belongs to the SIMD family, first published in 2008 by Gaëtan Leurent, Charles Bouillaguet, Pierre-Alain Fouque. Its origin: NIST SHA-3 competition (round 2).

Is Simd512 safe to use?

Simd512 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).