What is HQC (Hamming Quasi-Cyclic)?

HQC is a code-based key encapsulation mechanism that NIST selected in March 2025 as a backup to ML-KEM. This page explains what it is, where it appears and what it means for migration.

On this page

What is HQC (Hamming Quasi-Cyclic) and why does it come up in my review?

If you have met HQC (Hamming Quasi-Cyclic) in a vendor document, a TLS draft or a tender, it is a code-based Key Encapsulation Mechanism used to establish shared keys. NIST selected it for standardization on 11 March 2025 as a backup to ML-KEM, and the standard is expected to be published as FIPS 207. As of the sources reviewed, FIPS 207 is not yet published, not even as an initial public draft, so any document that cites it as final is ahead of the record.

Security, platform and procurement teams are the usual readers who meet HQC, because it turns up in places they must answer for: draft key exchange groups in the TLS and IETF work, library documentation that lists it as a supported algorithm, and vendor answers to post-quantum questions. Each of these uses different names for the same parameter sets. The HQC project site uses HQC-1, HQC-3 and HQC-5, while the IETF draft uses HQC-KEM-128, HQC-KEM-192 and HQC-KEM-256, and the draft says those names must be updated to match FIPS 207 once it exists.

When you review a vendor claim about HQC, confirm which parameter set, which name and which draft or library version it refers to, and whether the claim rests on a published standard or a draft. Check the byte sizes against the specification version the vendor actually ships, since the sources list sizes per parameter set and the TLS draft revisions have changed. NIST's own guidance, in IR 8545 and its March 2025 announcement, positions HQC as a backup rather than a replacement for ML-KEM.

Which names and parameter sets refer to HQC?

This table lists the names HQC appears under in the project site, the TLS draft, the liboqs library and NIST publications, with the security category each name maps to. Use it to match a name in a vendor document or audit request to the parameter set it means. Note that the names in the TLS draft must be updated to match FIPS 207 once that standard is published, and the sources on this page do not show FIPS 207 has been published.

Name or identifierWhere it appearsSecurity category or meaning
Hamming Quasi-Cyclic (HQC)Project site and NIST materialsFull name of the code-based key encapsulation mechanism
HQC-1Project site and liboqs documentationParameter set at NIST level 1, public key 2,241 bytes
HQC-3Project site and liboqs documentationParameter set at NIST level 3, public key 4,514 bytes
HQC-5Project site and liboqs documentationParameter set at NIST level 5, public key 7,237 bytes
HQC-KEM-128IETF TLS draft (revision -01 onward)Maps to HQC-1, security category 1
HQC-KEM-192IETF TLS draft (revision -01 onward)Maps to HQC-3, security category 3
HQC-KEM-256IETF TLS draft (revision -01 onward)Maps to HQC-5, security category 5
HQCKEM128, HQCKEM192, HQCKEM256IETF TLS draft group namesTLS 1.3 key exchange group names for HQC-KEM alone, with values still placeholders in revision -01

Where do practitioners meet HQC in protocols, libraries and tenders?

HQC shows up in four kinds of places: draft protocol specifications, open-source libraries, the NIST standardization record, and vendor or tender questions. Each one tells you something different about whether HQC is specified, implemented or supported, so read them separately before drawing conclusions.

IETF TLS hybrid draft

The IETF draft draft-preussmattsson-tls-hqckem defines nine TLS 1.3 key exchange groups built from HQC-KEM, alone, with X25519 or X448, with ML-KEM, and with ML-KEM plus X25519 or X448. It is intended for TLS 1.3, DTLS 1.3 and QUIC. The latest revision, -03, is an individual Internet-Draft with no IETF endorsement and expires 23 April 2027, so it is a proposal, not an adopted standard. Check the revision and the group names before relying on them.

Draft datatracker page

liboqs library documentation

The liboqs documentation lists HQC-1, HQC-3 and HQC-5 with claimed NIST levels 1, 3 and 5 and gives its support tier as Tier 2. The page also states that it does not mention FIPS 207. Read the tier and the page's own statement as the limit of what this library documents. Confirm the exact release and algorithm names in your build before you rely on them.

liboqs HQC docs

NIST Round 4 submissions and status

NIST's Round 4 submissions page lists HQC as a separate submission and marks it as selected for standardization on 11 March 2025. NIST IR 8545 states that HQC is the only key-establishment algorithm to be standardized from the fourth round. The NIST project page says HQC standardization is underway and does not name a FIPS 207 draft. Use these pages to establish status, then check the current revision for any later changes.

NIST Round 4 submissions

Vendor documents and product claims

