arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.07104cs.CRcs.AR
收藏

RISE:RISC-V SoC,用于同态加密的边缘加密/解密加速

RISE: RISC-V SoC for En/decryption Acceleration on the Edge for Homomorphic Encryption

Zahra Azad, Guowei Yang, Rashmi Agrawal, Daniel Petrisko, Michael Taylor, Ajay Joshi

摘要:

如今,边缘设备通常连接到云,以使用其存储和计算功能。这导致了对用户数据的安全和隐私的担忧。同态加密(Homomorphic encryption,HE)是解决数据隐私问题的一种很有前途的解决方案,因为它允许对加密数据进行任意复杂的计算,而不需要对其进行解密。虽然在云中加速HE计算方面有很多工作,但很少有人关注边缘上的消息到密文和密文到消息转换操作。在这项工作中,我们分析了边缘侧转换操作,我们的分析表明,在转换错误采样,加密和解密操作的瓶颈。为了克服这些瓶颈,我们提出了RISE,一个面积和节能的RISC-V SoC。RISE利用一个高效和轻量级的伪随机数发生器核心,并结合快速采样技术,以加速错误采样操作。为了加速加密和解密操作,RISE使用可扩展的数据级并行来实现数论变换操作,这是加密和解密操作中的主要瓶颈。此外,RISE通过实现统一的加密/解密数据路径节省了面积,并有效地利用了内存重用和数据重新排序等技术,以利用最少量的片上内存。我们使用一个完整的RTL设计来评估RISE,该设计包含一个与我们的加速器接口的RISC-V处理器。我们的分析表明,对于消息到密文转换和密文到消息转换,使用RISE分别比仅使用RISC-V处理器时的能效高6191.19倍和2481.44倍。

英文摘要:

Today edge devices commonly connect to the cloud to use its storage and compute capabilities. This leads to security and privacy concerns about user data. Homomorphic Encryption (HE) is a promising solution to address the data privacy problem as it allows arbitrarily complex computations on encrypted data without ever needing to decrypt it. While there has been a lot of work on accelerating HE computations in the cloud, little attention has been paid to the message-to-ciphertext and ciphertext-to-message conversion operations on the edge. In this work, we profile the edge-side conversion operations, and our analysis shows that during conversion error sampling, encryption, and decryption operations are the bottlenecks. To overcome these bottlenecks, we present RISE, an area and energy-efficient RISC-V SoC. RISE leverages an efficient and lightweight pseudo-random number generator core and combines it with fast sampling techniques to accelerate the error sampling operations. To accelerate the encryption and decryption operations, RISE uses scalable, data-level parallelism to implement the number theoretic transform operation, the main bottleneck within the encryption and decryption operations. In addition, RISE saves area by implementing a unified en/decryption datapath, and efficiently exploits techniques like memory reuse and data reordering to utilize a minimal amount of on-chip memory. We evaluate RISE using a complete RTL design containing a RISC-V processor interfaced with our accelerator. Our analysis reveals that for message-to-ciphertext conversion and ciphertext-to-message conversion, using RISE leads up to 6191.19X and 2481.44X more energy-efficient solution, respectively, than when using just the RISC-V processor.

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

↑