一级黄色片免费播放|中国黄色视频播放片|日本三级a|可以直接考播黄片影视免费一级毛片

高級搜索

留言板

尊敬的讀者、作者、審稿人, 關(guān)于本刊的投稿、審稿、編輯和出版的任何問題, 您可以本頁添加留言。我們將盡快給您答復(fù)。謝謝您的支持!

姓名
郵箱
手機(jī)號碼
標(biāo)題
留言內(nèi)容
驗(yàn)證碼

支持國產(chǎn)密碼算法的高速PCIe密碼卡的設(shè)計(jì)與實(shí)現(xiàn)

趙軍 曾學(xué)文 郭志川

趙軍, 曾學(xué)文, 郭志川. 支持國產(chǎn)密碼算法的高速PCIe密碼卡的設(shè)計(jì)與實(shí)現(xiàn)[J]. 電子與信息學(xué)報(bào), 2019, 41(10): 2402-2408. doi: 10.11999/JEIT190003
引用本文: 趙軍, 曾學(xué)文, 郭志川. 支持國產(chǎn)密碼算法的高速PCIe密碼卡的設(shè)計(jì)與實(shí)現(xiàn)[J]. 電子與信息學(xué)報(bào), 2019, 41(10): 2402-2408. doi: 10.11999/JEIT190003
Jun ZHAO, Xuewen ZENG, Zhichuan GUO. Design and Implementation of High Speed PCIe Cipher Card Supporting GM Algorithms[J]. Journal of Electronics & Information Technology, 2019, 41(10): 2402-2408. doi: 10.11999/JEIT190003
Citation: Jun ZHAO, Xuewen ZENG, Zhichuan GUO. Design and Implementation of High Speed PCIe Cipher Card Supporting GM Algorithms[J]. Journal of Electronics & Information Technology, 2019, 41(10): 2402-2408. doi: 10.11999/JEIT190003

支持國產(chǎn)密碼算法的高速PCIe密碼卡的設(shè)計(jì)與實(shí)現(xiàn)

doi: 10.11999/JEIT190003
基金項(xiàng)目: 中國科學(xué)院戰(zhàn)略性科技先導(dǎo)專項(xiàng)課題(XDC02010701)
詳細(xì)信息
    作者簡介:

    趙軍:男,1991年生,博士生,研究方向?yàn)樾畔踩?/p>

    曾學(xué)文:男,1968年生,研究員,研究方向?yàn)榫W(wǎng)絡(luò)新媒體技術(shù)

    郭志川:男,1975年生,研究員,研究方向?yàn)镕PGA硬件加速技術(shù)

    通訊作者:

    曾學(xué)文 zengxw@dsp.ac.cn

  • 中圖分類號: TP393.08

Design and Implementation of High Speed PCIe Cipher Card Supporting GM Algorithms