Vendor documentation may name HQC in a product or roadmap, but the sources supplied for this page do not identify any product that supports HQC. Ask each vendor for the exact product, version, edition and component, and whether the HQC implementation is in production or in a test build. Treat any vendor statement as a claim to verify, not as evidence of support.

Tender and audit questions

Procurement and audit questions may ask whether a product uses HQC or whether it plans to support FIPS 207 once published. The sources do not show a FIPS 207 publication, so a clear answer is that the standard is not yet final. Ask vendors to state what they support today, what they plan, and the date and source of each claim.

Expected final standard
2027

What does HQC do in a system, in terms of roles?

In a system, HQC acts as a key encapsulation mechanism (KEM). Its job is to let two parties establish a shared secret over a channel that may be observed by others. One side generates a key pair, publishing an encapsulation key and keeping a decapsulation key private. The other side uses the encapsulation key to produce a ciphertext and a shared secret. The first side then uses its decapsulation key on the ciphertext to recover the same shared secret. The shared secret is then used by the protocol to derive symmetric keys for encrypting traffic. HQC is therefore one component in a key exchange, not a tool for encrypting bulk data or for signing.

For handshake planning, the project site lists these sizes in bytes for the three parameter sets. For HQC-1, the encapsulation key is 2,241 bytes, the ciphertext is 4,433 bytes, and the shared secret is 32 bytes. For HQC-3, they are 4,514, 8,978 and 32 bytes. For HQC-5, they are 7,237, 14,421 and 32 bytes. The liboqs documentation reports the same public key and ciphertext sizes. These figures matter because the ciphertext is much larger than the classical elliptic-curve shares many handshakes carry, so the extra bytes can affect packet sizes and handshake round trips. Confirm the sizes against the specification version and library build you deploy, since the TLS draft notes that sizes must be verified once FIPS 207 is published.

Before relying on these sizes in a design, check which specification revision your implementation follows. The IETF draft notes that its names and sizes must be updated to match FIPS 207 once that standard is published, and as of the latest facts available here, FIPS 207 has not been published. Treat the byte counts above as values to verify in your own test environment, not as settled interoperability constants.

Is HQC standardized yet, and what is the timeline?

HQC is not yet a published NIST standard. NIST selected HQC on 11 March 2025, and NIST IR 8545 states that it is the only key-establishment algorithm that will be standardized from the fourth round. NIST's announcement said it planned a draft standard for public comment in about a year, followed by a 90-day comment period, with the final standard expected in 2027. The number the draft is expected to carry is FIPS 207, and the IETF draft of 15 October 2026 uses that number as a placeholder. Engineers reading vendor documents should treat FIPS 207 as a planned designation, not a finished document.

The sources listed on this page do not show that FIPS 207 is published. An editor's note in the IETF draft dated 15 October 2026 states that FIPS 207 is not published, not even as an Initial Public Draft. NIST's post-quantum project page, updated 4 December 2026, lists the FIPS 203, FIPS 204 and FIPS 205 standards released in August 2024 and says the HQC standardization process is underway, without naming a FIPS 207 draft. A NIST presentation titled "FIPS 207: HQC-KEM" was given at the Sixth PQC Standardization Conference on 25 September 2025, but a conference talk is not a published standard. Check the NIST project page again before any review, since the status may have changed after these sources were last updated.

For planning, the practical point is that any HQC support you see in a product today is likely based on a pre-standard specification, and the sizes, parameter names and identifiers may change when FIPS 207 is final. The IETF draft says its HQC-KEM names and sizes must be verified against FIPS 207 once it exists. Ask vendors which specification version and parameter names their HQC implementation uses, whether they will update when FIPS 207 is published, and how they will handle any changes. Also confirm with your own security team how NIST's stated position applies to you, since NIST describes HQC as a backup to ML-KEM rather than a replacement for it.

What should I check for HQC in a post-quantum migration?

