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

Montgomery modular multiplication-based data processing method

A data processing and multiplication technology, applied in the computer field, can solve the problems of costing clock cycles, reducing the data processing rate, slow operation speed, etc., so as to reduce the cycle of system operation, improve the data processing rate, and improve the efficiency and speed.

Active Publication Date: 2013-03-27
BEIJING HONGSI ELECTRONICS TECH
View PDF6 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the design of modular multipliers that realize the modular multiplication of large integers mostly uses the Montgomery algorithm and its variants. The existing modular multipliers are designed to store intermediate results and read them when they are needed in the next cycle. The storage device performs frequent reading and writing, and the reading and writing of the storage device takes clock cycles, which affects the working efficiency of the modular multiplier and reduces the data processing rate based on Montgomery modular multiplication, such as the existing Montgomery algorithm. The defect of slow operation speed in hardware implementation will lead to low efficiency and low speed of encryption algorithms such as RSA and ECC

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
  • Montgomery modular multiplication-based data processing method
  • Montgomery modular multiplication-based data processing method
  • Montgomery modular multiplication-based data processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0050] This embodiment provides a data processing method based on Montgomery modular multiplication. The process of modular multiplication processing performed on data by a CPU processor of a computer is used as an example for introduction. In this embodiment, the first random access memory is used to store the modular multiplication. The multiplier in the operation, the second random memory is used to store the multiplicand in the modular multiplication operation, the third random memory is used to store the modulus in the modular multiplication operation, the fourth register is used to store the intermediate operand, the fifth random The memory is used to store the operation result of the modular multiplication operation and the operation re...

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 Montgomery modular multiplication-based data processing method and belongs to the technical field of computers. The method comprises the following steps of: initializing a fifth random access memory through a central processing unit (CPU), and executing the following operations on the contents in a second random access memory by taking words as units, namely (1) calling a multiplying and adding module to multiply one word of the contents of the second random access memory and contents of a first random access memory and add the product with the contents of the fifth random access memory; (2) extracting one word from an operation result of the step (1) and multiplying the word with the contents of a constant register, and writing the low-order word of the multiplied result into a fourth register; and (3) calling the multiplying and adding module to multiply the contents of the fourth register with the contents of the third random access memory and add the product with the contents of the fifth random access memory; and finally, outputting the contents of the fifth random access memory according to the contents of the third memory.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a data processing method based on Montgomery modular multiplication. Background technique [0002] Among the current hardware implementations of large integer modular multiplication algorithms, the Montgomery modular multiplication algorithm is considered to be the most efficient and most suitable for hardware implementation. [0003] At present, the Montgomery algorithm and its variants are mostly used in the design of modular multipliers that realize modular multiplication of large integers. The existing modular multipliers are designed to store intermediate results and read them when needed in the next cycle. The storage device performs frequent reading and writing, and the reading and writing of the storage device takes clock cycles, which affects the working efficiency of the modular multiplier and reduces the data processing rate based on the Montgomery modula...

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/523
CPCG06F7/72G06F7/728G06F3/061G06F3/0655G06F3/0673
Inventor 陆舟于华章
Owner BEIJING HONGSI ELECTRONICS TECH
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