Development and implementation of PCI bus data encryption system based on

Author
XuSanLin
Advisor
JiTianRen
School
University of Electronic Science and Technology
Major
Electronics and Information Engineering
Classification
TP309 Security and confidentiality
Degree
Master's thesis
Year
2002
Downloads
213
Citations
2

Request the full text

Abstract

This paper mainly introduces the research and realization of the data encrytion and decrytion system based on the PCI computer bus. The speed of the data encryption card we designed is above IMB/s, and this card realizes the DBS encryption algorithm. In addition to the hardware structure of the card based on the PCI bus protocol, this paper covers the WDM driver and NT driver techniques as well as the relevant applied testing programsFirstly, the data encyption theory is discussed briefly in this paper. This paper introduces the current data encryption algorithm and the development trend of encyption techniques, especially the ECB, CBC,CFB and OFB algorithm. As a good comprehension of the PCI bus protocol is quite important to the understanding of the whole system, this paper explains the characteristics and the features of the PCI bus, the signals of the bus. Meanwhile, the configuration space and configuration registers are also explained.With the high speed (133MHz) of the computer PCI bus ,this encyption system can encrypt and decrypt data quickly. Its hardward is composed of PCI interface module, CPLD module, key generatoe module, data encryption and decryption modules. In the second version, voltrage converter module and DSP module are added to the system.How to realize the WDM driver program of the card is the most improtant part of the paper. Before the introduction of the WDM driver, the Windows NT driver program is explained, as it is the basis of the WDM driver techniques. This paper intoroduces the user mode and kernel mode of the NT operation system as well as the detailed realization of NT driver program. This paper deals with in detail the differences between the WDM driver and NT driver and how to use the DriverStudio software of Numega Corp as well as the establishment of the enviroment of the driver program development. Combined with some examples, it also explains the use of interrupt and memory management in a integreted IRP routine.

Table of contents

