ML-KEM-512 vs ML-KEM-1024: the two ends of the range

ML-KEM-512 and ML-KEM-1024 are the smallest and largest of the three ML-KEM parameter sets in FIPS 203. They differ mainly in key and ciphertext size and in NIST security category, and which one applies depends on what your standard, customer or TLS configuration names.

On this page

How ML-KEM-512 and ML-KEM-1024 differ in size and security category

A vendor document, tender or audit request names ML-KEM-512 or ML-KEM-1024, and you need to know what the choice changes. Both are parameter sets of the Module-Lattice-Based Key-Encapsulation Mechanism defined in FIPS 203, which NIST published as a final standard on 13 August 2024, and they sit at opposite ends of the three-set range (the third is ML-KEM-768). The distinction that matters most is size and category: ML-KEM-1024 has a larger encapsulation key and ciphertext, at 1568 bytes each, against 800 and 768 bytes at ML-KEM-512, and it is mapped to NIST security level 5 where ML-KEM-512 is mapped to level 1. The sizes in this paragraph come from RFC 9935, and the level mapping from the liboqs project's table, so check both against the version you run.

The question reaches solution architects choosing a key exchange configuration, security leads writing a cryptographic policy, and reviewers checking an answer against a profile. It tends to arrive in three places: TLS configuration, where each set maps to its own code point (0x0200 for MLKEM512 and 0x0202 for MLKEM1024 in draft-ietf-tls-mlkem-11); library choice, where support varies by language and library; and certificate profiles, where RFC 9935 assigns separate X.509 algorithm identifiers to each set.

The bigger the set, the bigger the messages. The TLS client key share is 800 bytes at ML-KEM-512 and 1568 bytes at ML-KEM-1024, and the decapsulation key grows from 1632 to 3168 bytes, while the 64-byte seed and 32-byte shared secret stay the same size at both ends. Confirm the on-wire impact against your own handshake sizes, MTU and middlebox limits, because the sources give the per-message figures but not your network's behaviour. Library support is the next check: Go 1.24's crypto/mlkem implements ML-KEM-768 and ML-KEM-1024 only, so a Go service cannot select ML-KEM-512 through that package, while OpenSSL 3.5 documents EVP_KEM-ML-KEM-512 alongside the other two variants.

For policy, the one document in the sources that names a single set is draft-becker-cnsa2-tls-profile-05, an Informational Internet-Draft dated 19 July 2026 that is not an IETF standard. It states that CNSA 2.0 requires ML-KEM-1024 for key establishment in TLS and does not mention the smaller sets. CNSA 2.0 applies to national security systems, so a commercial organization should treat it as a reference, and confirm with any federal customer whether a contract requires it. Ask each vendor which set and which hybrid group it offers, since RFC 10024 defines only the SecP384r1MLKEM1024 hybrid for ML-KEM-1024 and none for ML-KEM-512.

ML-KEM-512 and ML-KEM-1024 side by side

This table sets the smallest and largest ML-KEM parameter sets against each other, one attribute per row, so you can read the size, security category and protocol identifiers for each. The rows that differ most are the encapsulation key, ciphertext and decapsulation key sizes, which grow noticeably from ML-KEM-512 to ML-KEM-1024, while the shared secret stays at 32 bytes in both. Read the sizes as the main driver of handshake and storage cost, and check the library and profile rows before you commit to a parameter set, because support differs between them.

