Accelerating Number Theoretic Transformations for Bootstrappable Homomorphic Encryption on GPUs

被引:47
作者
Kim, Sangpyo [1 ]
Jung, Wonkyung [1 ]
Park, Jaiyoung [1 ]
Ahn, Jung Ho [1 ]
机构
[1] Seoul Natl Univ, Seoul, South Korea
来源
2020 IEEE INTERNATIONAL SYMPOSIUM ON WORKLOAD CHARACTERIZATION (IISWC 2020) | 2020年
基金
新加坡国家研究基金会;
关键词
ALGORITHM;
D O I
10.1109/IISWC50251.2020.00033
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Homomorphic encryption (HE) draws huge attention as it provides a way of privacy-preserving computations on encrypted messages. Number Theoretic Transform (NTT), a specialized form of Discrete Fourier Transform (DFT) in the finite field of integers, is the key algorithm that enables fast computation on encrypted ciphertexts in HE. Prior works have accelerated NTT and its inverse transformation on a popular parallel processing platform, GPU, by leveraging DFT optimization techniques. However, these GPU-based studies lack a comprehensive analysis of the primary differences between NTT and DFT or only consider small HE parameters that have tight constraints in the number of arithmetic operations that can be performed without decryption. In this paper, we analyze the algorithmic characteristics of NTT and DFT and assess the performance of NTT when we apply the optimizations that are commonly applicable to both DFT and NTT on modern GPUs. From the analysis, we identify that NTT suffers from severe main-memory bandwidth bottleneck on large HE parameter sets. To tackle the main-memory bandwidth issue, we propose a novel NTT-specific on-the-fly root generation scheme dubbed on-the-fly twiddling (OT). Compared to the baseline radix-2 NTT implementation, after applying all the optimizations, including OT, we achieve 4.2x speedup on a modern GPU.
引用
收藏
页码:264 / 275
页数:12
相关论文
共 35 条
[11]  
Dertouzos M. L., 1978, On data banks and privacy homomorphisms, V4
[12]   Accelerating number theoretic transform in GPU platform for fully homomorphic encryption [J].
Goey, Jia-Zheng ;
Lee, Wai-Kong ;
Goi, Bok-Min ;
Yap, Wun-She .
JOURNAL OF SUPERCOMPUTING, 2021, 77 (02) :1455-1474
[13]  
Govindaraju NK, 2008, INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS, P602
[14]  
Guneysu T., 2012, INT C CRYPT INF SEC
[15]  
Guneysu T., 2015, INT C CRYPT INF SEC
[16]   Faster arithmetic for number-theoretic transforms [J].
Harvey, David .
JOURNAL OF SYMBOLIC COMPUTATION, 2014, 60 :113-119
[17]  
Hu W., 2017, COMPUTER RES REPOSIT
[18]  
Jia Z., 2018, ARXIV180406826 CS
[19]  
Jung Whiyoung, 2020, ARXIV PREPRINT ARXIV
[20]   Hardware Architecture of a Number Theoretic Transform for a Bootstrappable RNS-based Homomorphic Encryption Scheme [J].
Kim, Sunwoong ;
Lee, Keewoo ;
Cho, Wonhee ;
Nam, Yujin ;
Cheon, Jung Hee ;
Rutenbar, Rob A. .
28TH IEEE INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM), 2020, :56-64