Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Efficient modular multiplication circuit suitable for SM2 encryption operation and operation method thereof

An arithmetic circuit and modular multiplication technology, applied in the field of high-efficiency modular multiplication circuits and their operations, can solve problems such as serious resource consumption

Pending Publication Date: 2022-06-07
ANHUI NORMAL UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

How to get C fast 15 ~C 0 (dividing C into 16 32-bit C 15 ~C 0 ) is another key issue in the design of modular multiplication. Since the resource and time consumption of multiplication is much greater than that of addition and subtraction, how to perform multiplication of large numbers also needs to be designed reasonably. The existing karatsuba-Ofman based on one-time expansion Algorithm (hereinafter referred to as Karatsuba algorithm), this algorithm needs to use a 129-bit multiplier. With the increase of the number of multiplication digits, the resource consumption of the multiplier increases exponentially, so the resource consumption of this solution is too serious.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Efficient modular multiplication circuit suitable for SM2 encryption operation and operation method thereof
  • Efficient modular multiplication circuit suitable for SM2 encryption operation and operation method thereof
  • Efficient modular multiplication circuit suitable for SM2 encryption operation and operation method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, through the description of the embodiments, to help those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solutions of the present invention.

[0028] (1) Multiplication of large numbers

[0029] Karatsuba algorithm is a very effective algorithm for multiplication of large integers. Based on the divide and conquer idea, the multiplication operation of the multiplier and the multiplicand involved in the operation is divided into several smaller-scale partial product calculations. The original number of multiplication operations Reduced from 4 to 3.

[0030] For example, two large integers A and B with (2*W) bits are represented as follows:

[0031] A=A 1 *2 W +A 0

[0032] B=B 1 *2 W +B 0

[0033] The general multiplication process of A and B is as follows: ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

According to the efficient modular multiplication operation circuit suitable for the SM2 encryption operation, the idea of dividing and conquering of the karatsuba algorithm is utilized, secondary iteration expansion is carried out on the karatsuba algorithm, large number multiplication operation is carried out in a local parallel mode, and large number modular multiplication operation is carried out through a prime number field P256 recommended in the national cryptographic algorithm. According to the algorithm, multiplication results are firstly obtained in three periods, and then reduction operation is carried out by utilizing the characteristics of P256. In the operation process, a divide-and-conquer method is utilized for one-time expansion, then three 64-bit karatsuba multipliers are utilized for parallel execution, three partial products can be obtained respectively (for operation of the partial products, an improved karatsuba algorithm is adopted for operation of the partial products), modular reduction operation is carried out after the three partial products are accumulated, and time and resources are saved. A contrast experiment shows that only 13.45 k LUTs needs to be consumed for completing one modular multiplication operation on an Artix-7 development board of 100 MHZ, and the modular multiplication operation can be completed within 0.04 us. And optimization of resource consumption and execution time is realized.

Description

technical field [0001] The invention belongs to the technical field of circuit operation, and more particularly, the invention relates to a high-efficiency modular multiplication circuit suitable for SM2 encryption operation and an operation method thereof. Background technique [0002] Elliptic Curve Cryptography (ECC) and RSA encryption algorithms are two very popular and powerful public key encryption algorithms. However, at the same level of security, ECC has fewer key bits than RSA. The 256-bit ECC algorithm on the prime field has the same level of security as the 3072-bit RSA algorithm. Additionally, elliptic curve cryptosystems consume fewer hardware resources. Modular multiplication is the most time-consuming operation in the process of elliptic curve encryption, so the speed of modular multiplication becomes the bottleneck in the process of elliptic encryption. How to speed up the operation of modular multiplication is the key to improving the speed of elliptic en...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F7/72G06F21/72
CPCG06F7/722G06F21/72Y02D30/50
Inventor 沈展陈付龙谢冬
Owner ANHUI NORMAL UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products