AttributeML-KEM-512ML-KEM-1024
Defining standard and dateFIPS 203, final standard published 13 August 2024 by NIST, which defines the three parameter setsFIPS 203, final standard published 13 August 2024 by NIST, which defines the three parameter sets
Encapsulation key size800 bytes (RFC 9935)1568 bytes (RFC 9935)
Decapsulation key size1632 bytes (RFC 9935; draft-ietf-tls-mlkem-11)3168 bytes (RFC 9935; draft-ietf-tls-mlkem-11)
Ciphertext size768 bytes (RFC 9935)1568 bytes (RFC 9935)
Shared secret size32 bytes (draft-ietf-tls-mlkem-11)32 bytes (draft-ietf-tls-mlkem-11)
NIST security levelLevel 1 (liboqs ML-KEM)Level 5 (liboqs ML-KEM)
TLS codepoint0x0200 (draft-ietf-tls-mlkem-11)0x0202 (draft-ietf-tls-mlkem-11)
X.509 algorithm OID2.16.840.1.101.3.4.4.1 (RFC 9935)2.16.840.1.101.3.4.4.3 (RFC 9935)
Library supportOpenSSL 3.5 documents EVP_KEM-ML-KEM-512; Go 1.24 crypto/mlkem does not include itOpenSSL 3.5 documents EVP_KEM-ML-KEM-1024; Go 1.24 crypto/mlkem includes it

What ML-KEM-512 and ML-KEM-1024 are for

ML-KEM-512 is one of the three parameter sets defined in NIST FIPS 203, the Module-Lattice-Based Key-Encapsulation Mechanism Standard, which NIST published as a final standard on 13 August 2024. FIPS 203 specifies ML-KEM for establishing a shared secret key over a public channel, and the three parameter sets are described in its abstract as offering increasing security strength and decreasing performance. ML-KEM-512 sits at the smaller end of that range. The liboqs project lists it at NIST security category 1, and NIST's evaluation criteria define category 1 by comparison with key search on a 128-bit-key block cipher such as AES128.

  • Encapsulation key: 800 bytes, according to RFC 9935.
  • Decapsulation key: 1632 bytes, according to RFC 9935.
  • Ciphertext: 768 bytes, according to RFC 9935.
  • Shared secret: 32 bytes, the same size as at every ML-KEM parameter set.
  • Identifiers: TLS codepoint 0x0200 (MLKEM512) in draft-ietf-tls-mlkem-11, and X.509 OID 2.16.840.1.101.3.4.4.1 (id-alg-ml-kem-512) in RFC 9935.

Before relying on ML-KEM-512 in a design, confirm the category and sizes against the standard and your library version, and check whether the profiles your environment follows name this set at all.

Which differences change configuration and decisions

ML-KEM-512 and ML-KEM-1024 are the two ends of the ML-KEM parameter range, and the gap between them shows up in key and ciphertext sizes, in TLS key shares, in security categories and in which libraries and profiles expose each one. The cards below cover the differences that affect what you configure, what you test and what you ask a vendor to confirm.

Encapsulation key and ciphertext size

The encapsulation key grows from 800 bytes at ML-KEM-512 to 1568 bytes at ML-KEM-1024, and the ciphertext grows from 768 bytes to 1568 bytes. Any buffer, message field or certificate subject public key field sized for one set will fail on the other, so check every fixed-length field in your stack before changing the parameter set. Confirm the sizes against the RFC that defines your encoding, since the numbers are published in RFC 9935.

RFC 9935

Decapsulation key size and storage

The decapsulation key grows from 1632 bytes at ML-KEM-512 to 3168 bytes at ML-KEM-1024. The 64-byte seed and the 32-byte shared secret are the same size at both ends, so a system that stores the seed rather than the full expanded key keeps the same storage footprint across the range. Check which form your HSM, key store or secrets manager holds, because that decides how much the larger key affects storage and backups.

TLS key share size

In the TLS draft, the client key share is 800 bytes for ML-KEM-512 and 1568 bytes for ML-KEM-1024. The codepoints also differ, with MLKEM512 at 0x0200 and MLKEM1024 at 0x0202. Load balancers, proxies and middleboxes that parse ClientHello messages may impose size limits, so test handshakes with the larger key share before deployment.

TLS ML-KEM draft

NIST security category

