arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.00095cs.ARcs.CRcs.ET
收藏

XCRYPT:用忆阻器纵横阵列加速基于格的密码学

XCRYPT: Accelerating Lattice Based Cryptography with Memristor Crossbar Arrays

Sarabjeet Singh, Xiong Fan, Ananth Krishna Prasad, Lin Jia, Anirban Nag, Rajeev Balasubramonian, Mahdi Nazm Bojnordi, Elaine Shi

摘要:

本文提出了一个加速格为基础的后量子密码学(PQC)与忆阻器为基础的交叉开关的情况下,这些固有的容错算法是一个很好的适合噪声模拟MAC操作交叉开关。我们比较了不同的NIST第三轮基于网格的PQC候选者,并确定SABER不仅是在传统系统上执行时的领跑者,而且还可以通过交叉杆加速。SABER是一种基于模LWR的方法,它通过舍入执行模多项式乘法。我们将SABER中的多项式乘法映射到交叉杆上,并表明与最近的硬件提案相比,模拟点积可以产生$1.7-32.5\times$性能和能效的改善。这个初始设计结合了多个最先进的作品中的创新-SABER中的算法和ISAAC(用于深度神经网络加速)中提出的忆阻加速原理。然后,我们确定在这个初始设计的瓶颈,并引入几个额外的技术,以提高其效率。这些技术是协同的,特别是受益于SABER的2的幂模运算。首先,我们表明,在SABER中使用的一些软件技术,在CPU平台上是有效的,是没有帮助的基于纵横的加速器。依靠更简单的算法,通过$1.3-3.6\times$进一步提高了我们的效率。其次,我们利用SABER的计算特性,交错交叉开关中的运算,并共享几个可变精度ADC,从而实现高达$1.8\times$的更高效率。第三,为了进一步降低ADC的压力,我们提出了一种简单的模拟移位和相加技术,这导致了$1.3-6.3\times$效率的提高。总体而言,我们的设计实现了$3-15\times$更高的效率比初始设计,和$3-51\times$高于以前的工作。

英文摘要:

This paper makes a case for accelerating lattice-based post quantum cryptography (PQC) with memristor based crossbars, and shows that these inherently error-tolerant algorithms are a good fit for noisy analog MAC operations in crossbars. We compare different NIST round-3 lattice-based candidates for PQC, and identify that SABER is not only a front-runner when executing on traditional systems, but it is also amenable to acceleration with crossbars. SABER is a module-LWR based approach, which performs modular polynomial multiplications with rounding. We map the polynomial multiplications in SABER on crossbars and show that analog dot-products can yield a $1.7-32.5\times$ performance and energy efficiency improvement, compared to recent hardware proposals. This initial design combines the innovations in multiple state-of-the-art works -- the algorithm in SABER and the memristive acceleration principles proposed in ISAAC (for deep neural network acceleration). We then identify the bottlenecks in this initial design and introduce several additional techniques to improve its efficiency. These techniques are synergistic and especially benefit from SABER's power-of-two modulo operation. First, we show that some of the software techniques used in SABER, that are effective on CPU platforms, are unhelpful in crossbar-based accelerators. Relying on simpler algorithms further improves our efficiencies by $1.3-3.6\times$. Second, we exploit the nature of SABER's computations to stagger the operations in crossbars and share a few variable precision ADCs, resulting in up to $1.8\times$ higher efficiency. Third, to further reduce ADC pressure, we propose a simple analog Shift-and-Add technique, which results in a $1.3-6.3\times$ increase in the efficiency. Overall, our designs achieve $3-15\times$ higher efficiency over initial design, and $3-51\times$ higher than prior work.

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

↑