基于2KNTT的多项式乘法单元设计OA北大核心CSTPCD
A Polynomial Multiplier Design Based on 2KNTT
在格基抗量子公钥密码算法的基础运算中,多项式乘法在硬件实现上消耗大量的时间.为提高实际运算性能,本文通过分析多项式乘法运算中数论变换的快速实现算法,提出一种面向CRYSTALS-Kyber算法、适应硬件实现的2n次单位根预处理型快速数论变换算法架构,利用小位宽数论变换的并行处理与复杂度低的计算形式来减少运算时间.整体运算架构在结合算法特殊性质后,确定了32路并行的设计模型.在此基础上,设计了一种与该架构匹配的统一化运算单元和数据读写不冲突、地址分配最优的存储单元.实验结果表明,在65 nm的互补金属氧化物半导体(CMOS)工艺下,97 ns完成一组项数为256、模数为3 329的多项式乘法运算,花费108个周期,最高工作频率可达到1.1 GHz,面积时间积为20.7(kGE×μs).
Polynomial multiplication consumes a lot of time in hardware implementation in the underlying operations of Lattice-based post-quantum public-key cryptography algorithms.The paper analyzes the fast implementation of number theoretic transform algorithm in polynomial multiplication operations for CRYSTALS-Kyber and proposes a 2n-th unit root preprocessing fast number theoretic transform algorithm architecture that adapts to the hardware implementation.In order to reduce computing time,the architecture uses parallel processing of small bit-width number theoretic transformation and low-complexity computations.Taking into account the characteristics of the algorithm,the overall computing architecture adopts a 32-way parallel design model.Based on this,we design a unified computing unit that matches the architecture and a storage unit with non-conflicting mechanism while reading or writing data and optimal address assignment.Under the CMOS 65 nm process,a set of polynomial multiplication operations with term number 256 and modulus 3 329 can be com-pleted in 108 cycles within 97 ns.The maximum operating frequency can reach 1.1 GHz,and the area time product is 20.7(kGE×μs).
陈韬;李慧琴;吴艾青;李伟;南龙梅
中国人民解放军战略支援部队信息工程大学,河南郑州 450000
电子信息工程
格基抗量子公钥密码算法CRYSTALS-Kyber多项式乘法2KNTT硬件实现
Lattice-based post-quantum public-key cryptographyCRYSTALS-Kyberpolynomial multiplication2KNTThardware design
《电子学报》 2024 (002)
密码多核处理器中可重构数据流加速阵列结构与自循环控制机制研究
455-467 / 13
国家自然科学基金(No.61404175);国家科技重大专项(No.2018ZX01027101-00) National Natural Science Foundation of China(No.61404175);National Major Science and Technology Special Project(No.2018ZX01027101-00)
评论