天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

基于SOPC系統(tǒng)的國(guó)家商務(wù)密碼SM4 IP設(shè)計(jì)與測(cè)試

發(fā)布時(shí)間:2018-01-27 17:02

  本文關(guān)鍵詞: SM4分組密碼算法 SOPC Verilog HDL NiosⅡ 串口 出處:《深圳大學(xué)》2016年碩士論文 論文類(lèi)型:學(xué)位論文


【摘要】:在信息社會(huì)里,信息資源已經(jīng)成為國(guó)家、企業(yè)等團(tuán)體的重要的戰(zhàn)略資源,人們對(duì)信息安全越來(lái)越重視。國(guó)家商務(wù)密碼管理中心頒布了一系列的密碼行業(yè)標(biāo)準(zhǔn),以保護(hù)私密的數(shù)據(jù)信息和在開(kāi)放鏈路中通信的數(shù)據(jù)信息。密碼行業(yè)標(biāo)準(zhǔn)中包括SM4分組密碼算法,SM4算法廣泛應(yīng)用于金融卡、社保卡、無(wú)線通信、數(shù)據(jù)資料等需要對(duì)信息進(jìn)行加密解密處理的領(lǐng)域。本文對(duì)SM4分組密碼算法進(jìn)行了分析和研究,編寫(xiě)SM4的C語(yǔ)言代碼,并進(jìn)行軟件加密解密測(cè)試,以驗(yàn)證分析的正確性。用Verilog HDL語(yǔ)言對(duì)SM4分組密碼算法進(jìn)行硬件設(shè)計(jì)。并對(duì)其進(jìn)行了兩種方式的測(cè)試。一種方式是在ModelSim軟件上進(jìn)行仿真,編寫(xiě)測(cè)試文件,產(chǎn)生激勵(lì)信號(hào)、明文、密鑰數(shù)據(jù)輸入到SM4模塊進(jìn)行加密和解密操作,然后讀取加密解密的結(jié)果以驗(yàn)證其正確性。由于在ModelSim上只能進(jìn)行功能仿真,無(wú)法驗(yàn)證SM4的時(shí)序和真實(shí)的硬件工作狀態(tài),且仿真的速度非常緩慢,進(jìn)行大數(shù)據(jù)量的測(cè)試耗時(shí)非常長(zhǎng)。因此另外一種測(cè)試方式就是結(jié)合PC快速的數(shù)據(jù)處理能力和FPGA快速硬件生成能力組建測(cè)試系統(tǒng)。首先在FPGA芯片上搭建SOPC系統(tǒng),把SM4封裝成IP模塊,嵌入到SOPC系統(tǒng)里,然后通過(guò)串口和PC相連接,組成測(cè)試系統(tǒng)。由PC產(chǎn)生大量的測(cè)試數(shù)據(jù)發(fā)送到SOPC系統(tǒng)上,SOPC系統(tǒng)接收到數(shù)據(jù)以后轉(zhuǎn)給SM4模塊,并啟動(dòng)加密解密操作得到加密結(jié)果,然后SOPC再把操作結(jié)果通過(guò)串口發(fā)送回PC對(duì)結(jié)果進(jìn)行判定結(jié)果是否正確。這種測(cè)試方法可以驗(yàn)證SM4模塊在接近真實(shí)硬件工作狀態(tài)時(shí),對(duì)SM4進(jìn)行大數(shù)據(jù)量、長(zhǎng)時(shí)間、高速工作狀態(tài)時(shí)的穩(wěn)定性、可靠性進(jìn)行評(píng)估。從長(zhǎng)時(shí)間測(cè)試的結(jié)果和測(cè)試速度來(lái)看(相對(duì)于ModelSim),SM4硬件模塊和搭建的測(cè)試系統(tǒng)還是成功的,但本測(cè)試系統(tǒng)也有許多不足,因?yàn)槭轻槍?duì)SM4搭建的測(cè)試系統(tǒng),專(zhuān)用性太強(qiáng)。連接SOPC系統(tǒng)和PC的串口的通信速度最大只能達(dá)到115200bit/s,是提高測(cè)試速度的瓶頸。
[Abstract]:In the information society, information resources have become an important strategic resource of the country, enterprises and other groups. People pay more and more attention to information security. The National Business password Management Center has issued a series of cryptographic industry standards. The cryptographic industry standard includes SM4 block cipher algorithm (SM4), which is widely used in financial card, social security card and wireless communication. This paper analyzes and studies the SM4 block cipher algorithm, compiles the C language code of SM4, and carries on the software encryption and decryption test. To verify the correctness of the analysis. Use Verilog. HDL language designs the SM4 block cipher algorithm in hardware, and tests it in two ways. One way is to simulate it on ModelSim software. Write test files, generate incentive signals, plaintext, key data input to the SM4 module for encryption and decryption operations. Then read the results of encryption and decryption to verify its correctness. Because of the only functional simulation on ModelSim, it is impossible to verify the timing of SM4 and the real working state of the hardware. And the speed of simulation is very slow. It takes a lot of time to test a large amount of data, so another way of testing is to combine the fast data processing ability of PC and the fast hardware generation ability of FPGA to build a test system. First of all, the test system is built on the FPGA chip. Build SOPC system. The SM4 is encapsulated into IP module, embedded in SOPC system, and then connected with PC through serial port to form a test system. A large number of test data are generated by PC and sent to SOPC system. After receiving the data, the SOPC system transfers the data to the SM4 module and starts the encryption and decryption operation to get the encryption result. Then SOPC sends the operation result back to PC through serial port to determine whether the result is correct. This testing method can verify that the SM4 module is close to the real hardware working state. Evaluate the stability and reliability of SM4 in large amount of data, long time, high speed working condition. From the result of long time test and test speed (relative to Model Sims). SM4 hardware module and built test system is still successful, but this test system also has many shortcomings, because it is the test system built for SM4. The maximum speed of serial port communication between SOPC system and PC is 115200 bit / s, which is the bottleneck to improve the test speed.
【學(xué)位授予單位】:深圳大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2016
【分類(lèi)號(hào)】:TN918.4

