Yuri Oh, Seong-Cheon Park, Jungchan Na, Dong Kyue Kim
{"title":"GPU Acceleration of Chinese Remainder Theorem for Fully Homomorphic Encryption","authors":"Yuri Oh, Seong-Cheon Park, Jungchan Na, Dong Kyue Kim","doi":"10.1109/ICEIC57457.2023.10049852","DOIUrl":null,"url":null,"abstract":"Fully Homomorphic encryption (FHE) is an encryption technique capable of performing data operations without decryption operations on encrypted data. With the development of the Internet and AI technology, concerns about personal information have increased. Therefore, the characteristic of being able to operate in the encrypted state of homomorphic Encryption is suitable for application to personal information security technologies. FHE enables data processing while maintaining security between third parties. However, because the calculation time of FHE is very slow, the high computational cost of homomorphic encryption must be addressed before it can be applied to commerce. We focused on multiplication, the slowest, and the main operation of the homomorphic encryption scheme, Cheon, Kim, Kim, and Song (CKKS). In this paper, we accelerate multiplication operations by assigning blocks and threads of GPUs to FHE polynomials. By implementing Chinese remainder theorem (CRT) operations, one of the detailed kernels of multiplication on the GPU, We achieved about 4x the speed improvement over the CPU.","PeriodicalId":373752,"journal":{"name":"2023 International Conference on Electronics, Information, and Communication (ICEIC)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 International Conference on Electronics, Information, and Communication (ICEIC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICEIC57457.2023.10049852","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Fully Homomorphic encryption (FHE) is an encryption technique capable of performing data operations without decryption operations on encrypted data. With the development of the Internet and AI technology, concerns about personal information have increased. Therefore, the characteristic of being able to operate in the encrypted state of homomorphic Encryption is suitable for application to personal information security technologies. FHE enables data processing while maintaining security between third parties. However, because the calculation time of FHE is very slow, the high computational cost of homomorphic encryption must be addressed before it can be applied to commerce. We focused on multiplication, the slowest, and the main operation of the homomorphic encryption scheme, Cheon, Kim, Kim, and Song (CKKS). In this paper, we accelerate multiplication operations by assigning blocks and threads of GPUs to FHE polynomials. By implementing Chinese remainder theorem (CRT) operations, one of the detailed kernels of multiplication on the GPU, We achieved about 4x the speed improvement over the CPU.
完全同态加密(FHE)是一种无需对加密数据进行解密操作即可执行数据操作的加密技术。随着互联网和人工智能技术的发展,人们对个人信息的担忧日益增加。因此,同态加密能够在加密状态下运行的特性适合应用于个人信息安全技术。FHE支持数据处理,同时维护第三方之间的安全性。然而,由于FHE的计算速度很慢,在将其应用于商业之前,必须解决同态加密的高计算成本问题。我们专注于乘法,这是最慢的,也是同态加密方案的主要操作,Cheon, Kim, Kim, and Song (CKKS)。在本文中,我们通过将gpu的块和线程分配给FHE多项式来加速乘法运算。通过在GPU上实现中国剩余定理(CRT)运算,我们实现了大约4倍于CPU的速度提升。