FPGA Encryption and Decryption Algorithms’ Achievement Based on SD Interface

Author
LiXianLong
Advisor
LuYiQin
School
South China University of Technology
Major
Communication and Information System
Classification
TN791 Logic circuits
Degree
Master's thesis
Year
2012
Downloads
45
Citations
0

Request the full text

Abstract

Along with the rapid development of multimedia data services and wirelesscommunications, the amount of communication data has a substantial increase in embeddedsystems. How to protect sensitive information’s security has become an important issue.Embedded systems encryption and decryption operations are mostly realized by software, thisway can only satisfy small amount of data, low real-time requirements occasions. Forreal-time information plus a large amount of data encryption and decryption, due to thelimitations of embedded systems hardware performance, software implementation is clearlyunable to meet the requirements. In this paper, a programmable hardware FPGA was used toimplement the information encryption and decryption, the encryption and decryption ofinformation no longer be used to communicate with the embedded host, this method is goodsafeguard the information security of embedded systems.Order to meet the requirements of the new features of the user, the system designrequires the board to continue to integrate new functional modules, this design cause themotherboard more and more complex, device compatibility and scalability is getting moreand more worse, the cost is increasing more and more higher. Therefore, consider thecompatibility, manufacturing cycle time, cost, using the expansion interface on themotherboard to achieve the new features is a good embedded devices extension program. Thisdesign, select the SD bus interface on the motherboard to expansion interface, using FPGA tosimulat the SD bus slave interface module, the expansion of encryption and decryption can becompatible with the old embedded host.Selection of the encryption and decryption algorithm, for the safety, timeliness, ease ofuse, compatibility, etc, this design is completed symmetric encryption algorithms DES andAES, the DES encryption algorithm is fast but the security is relatively low, the AESencryption algorithm is relatively slow but safe, the two methods also can be well positionedto meet the system’s security, flexibility needs.

Table of contents

Summary 5-6 ABSTRACT 6-10 first chapter 10-15 1.1 application background topics 10 - 11 1.2 research status 11-13 1.2.1 SD bus protocol research status 11-12 1.2.2 DES, AES symmetric encryption algorithm Research Status 12-13 1.3 dissertation research work chapters arranged 13-14 1.4 papers 14-15 chapter based FPGA encryption system structure and principles of SD bus overall 15-24 2.1 system Architecture 15 2.2 SD bus protocol outlined 15-20 2.2.1 command transmission and data transmission 16-17 2.2.2 SD card register 17-18 2.2.3 SD card workflow 18-20 2.3 symmetric encryption algorithm principle 20-23 2.3.1 DES algorithm flow 21-22 2.3.2 AES algorithm flow 22 - 23 2.4 Summary 23-24 Chapter III SD module design and implementation of machine from 24-35 3.1 command control Module sd_cmd 24-31 3.1.1 sd_cmd module input and output interface design 24-25 3.1.2 sd_cmd module finite state machine 25-26 3.1.3 command receiving sub-module sd_cmd_receive 26-28 3.1.4 command reply submodule sd_cmd_response 28-31 3.1.5 CRC7 check sub- module sd_cmd_crc 31 <br / > 3.2 data control module sd_dat 31-34 3.2.1 sd_dat module input and output interface design 31 3.2.2 sd_dat module finite state machine 31 - 33 3.2.3 CRC16 check sub- module sd_dat_crc 33-34 3.3 FIFO module 34 3.4 Summary 34-35 <br / > Chapter IV hardware encryption and decryption achieve 35-49 4.1 DES encryption and decryption algorithms 35-40 4.1.1 initial permutation function IP and IP-1 final permutation function 35-36 4.1.2 key scheduling function KS 36-37 4.1.3 password function f 37-40 4.2 AES plus decryption algorithm 40-48 4.2.1 mathematical foundation 40-41 4.2.2 byte substitution (SubBytes) 41-44 4.2.3 line shift (ShiftRows) 44-45 4.2.4 columns confusion (MixColumns) 45-46 4.2.5 round keys plus (AddRoundKey) 46 4.2.6 key schedule (Key schedule) 46-48 4.3 Summary 48-49 Chapter V system hardware design and achieve 49-55 5.1 introduces the main chip 49 5.2 circuit design 49-53 5.2.1 power circuit design 49 -50 5.2.2 clock circuit design 50-51 5.2.3 AS download circuit and JTAG debug circuit design 51-52 5.2.4 SD from machine interface circuit design 52-53 5.3 PCB Figure 53 5.4 hardware physical map 53-54 5.5 Summary 54 -55 Chapter VI system simulation and functional testing 55-71 6.1 SD slave module simulation and functional testing 55-64 6.1.1 SD from machine simulation 55-57 6.1.2 SD slave hardware test 57-64 6.2 DES encryption and decryption algorithm simulation and functional testing 64-67 6.2.1 DES encryption and decryption algorithm simulation 64-66 6.2.2 DES encryption and decryption algorithm hardware test 66-67 6.3 AES encryption and decryption algorithm simulation and functional testing 67-69 6.3.1 AES encryption and decryption algorithm simulation 67-68 6.3.2 AES encryption and decryption algorithm hardware test 68-69 6.4 consolidated results of the entire system 69-70 6.5 Summary 70-71 conclusion 71-72 References 72 - 75 Appendix 1: sd_cmd module Verilog source 75-79 Appendix 2 : Command receiving sub-module sd_cmd_receive verilog source 79-82 Appendix 3 : Command reply child module sd_cmd_response verilog source 82-90 Appendix 4: CRC7 check sub- module Verilog source 90-91 Appendix 5 : Data control Module sd_dat Verilog source 91 -96 studying for a master's degree obtained during research 96-97 Thanks 97-98 accessories 98

