Font Size: a A A

The Study Of PCIe Interface Encryption Card Driver Under The Linux

Posted on:2014-04-25Degree:MasterType:Thesis
Country:ChinaCandidate:K J XuFull Text:PDF
GTID:2268330398458886Subject:Circuits and Systems
Abstract/Summary:PDF Full Text Request
Currently the security of data is more and more important. The position of data encryption indata communication and storage appears importantly. The core of protecting data safety is the dataencryption technology, especially in the age when electronic commerce, digital currency, bankingnetwork and other network service is rising. So how to protect data security without being stolenand not been tampered with or damaged gets the attention of people more and more. The servers ofmany enterprises are carrying a large amount of data every day, such as Taobao, Baidu, NetEase. Inthese large servers, data security is very important, how to protect the data on the servers is thequestion nowady. In present society, the design of hardware which is for data encryption is the key.the protection of data in server is also very important. Now the system of servers mostly are Linux,the function of Linux operating system is improving gradually, Linux operating system is more andmore widely used in various fields.This paper designs the driver of encryption card in Linux. The card is inserted into the PCIeslot on computer. The hardware is already exsited. The algorithms are implemented by hardware, sothe catogery of algorithms are exsited. Application can download the data to the card. The card hasmany algorithms for data encryption. The algorithms consist of compression, hash and so on. Thesealgorithms are cracked difficultly. So the card can realize protecing data security. The task of thedriver which is designed by this paper is for data encapsulation which is from user application. Thedriver sets the hardware, then sends the data to hardware for encryption. The driver is for operatingthe hardware detaily. what it provides to the user application are the simple APIs. This paperfirstly introduces the PCI-e bus, then introduces the algorithms, and then introduces the basicframework of hardware. At last introduces the software design process and data test result. Becausethe hardware and algorithm have already exsited. the algorithm security and complex rate is fixed.So what the test of the system is the throughout speed of data. The test result is used as the standardfor success. The driver is divieded into service layer and physical layer:1. Service layer is the first layer, when application use the API, its process will enter this layer.This layer do not contact the hardware directly. Its work includes package processing andpacking. And then pass to the next layer.2. The physical layer is under the service layer. This layer’s work is mainly contacting withthe hardware directly, download the data which is from service layer to hardware throughDMA mode.The system uses Linux as the development environment, designs the driver based on the encryption card. By the API driver interface, the application can download the data to the card forencryption. The encryption speed of the encryption itself can reach800MB/s. the paper have tesedthe software in detail, and the result shows the driver software can reach the encryption speed to600MB/s~700MB/s, which meet the original design requirements.
Keywords/Search Tags:driver, encryption, service layer, physical layer
PDF Full Text Request
Related items