OEF fast algorithm on the ECC to achieve
- Author
- TangTao
- Advisor
- ZhouLiang
- School
- University of Electronic Science and Technology
- Major
- Cryptography
- Classification
- TN918.1 Theory
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 85
- Citations
- 1
- Elliptic Curve
- Inline assembly
- Optimal Extension Fields
- Polynomial multiplication
- Finite Field
- scalar multiplication
Abstract
Elliptic curve cryptosystem (ECC) asymmetric public key cryptography based on elliptic curve discrete logarithm problem. This paper analyzes fast algorithm on the optimal extension field (OEF) and its application on the ECC to achieve. Elliptic curve calculation algorithm can be divided into two types of algorithms for high-level computing and low-rise calculated. Which mainly deal with high-level calculation algorithm elliptic curve point operations, and low-level algorithms focus in dealing with a limited domain of polynomial calculation algorithm In this paper, these are combined to improve the computing speed of the elliptic curve cryptosystem. On the structural characteristics of the ideal extension field and elliptic curve scalar multiplication (kP) fast algorithm for the analysis, and these fast algorithm to test improvements. Research process fast algorithm for optimal extension domain the fast modulo algorithm by analyzing subdomain, field elements seeking inverse (MAIA algorithm, EEA algorithm) and polynomial multiplying (hard multiplication algorithm, Karatsuba algorithm) classical algorithm, combined with the characteristics we choose finite fields (II Optimal Extension Field GF ((2 <sup> 32 </ sup> -46305) <sup> 5 </ sup>)), the paper presents a polynomial multiplication algorithm based on the the Karatsuba law Improved field elements, and through theoretical analysis shows that the computational complexity of the improved algorithm is lower than the Karatsuba algorithm. (CPU / P IV 1.4GHz, has been tested in MS Visual C 6.0), verify the improved performance of the algorithm Karatsuba algorithm equivalent increased by about 4% than hard multiplication algorithm. Scalar multiplication on the elliptic curve fast algorithm, by analyzing the scalar multiplication (binary algorithm, Montgomery algorithm, NAF algorithm, 2P Q algorithm and FBW algorithm) algorithm, this paper presents an improved 3P algorithm and A based the fixed base MFBW algorithm. Improved 3P Algorithm through optimization positive integer k representation to reduce the computational complexity of the scalar multiplication, using some precomputed MFBW algorithm to improve the speed of the scalar multiplication calculation, and these two improved algorithm combined to calculate the scalar multiplication. To improve the performance of the algorithm has been tested and has increased by approximately 15% than the conventional binary algorithm and Montgomery algorithm, the NAF algorithm has increased by approximately 7%. VC inline assembler and C language software implementation of the algorithm, and test results. Compared with simulation Daniel V.Bailey's results, test data and test data in the same order of magnitude or better than his test data.
Table of contents
Chapter Introduction 11-13
1.1 Background and significance 11-12
1.2 sections of this article arrangements 12-13
Chapter II ECC mathematical foundation 13-25
2.1 group, domain, ring 13-14
2.1.1 group, domain, ring concept 13
2.1.2 finite field 13-14
2.1.3 prime field GF (p) and its mathematical structure 14
2.1.4 characteristics of p finite field GF (pm ) 14
2.2 Elliptic Curve 14-18
2.2.1 Elliptic Curve concept 14-15
2.2.2 defined algebraically closed field on the elliptic curve 2.2.3 elliptic curve group 15-16
16
2.2.4 elliptic curve equation discriminant 16
2.2. 5 real number field on the elliptic curve group 16-17
2.2.6 on the finite field GF (p) elliptic curve group 17
2.2.7 finite field GF (pm elliptic curve group), 17-18
2.3 ECC principles of 18-19
2.3.1 elliptic curve group discrete logarithm problem with public key encryption system 18
2.3.2 elliptic curve domain parameters 18
2.3.3 ECC principles of 18-19
2.4 elliptic curve digital signature (ECDSA) 19-21
2.4.1 ECDSA summarized 19-20
2.4.2 the ECDSA Domain parameters of 20
2.4.3 Elliptic Curve Digital Signature Algorithm 20-21
the 2.5 elliptical curve encryption performance analysis to the 21-24 2.5.1 encryption algorithm efficiency evaluation criteria
22
2.5.2 computation processing speed 22-23
the 2.5.3 storage space occupied by small 23
2.5.4 bandwidth requirements low 23-24
2.6 Summary 24-25
Chapter software environment 25-31
3.1 IA-32 protected mode assembler 25-27
3.1.1 CPU internal registers 25
3.1.2 protected mode memory management 25-26
3.1.3 data addressing modes 26-27
the the 3.2 VC inline assembler 27-30
3.2.1 asm keyword and _asm blocks 27-28
3.2.2 _asm block access to the C / C variable 28
3.2.3 _asm block register and code optimization 28-29
3.2.4 C / C function from the called while _asm block 29 - 30
3.2.5 label 30
3.2.6 debugging tools 30
3.3 Summary 30-31
Chapter optimal Extension Field 31-43
4.1 Optimal Extension Fields defined 31-32
4.2 Optimal Extension domain math 32-42 <br / > 4.2.1 fast subdomains modulo 32-35
4.2.2 Addition and subtraction 35
4.2.3 multiplication (multiplying polynomials) 35-39
4.2.4 subdomains seeking mode inverse 39-40
4.2.5 domain element inverse 40-41
4.2.6-field elements mold P (x) reduction 41-42
4.3 Summary the fast 42-43
Chapter elliptic curve algorithm 43-54
the add operations 5.1 points on elliptic curve and point doubling nbsp 43-45
5.1.1 real number domain point add operations; 43
5.1.2 prime field GF (p nbsp plus operator) on points; nbsp 43-44
5.1.3 finite field GF (pm) on the point plus operator; 44-45
5.2 affine coordinates and projection coordinates points plus formula 45-46
5.2 ECC on the scalar multiplication 46-53
5.2.1 binary method 46
5.2.2 Montgomery Law 46-47
5.2.3 Non-approaching generate NAF method 47-49
the 5.2.4 fixed base window the FBW Act 49-50
5.2.5 2P Q algorithm 50-51
5.2.5 Improved the 3P algorithm for 51-52
5.2.6 the improved MFBW law 52-53 < br /> 5.3 Summary 53-54
Chapter VI algorithm implementation and performance testing 54-72
6.1 subdomains modulo plus 54-55 < br /> 6.2 subdomains modulo reduction 55-56
6.3 subdomains modulo multiplication 56
6.4 subdomains seeking modular inversion 56-57
6.5 extension field modulo plus the 57-58
6.6 extension field seeking mode less 58-59
6.7 extension field seeking modular multiplication (hard multiplication) 59
6.8 extension field modulo multiplication (Karatsuba method) 59-60
6.9 extension field modulo multiplication improved algorithm 60-61
6.10 field elements nbsp requirements inverse (EEA); 61-62
6.11 field elements of the inverse (MAIA) 62-63
6.12 elliptic curve point plus 63 <br / > 6.13 Elliptic Curve doubly the 63-64
6.14 randomly generated the 160 binary form positive integer 64
6.15 160 randomly generated the NAF form of positive integers 64- The
the 6.16 binary addition and subtraction Law kP calculated the 64-66
6.17 Montgomery method kP calculated the 66-67
6.18 close to NAF method kP 67 -68
6.19 Improved algorithms kP the 68-70
6.20 Comprehensive Analysis 70-71
6.21 Summary 71-72
Chapter VII Summary and Outlook 72-74
Reference 74-76
Acknowledgements 76-77
biographical notes 77
Related dissertations
- Fast finite field Algorithm and Implementation
- Study of Cryptosystem Based on the Elliptic Curve
- Research on Fast Scalar Multiplication Algorithms on Several Classes of Algebraic Curves
- Elliptic Curve Cryptography and Algorithms
- Chip Implementation and It’s Security Defence for Elliptic Curve Cryptosystems over GF(2~m)
- Sca Resistant Algorithms of Scalar Multiplication of Elliptic Curve Cryptography
- The Parallelization Algorithm Research of Elliptic Curve Scalar Multiplication on DSP
- Research and Implement of Encrypted Algorithm Based on FPGA
- Digital Signatures Based on the Elliptic Curve
- Research of Transaction Signature Algorithm Based on Elliptic Curve
- Study on Speeding up Algorithm of Elliptic Curve Cryptograhy over GF(2~n)
- Specify a multi - recipient signature and achieve
- Research and Implementation of Elliptic Curve Cryptography
- Research on Elliptic Curve Cryptosystem Discrete Logarithm Encrypted Algorithm
- Implementation and Research of FPGA Over Elliptic Curve Cryptosystem
- High-performance public key cryptography coprocessors Design and Implementation
- Design of Finite Field Polynomail Multiplier
- Researches on the Fast Algorithm for the Scalar Multiplication in the Elliptic Curve Cryptosystems
- ECC fast algorithm and signature scheme
- Fast Algorithm Research and Implementation of Elliptic Curve Public Key Cryptosystem