Module lattices vs unstructured lattices: structure in lattice schemes

ML-KEM is built on module lattices, with extra algebraic structure, while FrodoKEM is built on an unstructured lattice with the learning with errors problem. The choice matters for key sizes, standards status and which protocols carry each.

On this page

Module lattices vs unstructured lattices: what separates ML-KEM from FrodoKEM

You are likely to meet this comparison when a vendor document, tender or protocol specification names both ML-KEM and FrodoKEM as post-quantum key encapsulation mechanisms (KEMs). Both are built on the learning with errors problem, but they are not the same construction. ML-KEM is a KEM built on module lattices with Module-LWE, while FrodoKEM is a KEM built on an unstructured lattice with plain learning with errors. The main practical distinction is the algebraic structure, and that structure drives the key and ciphertext sizes you will see in documentation and on the wire.

Architects, protocol engineers and procurement reviewers are the usual readers of this question. Architects weigh bandwidth and message size against the standard that a deployment must follow. Protocol engineers see the difference in key share lengths in handshake specifications. Procurement reviewers need to know which algorithm a product claims to implement and which standard it cites. ML-KEM appears in NIST's FIPS 203, in RFC 9935 and in IETF TLS drafts, and it is already built into several widely used libraries. FrodoKEM appears in ISO/IEC 18033-2 work, in IETF IPsec drafts, and in the liboqs library, where it is listed with a different specification and support tier.

Confirm which standard and version a product or specification cites for each algorithm, and check the public key, secret key and ciphertext sizes in the document you are reviewing against the sizes published in the relevant RFC or library page. Do not assume that the two algorithms can be swapped or that they interoperate unless the documentation for your exact versions says so.

ML-KEM and FrodoKEM side by side

This table sets ML-KEM and FrodoKEM against each other on the lattice problem they rest on, their defining documents, standards status, parameter variants, sizes in bytes and platform support. Read the rows top to bottom to see where the structured module form and the unstructured form differ in practice, and confirm exact byte sizes against the RFC or liboqs version you deploy.

AttributeML-KEMFrodoKEM
Underlying problemModule-LWE, the learning with errors problem over module latticesLWE, the learning with errors problem on unstructured lattices
Defining document and dateFIPS 203 from NIST, announced 13 August 2024; RFC 9935 from March 2026Family of KEMs documented on the FrodoKEM site; IETF draft draft-wang-ipsecme-hybrid-kem-ikev2-frodo-00 from March 2025
Standards statusStandardized in FIPS 203 and specified for TLS in RFC 9935Standardized in ISO/IEC 18033-2:2006/Amd 2:2026; not selected by NIST, and a Round 3 alternate candidate
NIST level variantsML-KEM-512, ML-KEM-768 and ML-KEM-1024FrodoKEM-640 (level 1), FrodoKEM-976 (level 3) and FrodoKEM-1344 (level 5)
Public key size (bytes)800, 1184 and 1568 per RFC 99359616, 15632 and 21520 per liboqs
Ciphertext size (bytes)768, 1088 and 1568 per RFC 99359752, 15792 and 21696 per liboqs
Shared secret size (bytes)32 per RFC 993516, 24 and 32 per liboqs
Where it is supportedTLS named groups (MLKEM512, MLKEM768, MLKEM1024 in draft-ietf-tls-mlkem-05), OpenSSL 3.5.0, Go 1.24 crypto/mlkem, OpenSSH 10.0 hybrid key agreementSpecified in liboqs at Tier 2 support; the sources listed on this page do not say whether TLS named groups, OpenSSL, Go or OpenSSH include it, so confirm with each project before planning

What ML-KEM and FrodoKEM each are