Chinese abstract 4-5 English summary 5-10 Chapter 1 Introduction 10-13 1.1 Overview 10 1.2 's own research technical problems 10-11 1.3 research work 11 1.4 in this paper, the structure and content of each chapter Introduction 11-13 Chapter II data encryption principle 13-19 2.1 Overview 13 2.2 encryption and decryption of data structures and methods Category 13 2.3 modern encryption technology 13-16 2.3.1 data Encryption Standard DES 14 2.3. 2 improved DES algorithm 14-15 2.3.3 RC2 and RC4 15 2.3.4 International Data Encryption Algorithm IDEA 15 2.3.5 RSA algorithm 15-16 2.3.6 hardware-based encryption 16 2.4 encryption card basic modes 16-19 2.4.1 electron density of the (ECB) mode 17 2.4.2 cipher Block Chaining (CBC) mode 17 2.4.3 cipher feedback (CFB) mode 17-18 2.4.4 output Feedback (OFB) mode 18-19 Chapter III data Encryption card hardware structure and function overall 19-26 3.1 system constitutes 19-23 3.1.1 CI interface module 19-20 3.1.2 CPLD control module 20-21 3.1.3 key signal generation module 21-22 3.1.4 data encryption and decryption module 22 3.1.5 level conversion module 22-23 3.1.6 DSP module 23 3.2 port resource Description 23-24 3.2.1 BAR [0] memory nbsp 23 3.2.2 BAR [1] port operation ; 23-24 3.2.3 BAR [2] nbsp port operation ; 24 3.2.4 BAR [3] memory 24 3.2.5 interrupt occurs conditions 24 3.3 operating Basics 24-26 3.3.1 decryption step 24-25 3.3. 2 interrupt service routine 25 3.3.3 generates a random 128-bit key 25 3.3.4 read FlashROM 25-26 < br /> the fourth chapter studies the PCI bus technology and application 26-37 4.1 Overview 26 4.2 PCI bus overview 26-28 < br /> 4.2.1 PCI bus characteristics 26-27 4.2.2 system Architecture PCI bus 27-28 4.3 PCI bus signals and command description 28 4.4 PCI bus transfer protocol 28-32 4.4.1 PCI bus transfer cycle 29-30 4.2.2 PCI bus transfer 30-32 4.5 configuration space 32-37 4.5.1 PCI configuration registers 32 <br / > 4.5.2 introduces several important configuration register research and implementation nbsp 32-37 Chapter encryption card driver for Windows NT ; 37-53 5. 1 Overview 37 5.2 Windows NT architecture of 37-39 5.2.1 user Mode (User Mode) and kernel mode (Kernel Mode) 37-38 5.2.2 operating system structure 38 classification 5.2.3 NT drivers 38-39 5. 3 Windows NT system details 39-43 5.3.1 kernel -level code to run 39 procedures commonly 5.3.2 driver several objects 39-40 5.3.2.1 I / O request packet (IRP) 39 5.3.2.2 DPC 39-40 5.3.2.3 driver object (DriverObject) 40 5.3.2.4 device object (DeviceObject) 40 5.3.2.5 interrupt object (Interrupt) 40 5.3.3 on memory 40 5.3.4 buffered I / O and direct I / O 40 -41 5.3.5 Timing 41 5.3.6 synchronization 41-42 5.3.7 layered 42 5.3.8 device name and symbolic link environment setting 42-43 5.4 design NT drivers 43-44 5. installation nbsp 4.1 software ; 43 5.4.2 verify the installation and environmental 43-44 5.4.3 with Soft-ICE debug SYS 44 5.5 This card NT driver specific implementation 44-52 5.5.1 driver initialization and cleanup procedures 45-47 operational processes 5.5.2 driver 47-52 5.5.2.1 IRP process 47-48 5.5.2.2 illustrate IRP process nbsp 48-50 5.5.2.3 interrupt operations ; 50-52 5.6 summarizes 52-53 Article Research and Implementation chapters encryption card WDM driver 53-68 6.1 Overview 53 6.2 WDM driver features 53-54 < br /> 6.3 WDM drivers and NT -style comparison 54-55 6.3.1 similarities different place 54 6.3.2 identify nbsp 54-55 6.3.2.1 drivers ; 54 6.3.2.2 create device 54-55 <br / > 6.3.2.3 About DEVICE EXTENSION 55 6.3.2.4 cross-platform 55 6.3.2.5 hierarchical nature 55 6.3.2.6 PDO and FDO 55 6.3.2.7 Plug and 55 6.4 typical I WDM / O access process environment setting 55-56 6.5 WDM driver development 56-58 6.5.1 DriverWorks advantages 56-57 6.5.2 Driverworks shortcomings 57 6.5.3 the development environment nbsp WDM drivers ; 57-58 <br / > 6.5.3.1 software installation steps 57 6.5.3.2 verify the installation and environmental 57-58 6.5.3.3 with Soft-ICE debug SYS 58 6.6 Driver Wizard in achieving this card 58-60 6.6.1 hardware resources 58 <br / > form 6.6.2 framework program achieve 58-60 6.7 This card WDM driver 60-66 6.7.1 on IOCTL 60-61 6.7.2 application calls DeviceControl 61-62 6.7.3 driver DeviceControl routine 62-66 < br /> install 6.8 drivers 66 6.9 test data analysis 66-68 6.9.1 preparatory work before the test 66 6.9.2 test principle 66-67 6.9.3 test Results 67-68 Chapter VII Conclusion 68 -70 References 70-71 Thanks 71-72 Appendix 72-84 Appendix A Chinese National Standards information processing 64bit block cipher algorithm works GB/T15277-94 72-79 Appendix B INF file source code 79-84 CVs 84 - 85

Related dissertations

  1. The Design and Implementation of PCI Password Card
    GaoDongFei ·Zhengzhou University ·2013 ·Master's thesis
  2. Testing System of Body Reflection Velocity Based on PCI Bus
    ZhaoHuanYu ·Jilin University ·2007 ·Master's thesis
  3. The Development and Research of Ac Servo Motor Motion Controller Based on WDM
    LiQiuXian ·Xi'an University of Technology ·2006 ·Master's thesis
  4. Verification and Testing of an Interface Chip Based on PCI