TLS 1.3 hybrid key shares run 1,120 to 1,665 bytes per message
If you are sizing TLS 1.3 handshakes or checking packet and middlebox limits, the key share is the first number to pin down. Under RFC 10024, the X25519MLKEM768 client key share is 1,216 bytes and the server key share is 1,120 bytes. This table is for network and platform engineers who need those per-message figures to estimate how a hybrid key exchange changes the size of the ClientHello and ServerHello, and for security reviewers checking which hybrid groups a configuration offers. Start with the group you plan to enable, then read its client and server share lengths from the table.
The table covers the three hybrid groups RFC 10024 defines: X25519MLKEM768 (codepoint 4588), SecP256r1MLKEM768 (codepoint 4587) and SecP384r1MLKEM1024 (codepoint 4589). Client shares run from 1,216 to 1,665 bytes, and server shares run from 1,120 to 1,665 bytes, depending on the group. The page gives key share and signature sizes, but it does not give full handshake totals. The sources listed on this page do not state overall handshake message size, fragmentation behavior or ClientHello length, so confirm those figures against your own captures or the implementation you run.
Before you change a deployment, check the size of each share against the packet and middlebox limits in your path, and test with the exact TLS library and version you ship, since the sources do not say how each implementation assembles these messages. The per-share byte counts are fixed for each group, so the planning question is how many extra bytes the chosen group adds to your handshake compared with your current classical groups.
Key share and signature sizes in bytes by parameter set
This table lists the key share sizes, shared secret lengths and codepoints for each hybrid key exchange group, and the raw public key and signature sizes for each certificate algorithm named in the sources. Each figure is a fixed byte count from the cited document, so you can compare the per-share cost of one pairing against another before you check the full handshake against packet and record limits. Read the key share columns as the bytes a single message carries for that group, and read the signature columns as raw sizes that exclude ASN.1 encoding overhead. Empty cells mean the cited sources do not give that value.
| Algorithm or group | Codepoint | Client key share (bytes) | Server key share (bytes) | Shared secret (bytes) | Source document |
|---|---|---|---|---|---|
| X25519MLKEM768 | 4588 (0x11EC) | 1216 | 1120 | 64 | RFC 10024 |
| SecP256r1MLKEM768 | 4587 (0x11EB) | 1249 | 1153 | 64 | RFC 10024 |
| SecP384r1MLKEM1024 | 4589 (0x11ED) | 1665 | 1665 | 80 | RFC 10024 |
| ML-DSA-44 public key and signature | Not applicable | Public key 1312, signature 2420 | Not applicable | Not applicable | RFC 9881 |
| ML-DSA-65 public key and signature | Not applicable | Public key 1952, signature 3309 | Not applicable | Not applicable | RFC 9881 |
| ML-DSA-87 public key and signature | Not applicable | Public key 2592, signature 4627 | Not applicable | Not applicable | RFC 9881 |
| SLH-DSA level 1 (s and f sets) | Not applicable | Public key 32, signature 7856 (s) or 17088 (f) | Not applicable | Not applicable | RFC 9909 |
| SLH-DSA level 3 (s and f sets) | Not applicable | Public key 48, signature 16224 (s) or 35664 (f) | Not applicable | Not applicable | RFC 9909 |
How to read the TLS key share and signature columns
Read the key share column as the bytes a single key_exchange value occupies on the wire for one named group. For the hybrid groups in RFC 10024, that value is a concatenation: X25519MLKEM768 (codepoint 4588, 0x11EC) carries 1216 bytes in the client share (1184 for ML-KEM-768 plus 32 for X25519) and 1120 bytes in the server share (1088 for the ML-KEM-768 ciphertext plus 32 for X25519). SecP256r1MLKEM768 (codepoint 4587, 0x11EB) carries 1249 and 1153 bytes, and SecP384r1MLKEM1024 (codepoint 4589, 0x11ED) carries 1665 bytes in both directions (RFC 10024, Sections 4.1 and 4.2). The ML-KEM part of the client value is an encapsulation key, not a decapsulation key, and the server value is the ciphertext produced from it. Those are two different roles, so do not read the client and server columns as the same kind of object. RFC 10024 also says the shared secret for X25519MLKEM768 places the ML-KEM secret first, the reverse of the other two groups, so check the order when comparing implementations.
Read the signature and public key columns from RFC 9881 and RFC 9909 with one caveat: those sizes are raw and exclude ASN.1 encoding overhead, so a certificate's encoded key or signature will be larger. The ML-DSA rows (RFC 9881, Section 3 and Appendix B, Table 2) list raw signatures of 2420, 3309 and 4627 bytes and raw public keys of 1312, 1952 and 2592 bytes for ML-DSA-44, ML-DSA-65 and ML-DSA-87, which correspond to NIST security categories 2, 3 and 5. The SLH-DSA rows (RFC 9909, Appendix B, Table 1) cover NIST categories 1, 3 and 5 for the sha2 and shake 128, 192 and 256 sets, with signatures of 7856 or 17088 bytes at level 1, 16224 or 35664 bytes at level 3, and 29792 or 49856 bytes at level 5, depending on whether the s or f variant is used. Each row cites its RFC section, so confirm the exact parameter name in the RFC before quoting a size in a design review.
For the ML-KEM rows, RFC 9935 (Appendix B, Table 1) lists ML-KEM-512, ML-KEM-768 and ML-KEM-1024 at NIST levels 1, 3 and 5, with 800, 1184 and 1568 byte encapsulation keys and 768, 1088 and 1568 byte ciphertexts. Confirm against the RFC before relying on any number here, and treat the hybrid totals as the sum of these parts plus the classical component named above.
Before using these columns in a packet or middlebox check, note what the sources leave out. RFC 10024 gives per-share byte counts only and says nothing about total handshake message size, fragmentation or ClientHello length. The limits that matter for that work sit in RFC 8446: a Handshake message length is a uint24, a KeyShareEntry value may be up to 2^16-1 bytes, a record carries at most 2^14 bytes of plaintext, and the ClientHello extensions block is limited to 2^16-1 bytes (RFC 8446, Sections 4, 4.1.2, 4.2.8 and 5.1). Add the signature and certificate sizes from the RFC 9881 and RFC 9909 columns, and the encoded overhead on top, before comparing the total with those limits. The sibling pages cover the QUIC and DTLS budgets, which depend on the same figures.
Where these sizes meet protocol limits
The byte counts in this table only matter once they are compared with the length fields and record limits that TLS 1.3 imposes. The cards below cover each limit that a post-quantum key share or certificate chain can run into, and the check to make for each.
Handshake message length field
Every TLS 1.3 handshake message carries its length in a uint24 field, so a single message body cannot exceed the range that field can express. Compare the largest message in your handshake, which is usually the Certificate message when a post-quantum or large signature chain is in use, against that range. The sources supplied for this page give the field width but do not give a total handshake size, so add up your own message sizes using the per-share and per-signature counts in this table.
RFC 8446 textKey share entry limit
A KeyShareEntry key_exchange value may be between 1 and 2^16-1 bytes. Each hybrid key share in this table is far below that ceiling, so the entry limit is not the constraint to check for these groups. Confirm the value you send against the group you negotiate, because a mismatch in the group or length will fail the handshake.
RFC 10024 textRecord plaintext limit
A TLS 1.3 record carries at most 2^14 bytes of plaintext. Handshake messages larger than that must be split across several records, so a large Certificate message will span multiple records. Check how your stack fragments handshake data, particularly where middleboxes or load balancers inspect or rewrite records.
RFC 8446 textClientHello extensions block
The ClientHello extensions block is limited to 2^16-1 bytes. Post-quantum key shares add to this block alongside the other extensions a client sends, so the combined size is what counts. Measure the extensions your client actually sends with a post-quantum group offered, and confirm that the total stays within the limit with room to spare for your deployment's other extensions.
RFC 8446 textCertificate list limit
A Certificate message holds a certificate_list of up to 2^24-1 bytes, which is a far higher ceiling than the record and extensions limits. Post-quantum signature certificates are much larger than classical ones, so the size that matters is the chain your server actually sends, not the protocol maximum. Confirm the chain length for the signature algorithm you deploy, and check it against the record fragmentation behavior of your stack.
RFC 9881 textCiphertext length abort rule
RFC 10024 requires a client to abort with an illegal_parameter alert when the ciphertext length does not match the selected group. This is a strict check, not a warning, so a server that pads, truncates or misencodes its key share will fail the handshake outright. Confirm the exact fixed lengths for the group you negotiate, and test both sides with the group in use before deployment.
RFC 10024 textParameter set figures for ML-KEM, ML-DSA and SLH-DSA
RFC 10024 defines three hybrid key agreement groups for TLS 1.3 that combine a traditional elliptic curve with ML-KEM. Each group has its own codepoint, and each share is a fixed length. The sizes below are per key share, and RFC 10024 does not state overall handshake size, fragmentation or ClientHello length, so calculate those yourself from the record and extension limits.
- X25519MLKEM768 (codepoint 4588, 0x11EC): client key share of 1216 bytes (1184 for ML-KEM-768 plus 32 for X25519), server key share of 1120 bytes (1088 ML-KEM-768 ciphertext plus 32 for X25519). The shared secret is 64 bytes, with the ML-KEM secret first.
- SecP256r1MLKEM768 (codepoint 4587, 0x11EB): client key share of 1249 bytes (65 for secp256r1 plus 1184), server key share of 1153 bytes (65 plus 1088). The shared secret is 64 bytes, with the ECDHE part first.
- SecP384r1MLKEM1024 (codepoint 4589, 0x11ED): client key share of 1665 bytes (97 for secp384r1 plus 1568 for ML-KEM-1024), server key share of 1665 bytes (97 plus 1568). The shared secret is 80 bytes, with the 48-byte ECDHE secret first.
- Share order: RFC 10024 notes that X25519MLKEM768 reverses the share order used by the other two groups.
Check that your stack implements RFC 10024 and the codepoints above, and that a client aborts with illegal_parameter when a ciphertext length does not match the selected group.
RFC 9935 defines ML-KEM-512, ML-KEM-768 and ML-KEM-1024, listed at NIST levels 1, 3 and 5. Every parameter set produces a 32-byte shared secret, so the sizes that vary are the keys and ciphertexts. These are raw sizes from RFC 9935 Appendix B, Table 1, and the hybrid groups above use ML-KEM-768 and ML-KEM-1024.
- ML-KEM-512 (level 1): encapsulation key 800 bytes, decapsulation key 1632 bytes, ciphertext 768 bytes.
- ML-KEM-768 (level 3): encapsulation key 1184 bytes, decapsulation key 2400 bytes, ciphertext 1088 bytes. This is the set used by X25519MLKEM768 and SecP256r1MLKEM768.
- ML-KEM-1024 (level 5): encapsulation key 1568 bytes, decapsulation key 3168 bytes, ciphertext 1568 bytes. This is the set used by SecP384r1MLKEM1024.
- Shared secret: 32 bytes for all three sets.
- Scope of the figures: the sizes are the raw key and ciphertext lengths the RFC defines, before any encoding in a certificate or protocol message.
Confirm which parameter set your library and configuration select, since a mismatch changes the ciphertext length your peer expects.
RFC 9881 defines ML-DSA-44, ML-DSA-65 and ML-DSA-87, used for NIST security categories 2, 3 and 5. The table gives raw key and signature lengths from RFC 9881 Appendix B, Table 2, and RFC 9881 states that these are raw sizes without ASN.1 encoding overhead. An encoded certificate or signature field will be larger.
- ML-DSA-44 (category 2): raw signature 2420 bytes, raw public key 1312 bytes.
- ML-DSA-65 (category 3): raw signature 3309 bytes, raw public key 1952 bytes.
- ML-DSA-87 (category 5): raw signature 4627 bytes, raw public key 2592 bytes.
- Private key: a 32-byte seed. Expanded private keys are 2560, 4032 and 4896 bytes for the three sets, in the same order.
- Encoding overhead: add the ASN.1 and certificate wrapping when you size a chain. The RFC 9881 figures alone do not give a certificate size.
When you size a certificate chain, measure the encoded length of the certificate your CA issues, not the raw figure above.
RFC 9909 defines SLH-DSA parameter sets at three NIST levels. Each level has a small-signature variant (s) and a fast variant (f), with the sha2 and shake families using the same sizes. The signatures are much larger than ML-DSA, so the choice of variant has a large effect on handshake and certificate size. The figures below are from RFC 9909 Appendix B, Table 1.
- Level 1 (128s, 128f): public key 32 bytes, private key 64 bytes, signature 7856 bytes (s) or 17088 bytes (f).
- Level 3 (192s, 192f): public key 48 bytes, private key 96 bytes, signature 16224 bytes (s) or 35664 bytes (f).
- Level 5 (256s, 256f): public key 64 bytes, private key 128 bytes, signature 29792 bytes (s) or 49856 bytes (f).
- HashSLH-DSA: RFC 9909 states that the HashSLH-DSA sets have the same values as their pure equivalents.
- Handshake impact: a signature of this size in a Certificate or CertificateVerify message adds directly to the server flight, so check it against the 2^14-byte record plaintext limit and fragmentation behavior of your stack.
Confirm the variant your CA and TLS library use before you size a handshake, since the s and f signatures differ by a factor of two or more.
Classical X25519 and Ed25519 sizes against post-quantum counterparts
This table sets the classical X25519 and Ed25519 sizes beside the raw sizes of the post-quantum primitives that replace them in TLS, so you can see where each handshake element grows. Only rows where the sources give a figure on both sides are included, and the figures are raw sizes that exclude ASN.1 encoding overhead, so a certificate or wire message will be larger than the raw value shown. Read the rows as per-element comparisons, not as totals for a full handshake, because the key agreement and the signature are separate parts of the handshake.
| Element | Classical algorithm | Post-quantum counterpart | Size note |
|---|---|---|---|
| Public key (key exchange) | X25519, 32 bytes | ML-KEM-768 encapsulation key, 1184 bytes | RFC 7748 for X25519, RFC 9935 Appendix B for ML-KEM-768 |
| Shared secret (key exchange) | X25519, 32 bytes | ML-KEM shared secret, 32 bytes | Both sides are 32 bytes; the ML-KEM figure applies to all three ML-KEM levels |
| Public key (signature) | Ed25519, 32 bytes | ML-DSA-44 raw public key, 1312 bytes | RFC 8032 for Ed25519, RFC 9881 for ML-DSA-44; raw sizes without ASN.1 encoding |
| Public key (signature, level 3) | Ed25519, 32 bytes | ML-DSA-65 raw public key, 1952 bytes | Compare with the same Ed25519 figure; ML-DSA-65 targets NIST category 3 |
| Signature | Ed25519, 64 bytes | ML-DSA-44 raw signature, 2420 bytes | About 38 times the Ed25519 signature length; confirm the figure for the version you run |
| Signature (level 3) | Ed25519, 64 bytes | ML-DSA-65 raw signature, 3309 bytes | ML-DSA-65 is the NIST category 3 parameter set in RFC 9881 |
| Signature (small SLH-DSA) | Ed25519, 64 bytes | SLH-DSA-128s signature, 7856 bytes | The s sets are smaller and slower to sign than the f sets, per RFC 9909 |
| Public key (SLH-DSA, level 1) | Ed25519, 32 bytes | SLH-DSA-128s public key, 32 bytes | Public keys match in length at level 1; signatures do not |
Checking TLS key share and certificate sizes before rollout
This sequence confirms which post-quantum TLS groups and certificate algorithms a stack actually negotiates, then measures the resulting key share and certificate chain sizes against the buffer and record limits before any production change. It ends with a vendor-confirmed list of supported codepoints and signature parameter sets, so the sizes you test are the sizes you will run.
Confirm named groups and parameter sets
The engineer responsible for the TLS stack lists the key exchange groups and signature algorithms the server and client are configured to offer, using the stack's own configuration output or handshake debug logs rather than the product marketing page. For each group, confirm the exact name, such as X25519MLKEM768, SecP256r1MLKEM768 or SecP384r1MLKEM1024, and the parameter set, such as ML-KEM-768 or ML-DSA-65. The step is complete when the list is written down and each entry matches a group defined in RFC 10024 or a parameter set in RFC 9935, RFC 9881 or RFC 9909. Any name the stack uses that does not match these documents goes to the vendor question in the final step.
Record the expected key share sizes
For each confirmed group, look up the client and server key share sizes in RFC 10024 and write them beside the group name. For X25519MLKEM768 the RFC gives a 1216-byte client key share and a 1120-byte server key share, and for SecP256r1MLKEM768 it gives 1249 and 1153 bytes. Note that these are per-share counts, and RFC 10024 does not state overall ClientHello or handshake size, so the table you build is a starting figure only. The step is complete when every negotiated group has a client and server share size recorded from the RFC, with the source section noted.
Measure certificate chain sizes
Assemble the certificate chain that the server will actually send, including the leaf certificate and every intermediate, and measure the DER length of each certificate with a tool such as openssl x509 -outform DER followed by a byte count. Include the signature algorithm in use, since ML-DSA-65 and SLH-DSA variants have very different signature and public key lengths from ECDSA and Ed25519. Compare the sum against the message size that the TLS 1.3 Certificate message can carry, which is up to 2^24-1 bytes according to RFC 8446, and note that the chain you measure may be far smaller than that ceiling while still exceeding other limits in your path. The step is complete when each chain has a recorded total byte count and a list of each certificate's algorithm.
Check sizes against buffer and record limits
Compare the ClientHello, which carries the client key share and extensions, against the 2^16-1 byte limit on the extensions block described in RFC 8446, and compare individual TLS records against the 2^14 byte plaintext limit. Check the handshake messages that carry certificates against any receive buffer sizes configured in your load balancers, proxies, TLS terminators and client libraries, because those buffers are set by the product and not by the RFC. Flag any combination whose size is close to or above a limit so it is tested directly in the next step. The step is complete when each limit has a pass or flag status against the measured sizes, and each flagged item has a named owner.
Build a lab handshake with the real chain
Stand up a lab environment that mirrors the production TLS terminator, using the same stack version, the same negotiated group list and the same certificate chain that was measured in the earlier steps, rather than a self-signed substitute. Run a full handshake from a client that offers the same groups, and capture the handshake with a packet capture or the stack's debug output. The lab result is useful only if the captured key share and certificate sizes match the figures recorded earlier, so differences should be investigated before anything else. The step is complete when at least one successful handshake per group has been captured and its sizes compared against the expected figures.
Test the middleboxes on the path
Run the same lab handshake through each network device that the production traffic will cross, including firewalls, load balancers, intrusion prevention systems and any TLS-inspecting proxies, because these devices can drop or split large handshake messages that the endpoints accept. Record whether each device completes the handshake, whether it logs an error, and whether a fragmented or oversized message is handled correctly. Where a device cannot pass the handshake, record the device, its version and the observed failure. The step is complete when each device on the path has a pass or fail result for the actual certificate chain and group list, with the failure details attached.
Ask the vendor which codepoints and parameter sets are supported
Send the vendor a written question asking which RFC 10024 codepoints the product supports, for example 4588 for X25519MLKEM768, 4587 for SecP256r1MLKEM768 and 4589 for SecP384r1MLKEM1024, and which ML-DSA or SLH-DSA parameter sets it can sign and verify with, such as ML-DSA-44, ML-DSA-65, ML-DSA-87 or the SLH-DSA sha2 and shake sets. Ask for the specific version or edition in which each item is supported and for any documented size limits on certificate chains or handshake messages. Do not accept a general statement that the product is post-quantum ready; the answer should name codepoints, parameter sets and versions. The step is complete when the vendor's written answer has been filed alongside the lab results, and any item it leaves unconfirmed is marked as open.
What these TLS sizes do not tell you
The figures on this page are per-message and raw. They give the byte counts of individual key shares and certificate signatures, but RFC 10024 gives no overall handshake size, no ClientHello size and nothing on fragmentation, so the total length of a real handshake cannot be read from its tables. A ClientHello carries the key share alongside other extensions, and a server's flight carries the key share alongside certificates, signatures and extensions. Adding the figures here does not give the on-wire total. Before sizing a network path, measure the complete messages your own stack produces, including certificate chains, and check them against the record limit of 2^14 bytes of plaintext and the extensions limit of 2^16-1 bytes that RFC 8446 sets.
Interoperability is also outside what these sources state. RFC 10024 defines the hybrid groups and their codepoints, and it says a client must abort with an illegal_parameter alert if a ciphertext length does not match the selected group. It does not say how those groups behave against earlier drafts, other TLS stacks or other library versions, and the sources listed on this page do not say whether the share order or secret layout differs in any implementation that predates the RFC. Before you rely on a given group in production, confirm the codepoint, key share length and shared secret format against the TLS library and version you run, and against the peers you will talk to.
The practical step is to test rather than assume. Capture a full handshake between the client and server builds you actually deploy, with each key exchange and certificate algorithm pairing you plan to offer, and record the total bytes in each direction. Compare those totals with the MTU, middlebox and load balancer limits on your path, and with any packet budget your QUIC or other transport allows. Where a peer cannot complete the handshake, treat the failure as a version or configuration question to resolve with that vendor's documentation, not as something these tables can settle.
Common questions about TLS post-quantum handshake sizes
How large is the X25519MLKEM768 key share?
The X25519MLKEM768 client key share is 1216 bytes, and the server key share is 1120 bytes. The client share is 1184 bytes for ML-KEM-768 plus 32 bytes for X25519. The server share is the 1088-byte ML-KEM-768 ciphertext plus 32 bytes for X25519. The group has codepoint 4588 (0x11EC). The shared secret is 64 bytes, with the ML-KEM secret first and the X25519 secret second. RFC 10024 notes that this group reverses the share order used by the other two hybrid groups, so check the byte order when you compare implementations. The per-share counts are in RFC 10024, Sections 4.1 and 4.2.
How does SecP256r1MLKEM768 compare in key share size?
The SecP256r1MLKEM768 client key share is 1249 bytes, made of 65 bytes for secp256r1 and 1184 bytes for ML-KEM-768. The server key share is 1153 bytes, made of 65 bytes for secp256r1 and 1088 bytes for the ML-KEM-768 ciphertext. It has codepoint 4587 (0x11EB). Its client share is 33 bytes larger than X25519MLKEM768 because the classical part uses the uncompressed secp256r1 point instead of the 32-byte X25519 value. The shared secret is 64 bytes, with the ECDHE secret first. The sizes are listed in RFC 10024, Sections 4.1 and 4.2. Confirm the group your peers support before choosing it.
Does a TLS 1.3 handshake fit in a single record?
The sources do not give a total handshake size, so no single-record answer can be drawn from them. What they do state is the limits. A TLS 1.3 record carries at most 2^14 bytes of plaintext, and the ClientHello extensions block is limited to 2^16-1 bytes. A handshake message's length is carried as a uint24, and a Certificate message can hold up to 2^24-1 bytes. RFC 10024 contains no text on overall handshake size, fragmentation or ClientHello size, so add the key share, certificate and extension sizes yourself and compare the sum against the 2^14-byte record limit. Those limits are in RFC 8446, Sections 5.1 and 4.1.2. Measure the real handshake in your environment before deciding.
How big is an ML-DSA-65 signature?
An ML-DSA-65 raw signature is 3309 bytes. The raw public key is 1952 bytes, and the expanded private key is 4032 bytes, with a 32-byte private seed. These are raw key sizes that exclude ASN.1 encoding overhead, so a certificate or a DER-encoded signature will be larger. ML-DSA-65 is used for NIST security category 3. The figures come from RFC 9881, Section 3 and Appendix B. When you size a certificate chain, add the encoding overhead from your certificate profile and confirm the encoded length against the issuing CA's documentation.
Which parameter set does RFC 10024 name?
RFC 10024 defines three hybrid groups: X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024. The first two use ML-KEM-768, and the third uses ML-KEM-1024. The codepoints are 4588 (0x11EC), 4587 (0x11EB) and 4589 (0x11ED). The RFC was published in August 2026 as a Standards Track document, and it was previously the working group draft draft-ietf-tls-ecdhe-mlkem. Read the group definitions in RFC 10024, Section 4 to confirm which parameter set each group uses before you configure an endpoint.
How big is the SecP384r1MLKEM1024 key share?
The SecP384r1MLKEM1024 client key share is 1665 bytes, made of 97 bytes for secp384r1 and 1568 bytes for ML-KEM-1024. The server key share is also 1665 bytes, made of 97 bytes for secp384r1 and 1568 bytes for the ML-KEM-1024 ciphertext. It has codepoint 4589 (0x11ED). The shared secret is 80 bytes, the 48-byte ECDHE secret followed by the 32-byte ML-KEM secret. This group produces the largest key share of the three RFC 10024 hybrid groups, so budget for it when packet size matters. The sizes are in RFC 10024, Sections 4.1 and 4.2.
What happens if the key share length is wrong?
RFC 10024 says every group it defines uses fixed-length public keys, ciphertexts and shared secrets. A client must abort the handshake with an illegal_parameter alert if the ciphertext length does not match the selected group. This matters when you test interoperability or debug a failed handshake, because a length mismatch is a protocol error and not a retry condition. Check the length of each key share against the per-group byte counts in RFC 10024, Sections 4.2 and 6. If you run a middlebox or a TLS terminator, confirm that it passes the key share through without altering its length.
Where the key share and certificate travel in a TLS 1.3 handshake
The diagram starts with the client sending its ClientHello, which carries the client key share for the selected group, and ends with the server returning the ServerHello with its own key share, followed by the Certificate message carrying the certificate list. The byte figures on each arrow come from RFC 10024 for the key shares and from RFC 8446 for the handshake framing. Check the group you run against the matching share size, because the certificate list is the variable part that depends on the signature algorithm. The figures cover the key shares and the framing limits only, and RFC 10024 does not give total handshake size.
The sequence of key share and certificate messages in a TLS 1.3 handshake.
How DeployOpen works on this
DeployOpen works from the handshake your servers and clients actually negotiate, starting with the key exchange groups and certificate algorithms in use today. We size each pairing against the message and record limits that apply to your stack, then test the result in your environment. Engagements are agreed as fixed-scope work with written deliverables.
How we scope
- We list the TLS 1.3 key exchange groups and certificate algorithms your endpoints and load balancers currently offer.
- We record which hybrid groups, such as X25519MLKEM768, SecP256r1MLKEM768 or SecP384r1MLKEM1024, each side supports.
- The written scope names the endpoints, middleboxes and handshake paths covered, and is agreed before work starts.
How we build
- We configure the chosen key exchange and certificate pairings on your servers in your own infrastructure.
- We measure ClientHello and server flight sizes in a test environment and compare them to the RFC 8446 record and extension limits.
- We check that clients which reject mismatched ciphertext lengths abort cleanly, as RFC 10024 requires.
How we hand over
- You receive the handshake size results for each pairing, with the measured byte counts and the test conditions used.
- We document the configuration, the fallback behavior and the middlebox settings needed to pass the larger messages.
- Retest results are delivered with the handover so your team can repeat the measurements after future changes.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers when your TLS stack or certificates change.
- We can retest after library upgrades, since the byte counts depend on the versions your endpoints run.
- Ask us to confirm compatibility for the specific versions in your environment before relying on any pairing in production.
Sources and further reading
- RFC 10024: Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3 ↗
- RFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3 ↗
- RFC 9935: ML-KEM for use in TLS ↗
- RFC 9881: Module-Lattice-Based Digital Signature Algorithm (ML-DSA) in X.509 ↗
- RFC 9909: Stateless Hash-Based Digital Signature Algorithm (SLH-DSA) in X.509 ↗

