OptHQC: 优化HQC以实现高性能后量子密码学
OptHQC: Optimize HQC for High-Performance Post-Quantum Cryptography
AI总结:
OptHQC通过优化HQC方案的三个阶段,利用数据稀疏性、指令加速和内存访问优化,实现了55%的性能提升。
摘要:
随着后量子密码学(PQC)在保障未来通信系统安全中的重要性日益增加,量子抗性算法引入的性能开销成为主要的计算挑战。HQC(汉明准周期)是一种新标准化的基于码的PQC方案,旨在取代经典密钥交换方法。本文提出OptHQC,一种优化的HQC方案,以实现高性能的加密操作。我们的方法对HQC中的每个计算模块进行了全面分析,并在三个阶段:密钥生成、加密和解密中引入了优化。我们首先利用数据层面的向量乘法稀疏性,加速向量生成期间的多项式运算。然后利用指令层面的加速(如AVX2)在哈希计算中进一步提高性能。最后,我们将乘法转换为查找表索引,并优化syndrome计算和错误向量恢复中的内存访问模式,这些是HQC中最计算密集的操作。总体而言,OptHQC在CPU上实现了相对于参考HQC实现平均55%的速度提升。
英文摘要:
As post-quantum cryptography (PQC) becomes increasingly critical for securing future communication systems, the performance overhead introduced by quantum-resistant algorithms presents a major computing challenge. HQC (Hamming Quasi-Cyclic) is a newly standardized code-based PQC scheme designed to replace classical key exchange methods. In this paper, we propose OptHQC, an optimized implementation of the HQC scheme to deliver high-performance cryptographic operations. Our approach provides a comprehensive analysis of each computational blocks in HQC and introduces optimizations across all three stages: key generation, encryption, and decryption. We first exploit data-level sparsity in vector multiplication to accelerate polynomial operations during vector generation. We then leverage instruction-level acceleration (e.g., AVX2) in hash computation to further improve performance. Last, we transform multiplication into lookup table indexing and optimize memory access patterns in syndrome computation and error vector recovery, which are the most computationally intensive operations in HQC. Overall, OptHQC achieves an average 55% speedup over the reference HQC implementation on CPU.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。