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

BP-NTT:采用位并行模乘法的快速紧凑 SRAM 内数论变换

BP-NTT: Fast and Compact in-SRAM Number Theoretic Transform with Bit-Parallel Modular Multiplication

Jingyao Zhang, Mohsen Imani, Elaheh Sadredini

AI总结:

针对格密码 NTT 在边缘设备上的硬件实现瓶颈,提出缓存内计算与位并行模乘法及零成本移位相结合的方案,在多种参数设置下显著提升能效和面积效率。

摘要:

数论变换(NTT)是在前景广阔的格密码中计算多项式乘法的重要数学工具。然而,高代价的除法运算和复杂的数据依赖使高效且灵活的硬件设计颇具挑战,尤其是在资源受限的边缘设备上。现有方法要么仅关注有限的参数设置,要么带来显著的硬件开销。本文提出一种硬件-算法协同方法,利用缓存内计算来高效加速多种设置下的 NTT。通过采用优化的位并行模乘法并引入零成本移位操作,所提方案相比现有最优技术实现了最高 29 倍的单位面积吞吐量提升,以及 2.8 至 100 倍的单位面积每焦耳吞吐量提升。

英文摘要:

Number Theoretic Transform (NTT) is an essential mathematical tool for computing polynomial multiplication in promising lattice-based cryptography. However, costly division operations and complex data dependencies make efficient and flexible hardware design to be challenging, especially on resource-constrained edge devices. Existing approaches either focus on only limited parameter settings or impose substantial hardware overhead. In this paper, we introduce a hardware-algorithm methodology to efficiently accelerate NTT in various settings using in-cache computing. By leveraging an optimized bit-parallel modular multiplication and introducing costless shift operations, our proposed solution provides up to 29x higher throughput-per-area and 2.8-100x better throughput-per-area-per-joule compared to the state-of-the-art.

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

↑