Usaber-90s-R3
Module Learning With Rounding KEM, a NIST Round 3 finalist
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 Usaber-90s-R3
Usaber-90s-R3 is a key encapsulation mechanism from the Saber (Round 3) family. It uses a 992-byte public key, a 2,208-byte secret key, a 1,088-byte ciphertext and a 32-byte shared secret. 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
Saber is a lattice-based key encapsulation mechanism whose security rests on Module Learning With Rounding, a deterministic cousin of Module-LWE. It was a NIST Round 3 finalist and was not selected; this family contains the uSaber-90s parameter set from the Round 3 specification.
Instead of adding explicit random errors as Kyber does, Saber introduces noise by rounding: products are computed modulo a power of two and then the low-order bits are dropped. Power-of-two moduli make modular reduction free and simplify masking against side channels, at the cost of not supporting the number-theoretic transform, so multiplication uses Toom-Cook or Karatsuba methods. The approach also avoids sampling explicit error terms, reducing the randomness the scheme needs.
The Round 3 specification defines LightSaber, Saber and FireSaber for security categories 1, 3 and 5, together with uniform-secret variants (uLightSaber, uSaber, uFireSaber) that sample secrets uniformly from a small range rather than from a binomial distribution, and 90s variants that replace SHAKE and SHA-3 with AES and SHA-2. NextSSL includes the uSaber-90s set: the category 3 parameters with uniform secrets and AES/SHA-2 symmetric primitives. A Fujisaki-Okamoto style transform provides IND-CCA2 security.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisation69 complete round-1 submissions published
NIST Post-Quantum Cryptography standardisationSaber published by Jan-Pieter D'Anvers, Angshuman Karmakar, Sujoy Sinha Roy, Frederik Vercauteren
26 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
- A public matrix is expanded from a seed (with AES in the 90s variant).
- The public key is the rounded product of the matrix and a small secret vector.
- Encapsulation encrypts a random message using rounding instead of explicit error terms.
- Decapsulation decrypts, re-encrypts and compares, with implicit rejection on mismatch.
Security notes
No practical attack is known, but Saber was not standardised; ML-KEM is the recommended alternative. The uniform-secret and 90s variants are less studied than the main parameter sets.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 992 | Public key |
| sk | 2,208 | Secret key |
| ct | 1,088 | Ciphertext |
| ss | 32 | Shared secret |
| seed | 0 | Seed |
| coins | 0 | Encapsulation randomness |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
pk, sk = root.call("kem_keygen", "usaber-90s-r3", None, outs=2)
ct, ss = root.call("kem_encaps", "usaber-90s-r3", None, pk, outs=2)
assert ss == root.call("kem_decaps", "usaber-90s-r3", None, sk, ct)[0]
nextssl_root_kem_keygen("usaber-90s-r3", NULL, pk, sk);
nextssl_root_kem_encaps("usaber-90s-r3", NULL, pk, ct, ss);
nextssl_root_kem_decaps("usaber-90s-r3", NULL, sk, ct, ss);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_kem_in(reg::all(), Policy::Any, "usaber-90s-r3", &Params::new())?;
let (pk, sk) = alg.keygen(&mut *rng)?;
let (ct, ss) = alg.encaps(&pk, &mut *rng)?;
assert_eq!(ss, alg.decaps(&sk, &ct)?);
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 key encapsulation
All 110Frequently asked questions
What is Usaber-90s-R3?
Usaber-90s-R3 is a KEM in the Saber (Round 3) family. Saber is a lattice-based key encapsulation mechanism whose security rests on Module Learning With Rounding, a deterministic cousin of Module-LWE.
What are the Usaber-90s-R3 sizes?
In NextSSL, Usaber-90s-R3 uses: public key 992 bytes, ciphertext 1,088 bytes, shared secret 32 bytes.
Is Usaber-90s-R3 post-quantum?
Yes. Usaber-90s-R3 is a post-quantum kem: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Usaber-90s-R3 and when?
Usaber-90s-R3 belongs to the Saber (Round 3) family, first published in 2018 by Jan-Pieter D'Anvers, Angshuman Karmakar, Sujoy Sinha Roy, Frederik Vercauteren. Its origin: NIST PQC Round 3 finalist.
Is Usaber-90s-R3 safe to use?
Usaber-90s-R3 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).
Related families
The NIST Merkle–Damgård hash family behind most of today's TLS, signatures and software
CRYSTALS-Kyber (Round 3)The Round 3 submission of Kyber, predecessor of the ML-KEM standard
ML-KEMNIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203
AES-CTRCounter mode: turns AES into a fast, parallel stream cipher