ML-KEM is the Module-Lattice-Based Key-Encapsulation Mechanism. Its security rests on the learning with errors problem over module lattices, the Module-LWE setting introduced by Langlois and Stehle as a problem between standard LWE and its ring-based form. The CRYSTALS-Kyber project page states that Kyber's security depends on Module-LWE, and ML-KEM in FIPS 203 is the standardized form of Kyber. NIST announced FIPS 203 on 13 August 2024 as the primary standard for general encryption. The IETF title for RFC 9935 uses the same name, so the RFC and the FIPS document describe one algorithm family.

  • Defining documents: FIPS 203 defines the algorithm, and RFC 9935 (March 2026) gives the encoding and the title that IETF protocols reference.
  • Variants: ML-KEM-512, ML-KEM-768 and ML-KEM-1024 differ in size and in the parameter set used.
  • Sizes in RFC 9935: ML-KEM-768 has a 1184-byte public key, a 1088-byte ciphertext and a 2400-byte expanded private key, with a 32-byte shared secret.
  • TLS naming: draft-ietf-tls-mlkem-05 defines MLKEM512, MLKEM768 and MLKEM1024 as purely post-quantum, non-hybrid TLS named groups, and it marks the option as not recommended.
  • Where you meet it: OpenSSL 3.5.0 (April 2025), Go 1.24's crypto/mlkem package and OpenSSH 10.0's default hybrid key agreement all use ML-KEM, usually combined with X25519.

When reviewing a deployment, confirm the variant, whether the key agreement is pure or hybrid, and which library version a server or client actually ships.

Which differences change systems, configurations or decisions

The two lattice schemes differ in structure, size, standards path and protocol support, so each difference shows up in a different place: key and ciphertext budgets, the standard an assessor will ask about, the TLS and SSH defaults you inherit, and the operational limits you must enforce. The cards below set out what each difference changes for an architect or engineer.

Key and ciphertext size gap

At comparable security levels, FrodoKEM public keys and ciphertexts are far larger than ML-KEM's. The liboqs page lists FrodoKEM-640 at 9616 bytes for the public key and 9752 for the ciphertext, against the RFC 9935 figures of 800 and 768 bytes for ML-KEM-512. Handshake budgets, MTU limits and storage in constrained devices should be checked against the FrodoKEM numbers before any design is fixed. Confirm sizes for the exact variant and build you deploy.

liboqs FrodoKEM page

Standards path: FIPS or ISO

ML-KEM is the standardized form of Kyber in NIST's FIPS 203, announced on 13 August 2024. FrodoKEM is standardized in ISO/IEC 18033-2:2006/Amd 2:2026 and was not selected by NIST. An assessor who asks for FIPS-validated primitives will point to ML-KEM, while an ISO-driven requirement points to FrodoKEM. Confirm which standard your contract, auditor or procurement text names before choosing.

NIST announcement

Protocol support gap

ML-KEM has TLS named groups in draft-ietf-tls-mlkem-05 (MLKEM768 at 0x0201 and related codepoints), and recent OpenSSL, Go and OpenSSH releases enable hybrid forms by default. FrodoKEM appears only in limited protocol drafts, such as the IKEv2 hybrid draft from March 2025. Expect ML-KEM to work with your existing TLS stack defaults and FrodoKEM to require custom integration. Check each library version's default key share list before assuming either scheme is negotiated.

TLS ML-KEM draft

AES or SHAKE matrix choice

Each FrodoKEM variant comes in an AES-128 or SHAKE128 version, and this choice sets how the public matrix A is generated. The two versions are not interchangeable at the byte level, so both peers must agree on the same setting. ML-KEM does not expose this choice to the implementer. Record the chosen matrix variant in your configuration and inventory, and confirm compatibility between the versions you run.

FrodoKEM site

eFrodoKEM key-reuse limit

The FrodoKEM site says eFrodoKEM requires fresh key pairs after roughly 2^8 protocol executions. A service that caches or reuses an eFrodoKEM key pair beyond that point falls outside the stated limit. Build rotation into the key lifecycle, and make it a test case for any deployment that holds long-lived key pairs. Confirm the exact limit against the current eFrodoKEM specification.

FrodoKEM site

Where ML-KEM and FrodoKEM show up in protocols and products

