SecP256r1MLKEM768 vs SecP384r1MLKEM1024: two NIST-curve hybrid groups

SecP256r1MLKEM768 and SecP384r1MLKEM1024 are two TLS 1.3 hybrid key agreement groups from RFC 10024 that pair a NIST curve with an ML-KEM parameter set. The main difference is the pairing: P-256 with ML-KEM-768 versus P-384 with ML-KEM-1024, which changes message sizes and the shared secret length.

On this page

Which NIST-curve hybrid group a TLS deployment should name, and why it matters

A vendor document, tender or audit request may name SecP256r1MLKEM768 or SecP384r1MLKEM1024 as the hybrid key exchange group a TLS deployment supports. Both are defined in RFC 10024. SecP256r1MLKEM768 pairs secp256r1 ECDH with ML-KEM-768, and SecP384r1MLKEM1024 pairs secp384r1 ECDH with ML-KEM-1024. The pairing sets the size of every key exchange message and the length of the shared secret, so the choice has effects on handshake size and on the parameter set the reviewer will look for.

Architects, security leads and auditors meet this question when they review a TLS 1.3 configuration, when they read the group negotiation in a client or server, or when they check the IANA Supported Groups registry, where the two groups are listed as 4587 and 4589. The same pairing also appears in SSH and X.509 documents under different names, so a reviewer should confirm which document a vendor is referring to before comparing claims. Confirm which group names and parameter sets the vendor's version supports, and ask whether the group is offered, preferred or only available as a fallback.

The practical difference is in the message sizes and the shared secret. Per RFC 10024, the SecP256r1MLKEM768 client value is 1249 bytes and its shared secret is 64 bytes, while the SecP384r1MLKEM1024 client value is 1665 bytes and its shared secret is 80 bytes. Network and load balancer teams should check that their path and middleboxes handle the larger messages. IANA marks neither group as Recommended, so a reviewer should confirm the vendor's default group and whether the chosen group is configured explicitly rather than assumed.

How the two groups compare attribute by attribute

This table sets SecP256r1MLKEM768 against SecP384r1MLKEM1024 on each attribute the sources give, from the classical curve and ML-KEM parameter set to wire sizes, shared secret length and IANA registry status. Read each row as a pair of values, and note that the byte counts come from RFC 10024 and apply to the uncompressed ECDHE point format it specifies. The main takeaway is that the two groups differ in both the size of the classical share and the size of the ML-KEM messages, so the larger group costs more bytes in every handshake message.

AttributeSecP256r1MLKEM768SecP384r1MLKEM1024
Classical componentsecp256r1 ECDH, with a 65-byte uncompressed sharesecp384r1 ECDH, with a 97-byte uncompressed share
ML-KEM parameter setML-KEM-768, the middle parameter set defined in FIPS 203ML-KEM-1024, the larger parameter set defined in FIPS 203
Client value size1249 bytes: 65-byte ECDHE share plus 1184-byte encapsulation key1665 bytes: 97-byte ECDHE share plus 1568-byte encapsulation key
Server value size1153 bytes: 65-byte ECDHE share plus 1088-byte ciphertext1665 bytes: 97-byte ECDHE share plus 1568-byte ciphertext
Shared secret length64 bytes: 32 ECDHE bytes plus 32 ML-KEM bytes80 bytes: 48 ECDHE bytes plus 32 ML-KEM bytes
Shared secret orderECDHE secret first, then the ML-KEM secret, in both groupsECDHE secret first, then the ML-KEM secret, in both groups
IANA code point4587, registered with reference RFC 100244589, registered with reference RFC 10024
IANA Recommended columnN, the same value the registry gives the other hybrid group that is not recommendedN, the same value the registry gives the other hybrid group that is not recommended

What SecP256r1MLKEM768 and SecP384r1MLKEM1024 are

