Are X25519MLKEM768 and MLKEM768X25519 the same key exchange?
X25519MLKEM768 and mlkem768x25519-sha256 are not the same identifier, and a reviewer should not treat them as interchangeable. X25519MLKEM768 is the TLS 1.3 NamedGroup name defined in RFC 10024, and mlkem768x25519-sha256 is the SSH key exchange method name defined in RFC 10042. Both pair ML-KEM-768 with X25519, but the two names state the components in different orders, and that ordering is the distinction that matters most when a document, tender or audit request names one of them.
The question usually comes from network, security and vendor-risk reviewers. A vendor's TLS configuration may list X25519MLKEM768 while an SSH server lists mlkem768x25519-sha256, and an audit request may ask for one name without saying which protocol it refers to. Reviewers should record both the protocol and the exact name, since the same pairing appears under different identifiers depending on the stack.
The order also matters on the wire and in the derived secret. RFC 9954 says shares in a hybrid concatenation follow the order of the algorithms in the NamedGroup definition, but RFC 10024 says X25519MLKEM768 reverses that convention for historical reasons, so the client sends the ML-KEM encapsulation key first and the X25519 share second, and the ML-KEM secret comes first in the shared secret. In SSH, RFC 10042 defines C_INIT as the ML-KEM public key followed by the X25519 public key, and computes the key as K = HASH(K_PQ || K_CL) with SHA-256. Confirm the exact ordering and hash against the RFC text and each vendor's implementation rather than assuming they match.
Two practical checks follow from this. First, confirm which protocol each system actually negotiates, since TLS peers carry the group as a codepoint (4588 for X25519MLKEM768 in the IANA TLS Supported Groups registry) while SSH peers negotiate a method name string in KEXINIT. Second, do not treat a name match in one protocol as evidence of support in the other. Mozilla's Firefox bug also uses the SSH-style name mlkem768x25519 for a TLS feature, so the name alone does not identify the protocol.
How the two names differ attribute by attribute
This table sets the TLS group name against the SSH method name attribute by attribute, covering the defining document, status, component pairing, the order of key shares and secrets, the hash, and the identifier each peer negotiates. Read each row as a check on what your product or configuration actually sends, because the same algorithm pair appears under both names with different ordering rules. The main takeaway is that the two names describe one construction but are not interchangeable identifiers on the wire, so vendor documents should be checked against the exact name and protocol they claim.
| Attribute | X25519MLKEM768 (TLS) | mlkem768x25519-sha256 (SSH) |
|---|---|---|
| Defining document | RFC 10024, a TLS 1.3 hybrid key agreement group definition | RFC 10042, an SSH key exchange method definition |
| Status | Standards Track, published August 2026 | Informational, published August 2026 |
| Component pairing | ML-KEM-768 with X25519 | ML-KEM-768 with curve25519-sha256 (X25519) |
| Client share order | ML-KEM encapsulation key first, X25519 share second, reversing the NamedGroup convention in RFC 9954 | C_PK2 (ML-KEM public key) first, then C_PK1 (X25519 public key) |
| Shared secret order | ML-KEM secret first, with RFC 10024 Section 5 giving FIPS reasons for the ordering | K = HASH(K_PQ || K_CL), so the ML-KEM secret comes first |
| Hash used | Set by the TLS 1.3 key schedule, not a separate hash in the group name | SHA-256, as named in the method string |
| Identifier negotiated | TLS 1.3 NamedGroup codepoint 4588 in the supported_groups extension | Method name string carried in the KEXINIT negotiation |
| Operational check | Confirm the codepoint your TLS stack offers and selects, and verify the exact group name in packet captures | Confirm the method name is present in the server's KEXINIT list and that the OpenSSH version supports it |
What X25519MLKEM768 and mlkem768x25519-sha256 each are
X25519MLKEM768 is a TLS 1.3 named group defined in RFC 10024, a Proposed Standard published in August 2026. It pairs the ML-KEM-768 post-quantum key encapsulation mechanism with the X25519 elliptic curve key exchange, so a single key exchange combines a classical and a post-quantum component. RFC 10024 defines it alongside SecP256r1MLKEM768 and SecP384r1MLKEM1024 as the three hybrid key agreement groups for TLS 1.3. In the IANA TLS Supported Groups registry, X25519MLKEM768 carries the codepoint 4588 and is marked as recommended, while the other two hybrid groups are not. TLS clients and servers therefore identify the group by that numeric codepoint in the supported_groups and key_share exchange, not by a string sent in a negotiation message.
- Specification: The name and its wire behavior come from RFC 10024, and the general hybrid mechanism comes from RFC 9954, which concatenates the component shares and shared secrets into the TLS 1.3 key schedule.
- Codepoint: The IANA registry lists 4588 for X25519MLKEM768, with RFC 10024 as the reference.
- Recommended status: The registry marks X25519MLKEM768 as recommended and the two other hybrid groups as not recommended.
- Stack support: TLS 1.3 stacks carry the group through their supported groups configuration. Whether a given library or browser build offers it, and in which version, is set by that product's release notes, which the reader should confirm for the exact version deployed.
- Key sizes: RFC 10024 gives the key_exchange sizes as 1216 bytes for the client share and 1120 bytes for the server share, and RFC 10024 describes the ML-KEM encapsulation key and ciphertext that these sizes include.
Before relying on X25519MLKEM768 in a TLS inventory, check the TLS library and load balancer versions that terminate the connection, because support is a property of the product version and not of the standard alone.
mlkem768x25519-sha256 is an SSH key exchange method defined in RFC 10042, which is Informational and was published in August 2026. It uses the same ML-KEM-768 and X25519 pairing as the TLS group, but it is negotiated by name. Client and server each list the method names they support in the SSH_MSG_KEXINIT message, and both sides then choose one common method. Because the method is a string in that message, a reader auditing SSH must record the exact name rather than a codepoint. The method is built on the curve25519-sha256 method from RFC 8731, using 32-byte X25519 public keys and a 32-byte classical secret that is re-encoded before it is combined.
- KEXINIT negotiation: The method appears as a name in the key exchange algorithm list of KEXINIT, and the server picks a method both sides share.
- Message layout: RFC 10042 defines the client init message C_INIT as C_PK2 followed by C_PK1, meaning the ML-KEM public key then the X25519 public key, and the server reply S_REPLY as S_CT2 followed by S_PK1, meaning the ML-KEM ciphertext then the server public key.
- Key derivation: The shared key is K = HASH(K_PQ || K_CL), with the ML-KEM secret first. The hash for this method is SHA-256, which is what the method name's suffix reflects.
- Length checks: RFC 10042 requires the server and client to check message lengths before decapsulation, and it does not state the ML-KEM-768 public key or ciphertext lengths, so those values must be taken from the ML-KEM specification.
- OpenSSH history: OpenSSH added mlkem768x25519-sha256 in release 9.9 and made it the default in 10.0, as described on the OpenSSH post-quantum page, which is the place to confirm the exact default in a given build.
When auditing SSH, record the OpenSSH version and the negotiated method string from the server configuration, because the same protocol pairing can appear under a different name in TLS.
The two names identify the same ML-KEM-768 and X25519 pairing, but each name belongs to a different protocol's negotiation mechanism. The TLS name X25519MLKEM768 is a NamedGroup, and it is carried as a numeric codepoint in TLS 1.3 extensions. The SSH name mlkem768x25519-sha256 is a method string that peers negotiate in KEXINIT. RFC 10024 and RFC 10042 both name the pairing, but neither makes the two identifiers interchangeable. A reviewer who reads one name in a document about the other protocol should confirm which mechanism the vendor means.
- Identifier type: TLS uses a numeric codepoint (4588 for X25519MLKEM768), while SSH uses a text method name in KEXINIT.
- Concatenation order: RFC 10024 notes that X25519MLKEM768 reverses the usual order on the wire for historical reasons, so the ML-KEM encapsulation key is sent first. RFC 10042 also places the ML-KEM public key first in C_INIT, so both names put the ML-KEM component ahead of the X25519 component on the wire.
- Mozilla naming: Mozilla's bug 1919097 uses the name mlkem768x25519 for a TLS 1.3 exchange in Firefox, so an SSH-style name can also appear in a TLS feature. The bug is a reference for that naming, and it does not establish which TLS group identifier Firefox sends on the wire.
- Specification status: RFC 10024 is a Standards Track document, while RFC 10042 is Informational, which affects how a standards-based reviewer weighs each document.
When a vendor document lists one of these names, ask for the protocol, the codepoint or method string, and the product version that uses it.
Which differences change configuration, inventory or evidence
The two names describe the same ML-KEM-768 and X25519 pairing but order the components differently, and the order is also reflected in the shared secret. Each card below is a point where that difference changes what a team configures, records in an inventory, or shows as evidence to an assessor.
Client share order in TLS
In X25519MLKEM768, RFC 10024 reverses the general rule in RFC 9954 for historical reasons, so the client sends the ML-KEM encapsulation key first and the X25519 share second. A packet capture or a TLS library setting that assumes the general order will misread the key_exchange value. When you document a TLS deployment, record the group name as X25519MLKEM768 and confirm the share order your library and capture tools use for it.
RFC 10024 textShare order in SSH C_INIT
In SSH, RFC 10042 defines C_INIT as the ML-KEM public key followed by the X25519 public key, and S_REPLY as the ML-KEM ciphertext followed by the server's public key. The SSH method is named mlkem768x25519-sha256, so the component order in its messages follows the name's order. Teams running both SSH and TLS should keep the two conventions separate in their configuration notes and test each protocol on its own terms.
RFC 10042 textShared secret puts ML-KEM first
In both protocols the shared secret places the ML-KEM secret first, and RFC 10024 gives FIPS reasons for that ordering in its Section 5. Reviewers checking a key schedule or a code audit should look for the ML-KEM secret as the first input in both places. A secret that is concatenated in the reverse order is a different key, so an interoperability failure with a peer is one of the first symptoms to check.
RFC 10024 textHash-based key derivation in SSH
RFC 10042 computes the SSH key as K = HASH(K_PQ || K_CL), with SHA-256 for mlkem768x25519-sha256, so the hash binds the ML-KEM secret and the classical secret in that order. An evidence file for an SSH deployment should state the hash function and the input order, because a different hash or input order produces a different key and a failed connection. Ask the vendor to confirm the derivation against RFC 10042 for the version you run.
RFC 10042 textMessage length checks before decapsulation
RFC 10042 requires the server and client to check message lengths before decapsulation, but it does not state the ML-KEM-768 public key or ciphertext lengths itself. Configuration reviews should confirm that the SSH implementation performs these checks and that the lengths it enforces match the ML-KEM-768 parameter set in FIPS 203. Ask the vendor to show where the length checks sit in the code path, and to name the version that includes them.
FIPS 203Non-interchangeable identifiers in inventories
The TLS group X25519MLKEM768 is a TLS 1.3 NamedGroup with codepoint 4588, while mlkem768x25519-sha256 is an SSH method name negotiated in KEXINIT, so the two names are not interchangeable identifiers. Inventory entries should record the protocol with each name, and a single name should not be counted as covering both. Mozilla's TLS 1.3 feature also uses the name mlkem768x25519, so record the protocol alongside the name in every entry.
IANA TLS ParametersWhere each name shows up in protocols, libraries and documents
The two names identify the same pairing of ML-KEM-768 with X25519, but they are not interchangeable identifiers, and the difference matters when you record what a product negotiates. In TLS 1.3, X25519MLKEM768 is the NamedGroup defined in RFC 10024, and it is carried on the wire as codepoint 4588 in the IANA TLS Supported Groups registry, where it is marked Recommended. TLS stacks negotiate the group by that codepoint, so a TLS inventory should record the codepoint or the group name the stack reports, not a rendered label. In SSH, the same pairing is negotiated as the method string mlkem768x25519-sha256, defined in RFC 10042. OpenSSH added that method in release 9.9 and made it the default in 10.0, released in April 2025, according to the OpenSSH post-quantum page.
The SSH-style name also appears outside SSH. Mozilla's bug 1919097 uses mlkem768x25519 for the TLS 1.3 exchange in Firefox, so a search for the SSH name can return TLS results, and a TLS feature can be described with a name that looks like an SSH method. Treat the name as a label that depends on the protocol it appears in. When reviewing a Firefox, OpenSSH or other build, confirm the exact string it logs or reports, and check which protocol that string refers to before you map it to a control. The sources listed on this page do not give vendor product version numbers for TLS libraries or for the Firefox build that contains this change, so those must be read from each product's own release notes or version output.
For a vendor-risk record, capture both the protocol and the exact name the product reports, and keep the two separate. A questionnaire answer that says a product supports mlkem768x25519 does not establish whether the TLS group X25519MLKEM768 is negotiated, and an answer that names only the TLS group says nothing about SSH. Ask the vendor which protocol, which codepoint or method string, and which version each claim covers, and test the negotiated value on a live connection where possible. Where a product exposes the negotiated group in its handshake logs, record that value.
How a reviewer confirms which name applies to a given system
This sequence lets a reviewer establish, from documents and captures rather than from a product name alone, whether a system uses the TLS name X25519MLKEM768 or the SSH name mlkem768x25519-sha256, and what byte layout the handshake or key exchange should show. Each step produces a record that can be filed with the evidence for a vendor or compliance review.
Identify the protocol in use
Establish whether the system under review negotiates key exchange through TLS 1.3 or through SSH. The reviewer, or the engineer who runs the review, confirms this from the service's configuration, the vendor's architecture documentation or a protocol capture of a live connection. The step is complete when the reviewer can state one protocol for each endpoint in scope. Names from the two protocols are not interchangeable: X25519MLKEM768 is a TLS NamedGroup name from RFC 10024, while mlkem768x25519-sha256 is an SSH key exchange method name from RFC 10042. A reviewer who starts from the wrong protocol will look for the wrong identifier in every later step.
Record the exact name the vendor documents
Find the string the vendor's own documentation, release notes or configuration reference uses for the hybrid group or method, and copy it exactly, including case and hyphens. Log the product, version and edition that the documentation applies to. Some products use a name that differs from the standard name, and Mozilla's bug 1919097 shows the SSH-style name mlkem768x25519 used for a TLS 1.3 feature in Firefox, so the vendor's wording and the standard's wording may not match. The step is complete when the reviewer has one recorded vendor name tied to one version, along with the source page where it appears.
Check the registry or release notes for the identifier
For TLS, look up the name in the IANA TLS Parameters registry under Supported Groups, where X25519MLKEM768 is listed with the codepoint 4588 and the reference RFC 10024. For SSH, check the OpenSSH post-quantum page or the OpenSSH release notes for the method string. The OpenSSH project added mlkem768x25519-sha256 in version 9.9 and made it the default in version 10.0, as stated in the April 2025 OpenSSH post-quantum page. The reviewer records whether the name in the vendor documentation matches the registry or release-note string. A mismatch is a finding to raise with the vendor, not a conclusion about security.
Confirm the concatenation order against the standard
Read the ordering rule in the governing document. RFC 9954 states that shares in the concatenation follow the order of the algorithms in the NamedGroup definition, but RFC 10024 says X25519MLKEM768 reverses that on the wire, so the ML-KEM encapsulation key is sent first. For SSH, RFC 10042 defines C_INIT as the ML-KEM public key followed by the X25519 public key, and derives the key as K = HASH(K_PQ || K_CL). The reviewer notes which order the documentation claims and which order the standard defines for that protocol. This is a documentary check, and it becomes a verified finding only when the capture in the next step confirms it.
Confirm the component sizes in a capture
Capture a handshake or key exchange from the system with a protocol analyzer or the vendor's debug logging, then compare the component lengths against the expected values. For the TLS group X25519MLKEM768, RFC 10024 gives key_exchange sizes of 1216 and 1120 bytes. The ML-KEM-768 encapsulation key is 1184 bytes and the X25519 share is 32 bytes, so the sizes tell the reviewer which component is which and in what order. Where the capture disagrees with the expected lengths, record the mismatch and the exact version under test. RFC 10042 does not state ML-KEM-768 lengths for SSH, so for SSH the reviewer should rely on the vendor's documentation or the captured values and state which source was used.
Record the outcome as dated evidence
Write a short evidence record that lists the protocol, the vendor name, the registry or release-note reference, the observed ordering and the captured sizes, each tied to a product version and capture date. The record should say which claims are confirmed by a capture, which rest only on documentation and which could not be checked. Store it with the other system evidence for the review. The step is complete when another reviewer could repeat the checks from the record alone and reach the same name and layout.
Whether a system uses both names at once
The TLS name X25519MLKEM768 and the SSH name mlkem768x25519-sha256 both describe a hybrid of ML-KEM-768 and X25519, but they belong to different protocols and are negotiated through different mechanisms. The TLS name is a NamedGroup codepoint carried in the TLS 1.3 key_share exchange, defined in RFC 10024, while the SSH name is a key exchange method string that peers offer and select in the SSH KEXINIT message, defined in RFC 10042. A single system can therefore support one, the other, or both, and support for one tells you nothing certain about the other. The OpenSSH project, for example, added the SSH method in version 9.9 and made it the default in version 10.0, according to its post-quantum page, but that page does not describe any TLS group support.
The sources listed for this topic do not describe a mapping between the two names, and they do not say that one is an alias or a replacement for the other. The IANA TLS Supported Groups registry assigns the TLS name a numeric codepoint, while SSH peers compare method name strings, so a configuration that works for a TLS listener gives no assurance about an SSH service on the same host. Mozilla's bug 1919097 uses the SSH-style name mlkem768x25519 for a TLS 1.3 feature in Firefox, which shows that naming can overlap across protocols, but it should not be read as a rule that the two names are interchangeable.
Before you treat one name as a replacement for the other, confirm which protocol, protocol version and implementation release each peer in your environment supports, and check the names that each side actually advertises. For TLS, review the supported groups configured on each load balancer, reverse proxy and client library. For SSH, review the key exchange methods listed in each server and client configuration and in the output of the version in use. Record both the protocol and the exact name in your inventory, so that a vendor statement about one protocol is not carried over to the other without checking.
Mix-ups that cause wrong configuration or wrong evidence
Are X25519MLKEM768 and mlkem768x25519-sha256 the same identifier?
No. They are not interchangeable identifiers. X25519MLKEM768 is the TLS NamedGroup name from RFC 10024, registered with IANA as codepoint 4588 for TLS 1.3. mlkem768x25519-sha256 is the SSH key exchange method name from RFC 10042, negotiated as a string in the SSH KEXINIT message. Both pair ML-KEM-768 with X25519, but a TLS server and an SSH server do not negotiate with each other's names. When you record evidence or write a configuration, record the protocol together with the exact name, so a reviewer can tell which group a system actually offers. Confirm the names your specific versions support in their own documentation.
Does the byte order difference make X25519MLKEM768 less secure?
The sources document the order but do not rank it. RFC 9954 states that shares in a hybrid concatenation must follow the order of the algorithms in the NamedGroup definition. RFC 10024 says X25519MLKEM768 reverses that convention on the wire for historical reasons, so the client sends the ML-KEM encapsulation key first and the X25519 share second. The shared secret also places the ML-KEM secret first, and RFC 10024 gives FIPS reasons for that secret ordering in its Section 5. The sources do not say that either order is weaker or stronger. Treat the order as a documented wire detail, and check it against RFC 10024 and RFC 9954 rather than against this summary.
Does mlkem768x25519 in Firefox mean Firefox supports SSH?
No. The name appears in Firefox because Mozilla's bug 1919097 and its release note use the SSH-style name mlkem768x25519 for the TLS 1.3 hybrid key exchange. The feature is a TLS capability in the browser, not SSH support. The sources listed here do not describe any SSH client behavior in Firefox. When a vendor or scanner reports this name in a browser context, read it as a TLS feature and confirm the TLS group the browser negotiates, instead of concluding that SSH is in scope.
Do draft names like X25519Kyber768Draft00 still apply to current deployments?
Draft names are not the final names. The earlier draft group name differs from the final X25519MLKEM768 on the wire, so a system offering the draft name is not offering the final group. The IANA TLS Supported Groups registry lists X25519MLKEM768 with codepoint 4588, and marks it as Recommended. Evidence that shows only a draft name should not be read as evidence of the final group. Ask the vendor which exact group names their version negotiates, and check the IANA registry entry for the name you need.
Do the key sizes differ between the TLS and SSH hybrid protocols?
The sources give sizes for the TLS group but do not state ML-KEM-768 lengths for the SSH method. For TLS, draft-ietf-tls-mlkem-11 gives the ML-KEM-768 encapsulation key as 1184 bytes and the ciphertext as 1088 bytes, with a 32-byte shared secret. The X25519MLKEM768 key_exchange values total 1216 bytes for the client share and 1120 bytes for the server share, per RFC 10024. RFC 10042 does not state ML-KEM-768 public key or ciphertext lengths, though it does give 32-byte X25519 public keys and requires both sides to check message lengths before decapsulation. Do not assume the SSH sizes match the TLS sizes. Confirm the lengths in the SSH specification or the implementation's own documentation.
Which document status should a reviewer check before relying on these names?
Check the status of each document. RFC 10024, which defines X25519MLKEM768 for TLS, is a Proposed Standard published in August 2026. RFC 10042, which defines mlkem768x25519-sha256 for SSH, is Informational and was published in the same month. The status affects how a reviewer should cite the requirement, since an Informational document describes a method without setting a standard. Record the RFC number and status alongside any name in your evidence, so an auditor can see which document you relied on.
How DeployOpen helps teams inventory and configure these key exchanges
DeployOpen approaches the difference between X25519MLKEM768 and MLKEM768X25519 as an inventory and configuration task: finding where each name is negotiated, recording the exact protocol and name for each system, and confirming that both ends agree on the component order. The work is delivered inside your own infrastructure, with a written record your security and vendor-risk reviewers can check.
How we scope
- We agree in writing which TLS and SSH endpoints, load balancers and VPN gateways are in the inventory.
- We record for each system whether it negotiates the TLS NamedGroup name or the SSH method name, since the two are not interchangeable.
- Scope, deliverables and timelines are agreed in writing before work starts, and engagements are fixed-scope.
How we build
- We check which share comes first in each system's key exchange messages, following the ordering rules in RFC 9954 and RFC 10024.
- We confirm the shared secret ordering on each system, where the ML-KEM secret comes first in both X25519MLKEM768 and mlkem768x25519-sha256.
- We verify message lengths on configured endpoints against the sizes the sources give, including the 1216 and 1120 byte values for X25519MLKEM768.
How we hand over
- You receive an inventory listing each protocol, exact name, version and configuration setting found on each system.
- Each finding is documented with the standard or specification it relies on, so your team can confirm it against the source.
- We provide a configuration record that shows the negotiated name for each endpoint, to support your vendor-risk and audit files.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, so inventory records stay current after vendor updates.
- We retest configured endpoints when a library or server version changes the name or ordering it negotiates.
- Where a system cannot negotiate the expected name, we document the gap and what your team needs to confirm with the vendor.

