Ryde1s-R2
Rank-metric code signatures with MPC-in-the-head, with fast and short settings at three levels
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 Ryde1s-R2
Ryde1s-R2 is one of 6 RYDE variants in the NextSSL registry, a digital signature scheme. It uses a 69-byte public key, a 32-byte secret key and a 1–2,988-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
RYDE is a signature based on rank-metric codes and the rank syndrome decoding problem, proved with MPC-in-the-head. Its round 2 record covers levels 1, 3 and 5, each with fast and short settings.
RYDE proves knowledge of a rank-metric syndrome decoding solution using an MPC-in-the-head style protocol. The prover commits to the views of simulated parties and the verifier checks a random selection of them. The Fiat-Shamir transform makes the proof a non-interactive signature, and the security rests on the rank syndrome decoding problem.
NextSSL's record lists ryde1f-r2, ryde1s-r2, ryde3f-r2 and ryde3s-r2, with ryde5f-r2 and ryde5s-r2 among the other variants. The level 1 sets have 69-byte public keys and 32-byte private keys, and the level 3 sets have 101-byte public keys and 48-byte private keys. Signatures are up to 3597 bytes for ryde1f and 2988 bytes for ryde1s, and up to 8264 and 6728 bytes at level 3.
RYDE is an additional-signatures candidate in round 2. Its record is unverified and its parameters are tuned for the trade-off between speed and size, so NextSSL lists it for research and comparison. The round 2 status and the choice of fast or short setting together set the signature length, so both should be stated when citing the figures.
History
2016–2025NIST 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 standardisationNIST calls for additional post-quantum signature schemes
NIST additional signatures on-rampRYDE published
40 round-1 candidates published
NIST additional signatures on-rampFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published
NIST Post-Quantum Cryptography standardisation14 candidates advance to round 2
NIST additional signatures on-rampHQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- KeyGen picks a secret rank-metric error vector and publishes the syndrome it produces.
- Sign runs an MPC-in-the-head protocol proving knowledge of the secret, and commits to the simulated parties' views.
- The Fiat-Shamir challenge selects the openings that form the signature.
- Verify checks the openings against the public syndrome.
Security notes
Rank syndrome decoding is studied but less widely than the Hamming-metric problems. The round 2 record is unverified and the fast and short settings affect size and speed.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 69 | Public key |
| sk | 32 | Secret key |
| sig | 1 – 2,988 | 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", "ryde1s-r2", None, outs=2)
sig = root.call("sign_detached", "ryde1s-r2", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "ryde1s-r2", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("ryde1s-r2", NULL, pk, sk);
nextssl_root_sign_detached("ryde1s-r2", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("ryde1s-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, "ryde1s-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 RYDE variants
5More digital signatures
All 503Frequently asked questions
What is Ryde1s-R2?
Ryde1s-R2 is a signature in the RYDE family. RYDE is a signature based on rank-metric codes and the rank syndrome decoding problem, proved with MPC-in-the-head.
What are the Ryde1s-R2 sizes?
In NextSSL, Ryde1s-R2 uses: public key 69 bytes, signature 1 to 2,988 bytes.
Is Ryde1s-R2 post-quantum?
Yes. Ryde1s-R2 is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Ryde1s-R2 and when?
Ryde1s-R2 belongs to the RYDE family, first published in 2023. Its origin: NIST PQC additional signatures, round 2.
Is Ryde1s-R2 safe to use?
Ryde1s-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 RYDE variants are there?
NextSSL also registers ryde1f-r2, ryde3f-r2, ryde3s-r2, ryde5f-r2, ryde5s-r2 in the RYDE family.
Related families
Code-based KEM on binary Goppa codes: very large public keys, tiny ciphertexts
FAEST (round 2)Round 2 AES-based VOLE-in-the-head signatures, with smaller signatures than round 1 at 128 bits
MIRATHCode-based signatures using threshold computation in the head, with 1a, 1b, 3a, 3b, 5a and 5b sets
MQOMMQ-based signatures using MPC-in-the-head, offered over GF(2) and GF(256) in several categories
PERKSignatures from the permuted kernel problem, a NIST additional-signatures candidate