Side-channel Analysis and Implementation of FPGA Based Cryptographic Algorithms

Author
LiJing
Advisor
LiRenFa
School
Hunan University
Major
Computer Science and Technology
Classification
TP309.7 Encryption and decryption
Degree
Master's thesis
Year
2011
Downloads
25
Citations
0

Request the full text

Abstract

Nowadays, with the popularity and development of computer and communicationtechnology, with the construction and implementation of e-mail, electronic swing servicesystems and retail business network, more and more information is stored and transferred. Theprotection of secure information is not only limited in politics military and diplomacy but alsoclosely interfered with our daily lives, and it is aroused more and more attention. Encryptionis an effective solution to secure sensitive information. However, attackers may use the sideinformation as power consumptions, execution time and electromagnetic radiation of theequipment in the process of executing the cryptographic algorithms to retrieve the secret keys.These new kinds of methods are called side channel attacks. Side channel attacks are effectivemethods to break up the encryption devices without using theoretical methods, therefore,more and more researchers pay attention on side channel attacks and countermeasures. Thekey point of this paper is to learn how such attack works and propose an effectivecountermeasure method to fight against it.In this paper, two popular private key cryptographic algorithms: AES (AdvanceEncryption Standard) and SMS4(Chinese National Standard for Wireless LAN WAPI) havebeen implemented. The experimental results show that the proposed algorithms achived betterperformance and faster speed when ported to FPGA platform compared with softwaresolutions. The vulnerability of the implemented AES algorithm has benn evaluated by theindependently developed power analysis simulation tool. Part of the private key has beenanalyzed successfully, so the unpretected encryption algorithm cannot defend againstdifferential power analysis.Later, an improved masking method has been proposed on the condition that mostarithmetic masking cannot defend against both differential power analysis and Glitch attacks.Different architectures of masked S-box based on Boolean masking methods have beenproposed and implemented in Hardware Description Language (HDL) based on FPGAplatform. Different masked S-box architectures are applied in AES and SMS4encryption algorithms and implemented in FPGA platform. The comparison has been given to themasked AES algorithms with the existing implementations. It shows that the proposedimplementation levels up the security and achieves best throughput/area among the existingmethods.

Table of contents

Summary 4-5 Abstract 5-7 directory 7-10 illustrations index 10-12 attached table Index 12-13 Chapter 1 Introduction 13-18 1.1 subject background 13 1.2 cryptography Introduction 13 - Research Status 15 1.3 power analysis techniques and appropriate defense measures 15-16 1.4 research significance 16-17 1.5 This paper is organized as 17-18 private key encryption algorithm in Chapter 2 Overview 18-31 2.1 symmetric cryptographic algorithm design principles 18-19 2.2 related to mathematical knowledge 19-21 concept 2.2.1 domain 19-20 2.2.2 finite field and its tectonic 20-21 2.2.3 polynomial arithmetic domain 21 2.3 AES - Rijndael encryption algorithm 21-27 2.3.1 byte substitution (SubByte) 23 2.3.2 line shift (ShiftRows) 23-24 2.3.3 mixcolumn (MixColumns) 24 2.3.4 encryption key transformation (AddRoundKey) 24 2.3.5 key Expansion (KeyExpansion) 24-27 2.4 SMS4 encryption algorithm 27-30 2.4.1 SMS4 algorithm round function 27 2.4.2 synthetic replacement 27-29 2.4.3 key Expansion 29-30 2.5 Summary 30 - 31 Chapter 3 power attacks and defense technology 31-47 3.1 bypass attack techniques 31-34 3.1.1 time Attack 31-32 3.1.2 Fault Tolerance attack 32-33 3.1.3 electromagnetic radiation attack 33 3.1.4 -power attack 33 -34 3.2 -power attack techniques 34-40 3.2.1 -power attack theory and modeling 34-35 3.2.2 simple energy analysis techniques (SPA) 35-36 3.2.3 differential Power Analysis technology (DPA) 36-38 3.2.4 order energy analysis techniques (HO-DPA) 38-39 3.2.5 pulse attack (Glitch attacks) 39-40 3.3 -power attack defense technology 40-46 3.3.1 mask code technology 40-44 3.3.2 shuffle technology 44-45 3.3.3 copy 45 3.3.4 change the algorithm energy consumption features 45-46 3.4 Summary 46-47 Chapter 4 private key encryption algorithm for hardware implementation 47-53 4.1 AES algorithm hardware implementation and security analysis 47-51 4.1.1 AES algorithm hardware implementation 47-50 4.1.2 DPA attack AES encryption algorithm 50-51 4.2 SMS4 algorithm for hardware design and implementation 51-52 4.3 Summary Implementation and performance 52-53 Chapter 5 Security encryption algorithm compares 53-68 encryption algorithm to protect the principle of S-box 5.1 mask and achieve 53-60 5.1.1 lookup table (LUT) structure 54 5.1. 2 RAM structure 54-56 5.1.3 RAM lookup table and a combination of 56-57 5.1.4 fixed mask 57-58 5.1.5 LUT and RAM separate structures 58 5.1.6 S- box implementation protective mask performance evaluation 58-60 5.2 AES encryption protection mask algorithm 60-64 5.2.1 mask to protect AES encryption to achieve 60-62 5.2.2 mask AES algorithm performance 62-64 <br / > 5.3 mask to protect SMS4 algorithm 64-66 5.3.1 mask to protect SMS4 encryption achieve 64-65 5.3.2 mask SMS4 algorithm performance 65-66 5.4 mask to protect the security of the algorithm 66 5.5 summary 66-68 summary and Outlook 68 - 70 References 70-78 Thanks 78-79 appendix papers and participate in the project during the a published study for a degree 79 - 80

Related dissertations

  1. Implementation of the Voice Encryption Communication with AES Algorithm Based on FPGA
  2. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  3. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  4. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  5. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  6. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  7. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  8. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  10. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  11. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  12. The Design of Digital Ultrasonic Nondestructive Testing System
  13. Design and Implementation of High Speed Data Recorder Based on FPGA
  14. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  15. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  16. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  17. The Design and Research of PCI Data Acquisition Card Based on FPGA
  18. Usb Without Invasive Data Collection Technology Research
  19. Research on On-line Diameter Measurement System Based on FPGA
  20. Design of High Speed Data Acqusition and Storage System Based on FPGA
    QinJianJun ·Harbin Engineering University ·2013 ·Master's thesis