ML-KEM-512 is listed at NIST security level 1 and ML-KEM-1024 at level 5 in the liboqs table. NIST defines level 1 against key search on a 128-bit-key block cipher and level 5 against key search on a 256-bit-key block cipher. Record the category your policy requires, because a requirement written against a level or a bit strength will not map to the smaller set without an explicit decision.

Category range
Level 1 to 5
NIST security criteria

Profiles that name ML-KEM-1024

The draft CNSA 2.0 TLS profile states that CNSA 2.0 requires ML-KEM-1024 for key establishment in TLS and does not mention the smaller parameter sets. This draft is Informational and not an IETF standard, and it applies to national security systems. A commercial organization that works with a federal customer should confirm with that customer which parameter set the contract requires before choosing ML-KEM-512.

CNSA 2.0 TLS draft

Not interchangeable across libraries and profiles

Support for each parameter set varies by library. Go 1.24's crypto/mlkem implements ML-KEM-768 and ML-KEM-1024 only, so a Go program cannot use ML-KEM-512 through that package. OpenSSL 3.5 documents all three variants, and RFC 10024 defines a hybrid group only for ML-KEM-1024. Check each component's documentation and test interoperability for the exact versions you run, because a parameter set that works in one component may not be available in another.

Go 1.24 release notes

Where ML-KEM-512 and ML-KEM-1024 appear in TLS, certificates and libraries

Each ML-KEM parameter set is named in a different place, and the two ends of the range do not appear in the same profiles. In draft-ietf-tls-mlkem-11, the pure ML-KEM key exchange groups are assigned as MLKEM512 at 0x0200 and MLKEM1024 at 0x0202, with the TLS client key share at 800 bytes for ML-KEM-512 and 1568 bytes for ML-KEM-1024. Those codepoints belong to a draft, so a deployment that negotiates them must confirm which draft revision its TLS stack implements before treating the values as final. The hybrid group that ships in RFC 10024 is different: SecP384r1MLKEM1024 (0x11ED) is the only hybrid there that uses ML-KEM-1024, and the RFC defines no hybrid group that uses ML-KEM-512. A reviewer checking a TLS configuration should look for that specific group name rather than assume a smaller variant is available in hybrid form.

Certificates use separate identifiers. RFC 9935 assigns the X.509 algorithm OID 2.16.840.1.101.3.4.4.1 to id-alg-ml-kem-512 and 2.16.840.1.101.3.4.4.3 to id-alg-ml-kem-1024, so an ML-KEM certificate names its parameter set in the OID rather than in a separate field. Teams building a public key infrastructure should confirm that their certificate authority and client tooling recognize the OID for the parameter set they chose, since a certificate issued under one OID will not be accepted by a verifier that expects the other.

Library support is uneven across the two ends. OpenSSL 3.5 documents all three variants through EVP_KEM-ML-KEM-512, EVP_KEM-ML-KEM-768 and EVP_KEM-ML-KEM-1024, so a team using OpenSSL can select either end of the range by name. Go 1.24 is different: its crypto/mlkem package implements ML-KEM-768 and ML-KEM-1024 only, so a Go program cannot use ML-KEM-512 through that package at all. Anyone whose application mixes Go services with other components should note that the smallest parameter set is available in some stacks and absent in others.

Before relying on any of these names, confirm the exact version and draft revision your stack ships. The codepoints come from a draft, the OIDs come from a published RFC, and the library behavior depends on the release, so each claim applies only to the version the source describes. Ask each vendor or project to state which parameter sets its TLS, certificate and key-exchange components accept, and check that answer against the codepoints, OIDs and library names above.

How to work out which parameter set applies to your system

