簡易檢索 / 詳目顯示

研究生: 劉適豪
Shih-Hao Liu
論文名稱: 嵌入式8-bit AES系統之無線傳輸應用與影像加密分析
Embedded 8-bit AES System of Wireless Transmission Applications and Image Encryption Analysis
指導教授: 黃奇武
Huang, Chi-Wu
張吉正
Chang, Chi-Jeng
學位類別: 碩士
Master
系所名稱: 電機工程學系
Department of Electrical Engineering
論文出版年: 2011
畢業學年度: 99
語文別: 中文
論文頁數: 72
中文關鍵詞: 進階加解密標準影像加密嵌入式系統PicoBlaze
英文關鍵詞: AES, Image Encryption, Embedded System, PicoBlaze
論文種類: 學術論文
相關次數: 點閱:210下載:16
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本論文運用高等加密演算法(Advanced Encryption Standard)實現於可程式化閘陣列(FPGA)之嵌入式系統實現與應用。

    本研究主要分為軟體與硬體的實現與驗證,我們使用MATLAB來實現AES-128,硬體部分是應用8位元的架構來實現AES-128,並且與8-bit PicoBlaze微處理器做整合,配合UART傳輸協定,透過RS-232轉藍芽之無線通訊模組連接電腦端與FPGA實驗板,再以PicoBlaze微處理器控制AES的加密運算,最後由電腦端的超級終端機上呈現加密結果。並且我們將此AES加解密演算法,應用於圖像的加密,透過不同的加密模式,ECB mode、CBC mode、CFB mode、OFB mode,並且分析比較在不同的加密模式之下,其中的優缺點。

    在開發工具上的使用,主要是使用MATLAB7.4.0與Xilinx公司所提供的軟體ISE9.2與ISE10.1版,並且利用spartan-3an晶片中的PicoBlaze微處理器來達成嵌入式加解密系統。

    This paper is about a procedure apply Advanced Encryption Standard on FPGA of embedded system.
    This paper will divide into two parts, the achievement and verification of the software and of the hardware. We use MATLAB to perform AES-128, using an 8-bit AES construction to perform AES-128 on the hardware, and integrate with 8-bit PicoBlaze microcontroller. By using the UART transfer protocol and the RS-232 to Bluetooth wireless to connect the computer system to the FPGA board. And then PicoBlaze will be used to control the AES encryption processing and display the encryption result through the hyper-terminal on the computer system. Furthermore, we apply this AES encryption processing on images. By some differents modes of encryption including ECB mode, CBC mode, CFB mode, OFB mode. We will analyze and compare the advantages and disadvantages of different modes when used in image encryption.
    The tools that we operated in this research are MATLAB7.4.0 and Xilinx ISE9.2i andISE10.1 software, and also the PicoBlaze microprocessor that is embedded in the Spartan-3an will be used for encryption.

    中文摘要..…………….………………………………..……………………………i 英文摘要..………..…………………………………………………………………ii 誌  謝……………………………………………………………..……….……iii 目  錄……………………………………………………………..…………..…iv 圖 目 錄……………………………….…………….……………………………..vi 表 目 錄………………………...………………………………...……………ix 第一章  緒論……………………………………………………………………………1 1.1 研究背景……………………………………………………………….....1 1.2 研究動機……………………………………………………………….....2 1.3 研究目的……………………………………………………………….....3 1.4 研究步驟……………………………………………………………….....3 第二章  AES介紹………………………………………………………………..3 2.1 高等加密標準演算法…………………………………………………..4 2.2 位元組取代轉換與反位元組轉換(SubBytes / InvSubBytes…...7 2.3 移列轉換與反移列轉換(ShiftRows / InvShiftRows)………………..9 2.4 混行轉換與反混行運算(MixColumns / InvMixColumns)…………..10 2.5 金鑰加法運算(AddRoundkey)……………………...……………11 2.6 金鑰擴展(KeyExpansion)…………………..………………………12 第三章  相關文獻探討……………………...…………………………...……14 3.1 128-bit AES………….….……….…………………………...……….14 3.2 32-bit AES………….….……..….…………………………...………14 3.3 8-bit AES………….…….……….…………………………...………..21 3.4 無線鍵盤傳輸加密之設計與實現…………………………….……..22 3.5 文獻分析與比較……………………………………………….…….......24 第四章  AES軟體模擬與圖形加密分析…………………………………….25 4.1 AES演算法之軟體架構設計………………..……………………..….25 4.1.1 aes_init function……………………..…………….26 4.1.2 s_box_gen function………………...…………….26 4.1.3 r_con function……..………………….……………….28 4.1.4 Key_expansion function………...………….29 4.1.5 Cipher function……..……………...………………30 4.1.6 Inv_cipher function……..………….……………33 4.2 圖像加密應用….....…………….………………………………….....35 4.2.1 圖像介紹…………………………..……………………….…....35 4.2.2 AES加解密工作模式…………....……..…………………38 4.2.3 ECB模式………………………………..………………….…....39 4.2.4 CBC模式…….………………………….………………….…....43 4.2.5 CFB模式…..….…………………….…………………..….….46 4.2.6 OFB模式………………………………..………………….…......49 第五章  AES硬體電路及整體架構實現……….……………….…………52 5.1 嵌入式AES系統……………………………………..……………….......52 5.2 Picoblaze..……………………………....……………………….……..53 5.3 UART..………………………………...………………………..……......54 5.4 8-bit AES電路架構..…………....…………………………………….58 5.5 無線傳輸模組..…………………..……………………….….……….....64 5.6 整體硬體架構模擬驗證..…………………………………………….....65 第六章  實驗結果與未來展望………………………………………..………..66 6.1 AES嵌入式系統………………...………………..………...…..…….66 6.2 不同工作模式圖形比較與分析……………………..………………...67 6.3 未來展望……………………………………………..……………….........68 參考文獻…………………….…………………………………………………….........69 自 傳…………………….……………………………………………………..........71 學術成就…..……………….…………………………………………………........….72

    [1] National Bureau of Standards, “Data Encryption Standard. Federal Information ProcessingStandards ProcessingStandards Publication, FIPS PUB 46, January 1977.
    [2] NIST. Institute of Standards and Technology, “Specification for the Data encryption Standard(DES),” FIPS PUB46-3, October 1999.
    [3] NIST. Announcing the advanced encryptionstandard(AES), FIPS 197, November 2001.
    [4] W. Stalling, Cryptography and Network SecurityPrinciples and Practices 4th Edition, Pearson Education, Inc., Upper Saddle River, New Jersey, 2006, pp 119-125.
    [5] P. Chodowiec and K. Gaj, “Very Compact FPGA Implementation of the AES Algorithm,” CHES 2003, Vol. 2779, September 2003.
    [6] Kuo-Huang Chang, Yi-Cheng Chen, Chung-Cheng Hsieh, Chi-Wu Huang, Chi-Jeng Chang, “Embedded a Low Area 32-bit AES for Image Encryption/Decryption Application” IEEE ISCAS.2009, p 1922-1925, May 2009.
    [7] X.Zhang and K.K.Pari, “High Speed VLSI Architectures for the AES Algorithm,”IEEE Trans. VLSI Systems, vol. 12, no. 9, September 2004.
    [8] Rafael C. Gonzalez and Richard E. Woods,“Digital Image Processing, 2/E”,Prentice Hall,2001.
    [9] Chi-Wu Huang, Shih-Hao Liu, Ying-Hao TU, Chi-Jeng Chang,“Understanding AES and the Operation Modes in Image Encryption”,ETCS2011,March 2011.
    [10] Ken Chapman XilinxLtd,“PicoBlaze KCPSM”
    [11] Ken Chapman XilinxLtd,“UART Transmitter and Receiver Macros”
    [12] Chi-Jeng Chang, Chi-Wu Huang, “8-bit AES Implementation in FPGA by Multiplexing 32-bit AES Operation,” in the Data, Privacy, and E-Commerce, 2007., Chengdu, Nov. 2007 ,pp.505-507.
    [13] Chi-Jeng Chang, Chi-Wu Huang, “8-bit AES FPGA Implementation using Block RAM,” Industrial Electronics Society, 2007. IECON 2007., Taipei, Nov. 2007, pp.2654-2659.
    [14] T. Good and M. Benaissa, “Pipelined AES on FPGA with support for feedback modes (in a multi-channel environment),” in the Institution of Engineering and Technology, vol. 1, no. 1, pp. 1–10, April 2007.
    [15] Wail S. Elkilani, Hatem M. Abdul-Kader “Performance of Encryption Techniques for Real Time”
    [16] Chi-Wu Huang, Chi-Jeng Chang, Mao-Yuan Lin, and Hung-Yun Tai, “The FPGA Implementation of 128-bits AES Algorithm Based on Four 32-bits Parallel Operation,” ISDPE 2007, Chengdu, Nov. 2007, pp.462–464.
    [17] Rafael C. Gonzalez and Richard E. Woods, “Digital Image Processing, 2/E,” Prentice Hall, 2001.
    [18] Ricardo Chaves, Georgi Kuzmanov, Stamatis Vassiliadis, and Leonel Sousa, “Reconfigurable Memory Based AES Co-Processor,” International Parallel and Distributed Processing Symposium, April 2006.
    [19] Akashi Satoh, Sumio Morioka, Kohji Takano,Seiji Munetoh, “A Compact Rijndael Hardware Architecture with S-Box Optimization,” Advances in Cryptology — ASIACRYPT 2001 7th International Conference on the Theory and Application of Cryptology and Information Security Gold Coast, Australia, December 9–13, 2001 Proceedings, January 2001.
    [20] 梁偉宗,“無線鍵盤傳輸加密之設計與實現”,國立中央大學,碩士,2007年7月。
    [21] 嚴健倫,“聲音加密以8位元移位暫存器之AES實現及分析”,國立臺灣師範大學,碩士,2010年6月。

    下載圖示
    QR CODE