Fast Montgomery modular multiplier operation optimization method suitable for national cryptographic sm2p256v1 algorithm

An optimization method and a technology of a modular multiplier, which are applied in calculations using residual algorithms and calculations using non-numerical representations, etc., can solve problems such as high chip power consumption, increased time complexity, and poor system performance, and reduce The effects of manufacturing costs, reducing power consumption, and improving computing efficiency

Active Publication Date: 2019-06-25
成都三零嘉微电子有限公司
View PDF10 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When the information security chip performs national secret calculations, the Montgomery modular multiplier is the most frequently called and most time-consuming module. Although the general algorithm can adapt to any national secret curve parameters, the recommended curve sm2p256v1 for the national secret that has an absolute advantage in use frequency, The existing information security chip uses a nested loop calculation method, which increases the time complexity, makes the system performance poor, and the chip consumes a lot of power

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
  • Fast Montgomery modular multiplier operation optimization method suitable for national cryptographic sm2p256v1 algorithm
  • Fast Montgomery modular multiplier operation optimization method suitable for national cryptographic sm2p256v1 algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention is further described, but the protection scope of the present invention is not limited to the following description.

[0025] The object of the invention of the present invention is achieved through the following technical solutions: the fast Montgomery modular multiplier operation optimization method suitable for the national secret sm2p256v1 algorithm is realized by the Montgomery modular multiplier in the information security chip, and through the optimized operation method, the chip is reduced The operation power consumption of is characterized in that, the Montgomery multiplier operation comprises the following steps:

[0026] S1: carry out initialization operation;

[0027] S2: Complete the large number multiplication operation;

[0028] S3: Carry out a cyclic accumulation calculation;

[0029] S4: Perform an unsigned large number subtraction operation.

[0030] Further, the initialization operation is specifically: first initialize Z=(Z ...

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 a fast Montgomery modular multiplier operation optimization method suitable for a national cryptographic sm2p256v1 algorithm. The method is realized through a Montgomery modular multiplier in an information security chip. After the Montgomery modular multiplier carries out initialization operation, a large number multiplication operation is completed, then one time of cyclic accumulation calculation is carried out, and finally one time of unsigned large number subtraction operation is carried out to obtain a result. Time-consuming multiplication operation in Montgomerymodular multiplication is greatly reduced, so that the operation efficiency of the Montgomery modular multiplier when the information security chip operates the sm2p256v1 curve parameters is improved,and the power consumption in the same operation process is reduced.

Description

technical field [0001] The invention relates to a modular multiplication algorithm used in the field of information security, in particular to a fast Montgomery modular multiplier operation optimization method suitable for the national secret sm2p256v1 algorithm. Background technique [0002] When the information security chip performs national secret calculations, the Montgomery modular multiplier is the most frequently called and most time-consuming module. Although the general algorithm can adapt to any national secret curve parameters, the recommended curve sm2p256v1 for the national secret that has an absolute advantage in use frequency, The existing information security chip uses a nested loop calculation method, which increases the time complexity, makes the system performance poor, and the chip consumes a lot of power. Contents of the invention [0003] The purpose of the present invention is to greatly reduce the time-consuming multiplication of the Montgomery mod...

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/72
Inventor 吴汶泰秦放周健薛珊珊
Owner 成都三零嘉微电子有限公司
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