Integer Based Fully Homomorphic DSP Accelerator using Weighted-Number Theoretic Transform

Authors

  • Shakirah Hashim School of Computing Sciences, College of Computing, Informatics and Media, Universiti Teknologi MARA, 40450 Shah Alam, Selangor, Malaysia
  • Mohammed Benaissa Department of Electronic and Electrical, University of Sheffield, Sheffield, United Kingdom

DOI:

https://doi.org/10.37934/araset.30.3.362371

Keywords:

Fully Homomorphic Encryption, Number-Theoretic Transform, Montgomery Multiplication

Abstract

Fully Homomorphic Encryption (FHE) has gained wide attention in cloud security as it allows computation on encrypted data. However, it requires a huge key size, resulting in impractical execution time. In this paper, we proposed an FHE hardware accelerator employing Weighted-Number Theoretic Transform (NTT) multiplier. NTT parameters are selected, in a way that the proposed design is executable on Digital Signal Processing (DSP) multiplier, to exploit its high clock rate. As the NTT kernel, is in general form, it can be pre-computed and stored in Look-up Tables (LUTs). The same LUTs are also usable for weight-factor as they both have symmetric periodicity properties. This optimization has saved 70% of LUTs utilization. Next optimization is proposed on reduction within NTT. The special prime moduli are exploited to accomplish a simple operation, where inverse Montgomery multiplication is replaced with shift and subtraction. The proposed optimizations are implemented for FHE encryption and realized on Kintex 7 platform. A magnitude of 93.2% speedup improvement is achieved for Toy, compared to benchmark software implementation. As the proposed design is targeted for full DSP implementation, it achieved a higher clock frequency (249.19 MHz), while consuming lower hardware resources.

Author Biographies

Shakirah Hashim, School of Computing Sciences, College of Computing, Informatics and Media, Universiti Teknologi MARA, 40450 Shah Alam, Selangor, Malaysia

shakirahhashim@uitm.edu.my

Mohammed Benaissa, Department of Electronic and Electrical, University of Sheffield, Sheffield, United Kingdom

m.benaissa@sheffield.ac.uk

Downloads

Published

2023-06-01

How to Cite

Shakirah Hashim, & Mohammed Benaissa. (2023). Integer Based Fully Homomorphic DSP Accelerator using Weighted-Number Theoretic Transform. Journal of Advanced Research in Applied Sciences and Engineering Technology, 30(3), 362–371. https://doi.org/10.37934/araset.30.3.362371

Issue

Section

Articles