Fast Implementation of Public Key Cryptographic Algorithm SM2Based on Elliptic Curves
- Author
- NiuYongChuan
- Advisor
- WangXiaoYun
- School
- Shandong University
- Major
- Information Security
- Classification
- TN918.1 Theory
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 62
- Citations
- 0
Abstract
Fast implementation of Elliptic Curve Cryptography (ECC for short) has been a hot topic all the time, because of its importance in practice-based on it we can construct diverse cryptographic schemes such as data encryptions, key exchanges, and digital signatures. In this paper we study several algo-rithm problems in the fast implementation of ECC on binary extension field F2m, together with one of their applications, the software implementation of the newly proposed public-key cryptosystem SM2. The main contents are as follows:1. We analyze the basic operations like multiplication, square, modular reduction, modular multiplication and inversion on F2m which are commonly used and then put forward more appropriate methods to improve the speed. Specifically, for polynomial modular multiplication, two classical methods are compared:one is to perform the multiplication and the modular reduction at the same time; the other is to compute the two operations in serial. What’s more, during the computation of multiplication, we test both the Comb win-dow method and Karatsuba method, while modular reduction is accomplished by using reductions of modulo a trinomial. Our result shows that modular multiplication using the Comb window method and the reduction of modulo a trinomial is the most efficient. For squaring operation, a look-up table method can be exploited to achieve much faster speed compared to the ordinary mul-tiplication. And we also examine the polynomial inversion usually done by Euclidean algorithm. Its time complexity can be reduced by making use of our new algorithm when computing the inverse of many field elements.2. We discuss how to choose the coordinate system. ECC can be repre-sented by affine coordinates, standard projective coordinates, Jacobian projec-tive coordinates and Lopez&Dahab projective coordinates over binary fields, and optimization can be got by making different choices for concrete curves. And our conclusion here for SM2is that point addition and doubling are the fastest in Lopez&Dahab projective coordinates.3. We introduce three implementation methods for scalar multiplication, which are binary algorithm, NAF algorithm and WNAF algorithm, respec-tively. Among them WNAF algorithm based on signed binary representation is the fastest. When the window size is four, our implementation performs as fast as calling the functions in Miracl, one of the most classic and widely used library in cryptography, for parameter m=193or m=256.4. We implement Digital Signature Algorithm, Key Exchange Protocol and Public Key Encryption Algorithm in the SM2cryptosystem as the confir-mation of our conclusions above. And the experimental results are presented in last of our paper.
Table of contents
Directory 4-6
Chinese abstract 6-8
ABSTRACT 8-12
first chapter 12-16
§ 1.1 the background and significance of 12
§ 1.2 Current Situation and progress 12-13
§ 1.3 the main work and thesis structure 13-16
Chapter II domain and elliptic curve 16-22
§ 2.1 binary extension field F_2 ~ m 16-17
§ 2.2 binary extension field F_2 ~ elliptic curve m on 17-20
§ 2.3 SM2 elliptic curve public key cryptography algorithm introduced 20-22
Chapter binary extension field F_2 ~ m on the field elements quickly realize operations 22-32
§ 3.1 represents a binary extension field F_2 ~ m on the domain elements 22
§ F_2 ~ m 3.2 binary elements on the domain extension field basic operations 22-30
§ 3.3 Conclusion 30-32
Chapter IV rapid realization of elliptic curve point operation times 32-48 <br / > § 4.1 Implementation and complexity of the elliptic curve addition operation is estimated 32-37
§ 4.2 Implementation and complexity of the elliptic curve point operation times estimated 37-46
§ 4.3 Conclusion achieve 46-48
Chapter SM2 password scheme 48-60
§ 5.1 digital Signature Algorithm 48-51
§ 5.2 key exchange protocol 51-54
§ 5.3 public key encryption algorithm 54-60
Chapter VI summary and Outlook 60-62
§ 6.1 summarizes the main work 60
§ 6.2 for future work prospects 60-62
References 62-67
Thanks 67-68
dissertation defense review and table 68
Related dissertations
- Design and Implementation of Enterprise Instant Messaging System on Server
- Design and Implementation of High-speed Mass Data Storage Systems
- Research and Design of NAND Flash Controller Based on BCH Codec
- On IP Multicast Nodes Classification and Key Management Technology
- High-speed ECC Accelerator Resistant to Power Analysis Attack
- Flexibly Configurable Architecture for Large Number Operation
- The Research of RFID Encryption System Based on Elliptic Curve Cryptography System
- The Research and Implementation of the Lightweight Encryption Algorithm
- Design and Implementation of Elliptic Curve Encryption IP Core
- Trade Usages under United Nations Convention on the Use of Electronic Communications in International Contracts
- Application of AES _ decryption algorithm and elliptic curve in e-mail system
- Design and Implementation of An Encryption Interface for IPv6Networks
- On the Reconstruction of RADIUS to Fit SOHO
- Research on Driver Equipment Mapping Protocol Based on Virtualization Technology
- Design and Implementation of Security P2P Communication Model Based on SSL and ECC
- Research and Design on Elliptic Curve Cryptosystem in Military Information Networks
- The Design and Analysis of RFID Security Prococol
- The Research on RFID Security Mechanism Based on Encryption
- Research and Application of Secure Cloud Computing Based on PKI
- Research and Hardware Implementation of Cryptosystem Based on the AES and ECC