研究生: |
陳奕丞 Yi-Cheng Chen |
---|---|
論文名稱: |
小面積之高速32-Bit AES的FPGA設計 Low Area with High Speed 32-Bit AES Design in FPGA |
指導教授: |
黃奇武
Huang, Chi-Wu 張吉正 Chang, Chi-Jeng |
學位類別: |
碩士 Master |
系所名稱: |
工業教育學系 Department of Industrial Education |
論文出版年: | 2009 |
畢業學年度: | 97 |
語文別: | 中文 |
論文頁數: | 68 |
英文關鍵詞: | AES, FPGA, Dual Port Block RAM |
論文種類: | 學術論文 |
相關次數: | 點閱:121 下載:6 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
近幾年來進階加密演算法AES(Advanced Encryption Standard)針對縮小面積與提升頻率之議題而時常被廣泛的討論,為達上述之方向,本文將AES演算法內含的SubBytes和MixColumns乘法運算改用以雙埠記憶體(Dual Port Block RAMs)做查表取代運算,除此之外,在ShiftRows方面,使用旋轉暫存器(rotate register)來取代memories,使整個AES硬體電路佔用面積可小到118 Slices、而產率(Throughput)最快可達到213 Mbps(Mega bit per second),與文獻上最好之數據163 Slices與208 Mbps相比,面積減少27%、速度增加1.02倍。
小面積之高速32-Bit AES除了做一般文字加解密外,本文嘗試將其應用於需大量資料運算的靜態影像加解密,從模擬結果觀察之,影像加解密的視覺效果較文字更為明顯。
本篇論文利用Xilinx公司所提供的ISE 9.2i為設計平台,利用VHDL進行設計,第一章緒論介紹研究背景、研究目的與研究動機及介紹AES在目前產品化的應用,第二章說明完整的AES演算法流程及過程介紹,第三章介紹IEEE上所發表的相關文獻探討,介紹以記憶體和邏輯電路架構實現的方式,第四章利用第三章所提出的一些架構及特性配合FPGA電路需求去做設計,第五章將實現的電路去做模擬與測試,並做文字與影像上的加密,第六章結論及未來工作。
Recently the development of the AES algorithm has been focused on minimizing its area and enhancing its speed. This paper uses Dual Port Block RAMs to perform multiplication that was done by SubBytes and MixColumns, and rotate registers instead of memories in ShiftRows in order to lower the hardware area to 118 slices and maximize the throughput to 213 Mbps. Compared to 163 Slices and 208 Mbps on other papers the area has decreased 27% and the speed has increased 1.02 times.
Besides Encrypting/Decrypting phrases, the low area 32-Bit AES, we implement it on picture encryptions that require large amount of data processing. From simulation results picture encryptions have a better effect than phrase encryption.
We use ISE9.2i of Xilinx as a platform and design using VHDL. Section one gives some background, the main purpose of this project, and some products and implementations of AES. Section two introduces the procedure of the AES algorithm. Section three shows some related studies on IEEE and the construction of memory and logic circuits, section four then realizes these circuits on FPGA. Section five is the simulation with the encryption/decryption, and lastly section six concludes our work and provides some future works.
[1]
National Bureau of Standards, 「Data Encryption Standard. Federal Information Processing Standards Processing Standards 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]
Tim Good and Mohammed Benaissa, "Very small FPGA application-specificinstruction processor for AES," IEEE Trans. Circuit and System, Vol. 53, no. 7, pp. 1477-1486, July 2006.
[5]
Pawel Chodowiec and Kris Gaj, 「Very Compact FPGA Implementation of the AES Algorithm,」 CHES 2003, Vol. 2779, September 2003.
[6]
Gael Rouvroy, Francois-Xavier Standaert, Jean-Jacques Quisquater and Jean-Didier Legat, 「Compact and efficient encryption/decryption module for FPGA implementation of the AES Rijndael very well suited for small embedded applications,」 ITCC 2004, Vol. 02, pp. 583-587, August 2004.
[7]
Ricardo Chaves, Georgi Kuzmanov, Stamatis Vassiliadis, and Leonel Sousa, 「Reconfigurable Memory Based AES Co-Processor,」 IPDPS 2006, April 2006.
[8]
CAST. AES128-P Programmable Advanced Encryption Standard Core. http://www.castinc.com/, 2005.
[9]
Helion. High Performance AES (Rijndael) cores for Xilinx FPGA. http://www.heliontech.com/, 2005.
[10]
Xinmiao Zhang and Keshab K. Parhi 「High Speed VLSI Architectures for the AES Algorithm,」 IEEE Transactions on Large Scale Integration(VLSI) SYSTEMS, Vol. 12, no.9 , pp 957-967, September 2004.
[11]
Johannes Wolkerstorfer, Elisabeth Oswald and Mario Lamberger 「An ASIC Implementation of the AES SBoxes,」 CT-RSA 2002, LNCS 2271, pp 67-78, February 2002.
[12]
Akashi Satoh, Sumio Morioka, Kohji Takano and Seiji Munetoh 「A Compact Rijndael Hardware Architecture with S-BOX Optimization,」 ASIACRYPT 2001, LNCS 2248, pp 239-254, 2001.
[13]
Nele Mentens, Lejla Batina, Bart Preneel and Ingrid Verbauwhede 「A Systematic Evaluation of Compact Hardware Implementations for the Rijndael S-Box,」 CT-RSA 2005, LNCS
58
3376, pp 323-333, 2005.
[14]
W. Stalling, Cryptography and Network Security Principles and Practices 4th Edition, Pearson Education, Inc., Upper Saddle River, New Jersey, 2006, pp 119-125.
[15]
Jyh-Huei Guo and Chin-Liang Wang 「Systolic Array Implementation of Euclid's Algorithm for Inversion and Division in GF(2m),」 IEEE Computer Society, Vol. 47, no. 10, pp 1161-1167, October 1998.
[16]
Hannes Brunner, Andreas Curiger, and Max Hofstetter, 「On Computing Multiplicative Inverses in GF(2m),」 IEEE Trans. Computers, Vol. 42, no. 8, pp. 1010-1015, August 1993.
[17]
Chi-Wu Huang, Chi-jeng Chang, Mao-Yuan Lin, Hung-Yun Tai 「Compact FPGA Implementation of 32-bits AES Algorithm Using Block RAM,」 TENCON2007, Oct. 30- Nov.2, 2007.
[18]
Chih-Peng Fan, Jun-Kui Hwang 「Implementations of High Throughput Sequential and Fully Pipelined AES Processors on FPGA,」 ISPACS 2007, Nov. 28 2007-Dec. 1, 2007.