{"title":"全同态加密中文剩余定理的高效硬件加速","authors":"Hyun-Wook Kim, Seong-Cheon Park","doi":"10.1109/ICEIC57457.2023.10049928","DOIUrl":null,"url":null,"abstract":"Fully homomorphic encryption (FHE) has recently received huge attention because of its ability to perform operations on encrypted data. FHE requires arithmetic operations on data with Large Arithmetic Word Size (LAWS) over 64-bit. The Chinese Remainder Theorem (CRT) is used to process such operations in 64-bit architecture. However, since the CRT itself involves the operations on LAWS data, long latency and many hardware resources are required to process the operations. In this paper, we propose a hardware architecture that performs LAWS operation of CRT and inverse CRT (iCRT) through recursive arithmetic operation of Small Arithmetic Word Size (SAWS) data, reducing resource usage and accelerating execution. The proposed hardware was implemented to operate at 100 MHz frequency on the FPGA, and showed latency of 91.2 us and 24.39 us, respectively, for executing CRT and iCRT with only 68 DSP and 65 LUTRAM, and a small number of LUTs and FFs.","PeriodicalId":373752,"journal":{"name":"2023 International Conference on Electronics, Information, and Communication (ICEIC)","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Efficient Hardware Acceleration of Chinese Remainder Theorem for Fully Homomorphic Encryption\",\"authors\":\"Hyun-Wook Kim, Seong-Cheon Park\",\"doi\":\"10.1109/ICEIC57457.2023.10049928\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Fully homomorphic encryption (FHE) has recently received huge attention because of its ability to perform operations on encrypted data. FHE requires arithmetic operations on data with Large Arithmetic Word Size (LAWS) over 64-bit. The Chinese Remainder Theorem (CRT) is used to process such operations in 64-bit architecture. However, since the CRT itself involves the operations on LAWS data, long latency and many hardware resources are required to process the operations. In this paper, we propose a hardware architecture that performs LAWS operation of CRT and inverse CRT (iCRT) through recursive arithmetic operation of Small Arithmetic Word Size (SAWS) data, reducing resource usage and accelerating execution. The proposed hardware was implemented to operate at 100 MHz frequency on the FPGA, and showed latency of 91.2 us and 24.39 us, respectively, for executing CRT and iCRT with only 68 DSP and 65 LUTRAM, and a small number of LUTs and FFs.\",\"PeriodicalId\":373752,\"journal\":{\"name\":\"2023 International Conference on Electronics, Information, and Communication (ICEIC)\",\"volume\":\"16 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.10049928\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 International Conference on Electronics, Information, and Communication (ICEIC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICEIC57457.2023.10049928","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
全同态加密(FHE)由于能够对加密数据进行操作,近年来受到了广泛的关注。FHE要求对64位以上的大算术字长(Large arithmetic Word Size, LAWS)数据进行算术运算。在64位架构下,使用中国剩余定理(CRT)来处理这些运算。然而,由于CRT本身涉及到对LAWS数据的操作,因此处理这些操作需要很长的延迟和大量的硬件资源。在本文中,我们提出了一种硬件架构,通过对小算术字长(SAWS)数据的递归算术运算来执行CRT和逆CRT (iCRT)的LAWS操作,从而减少资源使用并加速执行。所提出的硬件在FPGA上实现了100 MHz频率的工作,仅使用68个DSP和65个LUTRAM,以及少量的lut和ff,执行CRT和iCRT的延迟分别为91.2 us和24.39 us。
Efficient Hardware Acceleration of Chinese Remainder Theorem for Fully Homomorphic Encryption
Fully homomorphic encryption (FHE) has recently received huge attention because of its ability to perform operations on encrypted data. FHE requires arithmetic operations on data with Large Arithmetic Word Size (LAWS) over 64-bit. The Chinese Remainder Theorem (CRT) is used to process such operations in 64-bit architecture. However, since the CRT itself involves the operations on LAWS data, long latency and many hardware resources are required to process the operations. In this paper, we propose a hardware architecture that performs LAWS operation of CRT and inverse CRT (iCRT) through recursive arithmetic operation of Small Arithmetic Word Size (SAWS) data, reducing resource usage and accelerating execution. The proposed hardware was implemented to operate at 100 MHz frequency on the FPGA, and showed latency of 91.2 us and 24.39 us, respectively, for executing CRT and iCRT with only 68 DSP and 65 LUTRAM, and a small number of LUTs and FFs.