用于 RNS-CKKS 开/解码和开/解密的紧凑高效硬件加速器

IF 4 2区 工程技术 Q2 ENGINEERING, ELECTRICAL & ELECTRONIC
Jianfei Wang;Chen Yang;Jia Hou;Fahong Zhang;Yishuo Meng;Yang Su;Leibo Liu
{"title":"用于 RNS-CKKS 开/解码和开/解密的紧凑高效硬件加速器","authors":"Jianfei Wang;Chen Yang;Jia Hou;Fahong Zhang;Yishuo Meng;Yang Su;Leibo Liu","doi":"10.1109/TCSII.2024.3454024","DOIUrl":null,"url":null,"abstract":"To accelerate RNS-CKKS, little attention is paid to the acceleration of the operations on the edge-client. However, the devices used by the edge-client are often low-end and have limited resources and computing power, so the performance of RNS-CKKS encoding, decoding, encryption and decryption also needs to be improved. Consequently, we propose a compact and efficient hardware accelerator architecture named CAEA for these operations. In order to improve the compactness of CAEA, a reconfigurable butterfly unit is proposed, which considers both complex number arithmetic and integer modular arithmetic, so that FFT/IFFT and NTT/INTT can be executed on unified hardware processing elements without additional resource and waste. Moreover, in order to improve the computational efficiency, we also improved the dataflow of encoding, decoding, encryption, and decryption on CAEA to reduce the number of required operations and latency. CAEA is synthesized based on SMIC 40nm technology, and is also implemented on Xilinx Kintex-7 and Zynq UltraScale+ FPGA. Compared with the prior related works, in terms of performance, CAEA can achieve \n<inline-formula> <tex-math>$2.01\\times $ </tex-math></inline-formula>\n speedup for encoding and decoding, \n<inline-formula> <tex-math>$1.13\\times \\sim ~87.86\\times $ </tex-math></inline-formula>\n speedup for encryption, and \n<inline-formula> <tex-math>$3.03\\times \\sim ~69.64\\times $ </tex-math></inline-formula>\n speedup for decryption. Compared with the state-of-the-art work, CAEA can achieve \n<inline-formula> <tex-math>$1.06\\times \\sim ~4.96\\times $ </tex-math></inline-formula>\n improvement in terms of area efficiency.","PeriodicalId":13101,"journal":{"name":"IEEE Transactions on Circuits and Systems II: Express Briefs","volume":"72 1","pages":"243-247"},"PeriodicalIF":4.0000,"publicationDate":"2024-09-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Compact and Efficient Hardware Accelerator for RNS-CKKS En/Decoding and En/Decryption\",\"authors\":\"Jianfei Wang;Chen Yang;Jia Hou;Fahong Zhang;Yishuo Meng;Yang Su;Leibo Liu\",\"doi\":\"10.1109/TCSII.2024.3454024\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"To accelerate RNS-CKKS, little attention is paid to the acceleration of the operations on the edge-client. However, the devices used by the edge-client are often low-end and have limited resources and computing power, so the performance of RNS-CKKS encoding, decoding, encryption and decryption also needs to be improved. Consequently, we propose a compact and efficient hardware accelerator architecture named CAEA for these operations. In order to improve the compactness of CAEA, a reconfigurable butterfly unit is proposed, which considers both complex number arithmetic and integer modular arithmetic, so that FFT/IFFT and NTT/INTT can be executed on unified hardware processing elements without additional resource and waste. Moreover, in order to improve the computational efficiency, we also improved the dataflow of encoding, decoding, encryption, and decryption on CAEA to reduce the number of required operations and latency. CAEA is synthesized based on SMIC 40nm technology, and is also implemented on Xilinx Kintex-7 and Zynq UltraScale+ FPGA. Compared with the prior related works, in terms of performance, CAEA can achieve \\n<inline-formula> <tex-math>$2.01\\\\times $ </tex-math></inline-formula>\\n speedup for encoding and decoding, \\n<inline-formula> <tex-math>$1.13\\\\times \\\\sim ~87.86\\\\times $ </tex-math></inline-formula>\\n speedup for encryption, and \\n<inline-formula> <tex-math>$3.03\\\\times \\\\sim ~69.64\\\\times $ </tex-math></inline-formula>\\n speedup for decryption. Compared with the state-of-the-art work, CAEA can achieve \\n<inline-formula> <tex-math>$1.06\\\\times \\\\sim ~4.96\\\\times $ </tex-math></inline-formula>\\n improvement in terms of area efficiency.\",\"PeriodicalId\":13101,\"journal\":{\"name\":\"IEEE Transactions on Circuits and Systems II: Express Briefs\",\"volume\":\"72 1\",\"pages\":\"243-247\"},\"PeriodicalIF\":4.0000,\"publicationDate\":\"2024-09-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Transactions on Circuits and Systems II: Express Briefs\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10663672/\",\"RegionNum\":2,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"ENGINEERING, ELECTRICAL & ELECTRONIC\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Circuits and Systems II: Express Briefs","FirstCategoryId":"5","ListUrlMain":"https://ieeexplore.ieee.org/document/10663672/","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0

摘要

为了加速RNS-CKKS,很少关注边缘客户端操作的加速。然而,边缘客户端使用的设备往往是低端设备,资源和计算能力有限,因此RNS-CKKS编码、解码、加解密的性能也需要提高。因此,我们提出了一种紧凑高效的硬件加速器架构,命名为CAEA。为了提高CAEA的紧凑性,提出了一种考虑复数运算和整数模运算的可重构蝶形单元,使FFT/IFFT和NTT/INTT可以在统一的硬件处理单元上执行,而不会产生额外的资源和浪费。此外,为了提高计算效率,我们还改进了CAEA上的编码、解码、加密和解密的数据流,以减少所需的操作次数和延迟。CAEA基于中芯国际40nm工艺合成,并在赛灵思Kintex-7和Zynq UltraScale+ FPGA上实现。与之前的相关工作相比,在性能上,CAEA可以实现$2.01\times $的编码和解码加速,$1.13\times \sim ~87.86\times $的加密加速,$3.03\times \sim ~69.64\times $的解密加速。与目前的工作相比,CAEA的面积效率提高了1.06 ~4.96倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A Compact and Efficient Hardware Accelerator for RNS-CKKS En/Decoding and En/Decryption
To accelerate RNS-CKKS, little attention is paid to the acceleration of the operations on the edge-client. However, the devices used by the edge-client are often low-end and have limited resources and computing power, so the performance of RNS-CKKS encoding, decoding, encryption and decryption also needs to be improved. Consequently, we propose a compact and efficient hardware accelerator architecture named CAEA for these operations. In order to improve the compactness of CAEA, a reconfigurable butterfly unit is proposed, which considers both complex number arithmetic and integer modular arithmetic, so that FFT/IFFT and NTT/INTT can be executed on unified hardware processing elements without additional resource and waste. Moreover, in order to improve the computational efficiency, we also improved the dataflow of encoding, decoding, encryption, and decryption on CAEA to reduce the number of required operations and latency. CAEA is synthesized based on SMIC 40nm technology, and is also implemented on Xilinx Kintex-7 and Zynq UltraScale+ FPGA. Compared with the prior related works, in terms of performance, CAEA can achieve $2.01\times $ speedup for encoding and decoding, $1.13\times \sim ~87.86\times $ speedup for encryption, and $3.03\times \sim ~69.64\times $ speedup for decryption. Compared with the state-of-the-art work, CAEA can achieve $1.06\times \sim ~4.96\times $ improvement in terms of area efficiency.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
IEEE Transactions on Circuits and Systems II: Express Briefs
IEEE Transactions on Circuits and Systems II: Express Briefs 工程技术-工程:电子与电气
CiteScore
7.90
自引率
20.50%
发文量
883
审稿时长
3.0 months
期刊介绍: TCAS II publishes brief papers in the field specified by the theory, analysis, design, and practical implementations of circuits, and the application of circuit techniques to systems and to signal processing. Included is the whole spectrum from basic scientific theory to industrial applications. The field of interest covered includes: Circuits: Analog, Digital and Mixed Signal Circuits and Systems Nonlinear Circuits and Systems, Integrated Sensors, MEMS and Systems on Chip, Nanoscale Circuits and Systems, Optoelectronic Circuits and Systems, Power Electronics and Systems Software for Analog-and-Logic Circuits and Systems Control aspects of Circuits and Systems.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信