研究生: |
張祐菘 Yu-Sung Chang |
---|---|
論文名稱: |
基於AXI4介面的管線式AES矽智財設計與驗證 The Design and Verification of an IP Core for Pipeline AES Based on AXI4 Interface |
指導教授: |
林銘波
Ming-Bo Lin |
口試委員: |
陳郁堂
Yie-Tarng Chen 林昌鴻 Chang-Hong Lin |
學位類別: |
碩士 Master |
系所名稱: |
電資學院 - 電子工程系 Department of Electronic and Computer Engineering |
論文出版年: | 2019 |
畢業學年度: | 107 |
語文別: | 中文 |
論文頁數: | 73 |
中文關鍵詞: | 進階加密標準 、位元組替代轉換 、即時金鑰擴展 、AXI匯流排 |
外文關鍵詞: | AES, Subbytes, On-the-fly KeyExpansion, AXI bus |
相關次數: | 點閱:664 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
論文中提出了一個符合AXI4介面的管線式AES加解密矽智財設計,注重其核心的面積大小及吞吐量,減少所需硬體資源並提升運算效能。依據AES演算法實現出來的加解密晶片,輸入的每一筆資料為128位元。金鑰部分為可選擇的128位元、192位元及256位元。
為了減少面積使用及提高吞吐量,採用了內部回合管線式(Inner-round pipelining)架構,將加密及解密流程使用的硬體資源結合,達成共享資源的目的。在位元組替代轉換中,使用複合場運算來有效的降低演算法複雜度;混合行運算中,將演算法簡化,並找出相同的運算子來達到電路共享;金鑰擴展程序中,採用了即時運算(On-the-fly)的設計,減少記憶體面積。
在複雜的SoC設計中,需要使用高效能且低延遲的匯流排,所以選擇了目前被業界廣泛使用的ARM公司提出的AMBA 4.0的 Advanced eXtensible Interface (AXI)匯流排。
管線式AES加解密矽智財已經分別在Xilinx 的Virtex 5系列FPGA (XC5VLX110T)以及TSMC 0.18μm 元件庫 (Cell Library)上實現與驗證。在FPGA設計部分,使用2562個暫存器與4829個LUTs,工作頻率為200 MHz,資料處理量最高為2327 Mbps;在元件庫設計部分,工作頻率為142.85 MHz,晶片核心(core)面積為874.145 μm × 872.265 μm,資料處理量最高為 1662 Mbps,其等效閘數量 (gate count)約為48537個,消耗功率為33.43 mW。
In this thesis, a pipelined architecture of AES Encryption/Decryption based on AXI4 interface is proposed. This architecture emphasizes area and throughput, reduces hardware cost and improves its computing performance. According to the AES algorithm, the input data is 128 bits and the cipher key has three options: 128, 192 or 256 bits.
In order to reduce area and improve its computing performance, we use an inner-round pipelining architecture, combining Encryption and Decryption to share hardware. The composite field arithmetic is used in Subbytes transformation. Simplify the algorithm by finding the same operators for Mixcolumn/Invmixcolumn transformation. An on-the-fly key architecture is used in KeyExpansion to reduce area of memory.
In complex SoC design, it often needs a bus, which has high performance and low latency. Therefore, we select AMBA4.0 AXI interface, which is widely used in industry.
The pipeline architecture of AES Encryption/Decryption IP has been implemented and verified with both Xilinx Virtex 5 (XC5VLX110T) and TSMC 0.18 µm cell library. In the FPGA part, it uses 2562 registers and 4829 LUTs, operates at 200 MHz and can achieve a high throughput of 2327 Mbps. In the cell-based part, it operates at 142.85 MHz and can achieve a high throughput of 1662 Mbps. The core occupies an area of 874.145 µm × 872.265 µm, which is approximately equivalent 48537 gates, and consumes about 33.43 mW in the typical operating condition.
[1] James Nechvatal, et al., Report on the Development of the Advanced Encryption Standard (AES), National Institute of Standards and Technology, October 2, 2000.
[2] National Institute of Standards and Technology, Advanced Encryption Standard (AES), Federal Information Processing Standard (FIPS) Publication 197, November 2001.
[3] Kris Gaj and Pawel Chodowiec, “Comparison of the Hardware Performance of the AES Candidates using Reconfigurable Hardware,” The Third Advanced Encryption Standard (AES3) Candidate Conference, New York, USA, April 2000.
[4] AMBA® AXI™ and ACE™ Protocol Specification AXI3™ , AXI4™ , and AXI4-Lite™ ACE and ACE-Lite 2011
[5] Clifford E. Cummings, Sunburst Design, Inc. “Simulation and Synthesis Techniques for Asynchronous FIFO Design with Asynchronous Pointer Comparisons”, SNUG-2002 San Jose, CA.
[6] Xinmiao Zhang and K. K. Parhi, “High-speed VLSI architectures for the AES algorithm,” IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 12, no. 9, pp. 957-967, September. 2004.
[7] Qingfu Cao and Shuguo Li, “A high-throughput cost-effective ASIC implementation of the AES Algorithm,” 2009 IEEE 8th International Conference on ASIC, Changsha, Hunan, 2009, pp. 805-808.
[8] M. R. Rao and R. K. Sharma, “FPGA implementation of combined AES-128,” 2017 8th International Conference on Computing, Communication and Networking Technologies (ICCCNT), Delhi, 2017, pp. 1-6.
[9] Z. Kouser, M. Singhal and A. M. Joshi, “FPGA implementation of advanced Encryption Standard algorithm,” 2016 International Conference on Recent Advances and Innovations in Engineering (ICRAIE), Jaipur, 2016, pp. 1-5.
[10] M. Wang, C. Su, C. Horng, C. Wu and C. Huang, “Single- and Multi-core Configurable AES Architectures for Flexible Security,” IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 18, no. 4, pp. 541-552, April 2010.
[11] P. V. Sriniwas Shastry, A. Kulkarni and M. S. Sutaone, “ASIC implementation of AES,” 2012 Annual IEEE India Conference (INDICON), Kochi, 2012, pp. 1255-1259.
[12] T. Hongsongkiat and P. Chongstitvatana, “AES implementation for RFID Tags: The hardware and software approaches,” 2014 International Computer Science and Engineering Conference (ICSEC), Khon Kaen, 2014, pp. 118-123.
[13] 謝名峻, 可選擇金鑰之低成本AES晶片設計, 碩士論文–國立台灣科技大學 電子工程學系研究所, 2010年5月
[14] 曾英彰, AES內建CBC模式加密與解密智產設計與驗證, 碩士論文–國立台灣科技大學電子工程學系研究所, 2004年7月。