IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i3p458-d1330444.html
   My bibliography  Save this article

Parallel Accelerating Number Theoretic Transform for Bootstrapping on a Graphics Processing Unit

Author

Listed:
  • Huixian Li

    (School of Computer Science, Northwestern Polytechnical University, Xi’an 710072, China)

  • Deng Pan

    (School of Computer Science, Northwestern Polytechnical University, Xi’an 710072, China)

  • Jinglei Li

    (College of Data Science and Application, Inner Mongolia University of Technology, Huhhot 010080, China)

  • Hao Wang

    (School of Software, Northwestern Polytechnical University, Xi’an 710072, China)

Abstract

The bootstrapping procedure has become the main bottleneck affecting the efficiency of all known fully homomorphic encryption (FHE) schemes. The state-of-the-art scheme for efficient bootstrapping, which is called fully homomorphic encryption over the torus (TFHE), accelerates polynomial multiplication by leveraging number theoretic transform (NTT) and implementing NTT in parallel on a GPU. Unfortunately, almost none of the recent advancements in NTT take full advantage of a GPU, leading to the need for more time. With this in mind, in this work, a novel faster number theoretic transform based on a GPU is proposed, in which matrix multiplication is used to implement a decomposed small-point NTT. When implementing matrix multiplication, we introduce a merging preprocessing method to merge multiple inputs of the small-point NTT, aiming to effectively minimize the count of modulo operations. Subsequently, when the merged result is multiplied by rotation factors, we use logical left shift rather than arithmetic multiplication to improve the computational efficiency. Our scheme can easily be used to realize a 1024-point NTT and the results of the experiments show that the speedup ratio of our method over the butterfly algorithm is about 2.49.

Suggested Citation

  • Huixian Li & Deng Pan & Jinglei Li & Hao Wang, 2024. "Parallel Accelerating Number Theoretic Transform for Bootstrapping on a Graphics Processing Unit," Mathematics, MDPI, vol. 12(3), pages 1-15, January.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:3:p:458-:d:1330444
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/3/458/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/3/458/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:3:p:458-:d:1330444. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.