首页 | 本学科首页   官方微博 | 高级检索  
     

大数乘法的GPU加速实现
引用本文:唐天泽,孙 玲,黄新明,谢 星,韩赛飞.大数乘法的GPU加速实现[J].计算机应用研究,2018,35(10).
作者姓名:唐天泽  孙 玲  黄新明  谢 星  韩赛飞
作者单位:南通大学 电子信息学院,南通大学 电子信息学院;江苏省专用集成电路设计重点实验室,南通大学 电子信息学院;江苏省专用集成电路设计重点实验室,南通大学 电子信息学院,南通大学 电子信息学院
基金项目:国家自然科学基金资助项目(61571246);南通大学杏林学院自然科学基金(No.13010538)
摘    要:大数乘法是公钥加密中最为核心的计算环节之一,快速实现大数乘法单元也是RSA、ElGamal、全同态等密码体制急需解决的问题之一。目前,基于C 的NTL GMP库函数虽然能在CPU上实现高精度的大数乘法,但其仍不能满足加密对实时性的要求。针对全同态加密应用需求,本文提出了一种基于Sch?nhage-Strassen算法的大数乘法GPU加速方法。通过比较相同实验平台下仅用CPU和GPU CPU异构方法实现的大数乘法运算,验证了本文设计方法的正确性和有效性。实验结果表明,采用本文方法实现的相同大数乘法运算所需的时间比在多核CPU平台实现所需的时间有12倍以上的加速。

关 键 词:大数乘法  GPU  全同态加密
收稿时间:2017/6/28 0:00:00
修稿时间:2018/8/29 0:00:00

GPU accelerated large number multiplication
Tang Tianze,Sun Ling,Huang Xinming,Xie Xing and Han Saifei.GPU accelerated large number multiplication[J].Application Research of Computers,2018,35(10).
Authors:Tang Tianze  Sun Ling  Huang Xinming  Xie Xing and Han Saifei
Affiliation:School of Electronic & Information,Nantong University,Nantong Jiangsu,,,,
Abstract:Large number multiplication is one of the most important parts in public key encryption, which often consumes most of the computing time in RSA, homomorphic encryption and other cryptosystems. The NTL library based on C can achieve high precision multiplication on CPU platform, but it cannot meet the real-time requirement of a cryptosystem. For the application of fully homomorphic encryption, this paper presented a GPU-based acceleration of large number multiplication based on the Sch?nhage-Strassen algorithm. Accuracy of the GPU implementation is validated by comparing to the results obtained from the NTL library on the CPU. The experimental results of large number multiplication in different sizes show that the GPU implementation is about 12 times faster than using the NTL library on the multi-core CPU platform.
Keywords:large number multiplication  GPU  fully homomorphic encryption
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号