This section shows where the two lattice key encapsulation mechanisms appear in protocols and products today, which determines which one an engineer is likely to meet. ML-KEM is the module-lattice scheme that protocol and library work has adopted, and it is the one most readers will configure. The IETF draft draft-ietf-tls-mlkem-05 (3 November 2025, Informational working draft) defines ML-KEM-512, -768 and -1024 as TLS named groups MLKEM512 (0x0200), MLKEM768 (0x0201) and MLKEM1024 (0x0202) for a purely post-quantum, non-hybrid option, and it lists its Recommended status as N. The hybrid form appears in draft-ietf-tls-ecdhe-mlkem-04 (8 February 2026, Standards Track draft), which defines X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024 as TLS 1.3 groups. In products, OpenSSL 3.5.0 (released 8 April 2025) adds ML-KEM support and changes its default TLS key shares to offer X25519MLKEM768 and X25519. Go 1.24 adds a crypto/mlkem package for ML-KEM-768 and ML-KEM-1024, and enables X25519MLKEM768 by default in crypto/tls when Config.CurvePreferences is nil. OpenSSH 10.0 (released 9 April 2025) uses the hybrid mlkem768x25519-sha256 algorithm by default for key agreement.

FrodoKEM appears in a narrower set of places, and most of them are still in draft or preliminary form. The IETF draft draft-wang-ipsecme-hybrid-kem-ikev2-frodo-00 (March 2025) describes a hybrid KEM exchange for IKEv2 that uses FrodoKEM, and it warns that its wording may change until the ISO standard is final. The liboqs library, which the Open Quantum Safe project maintains, lists FrodoKEM with support Tier 2 and cites the ISO Preliminary Standardization Proposal of 2023/03/14 as the specification for the eFrodoKEM variants. Before relying on any of these, check the version you run: confirm in the liboqs release notes whether FrodoKEM is built and enabled in your build, and confirm in the IKEv2 implementation you use whether the draft's hybrid exchange is supported at all. The sources listed here do not establish that any shipping IKEv2 product implements it.

How to work out which one applies to your system

This sequence establishes whether your environment calls for ML-KEM (module lattice) or FrodoKEM (unstructured lattice) by tracing requirements, inventory, vendor support and live protocol configuration. Each step produces a record you can check against the next, so the final choice rests on evidence from your own estate rather than on assumption.

  1. Check requirements, contracts and tenders

    Start by reading the procurement documents, contracts and internal security requirements for any named algorithm or security level. Look for explicit references to ML-KEM, FIPS 203, FrodoKEM, ISO/IEC 18033-2 or a specific NIST security level such as level 1, 3 or 5. Record each named algorithm and level in a single table with the document and clause it came from. This step is complete when every algorithm requirement you have found is traced to a source and you know which requirements are mandatory and which are preferences.

  2. Inventory where key establishment happens

    Identify every place in your estate where a key encapsulation mechanism is used, including TLS termination points, VPN gateways, SSH servers, application-level encryption and any service that exchanges keys with partners. Your inventory should list the system, the protocol, the owning team and the current key exchange group or algorithm where it can be observed. This step is complete when each key establishment point has an owner and a recorded current state, so you know which ones are candidates for either lattice family.

  3. Check vendor and library documentation

    For each product in the inventory, read the vendor or library documentation to see whether it supports ML-KEM, FrodoKEM or both, and in which version. Note the exact version numbers, the default settings and any stated support tier. Where a library publishes a page on a specific algorithm, record the parameter sizes and support status it reports. This step is complete when you have a version-specific support statement for every product that performs key establishment, and you can say which lattice families each product can actually run.

  4. Check your own protocol configuration

    On each system that terminates TLS, SSH or IKEv2, check the active configuration for the group or algorithm names in use. For TLS, look for named groups such as MLKEM768, X25519MLKEM768 or other hybrid names, and for SSH look for the key exchange algorithm names. Capture the output from your own servers and clients rather than relying on defaults you remember. This step is complete when you have the exact names negotiated or configured on each system and can see whether any FrodoKEM group names appear at all.

  5. Confirm parameter set and matrix option with vendors

    For any system that will run FrodoKEM, ask the vendor which parameter set they ship (640, 976 or 1344) and which matrix generation option they use, AES-128 or SHAKE128. For ML-KEM, ask which of the 512, 768 or 1024 parameter sets they implement. Request written confirmation of these choices and of the version they apply to. This step is complete when each vendor has confirmed in writing the parameter set and matrix option for your deployed version, so you are not relying on an assumed match.

Common mix-ups between the two lattice schemes

