Skip to content
Zyberum Cyber Security Firm
Menu
GlossaryCryptography

ML-KEM (FIPS 203)

ML-KEM is the post-quantum key encapsulation mechanism standardised by NIST in FIPS 203, formerly Kyber. Parameter sets, key sizes and use in TLS 1.3 and SSH.

Updated This page as Markdown

In short

ML-KEM is the post-quantum key encapsulation mechanism that NIST standardised in FIPS 203 in August 2024. It is derived from CRYSTALS-Kyber, is based on the Module-LWE lattice problem and replaces Diffie-Hellman and RSA key exchange. There are three parameter sets: ML-KEM-512, ML-KEM-768 and ML-KEM-1024. NIST names ML-KEM-768 as the default, and the BSI recommends ML-KEM-768 and ML-KEM-1024 in hybrid combination with a classical scheme. In TLS 1.3 it is deployed as X25519MLKEM768.

What is ML-KEM?

ML-KEM (Module-Lattice-Based Key-Encapsulation Mechanism) is a post-quantum algorithm that lets two parties establish a shared secret over an open channel. It takes the place that Diffie-Hellman, ECDH and RSA key transport hold today. Its security rests on the Module-LWE lattice problem, for which no efficient quantum algorithm is known.

A key encapsulation mechanism has three operations. Key generation produces an encapsulation key (public) and a decapsulation key (private). Encapsulation takes the public key and returns a ciphertext plus a shared secret. Decapsulation takes the ciphertext and the private key and returns the same shared secret. That 32-byte secret then feeds the key derivation of the protocol, and symmetric encryption such as AES does the rest.

Where is it defined?

ML-KEM is specified in NIST FIPS 203, published in August 2024 and derived from CRYSTALS-Kyber. The standard defines three parameter sets:

Parameter setSecurity categoryEncapsulation keyCiphertextShared secret
ML-KEM-5121800 bytes768 bytes32 bytes
ML-KEM-76831184 bytes1088 bytes32 bytes
ML-KEM-102451568 bytes1568 bytes32 bytes

NIST IR 8547 names ML-KEM-768 as the recommended default. BSI TR-02102-1 (version 2026-01) recommends ML-KEM-768 and ML-KEM-1024, not ML-KEM-512, and only in hybrid combination with a classical scheme. NSA CNSA 2.0 requires ML-KEM-1024 for US national security systems.

For TLS 1.3, RFC 10024 (August 2026) defines the hybrid group X25519MLKEM768, which combines X25519 with ML-KEM-768.

What it means in practice

In IT you mostly get ML-KEM through updates, not through development. OpenSSL 3.5, a long-term support release from April 2025, offers X25519MLKEM768 by default. OpenSSH 10.0 from April 2025 uses mlkem768x25519-sha256 as its default key exchange. What remains is to check that it is actually negotiated: a server pinned to an old group list, an outdated library on one side, or a TLS-terminating appliance in the path will quietly fall back to a classical key exchange.

The visible difference is size. With X25519MLKEM768 the client key share is 1216 bytes, compared with 32 bytes for X25519 alone, and the server answers with 1120 bytes. On servers this is rarely a problem. It matters wherever sizes were fixed for elliptic curves:

  • handshake buffers and message length fields in embedded TLS stacks,
  • proprietary protocols with a fixed 32-byte or 65-byte field for the public key,
  • links with small frames or low bandwidth, where one handshake now spans many frames,
  • microcontrollers with little RAM and stack for the computation.

In penetration tests and product reviews we check which key exchange an endpoint really negotiates, whether a downgrade to the classical group can be forced, and whether the implementation is a current library version or a copied draft of Kyber.

Common misunderstandings

ML-KEM does not encrypt your data; it agrees on the key that a symmetric cipher then uses. It does not authenticate anyone either, so certificates and signatures are a separate migration. Kyber and ML-KEM are not interchangeable on the wire. And hybrid is not a sign of distrust that will disappear next year: it is the mode the BSI recommends, because the classical part still protects the connection if a flaw is found in the new scheme or its implementation.

FAQ

Frequently asked questions

Is ML-KEM the same as Kyber?

ML-KEM is the standardised form of CRYSTALS-Kyber. NIST made changes on the way to FIPS 203, so implementations of earlier Kyber drafts are not interoperable with ML-KEM. If a library, a device or a data sheet says Kyber, check whether it means FIPS 203 or an earlier round version.

Which parameter set should I use?

ML-KEM-768 for general use. NIST IR 8547 names it as the recommended default, and BSI TR-02102-1 recommends ML-KEM-768 and ML-KEM-1024 but not ML-KEM-512. NSA CNSA 2.0 requires ML-KEM-1024 for US national security systems. The BSI recommends using ML-KEM only in hybrid combination with a classical scheme.

Does ML-KEM replace digital signatures?

No. ML-KEM only establishes a shared secret. Authentication still needs a signature scheme: today mostly RSA or ECDSA certificates, in future ML-DSA (FIPS 204) or SLH-DSA (FIPS 205). A TLS connection with X25519MLKEM768 and a classical certificate is protected against later decryption, but its authentication is still classical.

Sources

Related pages

Get started

A term that applies to your product?

In 15 minutes we tell you what it means for you in practice, which requirement follows from it and what the sensible next step is.

  • Direct answer from a security engineer
  • Which standard or law applies to you
  • Free and without obligation
Tom Zaubermann

Your call is withTom ZaubermannFounder & CEO, Zyberum

Call us: +49 176 439 17074info@zyberum.com

Or send us a message

We reply within one business day.

No sales offers, please. We are not hiring at the moment.

Call usAsk a security engineer

Pick a time that suits you

Open in a new tab