Firesaber2
The highest-security Saber parameter set, a Module-LWR KEM with a 32-byte shared secret
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 Firesaber2
Firesaber2 is a key encapsulation mechanism from the FireSaber family. It uses a 1,312-byte public key, a 3,040-byte secret key, a 1,472-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
FireSaber is the highest-security parameter set of the Saber key encapsulation mechanism, based on Module Learning With Rounding. It has a 1312-byte public key and a 1472-byte ciphertext. NextSSL carries it as an unverified round-2 entry.
Saber is a key encapsulation mechanism whose security rests on the Module Learning With Rounding problem, a variant of Module-LWE in which the noise is replaced by deterministic rounding. FireSaber is the parameter set for the highest security category in the family, aimed at the same level as AES-256.
NextSSL carries firesaber2 with a 1312-byte public key, a 3040-byte secret key and a 1472-byte ciphertext. The shared secret is 32 bytes. The round-1 form of the same parameters is also in the archive as fire-saber-r1.
The archive records the entry as unverified, and it has no separate designer data here. Saber is not a NIST-standardised scheme, so ML-KEM-1024 is the standard counterpart for most deployments.
History
2017–2017FireSaber published by Jan-Pieter D'Anvers, Angshuman Karmakar, Sujoy Sinha Roy, Frederik Vercauteren
How it works
- A matrix is generated from a seed, and the public key is formed by rounding a product of that matrix with a secret vector.
- Encapsulation encrypts a random message using rounded values, so no separate error sampling is needed.
- Decapsulation recovers the message, re-encrypts, and compares the result before deriving the shared secret.
Security notes
Unverified in NextSSL. Saber's design avoids sampling noise, which simplifies constant-time implementation, but implementations still need careful review.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 1,312 | Public key |
| sk | 3,040 | Secret key |
| ct | 1,472 | 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", "firesaber2", None, outs=2)
ct, ss = root.call("kem_encaps", "firesaber2", None, pk, outs=2)
assert ss == root.call("kem_decaps", "firesaber2", None, sk, ct)[0]
nextssl_root_kem_keygen("firesaber2", NULL, pk, sk);
nextssl_root_kem_encaps("firesaber2", NULL, pk, ct, ss);
nextssl_root_kem_decaps("firesaber2", 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, "firesaber2", &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 Firesaber2?
Firesaber2 is a KEM in the FireSaber family. FireSaber is the highest-security parameter set of the Saber key encapsulation mechanism, based on Module Learning With Rounding.
What are the Firesaber2 sizes?
In NextSSL, Firesaber2 uses: public key 1,312 bytes, ciphertext 1,472 bytes, shared secret 32 bytes.
Is Firesaber2 post-quantum?
Yes. Firesaber2 is a post-quantum kem: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Firesaber2 and when?
Firesaber2 belongs to the FireSaber family, first published in 2017 by Jan-Pieter D'Anvers, Angshuman Karmakar, Sujoy Sinha Roy, Frederik Vercauteren.
Is Firesaber2 safe to use?
Firesaber2 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 smallest Saber parameter set, a category 1 Module-LWR KEM with a 672-byte public key
ML-KEMNIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203
Saber Round 1The round-1 Saber KEM family, a Module-LWR scheme with light, default and fire parameter sets
Saber (Round 3)Module Learning With Rounding KEM, a NIST Round 3 finalist
Saber Round 2The round-2 Saber KEM at the category 3 level, a Module-LWR scheme with a 992-byte public key