This sequence tells you which ML-KEM parameter set your system is required to use or is actually negotiating, and where that answer should be recorded. It separates what a standard, contract or customer requirement says from what your deployment advertises on the wire and what your library and vendor documentation confirm for the version you run. Work through the steps in order, and keep the output of each one as evidence for your review.

  1. Identify the requirement that names the parameter set

    Start with the document that sets the requirement for your system: a contract clause, a customer security questionnaire, an internal policy, or a federal program requirement. Record the exact parameter set the text names, whether that is ML-KEM-512, ML-KEM-768 or ML-KEM-1024, and whether the requirement is a minimum, a fixed choice or a general reference to the algorithm family. The step is complete when you have a written line from the source that names one or more parameter sets, with the clause or section number beside it. If the requirement names only the algorithm family and not a parameter set, record that fact and move on, because the choice then falls to your own configuration.

  2. Check the CNSA 2.0 TLS profile draft

    If your system is in scope for CNSA 2.0 or is being measured against it, read draft-becker-cnsa2-tls-profile-05. This is an Internet-Draft dated 19 July 2026 and it is informational, not an IETF standard, so treat its statements as the profile author's reading of the requirement rather than a binding IETF decision. The draft states that CNSA 2.0 requires ML-KEM-1024 for key establishment in TLS and does not mention the smaller parameter sets. Note that finding in your record, along with the date and status of the draft. The step is complete when you can state whether the draft names ML-KEM-1024 as the only acceptable key establishment set for TLS in your context.

  3. Read the TLS group your deployment advertises

    Next, find out what your deployment actually offers during a TLS handshake. Capture the supported groups and key shares your servers and clients advertise, using a handshake trace or the configuration key that sets the groups. In draft-ietf-tls-mlkem-11, MLKEM512 is codepoint 0x0200 and MLKEM1024 is 0x0202, and the client key share is 800 bytes for ML-KEM-512 against 1568 bytes for ML-KEM-1024. Also check the hybrid groups, because RFC 10024 defines no hybrid group using ML-KEM-512 and its only ML-KEM-1024 hybrid is SecP384r1MLKEM1024 (0x11ED). The step is complete when you have a list of the exact group identifiers your deployment offers, each matched to a parameter set.

  4. Check which library version exposes each variant

    Parameter set availability depends on the library and its version, so record the library your system uses and the version in production. Go 1.24's crypto/mlkem implements ML-KEM-768 and ML-KEM-1024 only, so a Go program built on that package cannot select ML-KEM-512. OpenSSL 3.5 documents all three variants through EVP_KEM-ML-KEM-512, EVP_KEM-ML-KEM-768 and EVP_KEM-ML-KEM-1024. The liboqs project lists the three variants with their NIST levels, which helps when you map a variant to a security category. The step is complete when you have a table of each component, its version and the parameter sets it exposes, and you can say which of your components cannot produce a given set at all.

  5. Compare the advertised sets against the requirement

    Set the output of the earlier steps side by side. For each requirement you recorded in the first step, check whether every component on the path offers the required parameter set, and whether the negotiated group in a real handshake is the one the requirement names. Where a requirement names ML-KEM-1024 and a client or server offers only ML-KEM-512 or ML-KEM-768, that gap needs a decision before go-live. The step is complete when you have a pass or gap result for each requirement and component pair, written with the evidence that supports it.

  6. Confirm the settings with vendor documentation

    Before you rely on a parameter set in production, confirm it in the documentation for the exact version in use, because release notes and defaults change between versions. Check the vendor's own statement of which ML-KEM variants it implements, which groups it enables by default, and how to select a specific set in configuration. Where the documentation is silent on a point, record that gap and ask the vendor in writing rather than assuming behavior. The step is complete when each finding in your table is matched to a vendor statement for your version, or flagged as unconfirmed.

  7. Record the result and the evidence behind it

    Write a short record that names the parameter set your system must use, the parameter set it actually negotiates, the component versions, the requirement or clause that drives the choice, and the date you checked. Attach the handshake trace, the library version output and the vendor documentation reference so a reviewer can repeat the check. Note any gaps and the owner of each one. The step is complete when a security lead or auditor reading only the record can see which parameter set applies, why it applies, and how it was verified.

Which bodies name ML-KEM-1024 and which name ML-KEM-512

