IETF publishes RFC 9954 on hybrid key exchange in TLS 1.3
In short
- RFC 9954 is an IETF document by D. Stebila (University of Waterloo), S. Fluhrer (Cisco Systems) and S. Gueron (University of Haifa and Meta). It describes how TLS 1.3, the protocol that secures web connections, can run two or more key-exchange algorithms at once and mix their results, so the session key stays safe as long as at least one of them is unbroken.
- It is aimed at the move to post-quantum cryptography (algorithms designed to resist quantum computers): an early adopter gets post-quantum protection from a newer, less-studied algorithm while keeping the protection of today's algorithm.
- The method is plain concatenation: the public values are joined into one field, and the two secrets are joined and fed into TLS 1.3's existing key schedule.
- The RFC is Informational, not an Internet Standards Track specification, and it does not choose which post-quantum algorithm to use.
2 or more algorithms combined into one key exchange; 65,535 bytes the largest key-exchange field TLS 1.3 allows (2^16-1); 261,120 bytes public key of Classic McEliece's smallest parameter set, too big to fit; Informational not Standards Track
What is hybrid key exchange?
Before two computers exchange data over TLS, they agree on a shared secret key, a step called key exchange. Today it uses elliptic-curve Diffie-Hellman (ECDH), for example the x25519 or secp256r1 curves. A large enough quantum computer could break it, and the RFC points to "harvest-now-decrypt-later": an adversary who records encrypted traffic today could decrypt it later if the assumption behind the algorithm fails.
Post-quantum algorithms answer that, but the RFC says many of them "have not been subject to the same depth of study" as the old ones. A hybrid hedges the bet. In the RFC's words, the aim is a key that is "secure as long as at least one of the component key exchange algorithms remains unbroken". The RFC calls the old kind "traditional" and the new kind "next-generation", and notes the same recipe also covers a case where a non-quantum cryptanalytic breakthrough hits one algorithm.
How does the construction work?
The RFC models each algorithm as a key encapsulation mechanism (KEM): one side generates a public key, the other uses it to produce a ciphertext and a shared secret, and the first side recovers the secret from the ciphertext. Diffie-Hellman can be written in this form too.
- Negotiation. Each combination gets one identifier, a TLS "NamedGroup", sent in the existing supported_groups extension. The identifier is opaque: it has no internal structure.
- Sending keys. The client's public keys for the component algorithms are concatenated, in a fixed order, into the single key_exchange field that TLS 1.3 already has. The server's reply concatenates its ciphertexts the same way. No new length fields or message types are added.
- Combining secrets. The component shared secrets are concatenated and used in place of the (EC)DHE secret in the TLS 1.3 key schedule (the RFC's Figure 1).
The design goals the RFC lists include no extra round trips and compatibility with servers or clients that do not know about hybrids: a hybrid-aware client talking to a non-hybrid server should still end up with an ordinary, non-hybrid secret, if the client is willing to fall back.
Why is simple concatenation considered safe?
The security section says the concatenation corresponds to the "dual-PRF combiner" analysed by Bindel et al., which keeps the result secure if the hash function used is a dual-PRF. (Our gloss: roughly, the hash used in the key schedule can take two inputs and still give a random-looking output if either input is unpredictable.)
This only holds under conditions the RFC states with "MUST":
- Fixed lengths. Public keys, ciphertexts and secrets must keep a fixed length once the algorithm is chosen, because no length prefixes are used. The RFC says variable-length secrets can open timing side channels and cites the Lucky Thirteen and Raccoon attacks. ML-KEM has fixed lengths.
- Key-reuse safety. TLS 1.3 does not forbid reusing ephemeral keys, so any KEM used must be secure if its public key is reused. ML-KEM is; the RFC warns that some lattice KEMs built only for one-time use can lose their private key "after just a few thousand samples" if reused.
- Independent randomness. Keys for different algorithms must be generated independently, and ciphertext randomness must not be reused. The RFC relaxes the TLS 1.3 rule slightly so one client can send the same key for the same algorithm in several entries of one ClientHello (for example a plain and a hybrid entry); keys for different algorithms must still be independent.
What does it cost?
The RFC's own examples show the trade-offs:
- Bigger messages. The key_exchange field is capped at 2^16-1 bytes. All ML-KEM parameter sets fit, though the ClientHello may then exceed one network packet. Classic McEliece's smallest public key, at 261,120 bytes, does not fit.
- Duplicated keys. A client offering both SecP256r1MLKEM768 and X25519MLKEM768 sends two ML-KEM-768 public keys, one inside each entry. The RFC calls this more of a problem for algorithms with large keys.
- Registry status. For hybrid groups defined under the RFC, IANA's "Recommended" column should be "N" and its "DTLS-OK" column "Y".
- Compliance. The RFC says NIST SP 800-56C lists simple concatenation as an approved way to combine a NIST-approved secret with an unapproved one, which matters for FIPS-bound users.
What the RFC leaves out
It does not pick next-generation algorithms or their identifiers. Concrete pairings such as X25519 with ML-KEM-768 are named only as examples and are left to a separate Internet-Draft it cites (draft-ietf-tls-ecdhe-mlkem). It also excludes authentication: the RFC notes that a quantum computer could decrypt recorded sessions later, but "session authentication cannot be retroactively broken". Performance is left to the choice of algorithm.
Informational means the RFC records a design for others to build on. It is not a mandate, and the RFC does not say how widely any hybrid is deployed. We did not check deployment.
Where things stand
The RFC Editor announced RFC 9954 on 15 July 2026 (22:22 UTC, from the announcement e-mail; the RFC itself says only "July 2026"). The RFC cites TLS 1.3 as RFC 9846, also dated July 2026. IANA has added RFC 9954 as a reference for the "TLS Supported Groups" registry.
Sources
- RFC 9954: Hybrid Key Exchange in TLS 1.3, IETF RFC Editor, July 2026
- RFC 9954 announcement, IETF announce list, 15 July 2026
Sources
Related stories
- IETF defines Quality of Outcome, a 0-100% network score per app
- Belfort says encrypted computing can pseudonymise health data
- RFC 10094 clarifies SRv6 SID list entries are 128-bit values
- RFC 10087 runs the domain-registry EPP protocol over QUIC
- RFC 10021 lets IoT devices verify who sent a multicast command
- RFC 10063 mirrors routing registry data as signed HTTPS files