Mqdss-48-R2
Fiat-Shamir signatures from the multivariate quadratic problem, with large signatures and tiny keys
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 Mqdss-48-R2
Mqdss-48-R2 is one of 2 MQDSS variants in the NextSSL registry, a digital signature scheme. It uses a 46-byte public key, a 16-byte secret key and a 1–20,854-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 is a multivariate quadratic signature built with the Fiat-Shamir transform from an identification protocol. It has very small public and private keys but large signatures, with 48 and 64 identifying its two parameter sets.
MQDSS signs by turning an identification protocol based on the multivariate quadratic (MQ) problem into a non-interactive signature with the Fiat-Shamir transform. The public key is a system of quadratic equations and the secret is its solution, so the key material is small compared with many other schemes. Verification checks the protocol transcript for consistency with the public system.
NextSSL's record lists mqdss-48-r2 and mqdss-64-r2. The 48 and 64 identify the two parameter sets. The 48 set has a 46-byte public key, a 16-byte private key and signatures of up to 20854 bytes. The 64 set has a 64-byte public key, a 24-byte private key and signatures of up to 43728 bytes. The keys are very small, and the signature size is the main cost.
MQDSS was a round 2 candidate in NIST's main signature process. Its large signatures limit it to niche use, and the record is unverified. NextSSL lists it for research and comparison. The keys are small enough for constrained devices, but the signature is far larger than the key, so bandwidth is the constraint to plan for. The record gives both sets, so the trade-off can be checked directly.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationMQDSS published
69 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 chooses a secret solution to a random system of multivariate quadratic equations and publishes the system.
- Sign runs the identification protocol in a Fiat-Shamir transformed form, binding the commitments and the message into the challenges.
- The signature contains the protocol responses for the challenged rounds.
- Verify replays the challenges and checks each response against the public equations.
Security notes
The MQ problem is the core assumption and has been studied for a long time. Large signatures and the round 2 status mean MQDSS has not been adopted, and the record is unverified.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 46 | Public key |
| sk | 16 | Secret key |
| sig | 1 – 20,854 | 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", "mqdss-48-r2", None, outs=2)
sig = root.call("sign_detached", "mqdss-48-r2", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "mqdss-48-r2", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("mqdss-48-r2", NULL, pk, sk);
nextssl_root_sign_detached("mqdss-48-r2", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("mqdss-48-r2", 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, "mqdss-48-r2", &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.
Other MQDSS variants
1Similar names
Looking for something else?More digital signatures
All 503Frequently asked questions
What is Mqdss-48-R2?
Mqdss-48-R2 is a signature in the MQDSS family. MQDSS is a multivariate quadratic signature built with the Fiat-Shamir transform from an identification protocol.
What are the Mqdss-48-R2 sizes?
In NextSSL, Mqdss-48-R2 uses: public key 46 bytes, signature 1 to 20,854 bytes.
Is Mqdss-48-R2 post-quantum?
Yes. Mqdss-48-R2 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Mqdss-48-R2 and when?
Mqdss-48-R2 belongs to the MQDSS family, first published in 2017 by Ming-Shing Chen, Andreas Hülsing, Joost Rijneveld, Simona Samardjiska, Peter Schwabe. Its origin: NIST PQC standardisation, round 2 submission.
Is Mqdss-48-R2 safe to use?
Mqdss-48-R2 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).
What other MQDSS variants are there?
NextSSL also registers mqdss-64-r2 in the MQDSS family.
Related families
Round 1 multivariate signature whose identifiers give its maximum signature size in bytes
GeMSS-128 (v2)Hidden-field multivariate signature at the 128-bit level with a 32-byte signature
LUOVLifted Unbalanced Oil and Vinegar, a multivariate signature with a 32-byte private key
MAYOOil-and-vinegar multivariate signatures with much smaller public keys than classic UOV
MQOMMQ-based signatures using MPC-in-the-head, offered over GF(2) and GF(256) in several categories