2 research outputs found

    Faster Homomorphic Discrete Fourier Transforms and Improved FHE Bootstrapping

    Get PDF
    In this work, we propose a faster homomorphic linear transform algorithm for structured matrices such as the discrete Fourier transform (DFT) and linear transformations in bootstrapping. First, we proposed new method to evaluate the DFT homomorphically for a given packed ciphertext from the Cooley-Tukey fast Fourier transform algorithm. While the previous method requires O(n)O(\sqrt n) rotations and O(n)O(n) constant vector multiplications, our method only needs O(logn)O(\log n) rotations/multiplications by consuming O(logn)O(\log n) depth for the length of input vector nn. Second, we apply the same method to the linear transform of bootstrapping for HEAAN\textsf{HEAAN}. To achieve this, we construct a recursive relation of matrices in those linear transformations. Accordingly, we can highly accelerate the linear transformation part of bootstrapping: the number of homomorphic operations becomes logarithmic to the number of slots, as in homomorphic DFT. We also implement both algorithms. Our homomorphic DFT with length 2142^{14} only takes about 8 seconds which is about 150 times faster result than previous one. The bootstrapping for HEAAN\textsf{HEAAN} with our linear transform algorithm takes about 2 minutes for C32768\mathbb{C}^{32768} plaintext space with 8 bit precision, which takes 26 hours using the previous method
    corecore