Key encapsulation

Rlce-KEM-128b-R1

A random linear code KEM from the first round, with very large public keys across four parameter sets

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 Rlce-KEM-128b-R1

Rlce-KEM-128b-R1 is one of 6 RLCE-KEM Round 1 variants in the NextSSL registry, a key encapsulation mechanism. It uses a 188,001-byte public key, a 310,116-byte secret key, a 988-byte ciphertext and a 64-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

RLCE-KEM Round 1 is a key encapsulation mechanism based on random linear codes, submitted in round 1 of the NIST post-quantum process. It has four parameter sets, from 128-bit to 192-bit levels, with public keys from about 118 KB to 451 KB. NextSSL carries it as an unverified archival entry.

RLCE-KEM is a code-based key encapsulation mechanism built on random linear codes, a design associated with Yongge Wang. Code-based schemes rest on the difficulty of decoding a general linear code, which is a different hardness assumption from the lattice schemes that dominate the archive's KEM families.

NextSSL carries four variants: rlce-kem-128a-r1, rlce-kem-128b-r1, rlce-kem-192a-r1 and rlce-kem-192b-r1, each with a 64-byte shared secret. Public keys range from 118441 to 450761 bytes and secret keys from 179946 to 747393 bytes, while ciphertexts are much smaller, between 785 and 1545 bytes.

The large keys are the main practical cost. The archive tier is unverified, so the family is kept for comparison of code-based KEM sizes and not for deployment.

History

2016–2025
  1. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  2. RLCE-KEM Round 1 published by Yongge Wang

  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. A random linear code is generated together with a structure that allows efficient decoding for the key holder.
  2. Encapsulation encrypts a random message as a codeword with added errors, and derives the shared secret from it.
  3. Decapsulation uses the secret structure to decode the ciphertext, recovers the message, and checks it before deriving the secret.

Security notes

Unverified in NextSSL. Code-based KEMs with structured codes have seen key-recovery attacks in the literature, so the security margin should be checked against the submission.

Typical uses

Comparing code-based and lattice-based KEM sizesResearch into random linear code cryptosystemsHistorical reference for round-1 code-based submissions

Sizes

FieldBytesMeaning
pk188,001Public key
sk310,116Secret key
ct988Ciphertext
ss64Shared 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", "rlce-kem-128b-r1", None, outs=2)
ct, ss = root.call("kem_encaps", "rlce-kem-128b-r1", None, pk, outs=2)
assert ss == root.call("kem_decaps", "rlce-kem-128b-r1", 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 Rlce-KEM-128b-R1?

Rlce-KEM-128b-R1 is a KEM in the RLCE-KEM Round 1 family. RLCE-KEM Round 1 is a key encapsulation mechanism based on random linear codes, submitted in round 1 of the NIST post-quantum process.

What are the Rlce-KEM-128b-R1 sizes?

In NextSSL, Rlce-KEM-128b-R1 uses: public key 188,001 bytes, ciphertext 988 bytes, shared secret 64 bytes.

Is Rlce-KEM-128b-R1 post-quantum?

Yes. Rlce-KEM-128b-R1 is a post-quantum kem: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.

Who designed Rlce-KEM-128b-R1 and when?

Rlce-KEM-128b-R1 belongs to the RLCE-KEM Round 1 family, first published in 2017 by Yongge Wang. Its origin: NIST PQC Round 1 submission.

Is Rlce-KEM-128b-R1 safe to use?

Rlce-KEM-128b-R1 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 RLCE-KEM Round 1 variants are there?

NextSSL also registers rlce-kem-128a-r1, rlce-kem-192a-r1, rlce-kem-192b-r1, rlce-kem-256a-r1, rlce-kem-256b-r1 in the RLCE-KEM Round 1 family.