The sources listed on this page record one body that names a specific ML-KEM parameter set for key establishment in TLS: the draft-becker-cnsa2-tls-profile-05 Internet-Draft, dated 19 July 2026. It is an Informational document and is not an IETF standard. It states that CNSA 2.0 requires ML-KEM-1024 for key establishment in TLS, and it does not mention the smaller ML-KEM-512 or ML-KEM-768 parameter sets. Teams reading it should treat the requirement as a statement of what that draft says CNSA 2.0 requires, and confirm the current text of CNSA 2.0 and any draft revisions before relying on it in a design or a vendor response.

CNSA 2.0 and the NSA guidance that accompanies it apply to national security systems. This page does not present either as binding on commercial organizations. A commercial organization may use the requirement as a reference point, and may meet it through a contract with a federal customer when that contract says so. Where the sources are silent, the page does not claim that any body requires ML-KEM-512 in any profile.

The sources also show ML-KEM-512 appearing in implementation and registry material without being named as required by any mandate. RFC 10024 defines no hybrid group that uses ML-KEM-512, and its only ML-KEM-1024 hybrid is SecP384r1MLKEM1024. Go 1.24's crypto/mlkem package implements ML-KEM-768 and ML-KEM-1024 only, so a Go program cannot select ML-KEM-512 through that package. OpenSSL 3.5 documents all three variants.

For a reviewer, the practical checks are these: ask a vendor which ML-KEM parameter set its TLS or key exchange configuration uses, confirm the group code point it advertises, and check whether any profile the organization must meet names a specific set. Confirm the library and version in use, since support differs between runtimes.

Questions people search about ML-KEM-512 and ML-KEM-1024

Are ML-KEM-512 and ML-KEM-1024 the same thing?

No. They are two distinct parameter sets of the same algorithm, ML-KEM, defined in NIST FIPS 203, which specifies three parameter sets: ML-KEM-512, ML-KEM-768 and ML-KEM-1024. The two differ in key and ciphertext sizes and in the NIST security category their design targets. ML-KEM-512 is listed at NIST level 1 and ML-KEM-1024 at NIST level 5 in the liboqs table. Both produce a 32-byte shared secret, so the difference lies in the sizes of the keys and ciphertext that travel on the wire, not in the length of the derived secret. Treat them as separate settings, and confirm which one a product or profile actually uses before assuming a match.

Which is larger, ML-KEM-512 or ML-KEM-1024?

ML-KEM-1024 is larger. Its encapsulation key is 1568 bytes against 800 bytes for ML-KEM-512, and its ciphertext is 1568 bytes against 768 bytes (RFC 9935). Its decapsulation key is 3168 bytes against 1632 bytes (draft-ietf-tls-mlkem-11). The 64-byte seed and the 32-byte shared secret are the same size at both ends. In TLS, the client key share for ML-KEM-1024 is 1568 bytes against 800 bytes for ML-KEM-512 (draft-ietf-tls-mlkem-11). Larger keys and ciphertexts mean larger handshake messages, which matters for constrained links and certificate chains. Check the exact sizes against the version of each specification your implementation follows.

Which parameter set does a compliance rule or customer require?

It depends on who sets the requirement. The draft-becker-cnsa2-tls-profile-05 Internet-Draft, dated 19 July 2026 and Informational rather than an IETF standard, states that CNSA 2.0 requires ML-KEM-1024 for key establishment in TLS and does not mention the smaller parameter sets. CNSA 2.0 applies to national security systems, so a commercial organization should not treat it as binding on itself, though it may meet it through a contract with a federal customer. Other customers or regimes may specify a different set, or name none. Ask the customer or your compliance lead which parameter set is required, and whether that requirement is in a contract, a policy or a reference document.

Do I need both ML-KEM-512 and ML-KEM-1024?

