Key encapsulation

Firesaber2

The highest-security Saber parameter set, a Module-LWR KEM with a 32-byte shared secret

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 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–2017
  1. FireSaber published by Jan-Pieter D'Anvers, Angshuman Karmakar, Sujoy Sinha Roy, Frederik Vercauteren

How it works

  1. A matrix is generated from a seed, and the public key is formed by rounding a product of that matrix with a secret vector.
  2. Encapsulation encrypts a random message using rounded values, so no separate error sampling is needed.
  3. 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

Research into Module-LWR key encapsulationCategory 5 post-quantum parameter comparisonsComparisons with ML-KEM-1024

Sizes

FieldBytesMeaning
pk1,312Public key
sk3,040Secret key
ct1,472Ciphertext
ss32Shared secret
seed0Seed
coins0Encapsulation 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]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Frequently 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).