Both FrodoKEM and ML-KEM rest on lattice problems, which leads to frequent mix-ups in vendor documents, tenders and audit requests. The cards below separate the names, the structures, the variant numbers, the sizes and the standardization paths so that each claim can be checked against its own source.

Lattice-based does not mean the same scheme

FrodoKEM and ML-KEM are both key encapsulation mechanisms built on learning with errors, but they are not the same scheme. FrodoKEM is described as built on the learning with errors problem with conservative parameters, and an IETF draft calls it an unstructured lattice based KEM. ML-KEM is based on learning with errors over module lattices. Sharing a family name does not mean sharing a construction, parameter set, key size or standard, so check the scheme name in each document before comparing them.

FrodoKEM site

Kyber and ML-KEM are one scheme

Kyber is not a separate algorithm from ML-KEM. The Kyber project describes Kyber's security as relying on Module-LWE, and FIPS 203 is the standardized form of Kyber. The name ML-KEM, Module-Lattice-Based Key-Encapsulation Mechanism, appears in the title of RFC 9935. When a vendor lists Kyber in one place and ML-KEM in another, check whether they refer to the same algorithm and the same standard version before treating them as two options.

CRYSTALS-Kyber

FrodoKEM variant numbers are not ML-KEM levels

FrodoKEM variants are named FrodoKEM-640, FrodoKEM-976 and FrodoKEM-1344, and the FrodoKEM site maps them to NIST levels 1, 3 and 5. ML-KEM is named ML-KEM-512, ML-KEM-768 and ML-KEM-1024. The numbers in these names come from different schemes and different parameter choices, so a 640 in one name does not correspond to a 512 in the other. Confirm the parameter set and level that a document actually states before mapping one name onto another.

liboqs FrodoKEM

Matching NIST levels do not mean matching sizes

A FrodoKEM variant and an ML-KEM variant can sit at the same NIST security category while having very different key and ciphertext sizes. For example, the liboqs page lists the FrodoKEM-640 public key at 9616 bytes, while RFC 9935 gives the ML-KEM-512 public key at 800 bytes and the ML-KEM-768 public key at 1184 bytes. Size planning for bandwidth, handshake messages and storage should use the byte figures from each scheme's own source, not the level label.

RFC 9935

ISO standardization is not NIST selection

The FrodoKEM site says FrodoKEM is standardized in ISO/IEC 18033-2:2006/Amd 2:2026 and was not selected by NIST, where it was a Round 3 alternate candidate. ML-KEM was published by NIST as FIPS 203 on 13 August 2024. An ISO standard and a NIST selection are different processes with different bodies and documents, and the draft describing FrodoKEM in ISO warns that its wording may change until the ISO standard is final. Ask which body's standard a vendor or procurement document refers to.

NIST PQC project

Questions people ask about ML-KEM and FrodoKEM

Are ML-KEM and FrodoKEM the same thing?

No. Both are key encapsulation mechanisms built on the learning with errors problem, but they rest on different lattice structures. ML-KEM is a module-lattice scheme, the standardized form of CRYSTALS-Kyber that NIST published as FIPS 203 on 13 August 2024. FrodoKEM is an unstructured lattice scheme, which the IETF draft draft-wang-ipsecme-hybrid-kem-ikev2-frodo-00 describes as an unstructured lattice based KEM. The module setting uses the Module-LWE problem introduced by Langlois and Stehle, while FrodoKEM does not use that structure. Both can be used to establish a shared secret, but they are separate schemes with separate parameter sets and specifications, so confirm which one a product actually implements.

Which is larger on the wire, ML-KEM or FrodoKEM, and why?

FrodoKEM is much larger. The liboqs FrodoKEM page lists a public key of 9616 bytes and a ciphertext of 9752 bytes for FrodoKEM-640, and 21520 and 21696 bytes for FrodoKEM-1344. By comparison, RFC 9935 gives an ML-KEM-768 public key of 1184 bytes and ciphertext of 1088 bytes, and an ML-KEM-512 public key of 800 bytes and ciphertext of 768 bytes. The difference follows from the structure: a module lattice lets ML-KEM work with small, structured matrices, while the unstructured lattice in FrodoKEM requires larger matrices and therefore larger keys and ciphertexts. The sizes are per variant, so compare the specific level you plan to deploy.

