Paper 2022/1183

Fast and Efficient Hardware Implementation of HQC

Sanjay Deshpande, Yale University
Chuanqi Xu, Yale University
Mamuri Nawan, Technology Innovation Institute
Kashif Nawaz, Technology Innovation Institute
Jakub Szefer, Yale University
Abstract

This work presents a hardware design for constant-time implementation of the HQC (Hamming Quasi-Cyclic) code-based key encapsulation mechanism. HQC has been selected for the fourth round of NIST's Post-Quantum Cryptography standardization process and this work presents the first, hand-optimized design of HQC key generation, encapsulation, and decapsulation written in Verilog targeting implementation on FPGAs. The three modules further share a common SHAKE256 hash module to reduce area overhead. All the hardware modules are parametrizable at compile time so that designs for the different security levels can be easily generated. The design currently outperforms the other hardware designs for HQC, and many of the fourth-round Post-Quantum Cryptography standardization process, with one of the best time-area products as well. For the combined HighSpeed design targeting the lowest security level, we show that the HQC design can perform key generation in 0.09ms, encapsulation in 0.13ms, and decapsulation in 0.21ms when synthesized for an Xilinx Artix 7 FPGA. Our work shows that when hardware performance is compared, HQC can be a competitive alternative candidate from the fourth round of the NIST PQC competition.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Published elsewhere. Selected Areas in Cryptography 2023
Keywords
HQCHamming Quasi-CyclicPQCCode-Based CryptographyKey Encapsulation MechanismFPGAHardware Implementation
Contact author(s)
sanjay deshpande @ yale edu
chuanqi xu @ yale edu
mamuri @ tii ae
kashif nawaz @ tii ae
jakub szefer @ yale edu
History
2023-08-14: last of 3 revisions
2022-09-09: received
See all versions
Short URL
https://ia.cr/2022/1183
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2022/1183,
      author = {Sanjay Deshpande and Chuanqi Xu and Mamuri Nawan and Kashif Nawaz and Jakub Szefer},
      title = {Fast and Efficient Hardware Implementation of {HQC}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1183},
      year = {2022},
      url = {https://eprint.iacr.org/2022/1183}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.