Research of Implementation Technology for Cryptography Algorithm Based on GPU
- Author
- YeJian
- Advisor
- LiLiXin
- School
- PLA Information Engineering University
- Major
- Applied Computer Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 185
- Citations
- 3
- Graphical processor
- Compute Unified Device Architecture
- AES algorithm
- RSA algorithm
- Montgomery Algorithm
- RNS
Abstract
With the development of computer networks , network security issues have become increasingly prominent , the SSL protocol as an effective solution , many enterprises have been used to protect sensitive data secure transmission . Studies have shown that the secure transmission of SSL protocol based on the non-hardware , 70 % of the CPU time used to handle cryptographic operations , so how to improve the efficiency of the implementation of the cryptographic algorithms has become a key factor for efficient implementation of the SSL protocol . On the other hand , the game market and military visual simulation needs traction , GPU computing performance has been greatly exceeds the CPU computing performance , and along with the programmable continuous improvement as well as the rapid growth of the number of internal parallel processing unit , GPU has evolved into a new type of parallel computing platform GPU-based general-purpose computing has become the research focus of domestic and foreign scholars . OpenSSL is the main basis of the SSL protocol library , its internal cryptographic algorithm library is to guarantee the security of SSL protocol . Research OpenSSL on the basis of two typical algorithms AES and RSA , the new GPU-based parallel computing architecture CUDA, improved AES and RSA algorithm . The paper analyzes the traditional GPU general computing the basic flow , pointed out the reasons for its field of application is limited , focusing on the current GPU computing architecture CUDA analysis of the hierarchy of the thread , and memory hierarchy , and CUDA-based computing architecture optimization algorithm standard . Research and analysis on the basis of the AES algorithm technology , optimized AES algorithm implementation strategy : the use of lookup tables round function of the AES algorithm and CUDA computing architecture design the algorithm thread mapping programs, as well as memory allocation scheme . Final AES algorithm implemented on the GPU to achieve rates of up to 25 times the rate of traditional CPU implementations . RSA algorithm for all types of commonly used method based on the feasibility of a GPU implementation , and the departure from the angle of the degree of parallelism algorithm discussed modulo arithmetic algorithms involved in the implementation of the algorithm and the algorithm of the base extension . On this basis , based on the CUDA computing architecture designed RSA algorithm to the CUDA mapping scheme . Eventually implemented on the GPU based the CIOS of the modular exponentiation and RNS - based modular exponentiation operation, the rate reached 2.3 times and 1.2 times the rate of traditional CPU implementations .
Table of contents
Abstract 7-8
Abstract 8-9
first chapter 9-13
1.1 Background and Significance 9 - 10
1.2 research status 10-11
1.3 dissertation research 11-12
1.4 papers organizational structure 12-13 < br /> Chapter cryptography related theories 13-17
2.1 Number theory related knowledge 13-14
2.1.1 modulo arithmetic 13
2.1.2 cyclic group 13
2.1.3 finite field 13-14
2.2 Chinese Remainder Theorem 14
2.3 integer representation 14-16
2.3.1 base-b representation 14-15
2.3.2 mixed radix notation 15
2.3.3 RNS 15-16
2.4 Summary 16-17
Chapter GPU general computing research 17-29
3.1 traditional GPU computing 18 -19
3.2 CUDA parallel computing architecture 19-22
3.2.1 thread hierarchy 20-21
3.2.2 Memory Hierarchy 21 -22
3.3 CUDA software architecture 22-24
3.3.1 CUDA C language 22-23
3.3.2 nvcc compiler 23 < br /> 3.3.3 CUDA library 23-24
3.4 GeForce 9600GT hardware architecture 24-25
3.4.1 Hardware Overview 24
3.4.2 Execution Mode 24-25
3.4.3 Memory Model 25
3.5 CUDA-based algorithm to optimize the standard 25-28
3.5.1 perform configuration options 26
3.5.2 CPU-GPU communication optimization 26-27
3.5.3 Memory Access Optimization 27-28
3.6 of this chapter Summary 28-29
Chapter GPU-based implementation of AES technology 29-45
4.1 AES algorithm 29-34
4.1.1 Algorithms 29-30
4.1.2 internal function 30-32
4.1.3 key scheduling algorithm 32-33
4.1.4 mode 33-34
4.2 to achieve ideological 34
4.3 AES optimized 34-35
4.4 AES's GPU parallel design 35-37
4.5 AES's CUDA implementation 37-41
4.5.1 thread mapping scheme 37-38
4.5.2 memory allocation scheme 38-39
4.5.3 Shared Memory Access Optimization 39-41
4.6 algorithm performance test 41-44
4.6.1 Test environment and development platform 41
4.6.2 Performance Evaluation 41-44
4.7 Chapter Summary 44-45
RSA Chapter GPU-based Implementation Technology 45-75
5.1 RSA algorithm 45-46
5.1.1 RSA cryptosystem 45
5.1.2 key, select 45 -46
5.2 to achieve ideological 46-47
5.3 based on CUDA architecture to achieve RSA feasibility 47-61
5.3.1 modular exponentiation 47-48
5.3.2 modulus arithmetic 48-53
5.3.3 RNS-based modulo arithmetic 53-61
5.4 RSA algorithm CUDA implementation 61-69
5.4.1 CIOS modular exponentiation based on the realization 61-64
5.4.2 RNS-based implementation of modular exponentiation 64-69 < br /> 5.5 algorithm performance test 69-73
5.5.1 Test environment and development platform 69-70
5.5.2 Performance Evaluation 70-73 < br /> 5.6 Chapter Summary 73-75
Chapter Summary and Outlook 75-77
6.1 This work summarizes 75
6.2 the next step Work Plan 75-77
References 77-80
Appendix 80-85
Author Biography master's degree major work accomplished during 85-86
Thanks 86
Related dissertations
- Research on DES and RSA Hybrid Encryption Algorithm
- Research on Methodologies of Power Analysis Attack and Cipher Chip Design for Resisting Power Analysis Attack
- Hybrid Encryption Algorithm
- Digital Transmission Content Protection password algorithm
- The Research and Implementation of RSA Cryptographic Algorithm IP Core
- Universal encryption and decryption algorithm in embedded systems research and implementation
- Fast Implementation of RSA Public Key Cryptosystem
- Design of Embedded Access Control System Based on RFID
- Three dimensional visualization algorithm and drilling core ray casting volume rendering
- Design and Implementation of Tax File Management Information System
- The Design of Cinema Ticketing System by Mobile Terminal on Android
- The Development and Security Assessment of Digital Signature System for E-commerce
- Improvement of Twisted Edwards Curve Digital Signature Algorithms and Their Application to Mobile Security
- Implementation of the Voice Encryption Communication with AES Algorithm Based on FPGA
- The Research and Implementation on the Audit System Based-on Efficient SSH Protocol
- Research of Angiogram Image Enhancement
- Researches on Particle Filter Track-before-detect and Implementation on GPU
- Analysis Method Research on the Block Cipher AES
- Side-channel Analysis and Implementation of FPGA Based Cryptographic Algorithms
- Design and Implementment of Database Encryption System Based on Advanced Data Encryption Standard AES