SecP256r1MLKEM768 is a hybrid key agreement group for TLS 1.3 that pairs ECDH on the NIST P-256 curve (secp256r1) with the ML-KEM-768 parameter set of FIPS 203. RFC 10024 defines it, and the IANA TLS Supported Groups registry assigns it code point 4587. The group's two components are combined so that the TLS shared secret draws from both.

  • Pairing: secp256r1 ECDH is combined with ML-KEM-768, as defined in RFC 10024.
  • Code point: The IANA TLS Supported Groups registry lists SecP256r1MLKEM768 as 4587, with RFC 10024 as the reference.
  • Client and server sizes: The client value is 1249 bytes (a 65-byte secp256r1 share plus a 1184-byte ML-KEM-768 encapsulation key). The server value is 1153 bytes (65 bytes plus the 1088-byte ciphertext).
  • Shared secret: The shared secret is 64 bytes, made of 32 ECDHE bytes followed by 32 ML-KEM bytes.
  • Listing: The group is listed in the IANA registry with the Recommended column marked "N".

Before relying on this group, confirm the code point and sizes against RFC 10024 and the IANA registry for the stack version you run, and check that your TLS library offers it.

Which differences change systems, configurations or decisions

The two groups share the same structure and differ in the NIST curve and ML-KEM parameter set they pair. Those choices change message sizes, the shared secret layout, and how each group is recorded in the registries that implementers and reviewers check.

Larger client and server messages

The P-384 group sends a 1665-byte client value and a 1665-byte server value. The P-256 group sends 1249 bytes from the client and 1153 bytes from the server. Any path that handles handshake messages, including load balancers, proxies, packet size limits and buffers, should be checked against the larger P-384 figures before the group is enabled.

P-384 message size
1665 bytes

Longer shared secret

The P-384 group derives an 80-byte shared secret, made of a 48-byte ECDHE part and a 32-byte ML-KEM part. The P-256 group derives 64 bytes, made of 32 and 32. Anything that consumes or logs the secret, or assumes a fixed length in code or test fixtures, must be updated to accept the longer value.

P-384 shared secret
80 bytes

ML-KEM-1024 is the larger parameter set

FIPS 203 defines ML-KEM-1024 as the larger of its two parameter sets and states that the sets offer increasing security at the cost of performance. Choosing the P-384 group therefore means choosing the larger parameter set, and the performance trade-off should be measured in the target environment rather than assumed.

FIPS 203

Same ordering in both groups

In both groups the client sends the ECDHE share first and the ML-KEM encapsulation key second, the server returns its ECDHE share then the ML-KEM ciphertext, and the ECDHE secret comes first in the shared secret. Parsers and test vectors written for one group can be checked against the other by changing only the lengths.

RFC 10024

Different IANA Recommended status

The IANA TLS Supported Groups registry marks X25519MLKEM768 as Recommended and marks SecP256r1MLKEM768 and SecP384r1MLKEM1024 as not Recommended. Teams that select groups by the Recommended column, or that document their choices against it, will treat the two NIST-curve groups differently from X25519MLKEM768.

IANA TLS registry

SSH counterpart uses SHA-384

The SSH method that pairs ML-KEM-1024 with ECDH on P-384 is mlkem1024nistp384-sha384, and it uses SHA-384. Teams that configure both TLS and SSH should confirm the matching SSH method name and hash for the P-384 pairing, and should not assume the TLS group name carries over to SSH.

RFC 10042

Where each group shows up in protocols, registries and vendor documents

SecP256r1MLKEM768 and SecP384r1MLKEM1024 are both defined for TLS 1.3 in RFC 10024, a Proposed Standard published in August 2026, which defines three hybrid key agreement groups alongside X25519MLKEM768. The IANA TLS Supported Groups registry assigns SecP256r1MLKEM768 the value 4587 and SecP384r1MLKEM1024 the value 4589, both referencing RFC 10024. The registry marks X25519MLKEM768 as Recommended "Y" and marks the two NIST-curve groups as "N". Teams that negotiate these groups should confirm the registry values against the current IANA page before writing them into configuration, and should check whether their TLS stack maps these exact names to the registry entries.

The same NIST-curve pairings appear in other specifications with different identifiers. RFC 10042, an Informational SSH specification dated August 2026, defines the combination of ML-KEM-1024 with ECDH on NIST P-384 as mlkem1024nistp384-sha384, which uses SHA-384. It also lists mlkem768nistp256-sha256 and marks it, mlkem768x25519-sha256 and mlkem1024nistp384-sha384 as SHOULD in the IANA "OK to Implement" column. Readers working on SSH should use these method names, not the TLS group names, when they check an SSH server or client configuration.

