Optimization and Application of Cryptographic Algorithms
- Author
- ChenJiaKang
- Advisor
- LiZuo
- School
- Beijing University of Posts and Telecommunications
- Major
- Information Security
- Classification
- TN918.1 Theory
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 27
- Citations
- 0
Abstract
With thedevelopment of information network technologies, especially the rapid development of the Internet, more personal information, enterprise information and even important national information is processed in computer system and transmitted through the network, which makes information security more and more important. As the core technology of information security, cryptographic algorithms play a key role in the process to ensure the security of the information. The speed of cryptographic algorithms may directly affect the performance of information security products, so the optimization of cryptographic algorithms has been a hot issue in the research about cryptography.The optimization methods of cryptographic algorithm in the process of implementation and application are studied in this paper. The main work and results are reflected in the following two aspects:1)A variety of optimization of cryptographic algorithms are put forward, and the optimization practice on IA-32platform for RC6-64/r/b algorithm with Intel SSE2instruction set and other methods such as lookup table and loop unrolling is carried out, which is exponentially enhanced performance.2)The optimization methods in application process, especially parallel and its influencing factors, are investigated. The speedup of parallel can close to the number of CPU cores in the multi-core or multi-CPU computer.
Table of contents
Summary 4-5
ABSTRACT 5-9
Chapter 1 Introduction 9-13
1.1 Background and Significance 9 - increase nbsp 10
1.1.1 security needs ; changing 9
1.1.2 hardware development 9-10
1.2 cryptography algorithm optimization features and research status 10-12
1.2.1 cryptography algorithms and differences in the conventional algorithm optimization Status 1.2.2 This area of ??research and insufficient 10-11
11 - 12
1.3 the main contents 12
1.4 papers structural arrangements optimization method 12-13
chapter cryptography algorithms 13-21
2.1 common optimization 13-17
2.1.1 loop unrolling 13
2.1.2 lookup table 13-14
2.1.3 arithmetic optimization 14
2.1.4 endian optimization 14-15
2.1.5 wordlength optimization 15
2.1. 6 cache hit rate optimization 15
2.1.7 instruction set optimized 15-16
2.1.8 application optimization 16
2.1.9 compiler optimizing compiler optimization with auxiliary 16-17
difference 2.2 different cryptographic algorithms optimization methods 17-18
2.2.1 symmetric block algorithm 17
2.2.2 stream cipher algorithm 17
2.2.3 hash algorithm 17-18
2.2.4 public key algorithm 18
2.3 is currently optimized cryptographic algorithms to achieve the status 18-20
2.3.1 OpenSSL 18
2.3.2 TomCrypt 18-19
2.3. 3 Crypto 19
2.3.4 Research scientific literature 19
2.3.5 CPU vendor's hardware implementation 19-20
2.4 This article optimization Research and application of methods 20
2.5 Summary 20-21
Chapter III algorithm optimization algorithm for instance --RC6-64/r/b IA-32 platform optimization 21-42
3.1 RC6 algorithm on 21-22
3.1.1 RC6 algorithm outlined 21
3.1.2 select optimized IA-32 the reason RC6-64/r/b algorithm platform 21-22
3.2 on Intel x86 series CPU 22-24
3.2.1 Intel SIMD instruction set (MMX / SSE / AVX) concepts Introduction 22-23
3.2.2 on word length 23-24
3.3 compiler optimization 24-26 <br / > 3.3.1 compiled importance Ze optimization of 24-25
3.3.2 compiled Chak optimization limitations 25-26
3.4 using the SSE2 instruction set RC6-64/r/b algorithm 26-40
3.4.1 encryption process Overview 26-28
3.4.2 encryption implementations 28-33
3.4.3 decryption process description 33-34
3.4.4 decryption achieve 34-37
3.4.5 other optimal adjustment 37 - 38
3.4.6 on key scheduling 38-39
3.4.7 performance Comparison and Conclusion analysis 39-40
3.5 Summary 40 - 42
3.5.1 optimization methods 40
3.5.2 possible Improvements 40
promote the significance of the optimization 3.5.3 instance 40 - 42
Chapter IV applications optimized cryptography algorithms 42-52
4.1 application optimization methods 42-49
4.1.1 application layer parallel 42-47
4.1.2 key scheduling to reduce the number of 47
4.1.3 to increase the size of a block encryption 47-49
4.2 application optimization needs attention to the problem 49-51
4.2.1 pinpoint performance bottlenecks and optimize the way a reasonable choice 49-50
4.2.2 attention to potential safety issues 50 -51
4.3 summary 51-52
Chapter summary and Outlook 52-54
5.1 summarizes 52
5.2 future Prospects 52-54
5.2.1 register word length wider 52-53
5.2.2 from SIMD to MIMD 53
5.2.3 application layer parallel to large-scale application 53
5.2.4 compiler more intelligent 53-54
References 54-57
Appendix RC6 source code optimization algorithm and 57-74
Thanks 74-75
study for a degree of academic papers published during the directory 75
Related dissertations
- Research on Data Acquisition of3D Laser Point Scanner and the Algorithm of Hole-repairing and Smoothing
- Rough Set Attribute Reduction Algorithm Based on GA and MapPreduce
- Optimization of CUDA-based Parallel SOM Algorithm and Its Application
- Research on Subtree Results Generation of XML Keyword Search
- A Scalable Implementation of Adaptive Directional Lifting Wavelet Based Image Decomposition on CUDA
- Parallel distributed processing and application in rendering based on
- Research on Large-scale Unstructured Data Processing of Index and Visualization
- Operation Research and Implement of String Type Data in Column Database
- Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
- A Task Scheduling System Model Based on Parallel Resource Attribute Selection
- Design and Implementation of Vectorized FFTs on the YHFT-Matrix
- The Research on Multichannel Parallel Signals Processing of Lidar Ranging System Based on FPGA
- Research on the Implementation of High-Speed Image Decompression System Based on Parallel Technology
- Research on Joint Parallel Algorithm of H.264Encoders and Decoders
- Research and Application on the High Speed FIR Digital Filter
- Comparative study of expression - painting and poetry in the time expression in painting time case
- Research on Control Stategies of Three-phase Grid-connected Photovoltaic Inverter
- Research on Parallel Issues for PV Inverter
- Hydrodynamic Optimization Research of Forced Circulation Hot Water Boiler
- The control strategy of fuzzy simulation and optimal design of parallel hybrid electric vehicle