Digital signatures

Qtesla-III-R2

Ring-LWE signatures with Fiat-Shamir, offered at levels I, III and V with size-swapped variants

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 Qtesla-III-R2

Qtesla-III-R2 is one of 6 qTESLA (round 2) variants in the NextSSL registry, a digital signature scheme. It uses a 3,104-byte public key, a 2,368-byte secret key and a 1–2,848-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–2025
  1. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  2. qTESLA published

  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 short secret polynomials and publishes a public polynomial derived from them.
  2. Sign commits to a masked polynomial, derives the challenge from the commitment and message, and rejects responses that could leak the secret.
  3. 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

Research into ring-based Fiat-Shamir signaturesComparing key-size trade-offs between the -s and standard variants

Sizes

FieldBytesMeaning
pk3,104Public key
sk2,368Secret key
sig1 – 2,848Signature
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", "qtesla-iii-r2", None, outs=2)
sig = root.call("sign_detached", "qtesla-iii-r2", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "qtesla-iii-r2", 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 Qtesla-III-R2?

Qtesla-III-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-III-R2 sizes?

In NextSSL, Qtesla-III-R2 uses: public key 3,104 bytes, signature 1 to 2,848 bytes.

Is Qtesla-III-R2 post-quantum?

Yes. Qtesla-III-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-III-R2 and when?

Qtesla-III-R2 belongs to the qTESLA (round 2) family, first published in 2017. Its origin: NIST PQC standardisation, round 2 submission.

Is Qtesla-III-R2 safe to use?

Qtesla-III-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-r2, qtesla-i-s-r2, qtesla-iii-s-r2, qtesla-v-r2, qtesla-v-s-r2 in the qTESLA (round 2) family.