Metraipolis › archive › dc_5a6c11bf3917

Optimizing Polynomial Multiplication and Fixed-Weight Sampling for HQC on ARM Cortex-M4 — arXiv:2608.18145

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.18145
License (as archived)
CC0-1.0
Archived
2026-10-07T13:43:21.432Z
SHA-256 of the archived text
96ddced390fe12f22a03bc0599aa737d6a45659b6d773606a4021e6438653c09
Stable URL of this page
https://metraipolis.com/documento/dc_5a6c11bf3917

How to cite

Optimizing Polynomial Multiplication and Fixed-Weight Sampling for HQC on ARM Cortex-M4 — arXiv:2608.18145 — arXiv (en), https://arxiv.org/abs/2608.18145 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5a6c11bf3917 (Metraipolis archive dc_5a6c11bf3917, sha256 96ddced390fe12f22a03bc0599aa737d6a45659b6d773606a4021e6438653c09)
BibTeX
@misc{dc5a6c11bf3917,
  title = {Optimizing Polynomial Multiplication and Fixed-Weight Sampling for HQC on ARM Cortex-M4 — arXiv:2608.18145},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.18145},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5a6c11bf3917; sha256 96ddced390fe12f22a03bc0599aa737d6a45659b6d773606a4021e6438653c09},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.18145. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

In this paper, we present an optimized implementation of Hamming Quasi-Cyclic (HQC) on the ARM Cortex-M4. We optimize (i) the polynomial multiplication and (ii) the support expansion in fixed-weight sampling, and (iii) propose an optional caching strategy that reuses the public transforms and hash recomputed under a fixed key. For the polynomial multiplication, the fixed-constant multiplications in the Frobenius additive FFT (FAFFT) butterfly spend nearly half of their instructions on VMOV data movements between general-purpose and floating-point registers rather than arithmetic. Because minimizing the XOR count alone can increase the total instruction count, we propose a dirty-aware register-allocation policy and an XOR-operation reordering that reduce the VMOV count by up to 48.1% while leaving the XOR count unchanged. We apply these to a multiplication that combines prior FAFFT-CRT methods, and for HQC-1 we further find a 34% sparser FAFFT modulus that lowers the CRT reconstruction cost. For fixed-weight sampling, we rewrite the support expansion with predicated execution and 4-way unrolling, lowering the per-word cost of its inner loop from 22 to 6 cycles while remaining constant-time. On the NUCLEO-L4R5ZI board, our implementation reduces key generation, encapsulation, and decapsulation by up to 33.1%, 34.6%, and 29.8% over the faster of the two prior state-of-the-art implementations, and the optional caching yields a further reduction of up to 32.7% and 18.9% for encapsulation and decapsulation.

Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-10-01 in cs.CR).
Categorie arXiv: Hardware Architecture (cs.AR) ; Cryptography and Security (cs.CR).
Pagina del lavoro: https://arxiv.org/abs/2608.18145 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T13:16:25.243Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-10-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).