This sequence gives you a checklist for finding HQC in your environment, confirming which draft and specification a system claims, and recording the questions to put to vendors while FIPS 207 is still unpublished. It produces an inventory entry and a vendor answer you can verify against the final standard.

  1. Search the inventory for HQC names

    Run a search of your cryptographic inventory and configuration exports for HQC, HQC-KEM and HQCKEM, including the group names HQCKEM128, HQCKEM192 and HQCKEM256. Also search for the parameter names HQC-1, HQC-3 and HQC-5, since vendors may use either set of names. Record each hit with the system, the component and the file or setting where it appears. The step is done when every match is logged and every system that returned no match is listed as checked.

  2. Record the draft and specification each system claims

    For each match, write down which revision of the TLS HQC-KEM draft the system claims to follow, and which HQC specification date it cites. The current draft is revision -03, and the -01 revision used placeholder NamedGroup values (TBD1 to TBD9), so a system citing -01 may not match the current draft. Note the specification dated 2026-10-12 only where a vendor states it. The step is done when every system has a recorded draft revision and specification date, or a note that the vendor did not state one.

  3. Confirm HQC alone or hybrid with ML-KEM

    Determine whether each system uses HQC by itself or combined with ML-KEM, and whether it also combines HQC with X25519 or X448. The TLS draft defines separate groups for each case, so the group name in a configuration tells you which one is in use. Record the group name exactly as configured. The step is done when each system is marked as HQC alone, hybrid with ML-KEM, or hybrid with a classical curve, and the configuration line is attached.

  4. Ask vendors which specification version they implement

    Send each vendor a written question asking which version of the HQC specification their product implements, and which TLS draft revision and parameter names they use. Ask whether they will update their names when FIPS 207 is published, since the IETF draft states that names must be updated to match it. Keep the answers with the vendor's name and date. The step is done when every vendor has replied in writing or the non-reply is recorded.

  5. Check whether FIPS 207 has been published

    Check the NIST post-quantum project page for a FIPS 207 draft or final publication, since the IETF draft of 15 October 2026 notes that FIPS 207 was not yet published, even as an Initial Public Draft. NIST's page, updated 4 December 2026, does not name a FIPS 207 draft. Record the date of your check and the status you found. The step is done when your inventory states whether FIPS 207 exists as of that date.

  6. Plan to re-verify sizes and identifiers

    Schedule a re-check of key and ciphertext sizes, group identifiers and parameter names once the standard is final, because the IETF draft says all FIPS 207 references and sizes must be verified after publication. Compare the sizes your systems use with the values in the final text, and update any identifier that changed. Until then, treat the figures in drafts as provisional. The step is done when the re-check is assigned to an owner and recorded in your migration plan.

Which HQC names and claims are easy to mix up?

HQC appears under several names and dates across project sites, IETF drafts and NIST announcements, and some claims about it are stated more strongly than the sources support. The four items below are the ones most likely to cause confusion in a vendor document, a TLS configuration or an audit answer.

HQC-1 versus HQC-KEM-128

The same security category carries two names. The HQC project site uses HQC-1, HQC-3 and HQC-5, while the IETF TLS draft uses HQC-KEM-128, HQC-KEM-192 and HQC-KEM-256 and maps them to the project names for security categories 1, 3 and 5. Check which naming a document uses before comparing sizes or parameter sets. The draft also says the names must be updated to match FIPS 207 once it exists, so expect further renaming.

HQC project site

Placeholder TBD group values

Revision -01 of the TLS draft uses placeholder code points. Its NamedGroup values are listed as TBD1 to TBD9, so they are not final identifiers and should not be hard-coded into a TLS stack or an interoperability test. The latest revision, -03, is an individual Internet-Draft with no IETF endorsement and an expiry date of 23 April 2027, so treat it as a work in progress and confirm the identifiers against the version your implementation targets.

Draft datatracker page

HQC versus FIPS 207

The FIPS 207 number is expected, not published. NIST announced HQC for standardization on 11 March 2025, and the IETF draft dated 15 October 2026 notes that FIPS 207 is not yet published, not even as an Initial Public Draft. NIST's project page, updated 4 December 2026, does not name a FIPS 207 draft. Do not cite FIPS 207 as a published standard in a compliance answer, and confirm the status on NIST's site before relying on it.

NIST PQC project page

HQC does not replace ML-KEM

NIST says HQC is a backup, not a successor. NIST describes HQC as a backup in case quantum computers someday can break ML-KEM, and it relies on error-correcting codes rather than structured lattices. Dustin Moody of NIST stated that HQC is not intended to take the place of ML-KEM, which remains the recommended choice for general encryption. Any document that presents HQC as replacing ML-KEM contradicts this guidance and should be queried.

NIST announcement

What do people search about HQC?

What does HQC stand for?

HQC stands for Hamming Quasi-Cyclic. It is a code-based Key Encapsulation Mechanism, meaning a key establishment scheme whose security rests on the difficulty of decoding quasi-cyclic codes rather than on lattices. The HQC project site names three parameter sets, HQC-1, HQC-3 and HQC-5. The IETF draft describes HQC as relying on the difficulty of decoding random quasi-cyclic codes, which is a different assumption from the module-lattice basis of ML-KEM. Check the exact parameter names against the specification version your vendor or library uses, because the names are still being aligned with the forthcoming standard.

Is HQC the same as HQC-KEM or FIPS 207?