For certificates, the composite ML-KEM draft draft-ietf-lamps-pq-composite-kem-24 defines separate X.509 identifiers for the same pairings: id-MLKEM768-ECDH-P256-SHA3-256 (OID 1.3.6.1.5.5.7.6.59) and id-MLKEM1024-ECDH-P384-SHA3-256 (OID 1.3.6.1.5.5.7.6.63). These are draft identifiers and may change before publication. The OpenSSL 3.5 and Go 1.24 release notes do not mention either group, so the sources listed here give no support statement for SecP256r1MLKEM768 or SecP384r1MLKEM1024 in those libraries. Check the release notes and documentation for the exact library and product versions you run before assuming either group is available.

How to work out which of the two groups applies to a given system

This sequence establishes whether a system uses SecP256r1MLKEM768, SecP384r1MLKEM1024, or neither, and records that finding in a form an auditor or customer reviewer can check. It moves from the contractual requirement to the live negotiated group, so the answer rests on observed behavior rather than on vendor claims alone.

  1. Check the tender, contract or audit request

    Start by reading the tender, contract, security questionnaire or audit request for any named key exchange group or IANA code point. Record the exact wording, including whether the requirement names SecP256r1MLKEM768 (code point 4587), SecP384r1MLKEM1024 (code point 4589), a family such as hybrid ML-KEM, or no group at all. If the document names neither group, note that in writing, since the choice then falls to your own design and the remaining steps still produce the evidence you need. This step is done when the requirement is quoted in your working record with its source document and section.

  2. Inventory the TLS endpoints and their group lists

    List every TLS endpoint in scope, including load balancers, reverse proxies, API gateways, internal services and any system that terminates TLS on the client side. For each one, record the supported group list the component advertises, which is the configuration key or setting that names the groups it offers. Keep endpoints that cannot be upgraded in a separate list, since they will need a documented exception. This step is done when every in-scope endpoint has a row showing its component, version and advertised groups.

  3. Check vendor documentation and library versions

    For each component in the inventory, check the vendor's documentation and the version of the TLS library it links against for SecP256r1MLKEM768 or SecP384r1MLKEM1024. Do not assume support from a release name alone: the OpenSSL 3.5 and Go 1.24 release notes do not mention either group, so their absence from those notes is not a statement of support. Ask each vendor in writing whether the group is supported, enabled by default, or only available behind a configuration flag, and file the answer with the version it applies to. This step is done when every component row has a written support statement or a recorded gap.

  4. Test the negotiated group in staging

    In a staging environment that mirrors production configuration, connect a client that offers only one of the two groups to each endpoint, then repeat with the other group. Capture the negotiated group from the handshake using a TLS inspection tool or the library's debug output, and confirm which group the server selected. Also confirm that the server rejects or falls back cleanly when the group is not offered, and record that behavior. Because RFC 10024 defines the wire format for each group, a handshake that completes with the expected group is the observable check; if it does not complete, record the failure before drawing a conclusion. This step is done when each endpoint shows a captured negotiated group and a recorded fallback result for each test.

  5. Record the evidence for auditor or customer review

    Assemble the outputs from the previous steps into one dated evidence file: the quoted requirement, the endpoint inventory, the vendor statements, the staging handshake captures and the exceptions list. For each endpoint, state the group it negotiates and the version it was tested on, and do not extend that finding to other versions or configurations. Hand the file to the auditor or customer reviewer alongside the requirement it answers. This step is done when the evidence file can be traced from each requirement to a captured handshake or a documented exception.

Common mix-ups between these two groups and nearby names

SecP256r1MLKEM768 and SecP384r1MLKEM1024 are easy to confuse with each other, with X25519MLKEM768, with SSH method names and with composite X.509 identifiers. The cards below separate the TLS group names from the SSH and certificate names, and point to the registry entries and release notes that settle each question.

Two NIST-curve groups are not the Recommended group

Both SecP256r1MLKEM768 and SecP384r1MLKEM1024 were defined in RFC 10024 and are registered in the IANA TLS Supported Groups registry with Recommended set to "N". X25519MLKEM768 is the group marked "Y". Reading the three groups as equal options because they appear together in one RFC leads to the wrong default. Check the Recommended column and the groups your TLS stack actually offers before you write a policy that names one of them.

