KyberMat:基于NTT与多相分解的CRYSTALS-Kyber方案中矩阵-向量多项式乘法高效加速器
KyberMat: Efficient Accelerator for Matrix-Vector Polynomial Multiplication in CRYSTALS-Kyber Scheme via NTT and Polyphase Decomposition
AI总结:
本文提出KyberMat加速器,通过子结构共享与多相分解协同优化Kyber中的矩阵-向量乘法和NTT多项式乘法,在FPGA上实现执行时间降低约90%、吞吐量提升66倍。
摘要:
CRYSTALS-Kyber(Kyber)是标准化过程中入选的后量子密码(PQC)密钥封装机制(KEM)方案之一。本文针对Kyber架构在延迟和吞吐量约束下的优化问题进行研究。具体而言,矩阵-向量乘法以及基于数论变换(NTT)的多项式乘法是需要优化的关键操作和瓶颈。为应对这一挑战,我们提出一种算法与硬件协同设计方法,通过采用一种新颖的子结构共享技术来系统优化矩阵-向量乘法和基于NTT的多项式乘法,以降低计算复杂度,即减少所消耗的模乘法和模加法/减法的数量。该子结构共享方法受到先前基于多相分解的快速并行方法的启发。所提出的高效前馈架构实现了高速度、低延迟以及所有硬件组件的充分利用,能够显著提升Kyber方案的整体效率。FPGA实现结果表明,我们提出的设计采用快速二并行结构,执行时间约减少90%,吞吐量性能提升66倍。
英文摘要:
CRYSTAL-Kyber (Kyber) is one of the post-quantum cryptography (PQC) key-encapsulation mechanism (KEM) schemes selected during the standardization process. This paper addresses optimization for Kyber architecture with respect to latency and throughput constraints. Specifically, matrix-vector multiplication and number theoretic transform (NTT)-based polynomial multiplication are critical operations and bottlenecks that require optimization. To address this challenge, we propose an algorithm and hardware co-design approach to systematically optimize matrix-vector multiplication and NTT-based polynomial multiplication by employing a novel sub-structure sharing technique in order to reduce computational complexity, i.e., the number of modular multiplications and modular additions/subtractions consumed. The sub-structure sharing approach is inspired by prior fast parallel approaches based on polyphase decomposition. The proposed efficient feed-forward architecture achieves high speed, low latency, and full utilization of all hardware components, which can significantly enhance the overall efficiency of the Kyber scheme. The FPGA implementation results show that our proposed design, using the fast two-parallel structure, leads to an approximate reduction of 90% in execution time, along with a 66 times improvement in throughput performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。