Which one does NIST or a national agency name in its standards?

NIST names ML-KEM. Its FIPS 203 is the primary standard for general encryption, and NIST announced it on 13 August 2024. FrodoKEM is not a NIST standard: NIST did not select it, and it was a Round 3 alternate candidate. FrodoKEM is standardized in ISO/IEC 18033-2:2006/Amd 2:2026, and BSI recommends it at levels 3 and 5 in TR-02102-1, while ENISA recommends it as one of two post-quantum KEMs. So a US federal reference points to ML-KEM, while European guidance and ISO documents name FrodoKEM. Check the specific standard or agency guidance your contract or regulator cites, since its wording decides which name applies.

Do organizations need both ML-KEM and FrodoKEM?

The sources do not say that any organization is required to deploy both. They show that the two schemes come from different standards tracks and that several jurisdictions point to different options, so a multi-standard environment may encounter both. The IETF draft for FrodoKEM notes that it is one of three KEMs in ISO standardization, alongside Kyber and Classic McEliece, and warns that its wording may change until the ISO standard is final. Whether you need one, both or a hybrid is a policy and procurement decision based on your regulators and customers. Ask your vendor which schemes it supports and which standard each one follows.

Which key exchange does a protocol negotiate by default?

It depends on the protocol and the library version. OpenSSL 3.5.0, released 8 April 2025, offers X25519MLKEM768 and X25519 as its default TLS key shares. Go 1.24 enables the X25519MLKEM768 key exchange by default in crypto/tls when Config.CurvePreferences is nil, and OpenSSH 10.0, released 9 April 2025, uses the hybrid mlkem768x25519-sha256 algorithm by default. These defaults are hybrid forms that combine ML-KEM with a traditional key exchange, not FrodoKEM. The IETF draft draft-ietf-tls-mlkem-05 lists a purely post-quantum ML-KEM option with the Recommended field set to N. Confirm the defaults in your own version, since build options and configuration can change what is negotiated.

What should I ask a vendor about the lattice scheme they ship?

Ask which exact scheme and parameter set they implement, and whether it is ML-KEM, FrodoKEM or another variant. Ask which standard the implementation follows, such as FIPS 203 or ISO/IEC 18033-2, and which version of that standard. Ask for the public key, secret key and ciphertext sizes in bytes for the variant you will run, and whether the default key exchange is hybrid or purely post-quantum. Ask whether the vendor's implementation has been validated or certified by an independent body, and by whom, and whether the module version is the one listed. Finally, ask how the scheme is configured, including how the public matrix is generated, since FrodoKEM's AES-128 and SHAKE128 variants differ on this point.

How DeployOpen helps with post-quantum key establishment choices

DeployOpen helps teams decide between a module-lattice key encapsulation mechanism such as ML-KEM and an unstructured-lattice option such as FrodoKEM, and then deploys the chosen setup in the client's own infrastructure. The work starts from a written scope and ends with documentation the client's security and compliance teams can review.

How we scope

  • Each engagement starts with a written scope that names the protocols, products and key exchange settings in use.
  • We record which systems would use ML-KEM and which would need an unstructured-lattice option, and why.
  • The scope lists the deliverables, timelines and responsibilities before any work begins, and most engagements are fixed-scope.

How we build

  • We configure the chosen key establishment settings in the client's own environment, such as TLS, SSH or IKEv2 components.
  • Where a hybrid key exchange is in scope, we check how each component algorithm is set and negotiated in the deployed stack.
  • We test the configuration, including interoperability with the client's existing clients, servers and libraries before go-live.

How we hand over

  • We document the algorithm, parameter sets, library versions and key sizes that each system actually uses.
  • The handover includes the evidence a reviewer would ask for, such as configuration files and test results for each system.
  • We confirm with the client which versions and standards their compliance requirements reference before sign-off.

How we support

  • Ongoing support is available as a retainer for upgrades, library changes and new standard revisions.
  • We review the documentation whenever a library or protocol version changes the default key exchange behavior.
  • Continuous testing can confirm that key establishment settings still match the documented design over time.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.