Qtesla-I-R2
Ring-LWE signatures with Fiat-Shamir, offered at levels I, III and V with size-swapped variants
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 Qtesla-I-R2
Qtesla-I-R2 is one of 6 qTESLA (round 2) variants in the NextSSL registry, a digital signature scheme. It uses a 1,504-byte public key, a 1,216-byte secret key and a 1–1,376-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
qTESLA is a lattice signature from ring learning-with-errors that uses Fiat-Shamir with aborts. The round 2 record covers levels I, III and V, plus variants that swap the public and private key sizes.
qTESLA is a signature scheme built on ring learning-with-errors and short integer solutions, following the Fiat-Shamir with aborts approach. The signer uses a secret polynomial pair and derives a challenge from a commitment and the message. Rejection sampling keeps the response from leaking the secret, and the design aims for a security reduction to the ring problems.
NextSSL's record lists qtesla-i-r2, qtesla-i-s-r2, qtesla-iii-r2 and qtesla-iii-s-r2, with qtesla-v-r2 and qtesla-v-s-r2 among the other variants. The -s variants change the balance between key sizes. For level I, qtesla-i-r2 has a 1504-byte public key and a 1216-byte private key, while qtesla-i-s-r2 has a 480-byte public key and a 2240-byte private key. Signatures are up to 1376 and 1568 bytes respectively.
qTESLA reached round 2 of NIST's main signature process. Its round 2 record is unverified and the parameters have changed between submissions, so use the entries for research and comparison rather than deployment. The record shows the trade-off clearly: the -s variant lowers the level I public key by about two-thirds, at the cost of a much larger private key.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationqTESLA 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 samples short secret polynomials and publishes a public polynomial derived from them.
- Sign commits to a masked polynomial, derives the challenge from the commitment and message, and rejects responses that could leak the secret.
- Verify recomputes the commitment from the signature and public key and checks the challenge hash.
Security notes
The ring problems are well studied, but qTESLA parameters changed across submissions and the round 2 record is unverified. Implementations need side-channel protection for the rejection sampling step.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 1,504 | Public key |
| sk | 1,216 | Secret key |
| sig | 1 – 1,376 | 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", "qtesla-i-r2", None, outs=2)
sig = root.call("sign_detached", "qtesla-i-r2", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "qtesla-i-r2", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("qtesla-i-r2", NULL, pk, sk);
nextssl_root_sign_detached("qtesla-i-r2", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("qtesla-i-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, "qtesla-i-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 qTESLA (round 2) variants
5Similar names
Looking for something else?More digital signatures
All 503Frequently asked questions
What is Qtesla-I-R2?
Qtesla-I-R2 is a signature in the qTESLA (round 2) family. qTESLA is a lattice signature from ring learning-with-errors that uses Fiat-Shamir with aborts.
What are the Qtesla-I-R2 sizes?
In NextSSL, Qtesla-I-R2 uses: public key 1,504 bytes, signature 1 to 1,376 bytes.
Is Qtesla-I-R2 post-quantum?
Yes. Qtesla-I-R2 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Qtesla-I-R2 and when?
Qtesla-I-R2 belongs to the qTESLA (round 2) family, first published in 2017. Its origin: NIST PQC standardisation, round 2 submission.
Is Qtesla-I-R2 safe to use?
Qtesla-I-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 qTESLA (round 2) variants are there?
NextSSL also registers qtesla-i-s-r2, qtesla-iii-r2, qtesla-iii-s-r2, qtesla-v-r2, qtesla-v-s-r2 in the qTESLA (round 2) family.
Related families
Round 2 Dilithium submission offering SHAKE-based and AES-based expansion of the public matrix
CRYSTALS-Dilithium (Round 3)The Round 3 submission of Dilithium, predecessor of the ML-DSA standard
Falcon (round 2)Round 2 Falcon submission with the same NTRU-lattice design and three dimensions, 512 to 1024
HAETAE level 5 (v5)Lattice Fiat-Shamir signature record at level 5, signatures up to 1474 bytes
ML-DSANIST's primary post-quantum signature scheme, standardised in FIPS 204