Research and Implementation on Key Technologies of Programmable Cryptographic Processors
- Author
- ZhaoXueMi
- Advisor
- WangZhiYing , DaiKui
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TN918.2 Password, machine
- Degree
- Doctoral dissertation
- Year
- 2006
- Downloads
- 254
- Citations
- 2
- Cipher Processing
- Public key cryptosystem
- Block cipher
- security hash
- code compression
- Network-on-chip
- configuration stream driven
- Application Specific Instruction-set Processor
Abstract
Cryptographic algorithms (CAs) are widely used to ensure security requirements such as confidentiality, integrity and usability. For performance as well as for implementation security reasons it is often required to realize CAs in hardware. Application specific integrated circuits (ASIC) and fine-grain reconfigurable structures (FRS) are two traditional approaches. A well-known drawback of ASIC solution is low flexibility. FRSs have sufficient flexibility, but suffer from significant overhead due to their generic nature.CAs have relatively fixed granularity and similar processing mode. Researchers have proposed several cryptography-specified reconfigurable structures by spatial programmability and several cryptographic processors by temporal programmability, these works achieved good tradeoffs between performance and flexibility. However, current reconfigurable structures are limited from practical applications because of difficulties in mapping CAs to them. For cryptographic processors, although it is convenient to develop algorithms by using compiler, their data-paths are constrained by the traditional architectures and can’t accelerate CAs efficiently.Starting from temporal programmability, this paper shift the hardware/software interface downwards, and let the software specify data transports and every transport’s routing path. This addresses the problems in designing complex but efficient data paths for traditional architectures. According to different class of cryptographic algorithms and the application environments, several practical programmable cryptographic processors are proposed and implemented. The main work and results are:1. We propose an automatic generation method for application specific instruction-set processor (ASIP) directed by transport triggered architecture (TTA). In TTA, software specifies data transports among function units (FUs), so application specific hardware can support more sophisticated FUs, and the problems about instruction generation and retargetable compiling can be solved at the same time. Configuration stream driven computing architecture (CSDCA) is proposed, where routing is performed by the compiler to support efficient but complex interconnections. Combined with segmented buses, we solve the problem that with the increase of FU number, the interconnection network of TTA becomes a bottleneck for frequency and consumes much extra power for specific data transport. RISC|CSDCA dual mode computing is proposed to enhance code density. Computation-intensive loops, which occupy most of the computing time, are performed in CSDCA mode to get higher performance, and the others are processed in RISC mode to reduce code redundancy. The above works build an ASIP design flow supporting efficient but complex data path.2. We propose and implement a high-performance modular exponentiation (ME) processor. A radix-length based high radix Montgomery modular multiplication algorithm is proposed, with this algorithm a ME can be decomposed into a series of primitive operation (PO) matrixes. A column sharing super-pipelining array (CSSA) is designed to perform these PO matrixes. Combined with the above ASIP design flow, a complete ME processor SEA-II is implemented. A decryption rate of 6.35 Mbps can be achieved for 1024-bit RSA with SEA-II.3. We propose a dual-field scalable processor implementing whole public key cryptosystems. A dual-field unified RBHRMMM algorithm is proposed, based on this algorithm, a row sharing super-pipelining array (RSSA) is designed. By embedding RSSA to the above ASIP design flow, a scalable public key processor SPKP is implemented. SPKP has such characters: (I) ECC whole algorithms can be developed conveniently through the TTA tool chain; (II) RSSA is scalable; (III) pipeline elements perform vector production and support Galois field GF(p) and GF(2n); (IV) different performance/area constraint can be achieved by adjusting the bus width and the number of RSSA’s pipeline elements.4. We propose a high-performance cryptographic hash processor. We propose a novel method to split hash algorithms, i.e. the kernel of a hash algorithm can be splitting into compress modules and an expansion module, and every module has the same structure and includes a query, a fusion sub-module and an accumulator. Custom reconfigurable FUs are designed base on this method, and by integrating them into the ASIP design flow, a cryptographic hash processor PSHP is implemented. Compared to fine-grain reconfigurable architecture, PSHP is faster and more area-efficient; compared to ASIC, it can support widely-used hash algorithms with a little overheads.5. We propose a high-performance block cipher processor PSCP. We propose two optimization principles: (I) the number of memory access in kernels can be decreased to zero by coupling a substantial unit and a sub-key storage unit; (II) reorganizing the basic operations to balance delay distribution. Compared with ASIC solutions, PSCP can achieve similar performance in CBC, CFB, or OFB mode, and PSCP has more flexibility. Compared to custom reconfigurable structures, PSCP has a more convenient developing method, and support the complete algorithm including key expansion, so PSCP is much safer and more usable.These processors all use 0.18μm 1P6M CMOS technology, and the ME processor has been sold in the market.
Table of contents
Abstract 12-14
ABSTRACT 14-16
first chapter 16-34
1.1 Introduction 16-17
1.2 cryptographic algorithms to achieve demand 17-19
1.2.1 cryptographic algorithms About 17-18
1.2.2 actualization needs 18-19
1.3 compute-intensive applications processing platform 19-23
1.3.1 three traditional methods 19-21
1.3.2 for application specific processing architecture - a compromise between efficiency and flexibility 21-23
1.4 specific instruction set processor development and research 23-29
1.4.1 micro structure template 24-26
1.4.2 software development 26-27
1.4.3 design space search 27-28
1.4.4 Programmable password processors Research 28-29
1.5 of this article research, its main contribution 29-32
1.5.1 This article contents 29-31
1.5.2 In this paper, the main contribution 31-32
1.6 paper structure 32-34
transport triggered architecture under the guidance of the ASIP automatically generated 34-46
2.1 Introduction 34-35
2.2 work 35-38
2.2.1 ASIP design 35
2.2.2 transport triggered architecture 35-36
2.2.3 Application TTA ASIP design 36-37
2.2.4 TTA data path parameters 37-38
2.3 ASIP automatically generated 38-43
2.3.1 the overall design process 38-39
2.3.2 application characteristics analysis 39
2.3.3 initial microstructure generated 39-40
2.3.4 instruction generation and scheduling 40-41
2.3.5 the cost estimate 41-42
2.3.6 optimization process 42-43
2.3.7 hardware generated 43
2.4 prototype and results of 43-45
2.5 Summary 45-46
configuration flow driven computing and its under the guidance of on-chip interconnect network design 46-62
3.1 Introduction 46-47
3.2 configuration flow-driven computing architectures 47-50
3.2.1 configuration stream computing architecture of the hardware and software trade-offs 47-49
3.2.2 CSDCA architecture template 49-50
3.3 inside the processor interconnection network type 50-52
3.3.1 crossbar is 50-51
3.3.2 multi-bus network 51
3.3.3-stage bus interconnection network 51-52
3.4 stage bus interconnect the ASIP design process 52-57
3.4.1 generate a transport stream 52-53
3.4.2 macro module layout optimization 53
3.4.3-stage bus interconnect 53-54
3.4.4 routing and optimization 54-56
3.4.5 Number of segments: the costs and benefits of compromise 56-57
3.5 Experimental results 57-61
3.5.1 power and delay models 57-58
3.5.2 results of the assessment 58-61
3.6 Summary 61-62
calculated by the dual-mode to improve CSDCA code density 62-72
4.1 Introduction 62
4.2 dictionary-based code compression in CSDCA assessment 62-65
4.2.1 Dictionary-based code compression method 62-64
4.2.2 The results of the assessment 64-65
4.3 dual-mode calculation for improved code density 65-66
4.3.1 concept 65
4.3.2 example 65-66
4.4 dual-mode calculation of the micro-structure template 66-67
4.5 toolchain transplantation 67-69
4.6 The results of the assessment 69-70
4.7 Summary 70-71
4.8 second, III and IV of the Joint Summary 71-72
Chapter V high-performance large modular power processor 72-89
5.1 Introduction 72-73
5.2 algorithm 73-77
5.2.1 parallel binary modular exponentiation algorithm 73-74
5.2.2 high-radix Montgomery modular multiplication algorithm 74-75
5.2.3 RBHRMMM algorithm 75-77
5.3 column shared super-pipelined array 77-80
5.3.1 parallelism analysis 77-79
5.3.2 column shared water processing array-CSSA 79-80
5.4 combinational logic computing array optimization 80-82
5.5 CSSA-based modular exponentiation multiplication algorithm design 82-83
5.6 Experimental results 83-88
5.6.1 base length k with CSSA complexity 83-85
5.6.2 system-level optimization of the assessment and tapeout results 85-86
5.6.3 applied to the RSA algorithm.; 86-87
5.6.4 Comparison with related work 87-88
5.7 Summary 88-89
Chapter VI
scalable dual-domain public key cryptography the overall algorithm processor 89-103
6.1 Introduction 89-90
6.2 public key cryptography calculation of the difficulty of analysis 90-92
6.2.1 IFP and DLP-based public key algorithm 90
6.2.2 ECC algorithm 90-91
6.2.3 public key cryptography calculation difficulties 91-92
6.3 line shared scalable dual-domain pipelined array 92-95
6.3.1 based on the base length of the dual-domain unified high-radix Montgomery algorithm 92-93
6.3.2 UniRBHRMMM algorithm parallel 93
6.3.3 Scalable Dual Domain line of shared water processing array 93-95
6.4 is based on the RSSA the module multiplication algorithm design 95-96
6.5 Experimental results 96-101
6.5.1 correctness verification 96
6.5.2 of large numbers register parameters ω 96-97
6.5.3 RSSA design cost assessment 97-98
6.5.4 performance the RSSA parameter k of ρ relationship 98-99
6.5.5 for the parameter configuration of the application environment 99-100
6.5.6 Comparison with related work 100-101
6.6 Summary 101-103
Chapter VII of the high-performance Secure Hash Algorithm processor 103-116
7.1 Introduction 103-104
7.2 Secure Hash Algorithm Characteristics 104-106
7.2.1 Strategy 104-105
7.2.2 specific Hash algorithm analysis 105-106
7.3 Hash algorithm-specific reconfigurable functional unit 106-108
7.3.1 compression module unit 106-107
7.3.2 proliferation module unit 107-108
7.4 System-level design 108-112
7.4.1 basic Hash processor 108-109
7.4.2 algorithm mapping 109-111
7.4.3 optimized 111-112
7.5 Experimental results 112-115
7.5.1 correctness verification 112
7.5.2 based on the realization of the standard unit 112-113
7.5.3 with traditional methods 113-115
7.6 Summary 115-116
Chapter VIII of the high-performance block cipher algorithm processor 116-124
8.1 Introduction 116-117
8.2 block cipher algorithm characteristics 117
8.3 optimization technology 117-119
8.4 System-level design 119-120
8.4.1 hardware design 119
8.4.2 algorithm mapping 119-120
8.5 Experimental results 120-123
8.5.1 correctness verification 120
8.5.2 based on the realization of the standard unit 120-122
8.5.3 Comparison with related work 122-123
8.6 Summary 123-124
Chapter Conclusion 124-126
9.1 work done 124-125
9.2 further research 125-126
thank 126-128
References 128-137
author academic achievements obtained during the study period, 137-138
published papers 137-138
patent 138
to participate during the PhD research work 138
Related dissertations
- The Research of Reconfigurable Computing Targeted at Block Cipher Processing
- Research on Implementation of Reconfigurable Block Cipher Processing System
- The Research and Design of High Performance BWDSP Processor Instruction Cache
- Research of ECG Monitoring and Positioning System Based on Wireless Sensor Network
- The Improved Public-key Encryption Algorithm Based on Finite Field Chebyshev Polynomial and RSA Cryptosystem
- Differential-Algebraic Cryptanalysis on SMS4Cryptosystem
- Analysis of HASH BMW function and SM3 algorithm
- Design and implementation of the lightweight block cipher ESF
- Research on Key Technology of On-chip Multicasting Communication Based on2D Mesh Network
- Research on Key Techniques of Bufferless Router for Network-on-chip
- Research on Routing Algorithms for Bufferless Network on Chip
- Research of the Fault-Tolerant Methods on TSVs and Buffers of Three-Dimensional Network-on-Chip
- The Research on Test Data Processing Technology for Concurrent Core Test Reusing NoC
- Research on Key Issues for Testing Network on Chip
- Research and Implement of Packet Transport Network Store-and-Forward and Scheduling Key Technology
- Boomerang Analysis Method Research on the Block Cipher
- Analysis Method Research on the Block Cipher AES
- Cryptanalysis of Block Ciphers and Hash Function Based on Grover’s Quantum Search Algorithms
- Research on Cryptanalysis of Block Cipher
- Cryptanalysis of IDEA and ARIA Block Cipher