Related dissertations

  1. Research and Design of the Des Encryption Chip Based on Resource Optimization
  2. Data Encryption and Decryption Design of AES Algorithm Based on FPGA
  3. The Research of Enhanced Side-channel Attack and New Cryptographic Algorithmsits
    SongZuo ·Hunan University ·2013 ·Master's thesis
  4. Research on the Encryption Technology of the Frequency Hopping System
    GaoJinBao ·Harbin Engineering University ·2013 ·Master's thesis
  5. The Implementation and Analysis of the AES Algorithm Based on FPGA
    NiHaiRi ·Tianjin University ·2012 ·Master's thesis
  6. Defense attack of the information security chip technology research
    HanJun ·Fudan University ·2006 ·Doctoral dissertation
  7. The Cryptology Algorithm in the Model of the Secure Electronic Transaction
    ChiYue ·Hebei University of Technology ·2004 ·Master's thesis
  8. Security Management Center and its encryption achieve military remote multimedia collaboration system
  9. Confidential network system security design based on B / S mode
  10. THE RESEARCH OF Rijndael
    ZouYouZuo ·Xi'an University of Technology ·2002 ·Master's thesis
  11. The Implementations of Cryptographic Algorithms Based on ADSP
  12. Data encryption system in the FPGA design
    LiWanCai ·Fudan University ·2008 ·Master's thesis
  13. Design of S-boxes Optimum Alogrithms
    ChouLiang ·Yangzhou University ·2008 ·Master's thesis
  14. The Application Research of Encryption Technology Base on AES
  15. Interleaving method based on modern cryptography encryption technology research
    ChenKeXin ·Harbin Engineering University ·2008 ·Master's thesis
  16. The Research and Implementation of the POP3 Protocol’s Security Mechanisms
    ChenLei ·Shanghai Jiaotong University ·2008 ·Master's thesis
  17. Research on the Improvement of Block Cipher Diffusion Layer
  18. Research on Power Analysis and the Defence of a Class of Cryptographic Algorithms
    ZhangJingJing ·Hunan University ·2010 ·Master's thesis
  19. Research on Implementation of Reconfigurable Block Cipher Processing System
  20. Research on Asynchronous Integrated Circuits Design Methods