Funds: Strategic Priority Research Program of the Chinese Academy of Sciences(XDC02010701)
  • 摘要: 密碼卡在信息安全領(lǐng)域發(fā)揮著重要作用,但當(dāng)前密碼卡存在性能不足的問題,難以滿足高速網(wǎng)絡(luò)安全服務(wù)的需要。該文提出一種基于MIPS64多核處理器的高速PCIe密碼卡的設(shè)計(jì)與系統(tǒng)實(shí)現(xiàn)方法,支持SM2/3/4國產(chǎn)密碼(GM)算法以及RSA, SHA, AES等國際密碼算法,系統(tǒng)包括硬件模塊,密碼算法模塊,主機(jī)驅(qū)動(dòng)模塊和接口調(diào)用模塊;對SM3的實(shí)現(xiàn)提出一種優(yōu)化方案,性能提升了19%;支持主機(jī)以Non-Blocking方式發(fā)送請求,單進(jìn)程應(yīng)用即可獲得密碼卡滿載性能。該卡在10核CPU下SM2簽名和驗(yàn)證速度分別為18000次/s和4200次/s, SM3雜湊速度2200 Mbps, SM4加/解密速度8/10 Gbps,多項(xiàng)指標(biāo)達(dá)到較高水平;采用1300 MHz主頻16核CPU時(shí),SM2/3的性能指標(biāo)提高1倍,采用48核CPU時(shí)SM2簽名速度可達(dá)到105次/s。
  • 圖  1  硬件設(shè)計(jì)框圖

    圖  2  非阻塞請求處理機(jī)制

    表  1  優(yōu)化前后對比

    輸入長度(Byte)運(yùn)算速度(Mbps)性能提升(%)
    優(yōu)化前優(yōu)化后
    649611519.8
    25615618619.2
    1 k18522018.9
    4 k19423119.1
    16 k19623318.9
    下載: 導(dǎo)出CSV

    表  2  阻塞、非阻塞單進(jìn)程對比

    請求運(yùn)算類型運(yùn)算速度(次/s)性能提升(%)
    阻塞非阻塞
    SM2 簽名171017523900
    SM2 驗(yàn)簽4184240900
    RSA(2048) 簽名2192200900
    RSA(2048) 驗(yàn)簽201820232900
    下載: 導(dǎo)出CSV

    表  3  密碼卡性能測試結(jié)果對比

    密碼卡種類SM2 (次/s)SM3 (Mbps)SM4 (Gbps)RSA2048 (次/s)AES128 (Gbps)SHA1 (Gbps)SHA256 (Gbps)
    簽名驗(yàn)證簽名驗(yàn)證
    SJK157214000400013001.3
    SJK1120 18001300 11.2303501.2
    SJK13373100019000 17002.20.8
    本密碼卡18000410022008.12200 20232 9.013.013.0
    下載: 導(dǎo)出CSV
  • ABBASINEZHAD-MOOD D and NIKOOGHADAM M. An anonymous ECC-based self-certified key distribution scheme for the smart grid[J]. IEEE Transactions on Industrial Electronics, 2018, 65(10): 7996–8004. doi: 10.1109/TIE.2018.2807383
    ADALIER M. Efficient and secure elliptic curve cryptography implementation of curve P-256[EB/OL]. http://csrc.nist.gov/groups/ST/ecc-workshop-2015/papers/session6-adalier-mehmet.pdf.
    PAN Wuqiong, ZHENG Fangyu, ZHAO Yuan, et al. An efficient elliptic curve cryptography signature server with GPU acceleration[J]. IEEE Transactions on Information Forensics and Security, 2017, 12(1): 111–122. doi: 10.1109/TIFS.2016.2603974
    程明智, 周由勝, 辛陽, 等. GF(2192)域上ECC加密的FPGA實(shí)現(xiàn)[J]. 華中科技大學(xué)學(xué)報(bào) (自然科學(xué)版), 2009, 37(10): 9–12. doi: 10.13245/j.hust.2009.10.023

    CHENG Mingzhi, ZHOU Yousheng, XIN Yang, et al. FPGA realization of ECC encryption algorithm in GF(2192)[J]. Journal of Huazhong University of Science and Technology (Natural Science Edition), 2009, 37(10): 9–12. doi: 10.13245/j.hust.2009.10.023
    ROTA L, CASELLE M, CHILINGARYAN S, et al. A PCIe DMA architecture for multi-gigabyte per second data transmission[J]. IEEE Transactions on Nuclear Science, 2015, 62(3): 972–976. doi: 10.1109/TNS.2015.2426877
    PCI express base specification revision 3.0[EB/OL]. https://doc.mbalib.com/view/e99fb1d0aab4982329ffd43f1a0dbf3b.html, 2010.
    CAVIUM. OCTEON Ⅱ CN66XX multi-core MIPS64 Proce-ssors[J/OL]. http://www.cavium.com/OCTEONⅡCN66XX.html. 2011.
    國家密碼管理局. GM/T 0018–2012 密碼設(shè)備應(yīng)用接口規(guī)范[S]. 北京: 中國標(biāo)準(zhǔn)出版社, 2012.

    State Cryptography Administration Office of Security Commercial Code Administration. GM/T 0018–2012 Interface specifications of cryptography device application[S]. Beijing: China Standard Press, 2012.
    國家密碼管理局. GM/T 0002–2012 SM4分組密碼算法[S]. 北京: 中國標(biāo)準(zhǔn)出版社, 2012.

    State Cryptography Administration Office of Security Commercial Code Administration. GM/T 0002–2012 SM4 block cipher algorithm[S]. Beijing: China Standard Press, 2012.
    國家密碼管理局. GM/T 0003–2012 SM2橢圓曲線公鑰密碼算法[S]. 北京: 中國標(biāo)準(zhǔn)出版社, 2012.

    State Cryptography Administration Office of Security Commercial Code Administration. GM/T 0003–2012 Public key cryptographic algorithm SM2 based on elliptic curves[S]. Beijing: China Standard Press, 2012.
    LI Yang, WANG Jinlin, ZENG Xuewen, et al. Fast Montgomery modular multiplication and squaring on embedded processors[J]. IEICE Transactions on Communications, 2017, E110.B(5): 680–690. doi: 10.1587/transcom.2016EBP3189
    MONTGOMERY P L. Modular multiplication without trial division[J]. Mathematics of Computation, 1985, 44(170): 519–521. doi: 10.1090/S0025-5718-1985-0777282-X
    M?LLER B. Improved techniques for fast exponentiation[C]. The 5th International Conference on Information Security and Cryptology-ICISC 2002, Seoul, Korea, 2002: 298–312.
    ZHANG Dan and BAI Guoqiang. High-performance implementation of SM2 based on FPGA[C]. The 8th IEEE International Conference on Communication Software and Networks, Beijing, China, 2016: 718–722.
    ZHOU Xin and TANG Xiaofei. Research and implementation of RSA algorithm for encryption and decryption[C]. The 6th International Forum on Strategic Technology, Harbin, China, 2011, (2): 1118–1121.
    國家密碼管理局. GM/T 0004–2012 SM3密碼雜湊算法[S]. 北京: 中國標(biāo)準(zhǔn)出版社, 2012.

    State Cryptography Administration Office of Security Commercial Code Administration. GM/T 0004–2012 SM3 cryptographic hash algorithm[S]. Beijing: China Standard Press, 2012.
    朱寧龍, 戴紫彬, 張立朝, 等. SM3及SHA-2系列算法硬件可重構(gòu)設(shè)計(jì)與實(shí)現(xiàn)[J]. 微電子學(xué), 2015, 45(6): 777–780. doi: 10.13911/j.cnki.1004-3365.2015.06.021

    ZHU Ninglong, DAI Zibin, ZHANG Lichao, et al. Design and implementation of hardware reconfiguration for SM3 and SHA-2 hash function[J]. Microelectronics, 2015, 45(6): 777–780. doi: 10.13911/j.cnki.1004-3365.2015.06.021
    楊先偉, 康紅娟. SM3雜湊算法的軟件快速實(shí)現(xiàn)研究[J]. 智能系統(tǒng)學(xué)報(bào), 2015, 10(6): 954–959. doi: 10.11992/tis.201507036

    YANG Xianwei and KANG Hongjuan. Fast software implementation of SM3 hash algorithm[J]. CAAI Transactions on Intelligent Systems, 2015, 10(6): 954–959. doi: 10.11992/tis.201507036
    于永鵬, 嚴(yán)迎建, 李偉. SM3算法高速ASIC設(shè)計(jì)及實(shí)現(xiàn)[J]. 微電子學(xué)與計(jì)算機(jī), 2016, 33(4): 21–26. doi: 10.19304/j.cnki.issn1000-7180.2016.04.005

    YU Yongpeng, YAN Yingjian, and LI Wei. High speed ASIC design and implementation of SM3 algorithm[J]. Microelectronics &Computer, 2016, 33(4): 21–26. doi: 10.19304/j.cnki.issn1000-7180.2016.04.005
    JUANG W S. Efficient multi-server password authenticated key agreement using smart cards[J]. IEEE Transactions on Consumer Electronics, 2004, 50(1): 251–255. doi: 10.1109/TCE.2004.1277870
    衛(wèi)士通. 商用PCI-E密碼卡[EB/OL]. http://www.westone.com.cn/index.php?m=content&c=index&a=show&catid=17&id=1, 2018.

    WESTONE. Commercial PCI-E cipher card[EB/OL]. http://www.westone.com.cn/index.php?m=content&c=index&a=show&catid=17&id=1, 2018.
    漁翁信息. 如何選擇商密加密卡[EB/OL]. http://www.fisec.com.cn/page118?article_id=30, 2017.

    FISEC. How to Choose a commercial encryption card[EB/OL]. http://www.fisec.com.cn/page118?article_id=30, 2017.
    西電捷通. 高速通用密碼卡之西電捷通綜合性測試分析[EB/OL]. http://www.sohu.com/a/124421829_446726, 2017.

    IWNCOMM. Comprehensive test analysis of IWNCOMM with high-speed universal cipher card[EB/OL]. http://www.sohu.com/a/124421829_446726, 2017.
    李軍, 陳君, 倪宏, 等. 基于多核協(xié)作的流媒體內(nèi)容緩存算法[J]. 網(wǎng)絡(luò)新媒體技術(shù), 2014, 3(4): 12–18. doi: 10.3969/j.issn.2095-347X.2014.04.003

    LI Jun, CHEN Jun, NI Hong, et al. Multi-core platform based multimedia collaboration caching algorithm[J]. Journal of Network New Media, 2014, 3(4): 12–18. doi: 10.3969/j.issn.2095-347X.2014.04.003
  • 加載中
圖(2) / 表(3)
計(jì)量
  • 文章訪問數(shù):  4002
  • HTML全文瀏覽量:  2551
  • PDF下載量:  190
  • 被引次數(shù): 0
出版歷程
  • 收稿日期:  2019-01-03
  • 網(wǎng)絡(luò)出版日期:  2019-04-25
  • 刊出日期:  2019-10-01

目錄

    /

    返回文章
    返回