IANA TLS Parameters

P-256 and P-384 are not the ML-KEM sizes

The number in a group name refers to different components. In SecP256r1MLKEM768, 256 is the secp256r1 curve and 768 is the ML-KEM-768 parameter set. In SecP384r1MLKEM1024, 384 is the secp384r1 curve and 1024 is ML-KEM-1024. The curve sizes and the ML-KEM sizes do not match in pairs, and the ML-KEM parameter set is not tied to the curve size. Reading a group name as a single security level hides the two separate choices that the name encodes.

FIPS 203 text

The TLS group name is not the SSH method name

The SSH specification RFC 10042 defines mlkem1024nistp384-sha384 for ML-KEM-1024 paired with ECDH on NIST P-384, and lists mlkem768nistp256-sha256 as a SHOULD. These are SSH key exchange method names, and they use a different naming style and a SHA-2 hash suffix that the TLS group names do not carry. Matching a TLS group to an SSH method by the digits alone will produce a wrong mapping. Check each protocol's own registry before you map one name to the other.

RFC 10042

Composite X.509 identifiers are not TLS groups

The composite ML-KEM draft defines id-MLKEM768-ECDH-P256-SHA3-256 and id-MLKEM1024-ECDH-P384-SHA3-256 as certificate identifiers, with their own OIDs. These look like the TLS group names for the same curves and parameter sets, but they name a certificate key form, not a TLS key exchange group. A certificate that carries a composite identifier does not show that a server negotiates SecP256r1MLKEM768 or SecP384r1MLKEM1024. Keep the certificate review and the TLS group review as separate checks.

Composite KEM draft

Library silence is not a support statement

The OpenSSL 3.5 release notes and the Go 1.24 release notes do not mention SecP256r1MLKEM768 or SecP384r1MLKEM1024. Reading that silence as a claim that the library supports either group is an error, and so is reading it as a claim that it does not. Those notes give no support statement either way. Confirm each group against the library version you run, using its configuration output or its own documentation.

OpenSSL 3.5 notes

Questions people ask about SecP256r1MLKEM768 and SecP384r1MLKEM1024

Are SecP256r1MLKEM768 and SecP384r1MLKEM1024 the same group?

No. They are two different hybrid key exchange groups defined in RFC 10024. SecP256r1MLKEM768 pairs secp256r1 ECDH with ML-KEM-768, while SecP384r1MLKEM1024 pairs secp384r1 ECDH with ML-KEM-1024. Each has its own IANA TLS Supported Groups code point: 4587 for SecP256r1MLKEM768 and 4589 for SecP384r1MLKEM1024. Both use the same message ordering pattern, with the ECDHE share sent first and the ML-KEM value second, but their wire sizes and shared secret lengths differ. The client value is 1249 bytes for the first group and 1665 bytes for the second, and the shared secret is 64 bytes and 80 bytes respectively. Confirm the exact group name and code point your TLS stack negotiates before treating the two as interchangeable.

Which of the two uses the larger ML-KEM parameter set?

SecP384r1MLKEM1024 uses ML-KEM-1024, the larger parameter set. FIPS 203 defines ML-KEM-768 and ML-KEM-1024 and states that the parameter sets offer increasing security at the cost of performance. For TLS key exchange, the ML-KEM-1024 encapsulation key is 1568 bytes, compared with 1184 bytes for ML-KEM-768. The SecP384r1MLKEM1024 group also uses the larger NIST P-384 curve, so its ECDH share is 97 bytes rather than 65 bytes. The larger parameter set and curve raise the handshake message sizes, which affects bandwidth and packet fragmentation. Measure the effect in your own environment before rollout.

Which one is newer, and where is each standardized?

Both groups are first published in RFC 10024, a Proposed Standard published in August 2026, which defines them for TLS 1.3 alongside X25519MLKEM768. The ML-KEM parameter sets they use come from FIPS 203, which NIST published on 13 August 2024. In the SSH context, RFC 10042 (August 2026, Informational) defines the ML-KEM-1024 with NIST P-384 pairing as mlkem1024nistp384-sha384 and lists mlkem768nistp256-sha256 as SHOULD in the IANA "OK to Implement" column. The composite ML-KEM draft for X.509 defines separate combinations for each pairing. The sources do not say which of these uses is more mature, so check the status of each document and your implementation's release notes.

