arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.04581cs.ARcs.CR
收藏

KiD:一种面向 FPGA 上 CRYSTALS-Kyber 与 CRYSTALS-Dilithium 统一 NTT 乘法的硬件设计框架

KiD: A Hardware Design Framework Targeting Unified NTT Multiplication for CRYSTALS-Kyber and CRYSTALS-Dilithium on FPGA

Suraj Mandal, Debapriya Basu Roy

AI总结:

本文提出 KiD 硬件框架,通过三种可配置基-2 蝶形单元的统一 NTT 架构与无冲突存储映射,在多类 FPGA 上高效支持 Kyber 和 Dilithium 多项式乘法。

摘要:

大次数多项式乘法是 CRYSTALS-Kyber 和 Dilithium 等后量子安全格密码算法中不可或缺的组成部分。通过数论变换(Number Theoretic Transformation,NTT),可以显著降低大次数多项式乘法的计算复杂度。本文旨在开发一种统一、共享的 NTT 架构,使其能够同时支持 CRYSTALS-Kyber 和 Dilithium 的多项式乘法。更具体地说,本文针对 CRYSTALS-Kyber 和 Dilithium 中的 NTT 乘法提出了三种不同的统一架构,这些架构具有数量不同的可配置基-2 蝶形单元。此外,所开发的实现结合了无冲突存储器映射方案,使架构能够实现全流水。我们已在 Artix-7、Zynq-7000 和 Zynq Ultrascale+ FPGA 上验证了该实现。我们针对 CRYSTALS-Kyber 和 Dilithium 的 NTT 乘法独立实现性能优于现有工作,并且与独立实现及现有统一实现相比,我们的统一架构展现出出色的面积和时序性能。该架构有望用于 CRYSTALS-Kyber 和 Dilithium 的紧凑且高效实现。

英文摘要:

Large-degree polynomial multiplication is an integral component of post-quantum secure lattice-based cryptographic algorithms like CRYSTALS-Kyber and Dilithium. The computational complexity of large-degree polynomial multiplication can be reduced significantly through Number Theoretic Transformation (NTT). In this paper, we aim to develop a unified and shared NTT architecture that can support polynomial multiplication for both CRYSTALS-Kyber and Dilithium. More specifically, in this paper, we have proposed three different unified architectures for NTT multiplication in CRYSTALS-Kyber and Dilithium with varying numbers of configurable radix-2 butterfly units. Additionally, the developed implementation is coupled with a conflict-free memory mapping scheme that allows the architecture to be fully pipelined. We have validated our implementation on Artix-7, Zynq-7000 and Zynq Ultrascale+ FPGAs. Our standalone implementations for NTT multiplication for CRYSTALS-Kyber and Dilithium perform better than the existing works, and our unified architecture shows excellent area and timing performance compared to both standalone and existing unified implementations. This architecture can potentially be used for compact and efficient implementation for CRYSTALS-Kyber and Dilithium.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