Digital signatures

Mqdss48

Signatures from the multivariate quadratic problem via a five-pass identification scheme

unverified Root API only Post-quantum
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 Mqdss48

Mqdss48 is a digital signature scheme from the MQDSS family. It uses a 62-byte public key, a 32-byte secret key and a 1–32,882-byte signature. It is designed to resist attacks by large quantum computers. 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

MQDSS turns the Sakumoto-Shirai-Hiwatari five-pass identification scheme for the multivariate quadratic (MQ) problem into a signature with the Fiat-Shamir transform. It was a Round 2 candidate in the NIST post-quantum process.

The public key is a random system of quadratic equations F (derived from a seed) and the value F(s) of a secret vector s. Solving random quadratic systems is NP-hard and believed hard for quantum computers. The signer proves knowledge of s without revealing it, using the bilinear structure of F to split s into random shares, and repeats the protocol many times to drive down the soundness error.

In 2019, Kales and Zaverucha showed that applying Fiat-Shamir to five-pass protocols allowed cheaper forgeries than the original parameters assumed, and MQDSS increased its number of rounds in response. Signatures remain large, tens of kilobytes. MQDSS was not advanced to Round 3. In contrast to its signatures, its public keys are very small, under 100 bytes. Signing and verification are dominated by evaluating the quadratic system many times. Two parameter sets are present: MQDSS-31-48 and MQDSS-31-64, using 48 and 64 variables over the field GF(31), for the lower and higher security levels respectively.

History

2016–2025
  1. MQDSS published

  2. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  3. 69 complete round-1 submissions published

    NIST Post-Quantum Cryptography standardisation
  4. 26 candidates advance to round 2

    NIST Post-Quantum Cryptography standardisation
  5. Round 3 finalists and alternates announced

    NIST Post-Quantum Cryptography standardisation
  6. Kyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens

    NIST Post-Quantum Cryptography standardisation
  7. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published

    NIST Post-Quantum Cryptography standardisation
  8. HQC selected as a second KEM

    NIST Post-Quantum Cryptography standardisation

How it works

  1. KeyGen samples a secret vector s and publishes the seed for F and the value v = F(s).
  2. Sign runs many parallel rounds of the five-pass MQ identification protocol.
  3. The two challenges are derived by hashing the transcript and message (Fiat-Shamir).
  4. Verify recomputes the commitments from the responses and checks them against the hashes.

Security notes

Its original parameters were weakened by the Kales-Zaverucha attack on five-pass Fiat-Shamir and had to be revised. MQDSS was not selected; MQOM and other newer MQ-based schemes are more efficient successors.

Typical uses

Research into MQ-based zero-knowledge signaturesHistorical NIST Round 2 comparison

Sizes

FieldBytesMeaning
pk62Public key
sk32Secret key
sig1 – 32,882Signature
seed0Seed
ctx0Context string

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
pk, sk = root.call("sign_keygen", "mqdss48", None, outs=2)
sig = root.call("sign_detached", "mqdss48", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "mqdss48", None, pk, b"message", b"", sig)

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

Frequently asked questions

What is Mqdss48?

Mqdss48 is a signature in the MQDSS family. MQDSS turns the Sakumoto-Shirai-Hiwatari five-pass identification scheme for the multivariate quadratic (MQ) problem into a signature with the Fiat-Shamir transform.

What are the Mqdss48 sizes?

In NextSSL, Mqdss48 uses: public key 62 bytes, signature 1 to 32,882 bytes.

Is Mqdss48 post-quantum?

Yes. Mqdss48 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.

Who designed Mqdss48 and when?

Mqdss48 belongs to the MQDSS family, first published in 2016 by Ming-Shing Chen, Andreas Hülsing, Joost Rijneveld, Simona Samardjiska, Peter Schwabe. Its origin: NIST PQC Round 2 candidate.

Is Mqdss48 safe to use?

Mqdss48 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).