Does a deployment need both groups?

The sources do not require both. A server or client can negotiate either group, and RFC 10024 defines them as separate options within the TLS 1.3 key exchange. Each group is a separate offer, so a client that supports both gives the server a choice. The IANA TLS Supported Groups registry marks X25519MLKEM768 as Recommended "Y" and marks SecP256r1MLKEM768 and SecP384r1MLKEM1024 as "N". RFC 9954 states that the Recommended column for hybrid combinations should be "N", so the registry does not mark either NIST-curve group as the preferred choice. Decide which group to offer based on your policy, your peers' support, and any mandate that applies to you.

Which group does a customer or regulator ask for?

The sources do not record a customer or regulator naming either group. FIPS 203 defines ML-KEM-1024 as the larger parameter set, and the NIST-curve pairings appear in RFC 10024 and RFC 10042, but no source listed here says a regulator requires one of these two groups. Some public-sector or defense customers may refer to parameter sets or categories in their requirements, so ask the customer which ML-KEM parameter set and which elliptic curve they expect. Record the answer in writing so the choice is traceable during an assessment.

What should I ask a vendor about either name?

Ask the vendor to confirm the exact group name and IANA code point it negotiates, either 4587 or 4589, and the version of its TLS library that implements it. Ask whether it follows RFC 10024 and which ML-KEM parameter set it uses. Ask how it orders the ECDHE and ML-KEM components in the shared secret and the key share, because RFC 10024 places the ECDHE secret first. Ask for its handshake message sizes and whether it has been tested against peers that offer the other group. Ask whether the vendor's release notes mention the group, since the OpenSSL 3.5 and Go 1.24 release notes do not mention either name.

How do the handshake sizes compare, and what do they affect?

The client value is 1249 bytes for SecP256r1MLKEM768 and 1665 bytes for SecP384r1MLKEM1024. The server value is 1153 bytes and 1665 bytes respectively. The shared secret is 64 bytes for SecP256r1MLKEM768 and 80 bytes for SecP384r1MLKEM1024. These figures come from RFC 10024. Larger key shares can cause more TCP segments, more packet fragmentation, and higher bandwidth use during the handshake, which matters on constrained or high-latency networks. Test the handshake under the conditions your deployment will face, because the sources give the message sizes but no measured latency figures.

How DeployOpen helps teams plan and check post-quantum TLS group configuration

DeployOpen helps teams decide whether SecP256r1MLKEM768 or SecP384r1MLKEM1024 fits their TLS configuration, and then checks that the chosen group is offered and negotiated as intended. The work is scoped to the servers, clients and load balancers the team runs, using the parameter sizes and registry status documented in RFC 10024 and the IANA TLS Supported Groups registry.

How we scope

  • Inventory which TLS endpoints, libraries and clients need a hybrid group, and which group names each one supports.
  • Record the client and server message sizes each candidate group produces, since these affect handshake planning and middleboxes.
  • Agree the scope in writing as a fixed-scope engagement, with deliverables and timelines confirmed before work starts.

How we build

  • Configure the chosen group order on your TLS terminators, keeping X25519MLKEM768 and any fallback groups explicit in the config.
  • Test handshakes with real clients to confirm which group is selected, including the 1665-byte SecP384r1MLKEM1024 server value.
  • Check that hybrid group selection behaves correctly against your classical fallback and your monitoring tools.

How we hand over

  • Deliver a written configuration record listing each group, its registry status and the libraries that negotiated it.
  • Document the test results, including which clients did and did not offer each group, so reviewers can repeat the checks.
  • Hand over runbooks for changing group order, so your team can update the configuration without a new engagement.

How we support

  • Ongoing support is available as a retainer for upgrades, library version changes and new IANA registry entries.
  • Retesting after library or configuration changes confirms the selected group still matches the documented setup.
  • Confirm compatibility with the exact library versions you run, since the vendor release notes you check may not mention either group.

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.