No, these are related names for one scheme, not separate products. HQC is the algorithm. HQC-KEM is the name the IETF draft uses for the key encapsulation mechanism, with HQC-KEM-128, HQC-KEM-192 and HQC-KEM-256 mapped to HQC-1, HQC-3 and HQC-5. FIPS 207 is the expected number of the NIST standard that will specify HQC. As of the sources on this page, FIPS 207 has not been published, not even as an Initial Public Draft, so the IETF draft says its names and sizes must be verified once FIPS 207 exists. Confirm the exact names and sizes against the published standard when it arrives.

Is HQC standardized yet?

Not yet as a final standard. NIST announced on 11 March 2025 that it selected HQC for standardization and said it planned a draft for public comment in about a year, followed by a 90-day comment period, with a final standard expected in 2027. NIST's post-quantum project page, updated 4 December 2026, says the HQC standardization process is underway and does not name a FIPS 207 draft. The IETF draft is an individual Internet-Draft without IETF endorsement, so it does not make HQC a standard either. Treat HQC as selected but not yet finalized, and check NIST's project page for the current stage.

Does HQC replace ML-KEM?

No. NIST states that HQC is not intended to take the place of ML-KEM, which remains the recommended choice for general encryption. NIST describes HQC as a backup in case quantum computers are someday able to crack ML-KEM, and it wanted a backup based on a different mathematical approach: HQC relies on error-correcting codes while ML-KEM relies on structured lattices. NIST also says organizations should continue migrating to the standards it finalized in 2024, which are FIPS 203, FIPS 204 and FIPS 205. For planning, HQC is a diversification option, not a successor to ML-KEM.

What changes for a system that uses TLS if it adopts HQC?

The IETF draft defines TLS 1.3 key exchange groups built on HQC-KEM, intended for TLS 1.3, DTLS 1.3 and QUIC. It defines nine groups: three HQC-KEM alone, two combined with X25519 or X448, two combined with ML-KEM, and two combined with ML-KEM plus X25519 or X448. The draft lists the handshake share sizes for each group, which are much larger than classical key shares, so check the message sizes against your network and middlebox limits. The draft is still a draft, and its NamedGroup values are placeholders in earlier revisions, so confirm the group identifiers in the version your TLS library implements before relying on them.

What should I ask a vendor about HQC?

Ask which HQC parameter set and name the product uses, and whether it follows the HQC specification and which version of it. Ask whether the implementation tracks the IETF TLS draft, and which revision of that draft it implements. Ask whether they will update names and sizes when FIPS 207 is published, and how they will handle the change. Ask whether HQC is offered alone or in a hybrid with ML-KEM and a classical group, and what the handshake and ciphertext sizes are for your deployment. Ask whether the vendor has any published assessment or validation of its HQC implementation, and what that document covers. Do not assume an implementation is interchangeable with another HQC implementation without confirming the version and parameter set.

Where can I check the HQC standard status and sizes?

Start with NIST's HQC announcement and IR 8545, which explain the selection and why HQC was chosen over BIKE. Check NIST's post-quantum project page for the current stage, and check NIST's Round 4 submissions page for the submission record. The HQC project site lists the parameter sets and their byte sizes for the encapsulation key, decapsulation key, ciphertext and shared secret. The liboqs documentation lists the same parameter sets with their claimed NIST levels. Where these sources differ, or where a vendor quotes different sizes, confirm the figures against the published standard once FIPS 207 is released.

How DeployOpen works on this

DeployOpen helps organizations scope, implement and document HQC work inside their own infrastructure, from identifying where HQC would be referenced to preparing for a migration once the standard is published. Engagements are fixed-scope, with the deliverables agreed in writing before work starts.

How we scope

  • Confirm which systems, protocols or vendor products in your estate would reference HQC or its parameter sets
  • Record the written scope, deliverables and timelines before any work starts, since engagements are fixed-scope
  • Separate what is standardized today from what is still a draft, such as the pending FIPS 207 standard

How we build

  • Set up test environments for HQC-KEM groups in TLS 1.3 only where the library and version you run actually support them
  • Document the sizes and parameter sets your configuration uses, checked against the vendor documentation and standards you cite
  • Keep HQC work separate from ML-KEM deployments, since NIST describes ML-KEM as the recommended choice for general encryption

How we hand over

  • Deliver a written record of the configuration, the versions tested and the open points still waiting on final standards
  • Include a retest plan so your team can check the setup again when the libraries or the HQC specification change
  • Provide documentation your security, compliance and procurement teams can review and confirm independently

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers once the initial work is handed over
  • Track revisions of the IETF draft and the NIST HQC standardization process so your documentation stays current
  • Review the configuration again when the final HQC standard is published and confirm which names and sizes have changed

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.