Why key exchange and authentication are separate jobs in a handshake
In a TLS 1.3 handshake, key exchange establishes the session key and authentication proves identity with a signature, and keeping these two jobs apart is the distinction that matters most when you plan post-quantum work. The key_share extension carries the key exchange share, which is what protects the traffic that follows. The CertificateVerify message is a signature over the entire handshake, made with the private key matching the server's certificate, and it is omitted when the endpoint does not authenticate with a certificate. The signature_algorithms extension governs which signature algorithms may be used. Each job therefore has its own negotiated parameter, and a configuration can change one without touching the other.
Network, platform and security engineers meet this split whenever a vendor or standard names both a key exchange group and a signature algorithm in the same breath, and auditors reading TLS configuration will see both in the same handshake. A server might negotiate X25519MLKEM768 for key exchange while its certificate still uses a classical signature, or the reverse. Check each setting separately: the key exchange group in your TLS library's configuration, the signature schemes your server offers, and the certificate chain it presents. RFC 9954 limits itself to hybrid key exchange and excludes authentication with next-generation algorithms, and it states that session authentication cannot be retroactively broken, so the two jobs carry different urgency. Confirm which of these your library version supports before you record a configuration as complete.
The practical consequence is that a post-quantum key exchange does not, by itself, change how the server proves who it is. The sources supplied for this topic describe ML-DSA signature schemes for TLS as Informational drafts, and OpenSSL 3.5.0 added ML-KEM and ML-DSA support, but the sources do not establish that a given deployment uses them end to end. Ask your vendor which key exchange groups and which signature schemes each release negotiates, and whether authentication uses a certificate at all in your deployment. Record the two answers as separate line items in your inventory so that a later audit can see which job has been upgraded and which has not.
Key exchange and authentication side by side in the sources
This table sets the job each mechanism does in a TLS 1.3 handshake against the TLS extension or message that carries it, the NIST standard that defines the algorithm, the IETF document that names it, and the urgency the sources give. Read each row across to see which part of the handshake a post-quantum change touches. The main takeaway is that key exchange protects the session key from later decryption, while authentication proves identity, and the sources give them different urgency.
| Attribute | Key exchange | Authentication |
|---|---|---|
| Job in the handshake | Establishes the session key that protects traffic | Proves the endpoint holds the private key for its certificate |
| TLS extension or message | key_share extension carries the key exchange share (RFC 9846) | CertificateVerify is a signature over the handshake, and signature_algorithms governs which signature algorithms may be used (RFC 9846) |
| NIST standard | FIPS 203 (ML-KEM), published 13 August 2024 | FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), both published 13 August 2024 |
| IETF documents that name the algorithms | RFC 10024 specifies hybrid key exchange groups; draft-ietf-tls-mlkem-11 covers standalone ML-KEM groups | draft-ietf-tls-mldsa-06 assigns TLS SignatureScheme values for ML-DSA |
| Scope of RFC 9954 | Covers hybrid ephemeral key exchange in TLS 1.3 | Excludes authentication with next-generation algorithms |
| Urgency the sources give | Recorded traffic could be decrypted later, so the sources treat key exchange as the more pressing concern | RFC 9954 says session authentication cannot be retroactively broken, so the sources treat its urgency as different |
| What happens without a certificate | Key exchange still runs when the endpoint does not authenticate with a certificate | CertificateVerify is omitted when the endpoint does not authenticate with a certificate (RFC 9846) |
| Server authentication with an external PSK | The external PSK does not change the key exchange process | Server authentication still uses a signature proving possession of the certificate's private key (RFC 8773) |
What key exchange and authentication each do in TLS 1.3
Key exchange is the part of the handshake that gives both endpoints a shared secret used to encrypt the session. In TLS 1.3 the client and server each contribute a share, and the key_share extension carries those shares. The job is to protect the session key, not to prove identity. RFC 10024 specifies the key exchange groups for this job, including the hybrid group X25519MLKEM768 (code point 4588, 0x11EC), which is marked Recommended Y. RFC 10024 is a Standards Track document. The concept of a key encapsulation mechanism, which post-quantum key exchange builds on, is defined for this purpose in RFC 9180 (HPKE) and described for practitioners in NIST SP 800-227. The NIST standard that specifies ML-KEM, the algorithm inside the hybrid group, is FIPS 203, published 13 August 2024.
- Where it appears: the
key_shareextension, for example a client offeringX25519MLKEM768in the key shares it sends with ClientHello. - Size on the wire: RFC 10024 gives X25519MLKEM768 client shares of 1216 bytes (1184-byte ML-KEM-768 encapsulation key plus 32 bytes of X25519) and server shares of 1120 bytes (1088-byte ML-KEM-768 ciphertext plus 32 bytes of X25519).
- Hybrid purpose: RFC 9954 defines hybrid key exchange as combining algorithms so the session key stays secure while at least one component is unbroken, and says the motivation is that recorded traffic could be decrypted later.
- Standalone groups: draft-ietf-tls-mlkem-11 assigns standalone ML-KEM groups MLKEM512 (0x0200), MLKEM768 (0x0201) and MLKEM1024 (0x0202), all marked Recommended N.
- Library default: OpenSSL 3.5.0 added ML-KEM and made X25519MLKEM768 a default TLS key share.
When you review a configuration, confirm which named groups the server and client both offer, and check the TLS library version that actually negotiates them.
Authentication is the part of the handshake that proves an endpoint holds the private key matching its certificate. In TLS 1.3 this proof is the CertificateVerify message, which is a signature over the entire handshake made with that private key. The job is identity, and it is separate from the session key. RFC 9846 is the TLS 1.3 specification that defines this message and the signature_algorithms extension, which says which signature algorithms may be used. The post-quantum signature algorithms are defined in FIPS 204, which specifies ML-DSA, and FIPS 205, which specifies SLH-DSA, both published 13 August 2024. The TLS signature scheme values for ML-DSA are being set in draft-ietf-tls-mldsa.
- Where it appears: the CertificateVerify message and the signature_algorithms extension. The message is omitted when the endpoint does not authenticate with a certificate.
- Scheme values: draft-ietf-tls-mldsa-06 assigns mldsa44 (0x0904), mldsa65 (0x0905) and mldsa87 (0x0906), all marked Recommended N.
- Size on the wire: RFC 9881 gives ML-DSA-65 signatures of 3309 bytes and public keys of 1952 bytes, which is larger than many classical signatures.
- Different urgency: RFC 9954 excludes authentication with next-generation algorithms from its scope and states that session authentication cannot be retroactively broken, so the urgency for authentication differs from the urgency for key exchange.
- Certificate path: RFC 8773 says server authentication continues to work by a signature proving possession of the certificate's private key, and an external pre-shared key does not change that process.
When you check a deployment, confirm which signature schemes appear in the signature_algorithms list and which certificate type the server presents, because the CertificateVerify signature must match the certificate's key.
Where key exchange and authentication differ in practice
A TLS handshake does two separate jobs: the key exchange protects the session key, and authentication proves who the server or client is. Each job uses different extensions, depends on different configuration choices, and carries a different urgency when post-quantum algorithms are introduced.
Key share versus CertificateVerify
The key_share extension carries the key exchange share that protects the session. CertificateVerify is a separate signature over the entire handshake, made with the private key that matches the certificate. Changing the key exchange group does not change the signature, and changing the certificate does not change the key share. When reviewing a configuration, check each of these two components on its own, because a change to one does not automatically update the other.
Authentication is optional
CertificateVerify is omitted when the endpoint does not authenticate with a certificate. An endpoint that uses only a pre-shared key, or that accepts anonymous clients, produces a handshake with a key exchange but no signature over the transcript. Post-quantum work on signatures does not apply to such a connection. Confirm for each endpoint whether it presents or requests a certificate before planning signature changes for it.
Hybrid key exchange scope
RFC 9954 limits itself to hybrid ephemeral key exchange and excludes authentication with next-generation algorithms. A deployment that follows this document has covered the key exchange only. Certificates and signatures in the same handshake need a separate decision, based on other documents such as the ML-DSA and TLS signature scheme drafts. Do not read RFC 9954 as covering the whole handshake.
RFC 9954 textDifferent urgency for each job
RFC 9954 says session authentication cannot be retroactively broken, while recorded traffic can be decrypted later if the key exchange is weak. The key exchange therefore carries the more immediate exposure. Authentication still needs planning, but it does not face the same risk from traffic recorded today. Sequence key exchange upgrades ahead of signature and certificate changes unless a specific requirement says otherwise.
Governing signature algorithms
The signature_algorithms extension governs which signature algorithms may be used in the handshake. It does not select the key exchange group. Adding a post-quantum signature scheme to the server's configuration does not take effect unless clients also advertise it in signature_algorithms. Check both sides of the connection before assuming a new signature scheme is in use.
Key exchange and authentication run as separate steps in TLS 1.3
The diagram starts with the ClientHello, where the client sends its key_share and signature_algorithms extensions. The server replies with its own key_share in the ServerHello, which sets up the shared session keys that protect the rest of the handshake. Authentication comes later: the server signs the transcript in CertificateVerify with the private key matching its certificate, and the signature must use an algorithm allowed by signature_algorithms. If the endpoint does not authenticate with a certificate, the Certificate and CertificateVerify messages are omitted, and the key exchange still completes. Check the two extensions separately, because a post-quantum key share and a post-quantum signature are configured and negotiated independently.
The key exchange sets up session keys first, then CertificateVerify proves identity over the handshake.
Where key exchange and authentication show up in protocols and products
In TLS 1.3, the two jobs sit in different messages and are governed by different extensions. The key_share extension carries the key exchange share, which protects the session key. Authentication happens in the CertificateVerify message, which is a signature over the entire handshake made with the private key matching the certificate. RFC 9846, which obsoletes RFC 8446, defines both pieces, and says CertificateVerify is omitted when the endpoint does not authenticate with a certificate. The signature_algorithms extension controls which signature algorithms may be used. When you review a TLS configuration, check these two places separately: which key exchange groups are offered, and which signature schemes are permitted for certificates.
The IETF drafts assign the values you will see in packet captures and configuration. draft-ietf-tls-mlkem-11 registers standalone key exchange groups MLKEM512, MLKEM768 and MLKEM1024, and draft-ietf-tls-mldsa-06 registers the signature schemes mldsa44, mldsa65 and mldsa87. RFC 10024 defines the hybrid named groups, including X25519MLKEM768, which pairs ML-KEM with classical X25519 so the session key stays protected while at least one component is unbroken. Both drafts are Informational, and the mldsa draft has been submitted to the IESG, so confirm the registry state before relying on these values in a procurement answer.
OpenSSL 3.5.0 added ML-KEM, ML-DSA and SLH-DSA, and made X25519MLKEM768 a default TLS key share. Those defaults mean a server built on OpenSSL 3.5.0 or later may negotiate a hybrid group without a configuration change, while certificate authentication still depends on what certificates you issue. The sources reviewed here do not confirm the same support in other TLS libraries, load balancers or appliances. Check the release notes and configuration documentation for each product and version in your environment, and test the negotiated group and signature scheme directly before you assume either job is covered.
How to work out which job your change affects
This sequence sorts your environment into the key exchange job, the authentication job, or both, so you know which post-quantum changes reach your handshake and which can wait. Each step produces a record you can check against your own configuration and testing.
Confirm whether endpoints authenticate with certificates
Review each TLS endpoint in your inventory and record whether the server, the client, or both authenticate with an X.509 certificate, or whether any of them use a pre-shared key without a certificate. Under RFC 9846, the CertificateVerify message is a signature over the handshake made with the private key matching the certificate, and it is omitted when the endpoint does not authenticate with a certificate. This step is done when every endpoint has a recorded answer: certificate-authenticated, PSK-only, or mixed. Endpoints that use no certificate have no CertificateVerify to upgrade, so their authentication job is absent from this list.
Check TLS stack and version for key_share and CertificateVerify
For each endpoint, confirm the TLS version and library in use, then check whether the stack handles the key_share extension and the CertificateVerify message. RFC 9846 defines key_share as the carrier for the key exchange share, and it obsoletes RFC 8446 along with several earlier RFCs, so the version you run determines which rules apply. Read the vendor's release notes or the library's documentation to confirm support for the relevant version. The step is done when you have a written record of the TLS version and library build for each endpoint, with the vendor's statement on key_share and CertificateVerify handling attached.
Inventory key exchange groups offered by servers
Query each server to list the key exchange groups it currently offers, using your TLS scanner or the server's configuration file. Record each group name exactly as the server reports it, including any hybrid groups such as X25519MLKEM768 and any standalone ML-KEM groups. Compare the list against the named groups in RFC 10024 and the group values in the IETF drafts, noting that the drafts remain Informational documents and that the groups are not all marked Recommended. The step is done when you have a per-server list of offered groups, and you can say which of them are hybrid and which are pure.
Inventory signature schemes offered by servers
For the same servers, record the signature schemes they accept and offer during authentication. Check whether any ML-DSA scheme names, such as mldsa44, mldsa65 or mldsa87, appear alongside the classical schemes already in use. The draft that assigns these SignatureScheme values is an Informational document submitted to the IESG, so treat its values as provisional and confirm them against the version your vendor implements. The step is done when you have a per-server list of signature schemes, with the post-quantum ones marked and the draft version noted.
Check vendor documentation for RFC and draft versions
Ask each vendor which RFC and draft versions its TLS implementation follows, and request the version numbers in writing. Several post-quantum TLS specifications are still drafts, and vendors may implement an earlier draft revision whose code points differ from the latest one. Compare the vendor's answers with the RFC and draft numbers you recorded in the previous steps. The step is done when each vendor has given you a written statement naming the RFCs and draft revisions implemented, and any mismatch with your inventory is noted for follow-up.
Review signature_algorithms in your configuration
Open the configuration for each server and locate the signature_algorithms setting, which RFC 9846 says governs which signature algorithms may be used. Record whether the setting lists only classical algorithms, whether it includes any post-quantum signature algorithms, and whether the list is pinned or left to the library default. Pay attention to whether any client or server would fail to negotiate a common algorithm once a new scheme is added. The step is done when you have a written record of each server's signature_algorithms value, with the reasoning for any pinned lists.
Test which change applies to your situation
Run a controlled handshake test against a non-production copy of each endpoint, offering a post-quantum key exchange group and, separately, a post-quantum signature scheme, and record which parts of the handshake change. Testing these two separately shows whether your change reaches the key exchange job, the authentication job, or both. RFC 9954 notes that session authentication cannot be retroactively broken, so authentication may carry a different urgency for your organization than key exchange, and your own test results should drive the decision. The step is done when you have a dated test report stating which job each tested change affects, and you have confirmed the result against your inventory before planning any production change.
Common mix-ups between key exchange and authentication
Key exchange protects the session key and authentication proves who is on the other end. The sources treat these as separate jobs with separate standards and separate urgency, so the mix-ups below are the ones to check before reading a vendor claim or a standards reference.
Hybrid group as proof of identity
A hybrid key exchange group such as X25519MLKEM768 protects the session key by combining algorithms, so the session stays secure while at least one component is unbroken. RFC 9954 defines hybrid key exchange in those terms and does not describe it as establishing who the peer is. A post-quantum key share is not an identity check. Server authentication still depends on the certificate and the signature in CertificateVerify, which the key share does not replace.
RFC 9954 textReading RFC 10024 as covering authentication
RFC 10024 specifies key exchange groups only and defers its general security considerations to RFC 9954. Teams reviewing the document for authentication guidance will find none in its scope. Confirm authentication behavior in RFC 9846 and the signature and certificate documents it points to, not in the named-group specification alone.
RFC 10024 textPost-quantum key share implies post-quantum certificates
The key_share extension carries the key exchange share, while the server's identity is proven by CertificateVerify, a signature made with the private key matching the certificate. The two are set independently. An ML-KEM key share does not make the certificate or its signature post-quantum. Check the signature algorithm the certificate uses and what the signature_algorithms extension permits, because those govern the signing side.
RFC 9846 textSame urgency for key exchange and authentication
RFC 9954 says session authentication cannot be retroactively broken, so authentication has different urgency from key exchange. Key exchange matters for traffic recorded now and decrypted later, which is why hybrid groups are a near-term focus. Signature and certificate migration is a separate planning track with its own timing, so do not schedule the two as one change.
RFC 9954 textSignature standards as key exchange standards
FIPS 204 specifies ML-DSA for digital signatures, and FIPS 203 specifies ML-KEM for key encapsulation. These are separate standards for separate functions, and the TLS drafts register them under different identifiers. ML-DSA signature sizes are much larger than ML-KEM key sizes, so a plan written for one will not size the other. Read the signature and encapsulation specifications as distinct documents when estimating handshake changes.
FIPS 204 textQuestions people ask about key exchange and authentication
Are key exchange and authentication the same thing in a TLS handshake?
No. Key exchange and authentication do different jobs. Key exchange produces the shared session key that protects the traffic, using the key_share extension. Authentication proves who the server, and optionally the client, is, and in TLS 1.3 it is carried by the certificate and a CertificateVerify message. RFC 9846 describes CertificateVerify as a signature over the entire handshake, made with the private key that matches the certificate. Because the two jobs are separate, a handshake can change one without changing the other. A session can use a post-quantum key exchange while the certificate still uses a classical signature, or the reverse. The distinction matters when you read a vendor claim, since 'post-quantum TLS' may refer to either job or both. Ask which one is meant.
Which one does post-quantum work reach first?
According to the sources listed here, key exchange is the part that moves first. RFC 9954 says that hybrid key exchange is the area it covers, and it explicitly excludes authentication with next-generation algorithms. It also says that session authentication cannot be retroactively broken, so authentication has a different urgency. The reasoning is that traffic recorded today could be decrypted later, which is the threat hybrid key exchange addresses. A signature, by contrast, can only be forged at the time it is checked. RFC 10024 likewise specifies key exchange groups only and defers general security considerations to RFC 9954. Authentication standards are still being written: the TLS ML-DSA draft lists mldsa44, mldsa65 and mldsa87 as Informational drafts dated 11 September 2026. Confirm which profile your vendor implements before assuming a version.
Does a post-quantum handshake need both a key exchange and a signature?
Yes, a full TLS 1.3 handshake with server authentication needs both parts. The key exchange runs through key_share, and the server proves possession of its certificate's private key through the signature in CertificateVerify. RFC 8773 says server authentication keeps working this way, and an external pre-shared key does not change that process. The signature_algorithms extension controls which signature algorithms may be used, so the signature choice is negotiated separately from the key share. A post-quantum key exchange does not, by itself, make the signature post-quantum. In practice you should check three things in your configuration: the key exchange group offered, the certificate's key type, and the signature algorithms the endpoint will accept. Each can be set on its own, so confirm all three in a test handshake rather than from a summary.
What does RFC 9954 say about authentication?
RFC 9954, Hybrid Key Exchange in TLS 1.3, is limited to key exchange. It states that it excludes authentication with next-generation algorithms. Its Informational status and July 2026 date are given in the sources. The document also says session authentication cannot be retroactively broken, which is why it treats the urgency of authentication differently from the urgency of key exchange. Hybrid key exchange, as RFC 9954 defines it, uses multiple key exchange algorithms together so the session key stays secure while at least one component is unbroken. That is a statement about the session key, not about the identity of the peer. If your review asks how the document handles certificates or signatures, the answer is that it does not cover them. Look to the separate TLS drafts for ML-DSA and to the signature algorithm documents for the authentication side.
Is a certificate still needed when the key exchange is post-quantum?
A certificate is still needed in the usual case where the server authenticates to the client. RFC 9846 says CertificateVerify is omitted when the endpoint does not authenticate with a certificate. So a post-quantum key exchange can run without a certificate only when the design does not require certificate-based authentication, for example when a pre-shared key or another mechanism identifies the peer. Where a certificate is used, the certificate and its signature still form part of the handshake. The sources give the sizes of the key exchange messages: for X25519MLKEM768, the client share is 1216 bytes and the server share is 1120 bytes, according to RFC 10024. The sources also give ML-DSA signature sizes from RFC 9881 of 2420, 3309 and 4627 bytes. These are separate messages, so plan for both when you size network and handshake budgets.
What should I ask a vendor about key exchange and authentication?
Ask them to state, for each protocol they support, whether post-quantum protection applies to the key exchange, to the authentication, or to both. Request the exact key exchange group names, such as X25519MLKEM768, SecP256r1MLKEM768 or SecP384r1MLKEM1024, and whether each is enabled by default. Ask which signature algorithms the endpoint accepts and which certificates it presents, and whether those are classical or post-quantum. Ask which version of the software implements the drafts or RFCs, because OpenSSL 3.5.0 added ML-KEM, ML-DSA and SLH-DSA and made X25519MLKEM768 a default TLS key share, and other products may differ. Ask for evidence: a test handshake capture or a configuration export that shows the negotiated groups and signatures. Vendor documentation that says only 'post-quantum ready' does not answer these questions. Record the answers in writing so your change and audit records match what was tested.
Does a DeployOpen engagement cover checking the handshake in our environment?
DeployOpen plans, implements, configures, tests and documents self-hosted platforms inside your own infrastructure, and it runs security testing of the systems and APIs those platforms expose. In that work, the team can review how your components negotiate key exchange and authentication, and report what they find against the sources cited here. DeployOpen does not issue audit reports, attestations or certifications; independent auditors and certification bodies do that. Engagements are fixed-scope, so the handshake items to check are agreed in writing before work starts. A quote follows from that written scope. Ask for the scope to name the exact protocols, endpoints and versions to be tested, so the findings match the systems you actually run.
How DeployOpen works on this
DeployOpen scopes, builds, tests and hands over post-quantum changes to the key exchange and the authentication parts of a handshake as separate pieces of work, because the sources treat them differently. We document what each change touches so your team can review the protocol, certificate and signature settings it depends on.
How we scope
- Each engagement is fixed-scope, with the protocols, key exchange groups and signature settings in use agreed in writing before work starts.
- We list which handshake messages in your environment carry key shares and which carry certificate signatures, so the scope separates the two jobs.
- Scope records the versions and libraries you run, since support for a given key exchange group or signature algorithm depends on them.
How we build
- We configure key exchange groups on the systems that terminate TLS, using the named groups your chosen library version supports.
- Certificate and signature changes are built and tested separately, checked against the signature algorithms your clients and servers accept.
- We test each change against real handshakes between your clients and servers, recording which group and signature algorithm each connection negotiates.
How we hand over
- Deliverables include configuration records that name each key exchange group and signature algorithm enabled on each system.
- Handover documents separate key exchange settings from authentication settings, so reviewers can check each job on its own.
- We provide the test results from your environment so your team can confirm the negotiated settings before relying on them.
How we support
- Ongoing support is available as a retainer for upgrades when libraries or protocol versions change the supported groups.
- Continuous testing can re-run handshake checks after updates, so a change to either job is caught in your environment.
- Ask us to confirm compatibility for the exact versions you run, since the sources do not establish this for every combination.

