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

高效灵活的差基数蒙哥马利模乘法用于硬件实现

Efficient and Flexible Differet-Radix Montgomery Modular Multiplication for Hardware Implementation

Yuxuan Zhang, Hua Guo, Chen Chen, Yewei Guan, Xiyong Zhang, Zhenyu Guan

AI总结:

本文提出一种高效的并行迭代蒙哥马利模乘法变种DRMMM,通过不同基数计算中间结果和商,提升硬件性能,实验表明输出延迟降低38.3%。

摘要:

蒙哥马利模乘法广泛应用于公钥密码系统(PKC),直接影响上层系统的效率。然而,随着安全需求增加,模数增大导致计算成本高。现有高速实现仍需大量冗余计算简化中间结果,蒙哥马利模乘法的冗余表示支持极有限。本文提出一种高效的并行迭代蒙哥马利模乘法变种DRMMM,允许商在多个迭代中计算。在该变种中,每个迭代的中间结果项和商项在不同基数下计算,使商计算可流水线化。基于该变种,我们设计了高性能硬件实现架构以加快运算。在架构中,每个迭代的中间结果分为三部分以避免冗余计算。最后,为支持基于FPGA的系统,我们设计了基于FPGA底层架构的运算符以提升面积-时间性能。实现和实验结果表明,我们的方法比FPGA上的最快设计将输出延迟降低了38.3%。

英文摘要:

Montgomery modular multiplication is widely-used in public key cryptosystems (PKC) and affects the efficiency of upper systems directly. However, modulus is getting larger due to the increasing demand of security, which results in a heavy computing cost. High-performance implementation of Montgomery modular multiplication is urgently required to ensure the highly-efficient operations in PKC. However, existing high-speed implementations still need a large amount redundant computing to simplify the intermediate result. Supports to the redundant representation is extremely limited on Montgomery modular multiplication. In this paper, we propose an efficient parallel variant of iterative Montgomery modular multiplication, called DRMMM, that allows the quotient can be computed in multiple iterations. In this variant, terms in intermediate result and the quotient in each iteration are computed in different radix such that computation of the quotient can be pipelined. Based on proposed variant, we also design high-performance hardware implementation architecture for faster operation. In the architecture, intermediate result in every iteration is denoted as three parts to free from redundant computations. Finally, to support FPGA-based systems, we design operators based on FPGA underlying architecture for better area-time performance. The result of implementation and experiment shows that our method reduces the output latency by 38.3\% than the fastest design on FPGA.

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

↑