Paper 2022/1183

Fast and Efficient Hardware Implementation of HQC

Sanjay Deshpande
Chuanqi Xu
Mamuri Nawan
Kashif Nawaz
Jakub Szefer
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.

PDF
BibTeX
ePrint ↗
@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}
}
Category
Implementation
License
CC BY
Submitted
Updated
Versions
2 earlier

Report a problem

Comments

Log in or create an account

Privacy