Mqdss64
Signatures from the multivariate quadratic problem via a five-pass identification scheme
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 Mqdss64
Mqdss64 is a digital signature scheme from the MQDSS family. It uses an 88-byte public key, a 48-byte secret key and a 1–67,800-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–2025MQDSS published
NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisation69 complete round-1 submissions published
NIST Post-Quantum Cryptography standardisation26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationKyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens
NIST Post-Quantum Cryptography standardisationFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published
NIST Post-Quantum Cryptography standardisationHQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- KeyGen samples a secret vector s and publishes the seed for F and the value v = F(s).
- Sign runs many parallel rounds of the five-pass MQ identification protocol.
- The two challenges are derived by hashing the transcript and message (Fiat-Shamir).
- 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
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 88 | Public key |
| sk | 48 | Secret key |
| sig | 1 – 67,800 | Signature |
| seed | 0 | Seed |
| ctx | 0 | Context 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", "mqdss64", None, outs=2)
sig = root.call("sign_detached", "mqdss64", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "mqdss64", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("mqdss64", NULL, pk, sk);
nextssl_root_sign_detached("mqdss64", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("mqdss64", NULL, pk, msg, ctx, sig);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_sign_in(reg::all(), Policy::Any, "mqdss64", &Params::new())?;
let (pk, sk) = alg.keygen(&mut *rng)?;
let sig = alg.sign(&sk, b"message")?;
let ok = alg.verify(&pk, b"message", &sig)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Similar names
Looking for something else?More digital signatures
All 503Frequently asked questions
What is Mqdss64?
Mqdss64 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 Mqdss64 sizes?
In NextSSL, Mqdss64 uses: public key 88 bytes, signature 1 to 67,800 bytes.
Is Mqdss64 post-quantum?
Yes. Mqdss64 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Mqdss64 and when?
Mqdss64 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 Mqdss64 safe to use?
Mqdss64 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).