← Lab /Crypto & theory

Constant-time decoding of Gabidulin codes achieved with quadratic complexity

The authors claim to have created the first constant-time decoding algorithm for Augmented Gabidulin codes

Crypto & theory arXiv 22 Jul 2026 Method Prototype evidence

Published as “Constant-time decoding of Gabidulin codes and their generalizations with application to RQC”

Why it matters

Provides a practical, constant-time rank-metric KEM with much smaller keys and ciphertexts, useful for bandwidth-constrained or memory-limited post-quantum deployments.

Summary

The paper delivers the first constant-time implementation of augmented Gabidulin (AG) code decoding, showing that AG decoding is faster than extended Gabidulin (EG) decoding (three times fewer multiplications and half the CPU cycles) and that the new RQC-Block-MS-AG KEM outperforms the prior RQC implementation (keygen/encap/decap cycles reduced from 595K/685K/2.75M to 300K/580K/1.65M) while achieving roughly four-fold smaller public-key and ciphertext sizes; timing varies by less than 0.2% across error weights, indicating constant-time behavior, though the scheme remains about four-times slower than optimized HQC.

What they found 4

  1. AG decoding is significantly more efficient than EG decoding for the same parameters.

    “decoding EG codes requires three times more multiplications and Frobenius than equivalent AG code, and two times more CPU cycles.”

  2. RQC-Block-MS-AG key generation, encapsulation, and decapsulation are faster than the original RQC proposal.

    “RQC-Block-MS-AG 300K 580K 1.65M 1432”

  3. The new RQC implementation reduces public-key and ciphertext size from 5486 B to 1432 B.

    “RQC (NIST proposal) 595K 685K 2.75M 5486”

  4. Decoding time varies by less than 0.2% across all error weights, confirming constant-time behavior.

    “the relative difference between the minimum and maximum observed values is less than 0.2%.”

Caveats 3

  • The implementation is still approximately four to five times slower than the optimized HQC implementation.
  • While it is approximately 4 times slower than the optimized HQC implementation, this performance difference is compensated by a fourfold reduction in public key and ciphertext sizes.
  • Further optimizations of the implementation could reduce the execution time gap while maintaining constant-time properties.

What’s new here 4

  • Reduces augmented Gabidulin decoding to standard Gabidulin decoding, enabling quadratic-time algorithms.
  • Introduces a constant-time left Euclidean division for q-polynomials within the RBC library.
  • Provides the first fully constant-time decoder for AG codes and integrates it into RQC-Block-MS-AG.
  • Demonstrates practical performance gains over previous RQC implementations despite a slowdown versus HQC.