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

Request the full text

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

  1. Design and Implementation of Enterprise Instant Messaging System on Server
    MengWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  2. Design and Implementation of High-speed Mass Data Storage Systems
  3. Research and Design of NAND Flash Controller Based on BCH Codec
  4. On IP Multicast Nodes Classification and Key Management Technology
    GeRuiHai ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. High-speed ECC Accelerator Resistant to Power Analysis Attack
  6. Flexibly Configurable Architecture for Large Number Operation
    ZhaoKaiLan ·Zhejiang University ·2014 ·Master's thesis
  7. The Research of RFID Encryption System Based on Elliptic Curve Cryptography System
    HuZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  8. The Research and Implementation of the Lightweight Encryption Algorithm
    LuAnPing ·Shandong Normal University ·2014 ·Master's thesis
  9. Design and Implementation of Elliptic Curve Encryption IP Core
    WangHePing ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Trade Usages under United Nations Convention on the Use of Electronic Communications in International Contracts
    SunLiangLiang ·Xiamen University ·2014 ·Master's thesis
  11. Application of AES _ decryption algorithm and elliptic curve in e-mail system
  12. Design and Implementation of An Encryption Interface for IPv6Networks
  13. On the Reconstruction of RADIUS to Fit SOHO
  14. Research on Driver Equipment Mapping Protocol Based on Virtualization Technology
  15. Design and Implementation of Security P2P Communication Model Based on SSL and ECC
  16. Research and Design on Elliptic Curve Cryptosystem in Military Information Networks
    LongLiRong ·Wuhan University of Technology ·2012 ·Master's thesis
  17. The Design and Analysis of RFID Security Prococol
    GuoLinFeng ·Zhengzhou University ·2012 ·Master's thesis
  18. The Research on RFID Security Mechanism Based on Encryption
    YangZuoFu ·Jilin University ·2012 ·Master's thesis
  19. Research and Application of Secure Cloud Computing Based on PKI
  20. Research and Hardware Implementation of Cryptosystem Based on the AES and ECC