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

SM2 (streaming multiprocessor 2) digital signature generating algorithm realizing method and device

A technology of digital signature and generation algorithm, applied in the field of public key cryptography, can solve the problems of large amount of calculation, time-consuming, low efficiency of digital signature, etc., and achieve the effect of improving computing efficiency and saving computing time.

Active Publication Date: 2014-01-29
DATA ASSURANCE & COMM SECURITY CENT CHINESE ACADEMY OF SCI
View PDF3 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] At present, when implementing the SM2 digital signature generation algorithm, the CPU calculates according to the sequence of the above steps, and finally obtains the digital signature of the message M to be signed. Due to the large amount of calculation in the calculation process, it is time-consuming, and the efficiency of obtaining the digital signature is relatively low.

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
  • SM2 (streaming multiprocessor 2) digital signature generating algorithm realizing method and device
  • SM2 (streaming multiprocessor 2) digital signature generating algorithm realizing method and device
  • SM2 (streaming multiprocessor 2) digital signature generating algorithm realizing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0054] Background Art The reason why the calculation efficiency is not high when implementing the SM2 digital signature generation algorithm is that the CPU executes the calculation steps of the SM2 digital signature generation algorithm in sequence, and the calculation complexity of the inverse calculation and elliptic curve point calculation is relatively high. , which is time-consuming. In order to overcome this problem, the present invention adopts CPU and GPU cooperation mode to carry out SM2 digital signature generation algorithm calculation, and pre-calculates the step of calculating the elliptic curve point in the SM2 digital signature generation algorithm in the GPU to obtain the result and store it in the set memory, The inverse calculation of...

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 relates to an SM2 (streaming multiprocessor 2) digital signature generating algorithm realizing method and device. The method includes calculating an SM2 digital signature generating algorithm by coordination of a CPU (central processing unit) and a GPU (graphics processing unit), pre-calculating elliptical curve dots in the SM2 digital signature generating algorithm in the GPU to obtain a result and storing the result in a storage unit, pre-calculating one-added inverse calculation of a user private key in the CPU to obtain a result and storing the result in the storage unit, calling the results obtained by pre-calculation and stored in the storage unit when the CPU calculates a to-be-signed message sequence according to the SM2 digital signature generating algorithm calculating step. Accordingly, digital signature calculation time for to-be-signed messages is shortened, and calculation efficiency of the SM2 digital signature generating algorithm is improved. Further, the CPU can perform one-added inverse calculation on different private keys and store results in the storage unit, and calculation efficiency is further improved.

Description

technical field [0001] The present invention relates to public-key cryptographic algorithm technology, in particular to a method and device for realizing an SM2 digital signature generation algorithm combined with a central processing unit (CPU) and a graphics processing unit (GPU, Graphics Processing Unit). Background technique [0002] The use of multi-core parallel computing is an important way to improve processor performance. Therefore, GPUs including massive parallel structure computing units have emerged. GPUs have developed into high-performance general-purpose processors with high parallelism, multi-threading, fast computing, and large memory bandwidth. The GPU architecture is divided into three layers: the first layer consists of several thread processor clusters (TPC, Thread Preocessing Cluster), the second layer consists of multiple stream multiprocessors (SM, Streaming Multiprocessor), and the third layer The layer is a stream processor (SP, Stream Processor) th...

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
IPC IPC(8): H04L9/32H04L9/30
Inventor 林璟锵潘无穷余幸杰王琼霄荆继武
Owner DATA ASSURANCE & COMM SECURITY CENT CHINESE ACADEMY OF SCI
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