Low-Complexity Integer Divider Architecture for Homomorphic Encryption (2401.11064v1)
Abstract: Homomorphic encryption (HE) allows computations to be directly carried out on ciphertexts and enables privacy-preserving cloud computing. The computations on the coefficients of the polynomials involved in HE are always followed by modular reduction, and the overall complexity of ciphertext multiplication can be reduced by utilizing the quotient. Our previous design considers the cases that the dividend is an integer multiple of the modulus and the modulus is in the format of $2w-2u\pm1$, where $u<w/2$. In this paper, the division is generalized for larger $u$ and dividend not an integer multiple of the modulus. An algorithm is proposed to compute the quotient and vigorous mathematical proofs are provided. Moreover, efficient hardware architecture is developed for implementing the proposed algorithm. Compared to alternative division approaches that utilize the inverse of the divisor, for $w=32$, the proposed design achieves at least 9% shorter latency and 79\% area reduction for 75% possible values of $u$.
- Z. Brakerski, C. Gentry, and V. Vaikuntanathan, “(Leveled) fully homomorphic encryption without bootstrapping,” Proc. of ACM Innovation in Theoretical Computer Science, pp. 309-325, 2012.
- Z. Brakerski, “Fully homomorphic encryption without modulus switching from classical GapSVP,” Lecture Notes in Computer Science, vol. 7417, pp. 868-886, Springer, 2012.
- J. H. Cheon, A. Kim, M. Kim, and Y. Song, “Homomorphic encryption for arithmetic of approximate numbers,” Advances for Cryptology-ASIACRYPT, pp. 409-437, 2017.
- J. H. Cheon, K. Han, A. Kim, M. Kim, and Y. Song, “A full RNS variant of the approximate homomorphic encryption,” Selected Areas in Cryptography, pp. 347–368, 2018.
- S. Akherati, X. Zhang, “Low-complexity ciphertext multiplication for CKKS homomorphic encryption,” IEEE Trans. on Circuits and Syst.-II, 2023.
- F. Dinechin, L. Didier, “Table-based division by small integer constants, reconfigurable computing: architectures, tools and applications,” Lecture Notes in Computer Science, vol. 7199, pp. 53-63, 2012.
- D. Kromichev, “FPGA based Canny: advanced integer division algorithm,” 2021 12th National Conf. with Int. Participation, pp. 1-4, 2021.
- D. Kromichev, “FPGA based edge detection: integer division algorithm with a constant divisor,” 13th National Conf. with Int. Participation, pp. 1-4, 2022.
- D. Cavagnino and A. E. Werbrouck, “Efficient algorithms for integer division by constants using multiplication,” The Computer Journal, vol. 51, no. 4, pp. 470-480, 2008.
- T. Drane, W. -C. Cheung and G. Constantinides, “Correctly rounded constant integer division via multiply-add,” IEEE Intl. Symp. on Circuits and Sys., pp. 1243-1246, 2012.