Codes · Hardness assumption
Quasi-Cyclic Syndrome Decoding (QCSD)
Decoding a random quasi-cyclic code is as hard as decoding a random code.
Statement
Let h be a uniformly random element of 𝔽2[X]/(Xn − 1) and let x, z be sparse. The parity-check matrix is formed of circulant blocks, H = [ I | rot(h) ]. Given
the search problem is to find (x, z); the decision problem is to distinguish (h, y) from uniform. The HQC proof uses the decision problem with two and three blocks. This is syndrome decoding restricted to quasi-cyclic codes; the restriction reduces the public key from a matrix to a single row.
Use in HQC
HQC has no hidden code. The code used for decoding is public and fixed, and the public key is a QCSD instance. Its security reduces to QCSD alone, without an indistinguishability assumption of the kind Classic McEliece requires.
Evidence of hardness
- The unstructured problem is NP-hard in the worst case and has been studied since the 1960s.
- Quasi-cyclic structure is known to assist an attacker only by a factor of about √n.
- HQC takes n prime with (Xn − 1)/(X − 1) irreducible, which excludes attacks that project into a smaller ring.
- There is no worst-case to average-case reduction, and no proof that the quasi-cyclic problem is as hard as the unstructured one.
Best known attacks
- Information set decoding. Successive refinements (Prange, Stern, Dumer, MMT, BJMM) have improved the exponent only slightly in the low-weight regime of HQC.
- July 2026. An ISD variant that amortizes Gaussian elimination placed the category 1 parameter set about 3 bits below its target in a gate-count model. The HQC team raised the error weights before standardization.
- Quantum. Grover search over information sets approximately halves the exponent.
Limitations
- Decryption can fail with small probability. The proof requires that probability to be provably negligible; this analysis is separate from QCSD.
- The February 2025 HQC specification omitted a ciphertext salt from the re-encryption check, which defeated implicit rejection. It was reported three weeks after selection and corrected.
- HQC implementations have repeatedly leaked through the timing of rejection sampling and decoding.
Theoretical result·No action required
New generic syndrome-decoding records (length 580/weight 71; quasi-cyclic weight 64)
Reduced security margin·Action: monitor
Improved ISD puts HQC-1 about 3 bits under target; HQC team raises error weights