【相似文獻(xiàn)】

相關(guān)期刊論文 前10條

1 孫紅波;傅仕諍;徐日;;分組密碼算法的基礎(chǔ)平臺(tái)研究[J];無(wú)線電工程;2014年01期

2 雷旭,徐重陽(yáng);一種新的對(duì)稱(chēng)分組密碼算法的設(shè)計(jì)[J];電視技術(shù);2002年05期

3 李順東,覃征,王向華,賈曉琳;面向移動(dòng)商務(wù)的分組密碼算法[J];西安交通大學(xué)學(xué)報(bào);2003年08期

4 尤坤,呂永其;分組密碼算法芯片驗(yàn)證[J];通信技術(shù);2003年11期

5 王勇 ,陳小平;一種以移位為基礎(chǔ)的分組密碼算法[J];信息網(wǎng)絡(luò)安全;2004年12期

6 彭巍,周亮;分組密碼算法測(cè)試平臺(tái)設(shè)計(jì)[J];成都信息工程學(xué)院學(xué)報(bào);2005年05期

7 孫旭;李雪梅;魯長(zhǎng)江;;分組密碼算法的研究與實(shí)現(xiàn)[J];成都理工大學(xué)學(xué)報(bào)(自然科學(xué)版);2006年06期

8 yど僖,

本文編號(hào):1468957


資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/shekelunwen/shehuibaozhanglunwen/1468957.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶(hù)c0cf4***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com
91香蕉视频精品在线看| 国产人妻熟女高跟丝袜| 91亚洲人人在字幕国产| 91亚洲人人在字幕国产| 日韩中文字幕狠狠人妻| 亚洲午夜av久久久精品| 午夜国产成人福利视频| 激情综合网俺也狠狠地| 国产又大又硬又粗又黄| 国产成人国产精品国产三级| 日韩中文字幕狠狠人妻| 91人妻人人澡人人人人精品| 亚洲午夜福利视频在线| 欧美日本道一区二区三区| 日本精品啪啪一区二区三区| 日韩人妻av中文字幕| 欧美亚洲综合另类色妞| 亚洲精品黄色片中文字幕 | 日韩女优视频国产一区| 可以在线看的欧美黄片| 国产成人亚洲精品青草天美| 免费观看一级欧美大片| 精品一区二区三区乱码中文| 91欧美一区二区三区| 午夜福利直播在线视频| 国产日韩欧美专区一区| 亚洲专区一区中文字幕| 91欧美日韩国产在线观看| 欧美日韩国产的另类视频| 亚洲a级一区二区不卡| 亚洲欧美日本视频一区二区| 三级高清有码在线观看| 色婷婷国产精品视频一区二区保健 | 国产午夜福利在线观看精品| 搡老妇女老熟女一区二区| 日本午夜精品视频在线观看| 日韩欧美三级中文字幕| 国产视频一区二区三区四区| 欧美成人黄色一区二区三区| 欧美午夜色视频国产精品| 老鸭窝老鸭窝一区二区|