Not necessarily. A deployment usually selects one parameter set per key exchange configuration, and the choice depends on the security category your requirements name, the sizes your links and handshakes can absorb, and what your peers and products support. Running more than one set can make sense when you must interoperate with peers that support different ones, but that adds configuration and testing work. Note that RFC 10024 defines no hybrid group using ML-KEM-512, and its only ML-KEM-1024 hybrid is SecP384r1MLKEM1024. Go's crypto/mlkem package implements ML-KEM-768 and ML-KEM-1024 only, so ML-KEM-512 may not be available in every language runtime. Verify support in each component you run before deciding.

What should I ask a vendor about the ML-KEM parameter set in their TLS and certificate profiles?

Ask which ML-KEM parameter set each TLS group and certificate profile uses, and whether it is ML-KEM-512, ML-KEM-768 or ML-KEM-1024:

  • The TLS group identifier they advertise, such as MLKEM512 (0x0200) or MLKEM1024 (0x0202) in draft-ietf-tls-mlkem-11, or a hybrid group.
  • The X.509 algorithm OID in certificates, such as id-alg-ml-kem-512 or id-alg-ml-kem-1024 in RFC 9935.
  • The exact version of the specification and library they implement, since parameter identifiers can change between drafts.
  • Whether the parameter set is configurable, and who sets it.

Ask for the configuration evidence rather than a general statement. Confirm the answers against the release you will deploy.

How much does it cost to move from ML-KEM-512 to ML-KEM-1024?

No figure for this is supplied by the sources on this page, so this cannot be quantified here. The cost depends on what has to change: the parameter set setting in each component, certificate reissuance where a profile names a parameter set, retesting of handshake sizes and timing on your links, and any compatibility work with peers. These costs are typically one-time for configuration and testing, with recurring costs for ongoing maintenance and upgrades. When requesting a quote, ask the vendor or implementer to break out configuration, testing, certificate work and any ongoing support as separate line items, and state the scope in writing before work begins.

Is the ML-KEM-1024 handshake noticeably heavier than ML-KEM-512 in practice?

Handshake messages are larger with ML-KEM-1024. The client key share is 1568 bytes against 800 bytes for ML-KEM-512 in draft-ietf-tls-mlkem-11, and the ciphertext is 1568 bytes against 768 bytes in RFC 9935. The sources on this page do not give processing time or throughput figures for either set, so measure both on your own hardware and network before drawing performance conclusions. Test with the exact library versions you run, since implementation details and defaults differ between releases.

How DeployOpen works on this

DeployOpen starts with the parameter set your systems are required or expected to use, then checks where each ML-KEM size lands in your protocols, libraries and certificates before anything is changed. We build and test the chosen set against your real endpoints and hand over the configuration, sizes and evidence your reviewers will ask for.

How we scope

  • We record which protocols, libraries and key stores in your estate will carry ML-KEM keys and ciphertexts, and the sizes each one must handle.
  • We confirm whether a contract, profile or policy in your environment names a specific parameter set, and capture that requirement in writing.
  • Engagements are fixed-scope, so the parameter sets to be tested, the systems in scope and the deliverables are agreed in writing before work starts.

How we build

  • We configure the agreed parameter set in your TLS terminators, VPN gateways or applications and confirm which named variants each library exposes.
  • We test negotiation and handshakes against the sizes in the 800 to 1568 byte encapsulation key range, so message and buffer limits are checked.
  • We check which of your libraries lack a given parameter set, such as Go's crypto/mlkem package, and document the workaround or alternative.

How we hand over

  • You receive a written record of the chosen parameter set, the systems it applies to and the sizes each system was tested with.
  • The record includes the group identifiers and OIDs your reviewers can check against the cited RFCs and drafts, so they can verify each claim.
  • We document any system where the requirement and the library support do not match, so you can decide how to resolve it.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so parameter choices can be rechecked as libraries and drafts change.
  • We can retest after library upgrades or protocol updates, and report any change in how a parameter set is negotiated or advertised.
  • Questions about a specific size, group or certificate OID can be answered from your own environment, with the sources you need for your file.

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.