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 <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$2.01\times $ </tex-math></inline-formula> speedup for encoding and decoding, <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$1.13\times \sim ~87.86\times $ </tex-math></inline-formula> speedup for encryption, and <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$3.03\times \sim ~69.64\times $ </tex-math></inline-formula> speedup for decryption. Compared with the state-of-the-art work, CAEA can achieve <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$1.06\times \sim ~4.96\times $ </tex-math></inline-formula> improvement in terms of area efficiency.
Authors
- Jia Hou (ORCID: https://orcid.org/0009-0007-1744-3667)
- Yishuo Meng (ORCID: https://orcid.org/0000-0002-3402-6386)
- Fahong Zhang (ORCID: https://orcid.org/0009-0008-8613-5323)
- Jianfei Wang (ORCID: https://orcid.org/0009-0004-0132-3319)
- Leibo Liu (ORCID: https://orcid.org/0000-0001-7548-4116)
- Chen Yang (ORCID: https://orcid.org/0000-0002-8221-7670)
- Yang Su (ORCID: https://orcid.org/0000-0003-3619-7936)
Institutions
- Chinese People's Armed Police Force Engineering University (CN)
- Xi'an Jiaotong University (CN)
- Tsinghua University (CN)
Publication Details
- Journal
- IEEE Transactions on Circuits & Systems II Express Briefs
- Published
- 2024-09-03
- DOI
- https://doi.org/10.1109/tcsii.2024.3454024
- Citations
- 7
- Primary Topic
- Cryptography and Residue Arithmetic
- Type
- article
- Field-Weighted Citation Impact
- 5.45
Funders
- National Natural Science Foundation of China