What separates ML-KEM and HQC, and who meets the choice
A vendor document, tender or audit request that names both ML-KEM and HQC is usually asking how a key encapsulation mechanism (KEM) was chosen, not for a verdict on which is stronger. ML-KEM is a lattice-based KEM standardized in FIPS 203, published as a final standard on 13 August 2024 with the parameter sets ML-KEM-512, ML-KEM-768 and ML-KEM-1024. HQC is a code-based KEM that NIST selected on 11 March 2025 as a fifth algorithm to be standardized. The key distinction is standing: ML-KEM is final, while HQC is not yet a published standard. Confirm this against the NIST publication pages before relying on it.
Readers meet these names in different places. ML-KEM appears in the key exchange groups of TLS 1.3 and SSH, for example in the hybrid groups in RFC 10024 and in OpenSSH's mlkem768x25519-sha256. HQC appears mainly in standards-track and vendor material that anticipates a second KEM, such as NIST IR 8545 and the planned FIPS 207. Vendor-risk reviewers should expect HQC references to describe a future or draft standard, and should ask the vendor which standard version each claim relies on.
NIST describes HQC as a fallback in case ML-KEM proves vulnerable and says organizations should keep migrating to ML-KEM. Dustin Moody stated that HQC is not intended to replace ML-KEM, which remains the recommended choice for general encryption. NIST's announcement also says HQC is a lengthier algorithm that demands more computing resources than ML-KEM. The HQC site lists encapsulation keys and ciphertexts for HQC-3 of 4514 and 8978 bytes, against 1184 and 1088 bytes for ML-KEM-768, and both target NIST category 3. Engineers sizing handshakes or certificate chains should use the published sizes for the exact parameter set they run.
A practical check is to ask which parameter set and which standard revision a product implements, and whether the sizes match the current draft. The IETF draft draft-preussmattsson-tls-hqckem-03 notes that FIPS 207 has not been published and that its sizes must be updated once it is. Any HQC-based TLS or SSH configuration should therefore be treated as provisional until FIPS 207 is final, and the vendor should state how it will handle that change.
How ML-KEM and HQC compare on the attributes the sources give
This table sets ML-KEM, the lattice-based standard, against HQC, the code-based KEM NIST selected for standardization, one attribute per row, so you can see where the sources agree and where they differ. Read the status and standing rows first, because they decide what you can deploy and cite today. The sizes row is the main practical difference: the HQC-3 encapsulation key and ciphertext are several times larger than ML-KEM-768's, and the HQC figures come from the HQC project site rather than a published standard.
| Attribute | ML-KEM | HQC |
|---|---|---|
| Underlying design | Structured lattices | Error-correcting codes |
| Defining document and date | FIPS 203, final standard published 13 August 2024 | No FIPS yet; NIST IR 8545 (March 2025) reports the selection, and FIPS 207 is planned |
| Status | Final NIST standard and the recommended choice for general encryption | Selected 11 March 2025 for standardization; a draft standard was planned for public comment, with a final standard expected in 2027 |
| Parameter sets | ML-KEM-512, ML-KEM-768 and ML-KEM-1024 | HQC-1, HQC-3 and HQC-5 as listed on the HQC site |
| ML-KEM-768 vs HQC-3 encapsulation key | 1184 bytes | 4514 bytes |
| ML-KEM-768 vs HQC-3 ciphertext | 1088 bytes | 8978 bytes |
| NIST category | Category 3 for ML-KEM-768 | Category 3 for HQC-3 |
| Where each is supported | Specified for TLS 1.3 hybrid groups in RFC 10024; supported in OpenSSH from version 9.9, default from 10.0 | Defined in an individual IETF draft for TLS 1.3 that is not endorsed by the IETF; OpenSSH support is not listed in the sources |
What each KEM is and which document defines it
ML-KEM is a key encapsulation mechanism built on structured lattices. Its purpose is to let two parties establish a shared secret key over a public channel, with the sender encapsulating a secret to the receiver's public key and the receiver recovering it with a private key. NIST published the defining document, FIPS 203, as a final standard on 13 August 2024. It specifies three parameter sets: ML-KEM-512, ML-KEM-768 and ML-KEM-1024. NIST released it alongside FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) in the same month, and NIST SP 800-227, published as a final document on 18 September 2025, gives recommendations for implementing and using KEMs securely.
- Defining document: FIPS 203 is the reference for the algorithm and its parameter sets. Cite it by number when describing your key exchange in vendor evidence.
- Key sizes: The TLS working group draft draft-ietf-tls-mlkem-11 (17 September 2026) lists the ML-KEM-768 encapsulation key at 1184 bytes and ciphertext at 1088 bytes, with a 32-byte shared secret. ML-KEM-512 uses 800 and 768 bytes, and ML-KEM-1024 uses 1568 and 1568 bytes.
- Protocol placement: The TLS draft defines ML-KEM for TLS 1.3 key exchange. RFC 10024, a Proposed Standard dated August 2026, defines hybrid groups including X25519MLKEM768 (codepoint 4588, 0x11EC), which it marks as recommended.
- SSH placement: OpenSSH supports mlkem768x25519-sha256 from version 9.9 and made it the default in OpenSSH 10.0 (April 2025).
- Standing: NIST's announcement on HQC states that organizations should keep migrating to ML-KEM, and that it remains the recommended choice for general encryption.
Check which parameter set and which hybrid group your products negotiate, because the sizes and codepoints above apply only to the drafts and versions named here. Confirm the product release notes before you cite a specific default.
HQC is a code-based key encapsulation mechanism built on error-correcting codes, specifically the Quasi-Cyclic Syndrome Decoding problem according to the HQC site. NIST selected HQC on 11 March 2025 as a code-based KEM to be standardized, and described it as a fallback in case ML-KEM proves vulnerable. The defining document is not yet final. NIST IR 8545 (March 2025) reports the fourth round of the NIST process and says NIST will develop a standard based on HQC. That standard is planned as FIPS 207. NIST's announcement expected a draft for public comment about a year after selection, with a final standard in 2027. The draft IETF document draft-preussmattsson-tls-hqckem-03 (20 October 2026) states that FIPS 207 has not been published, not even as an Initial Public Draft, and that its sizes must be updated once it is.
- Defining document status: Refer to NIST IR 8545 and the planned FIPS 207 as the governing sources. Do not cite FIPS 207 as a published standard in any document today.
- Parameter sizes: The HQC site lists HQC-1 with a 2241-byte encapsulation key, 4433-byte ciphertext and 32-byte decapsulation key. HQC-3 uses 4514 and 8978 bytes. HQC-5 uses a 7237-byte encapsulation key and 14421-byte ciphertext.
- Comparison to ML-KEM: The HQC site states that ML-KEM-768 and HQC-3 both target NIST category 3, with the ML-KEM-768 encapsulation key at 1184 bytes against 4514 bytes for HQC-3. NIST describes HQC as the lengthier algorithm that demands more computing resources.
- Protocol placement: The draft draft-preussmattsson-tls-hqckem-03 defines nine TLS 1.3 key exchange algorithms based on HQC-KEM, including hybrids with ML-KEM. It is an individual draft and is not endorsed by the IETF, so it has no standing as a protocol requirement.
- Performance data: The HQC site reports AVX2 cycle counts on an Intel Core i7-11850H at 2.5 GHz, including 75k keygen, 152k encaps and 375k decaps for HQC-1. Treat these as the project's own benchmark, not as a general result.
Check which FIPS number and draft revision your vendor cites, and ask whether any HQC code is shipped in a product today, since HQC key exchange in TLS currently rests on an individual draft.
Which differences change systems, configurations or decisions
ML-KEM is the final FIPS 203 standard, while HQC is still on its way to standardization. The cards below cover the consequences of that gap for standards choice, message sizes, computing cost and protocol planning, so reviewers can match each difference to the system they run.
Final standard versus unpublished standard
ML-KEM is specified in FIPS 203, published as a final standard on 13 August 2024. HQC has no final standard yet. NIST said a draft was planned for public comment about a year after its March 2025 selection, with a final standard expected in 2027. The draft-preussmattsson-tls-hqckem-03 draft, dated 20 October 2026, states that FIPS 207 has not been published, not even as an Initial Public Draft. Check the status of any HQC-based product against FIPS 207 before you rely on it.
FIPS 203 textEncapsulation key and ciphertext size gap
At the category 3 level, ML-KEM-768 uses a 1184-byte encapsulation key and an 1088-byte ciphertext. The HQC site lists HQC-3 at 4514 bytes for the key and 8978 bytes for the ciphertext. Those larger messages affect handshake size, bandwidth and any protocol with tight message limits. Size the largest message your protocol must carry, and confirm HQC sizes against the final standard, since the draft says sizes must be updated once FIPS 207 is published.
HQC siteRelative computing cost NIST notes for HQC
NIST's announcement says HQC is a lengthier algorithm that demands more computing resources than ML-KEM. The HQC site's AVX2 benchmark on an Intel Core i7-11850H at 2.5 GHz reports 75k cycles for HQC-1 key generation, 152k for encapsulation and 375k for decapsulation. Those figures come from the HQC designers, on one machine. Ask any vendor for benchmarks on your own hardware before you size compute for HQC-based key exchange.
- HQC-1 decaps (AVX2)
- 375k cycles
NIST's position on replacing ML-KEM
NIST describes HQC as a fallback in case ML-KEM proves vulnerable and says organizations should keep migrating to ML-KEM. Dustin Moody stated that HQC is not intended to take the place of ML-KEM, which remains the recommended choice for general encryption. Plan HQC as a contingency option and keep ML-KEM as the default in your migration inventory, rather than treating HQC as a drop-in replacement.
NIST HQC announcementProtocol drafts that name HQC-KEM
The individual draft draft-preussmattsson-tls-hqckem-03 defines nine TLS 1.3 key exchange algorithms based on HQC-KEM, including hybrids with ML-KEM. The IETF has not endorsed this draft. The standardized TLS groups in RFC 10024 cover X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024, all ML-KEM based. Check whether a TLS stack lists an HQC group at all before you plan around one, and treat any HQC group as dependent on a draft that is not yet final.
HQC-KEM TLS draftHow the two KEMs moved from selection to standard
The diagram starts with NIST's final ML-KEM standard, FIPS 203, published on 13 August 2024, and follows the path to HQC, which NIST selected on 11 March 2025 and recorded in NIST IR 8545. From there, the planned HQC standard, FIPS 207, is shown as not yet published, with the NIST announcement's expectation of a draft for public comment and a final standard in 2027. The TLS drafts that reference each KEM sit alongside: draft-ietf-tls-mlkem-11 for ML-KEM and draft-preussmattsson-tls-hqckem-03 for HQC. Check the FIPS 207 status and the TLS draft versions against the current publications before relying on either.
Path from NIST selection to standards and the TLS drafts referencing each KEM.
Where ML-KEM and HQC appear in protocols, products and tenders
ML-KEM is the key encapsulation mechanism that appears in deployed protocols today, and the places to check for it are TLS 1.3 and SSH. For TLS 1.3, the working group draft draft-ietf-tls-mlkem-11 (dated 17 September 2026) specifies ML-KEM as a key exchange, and RFC 10024, a Proposed Standard dated August 2026, defines the hybrid groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024. Engineers should confirm which of these groups a TLS library, load balancer or gateway negotiates, because support is per component and per version. In OpenSSH, mlkem768x25519-sha256 is available from version 9.9 and became the default in version 10.0 (April 2025). A host running an older OpenSSH release, or a stack that disables the default, will not negotiate it, so the version on each server and client is the first thing to inventory.
HQC appears in far fewer places, and in drafts rather than published protocol standards. NIST selected HQC on 11 March 2025 as a code-based KEM to be standardized, but the planned standard, FIPS 207, has not been published, not even as an Initial Public Draft. The IETF document draft-preussmattsson-tls-hqckem-03 (20 October 2026) defines nine TLS 1.3 key exchange algorithms based on HQC-KEM, including hybrids with ML-KEM, but it is an individual draft and is not endorsed by the IETF. Its sizes must be updated once FIPS 207 is published. Vendors that list HQC in a product should be asked which draft or standard the implementation follows, and whether it will change when the final standard arrives.
Tenders and audit requests will name these algorithms in different ways, so read the wording closely. A request that asks for ML-KEM, or for a FIPS 203 conformant key encapsulation, is asking for something with a published standard, while a request for HQC support may be satisfied only by an implementation of an unpublished or draft specification. NIST itself says organizations should keep migrating to ML-KEM and that HQC is a fallback in case ML-KEM proves vulnerable, so a vendor's HQC claim should be read as a supplement, not a replacement. Ask each vendor to name the exact specification and version, the component that performs the exchange, and the reference they use for sizes. Verify those answers against the standard itself and the vendor's own documentation before accepting them.
How to work out which KEM applies to your system
This sequence establishes which key encapsulation mechanism your systems use, which standard version it implements, and whether the protocol stack supports it. The result is a dated record of the confirmed algorithm, parameter set and version that you can show to auditors, vendors and procurement reviewers.
Check the contract or tender requirements
Start with the contract, tender or customer requirement that prompted the question. Look for a named algorithm and parameter set, such as ML-KEM-768 or HQC-3, and note any reference to a specific standard. Record the exact wording, because a requirement for ML-KEM is not the same as a requirement for HQC. This step is complete when you have a written list of every KEM and parameter set the contract names, with the clause each one comes from. Procurement or legal staff usually hold these documents, so ask them for the signed version rather than a summary.
Inventory where KEMs are configured
Walk through your systems and list every place a key encapsulation mechanism is configured or negotiated. This includes TLS termination points, SSH servers and clients, VPN gateways using IKEv2, and any application that calls a cryptographic library directly. Record the component, the host or service, and the configured key exchange group or KEM name as it appears in the configuration. The step is complete when each entry has a configuration location and an owner, so that a later check can be traced back to a specific file or setting.
Confirm which standard version the product implements
For each product in the inventory, check the vendor documentation to see whether it implements the final standard or a draft. ML-KEM is specified in NIST FIPS 203, published as a final standard in August 2024. HQC is at an earlier stage: the NIST announcement describes a draft standard for public comment and a final standard expected in 2027, and the IETF draft for HQC in TLS states that FIPS 207 has not yet been published. Note the version string or release notes that name the standard. If the vendor cites a draft, record that fact, because the parameter sizes may change when the standard is finalized.
Check protocol support in each stack
Check whether each TLS, SSH or IKE stack in your inventory supports the KEM you need, and at which version. For TLS, confirm the hybrid group names defined in the current IETF documents, such as X25519MLKEM768. For SSH, check the OpenSSH release notes, since mlkem768x25519-sha256 is available from version 9.9 and became the default in version 10.0. Some HQC-based key exchanges appear only in individual IETF drafts that have not been endorsed by the IETF, so treat them as proposals. The step is complete when you have a table of stack, version, and supported KEM names, with the source of each entry.
Record the version and date you confirmed
Write down the product name, exact version, the KEM and parameter set confirmed, the source document you checked, and the date of the check. Keep this record with your inventory so that it can be reviewed later. Because drafts and standards change, the date matters: an entry confirmed against a draft in one year may need rechecking when the final standard is published. Share the record with the security, compliance and procurement owners so that any future change in the contract or product version triggers a review.
Common mix-ups between ML-KEM and HQC in vendor claims and tenders
Vendor documents and tender requirements often name ML-KEM and HQC in the same breath, which makes it easy to read one as the other. The cards below separate the two algorithms by standing, parameter naming, sizes and the status of the drafts that describe them.
HQC is not the final standard
NIST selected HQC in March 2025 for standardization, but the planned HQC standard has not been published. The draft TLS HQC-KEM document states that FIPS 207 has not been published, not even as an Initial Public Draft. A vendor claiming HQC conformance today is pointing at an unfinished target. Ask which document and version the vendor implements, and whether it is an individual draft or a published standard.
HQC TLS draftHQC-1, HQC-3 and HQC-5 are not ML-KEM-512, 768 and 1024
The numbers look parallel, but the names belong to different algorithms. HQC-1, HQC-3 and HQC-5 are HQC parameter sets, while ML-KEM-512, 768 and 1024 are FIPS 203 parameter sets. Matching by number is a shortcut that gets sizes wrong. Check each card or tender line against the algorithm family it names, and confirm the parameter set and the security category it claims.
FIPS 203 textDraft sizes are not final sizes
Byte sizes quoted for HQC come from the HQC site and from a draft that says its sizes must be updated once FIPS 207 is published. Any size in a vendor table for HQC should be treated as provisional. Ask the vendor which draft or specification the numbers came from, and whether the implementation will change when the standard is final.
HQC siteHybrid groups are not plain HQC groups
The draft defines nine TLS 1.3 key exchange algorithms based on HQC-KEM, including hybrids with ML-KEM. A group named with HQC in it may combine HQC with ML-KEM and a traditional key exchange, so its security and its interoperability are not those of HQC alone. Ask which components a named group contains and whether a pure HQC group is offered at all.
HQC TLS draftML-KEM is the recommended choice
NIST describes HQC as a fallback in case ML-KEM proves vulnerable and says organizations should keep migrating to ML-KEM. Dustin Moody said HQC is not intended to replace ML-KEM, which remains the recommended choice for general encryption. Tenders that ask for HQC in place of ML-KEM should state the reason. Confirm whether the requirement is for a fallback or a primary algorithm.
NIST HQC announcementQuestions people ask about ML-KEM and HQC
Are ML-KEM and HQC the same algorithm?
No. ML-KEM is built on structured lattices, while HQC is built on error-correcting codes, so they rest on different mathematical problems. Both are key encapsulation mechanisms that let two parties agree on a shared secret, and both target NIST security category 3 according to the HQC site. The two designs have different key and ciphertext sizes, and NIST describes HQC as a lengthier algorithm that demands more computing resources than ML-KEM. Confirm the exact parameter set and version your product uses before assuming any behavior carries over.
Which of ML-KEM and HQC is newer?
ML-KEM is the newer of the two in terms of standardization status, because NIST published it as the final standard FIPS 203 on 13 August 2024. HQC was selected by NIST on 11 March 2025 as a code-based KEM to be standardized, and the planned standard, FIPS 207, has not yet been published according to the IETF draft draft-preussmattsson-tls-hqckem-03 dated 20 October 2026. HQC is therefore a selected candidate with a draft standard still pending, not a finished standard.
Does a rule or customer require ML-KEM or HQC specifically?
The sources do not show a rule or customer requirement that names HQC specifically. NIST describes HQC as a fallback in case ML-KEM proves vulnerable and says organizations should keep migrating to ML-KEM. Dustin Moody said HQC is not intended to replace ML-KEM, which remains the recommended choice for general encryption. Check the specific contract, regulator or customer questionnaire for named algorithms, and ask whether they accept ML-KEM, since it is the standard the sources point to for most use.
Does an organization need both ML-KEM and HQC?
The sources do not say that an organization needs both. NIST presents HQC as a backup option that diversifies the approach if ML-KEM proves vulnerable, and it recommends ML-KEM for general encryption. Whether a backup algorithm is worth deploying depends on the threat model, the cost of running a second key exchange, and the protocols in use. Ask your architecture or security lead to document the reason for any second algorithm, and confirm which key exchange groups your protocol stack supports.
What should I ask a vendor about ML-KEM and HQC support?
Ask which algorithm and parameter set the product uses for key encapsulation, such as ML-KEM-768 or an HQC variant, and whether the implementation follows FIPS 203 for ML-KEM. For HQC, ask which draft or version of the specification is implemented, since the standard is not yet published and sizes may change. Ask how the product handles hybrid key exchange, which protocol versions it supports, and where the vendor's documentation confirms each claim. Request the version number so you can check it against the sources.
Is HQC ready to deploy in production?
The sources do not support treating HQC as ready for general production deployment. The planned HQC standard, FIPS 207, has not been published, not even as an Initial Public Draft, and NIST expected a draft for public comment about a year after its March 2025 announcement with a final standard in 2027. The IETF draft for TLS HQC key exchange is an individual draft not endorsed by the IETF, and its sizes must be updated once FIPS 207 is published. For production use, check the current status of the standard and the vendor's documentation.
How do ML-KEM and HQC compare on computing cost and size?
The sources report that HQC demands more computing resources than ML-KEM, and the HQC site gives AVX2 cycle counts on one Intel Core i7-11850H at 2.5 GHz, including 75k cycles for HQC-1 key generation, 152k for encapsulation and 375k for decapsulation. The same site lists HQC-3 with a 4514-byte encapsulation key and 8978-byte ciphertext, against 1184 and 1088 bytes for ML-KEM-768. These figures come from one platform and one implementation, so compare them on your own hardware before drawing conclusions about your deployment.
How DeployOpen works on this
DeployOpen plans and tests the switch to ML-KEM or the other KEMs in your environment, from scoping through handover. The work covers where key encapsulation is used in your systems, how each change is built, and what evidence your teams receive.
How we scope
- We list the protocols, services and components in your environment that perform key encapsulation, including TLS, SSH and VPN endpoints.
- We agree a written scope covering which KEM parameter sets are in play, such as ML-KEM-768 or HQC-3, before any work starts.
- Engagements are fixed-scope, so deliverables and timelines are confirmed in writing, and ongoing support is available as a retainer.
How we build
- We configure key exchange groups for ML-KEM hybrids in your TLS and SSH services, checking the group names and codepoints your versions support.
- We test encapsulation key and ciphertext sizes against your network paths, load balancers and handshake limits, since HQC sizes are much larger than ML-KEM sizes.
- We track HQC standardization status, because the planned FIPS 207 has not been published, and keep any HQC configuration isolated until its sizes are confirmed.
How we hand over
- We document each KEM configuration, its parameter set and the version of each component, so your security and compliance teams can review it.
- We deliver test results showing handshake behavior, failures and fallbacks, with fixes and a retest for each finding.
- We set out the evidence your auditors will ask for, and we prepare the material for their assessment without issuing any audit report ourselves.
How we support
- We confirm compatibility for the exact versions you run, since product support for each KEM varies and the sources do not treat them as interchangeable.
- We retest after upgrades, such as a new OpenSSH or TLS library release, to catch changes in default key exchange groups.
- We keep the configuration current as standards move, including the final FIPS 207 text and any revisions to the TLS drafts for HQC.

