FFT-based large integer multiplication SSA algorithm multi-core parallel implementation method

A large integer multiplication and implementation method technology, applied in the field of multi-core parallelization, can solve the problems of high running time, poor running effect, high time complexity of SSA algorithm, etc., and achieve the effect of improving the running speed

Active Publication Date: 2015-06-24
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF1 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In terms of multi-core and even many-core parallelism of large integer multiplication, researchers at home and abroad have done some work, such as literature [9] A CUDA-based large integer multiplication FFT algorithm implementation method is proposed. Compared with the SSA algorithm, the algorithm has a higher time complexity; literature [10] The author carried out parallel optimization on two platforms of multi-core and many-core respectively. Among them, the multi-core scheme related to the parallel scheme of the present invention utilizes large-scale circular convolution, which can be realized by small-scale circular convolution and negative circular convolution based on the Chinese remainder theorem. The angle of solution is optimized, but the acceleration effect is not ideal; literature [11] Based on the divide-and-conquer idea of ​​the karatsuba algorithm, the author optimizes the SSA algorithm in parallel on the GPU platform, but when the scale is greater than 4 million bits, the effect is worse than the serial operation on the 64-bit CPU platform; [12] The author realized the many-core parallelism of the traditional hand multiplication algorithm for large integers on the Intel Xeon Phi platform, but when the size is greater than 2048 bits, the running time of this method is higher than that of the GMP library; [13] The author mainly uses the Chinese remainder theorem (CRT) to achieve multi-core parallelism, but it uses the FFT algorithm with high time complexity

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
  • FFT-based large integer multiplication SSA algorithm multi-core parallel implementation method
  • FFT-based large integer multiplication SSA algorithm multi-core parallel implementation method
  • FFT-based large integer multiplication SSA algorithm multi-core parallel implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Large integers generally use base storage, and an n-bit large integer based on R can be expressed as a i (0≤i≤n-1) is 0 or a positive integer, and 0≤a i ≤R, the highest bit a n-1 ≠0. Large integers and polynomials are basically consistent in form, and large integers can be regarded as a special type of polynomial A(x), where x=R, and its value is a i (0≤i≤n-1) is an integer, and 0≤a i ≤R, the highest coefficient bit a n-1 ≠0.

[0040] Large integers can be represented by polynomials, so the multiplication of large integers is also polynomial multiplication, and its essence is to find the convolution of two vectors. According to the convolution theorem, the discrete Fourier transform of vector convolution is the product of the vector discrete Fourier transform.

[0041] Assuming that the product of large integers a and b is to be solved, the polynomial expression of a is expressed as a i (0≤i≤n-1) is 0 or a positive integer, and 0≤a i ≤R, the highest bit a ...

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

The invention discloses an FFT-based large integer multiplication SSA algorithm multi-core parallel implementation method. The method is used for carrying out multi-core parallel optimization on the large integer multiplication SSA algorithm from the point of fine granularity. The method is characterized in that the concurrent design is carried out on the four core computing processes which calculate the negative cyclic convolution based on the SSA algorithm respectively; in other words, the four computing processes comprising decomposition, FFT direct transformation, point multiplication and FFT inverse transformation are optimized respectively. The method sufficiently utilizes multi-core resources of hardware, increases the running speed and plays the quite important role in the actual application process.

Description

technical field [0001] The invention relates to a multi-core parallel implementation method for a multiplication serial algorithm based on FFT (Fast Fourier Transformation) technology in a GMP (The GNU Multiple Precision Arithmetic Library) library. Background technique [0002] In the field of information security, public key cryptosystems such as RSA and ElGamal are widely used. Modulus reduction, modular multiplication, and modular power are widely used algorithms in public key cryptosystems, and large integer multiplication is the core operation of these algorithms. Higher complexity and more time-consuming. In addition, the multiplication of large integers is also used to accurately calculate certain constants, such as the natural logarithm base e and pi, etc., as well as in the calculation of large-scale prime numbers [1] . [0003] In order to solve the problem of large number calculation, software developers and researchers from all over the world have carried out ...

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): G06F9/38G06F17/14
Inventor 赵玉文刘芳芳杨超解庆春蒋丽娟
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products