Multiplier calculating modular multiplicatin of large numbers

A large number analog multiplication and multiplier technology, which is applied in the field of large number analog multiplication calculation multipliers, can solve the problems of increased power consumption, high circuit power consumption, and large circuit area, achieving less increase in circuit area and low circuit power consumption , The effect of small circuit area

Inactive Publication Date: 2010-04-28
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0030] The prior art scheme adopts 4 groups of 2048-bit registers to store binary numbers A, B, N, R respectively, and two groups of 2048-bit adders are used to realize the addition operation in the algorithm. Its disadvantages: one needs a large number of register units; If it is 2048 bits, then (2048x4=8196) register units are needed. When FPGA or ASIC chip realizes the above-mentioned circuit, the increase of the number of registers will cause the circuit area to be large, the circuit power consumption is high, and the circuit cost is high
[0031] The second is that the technical solution is not easy to expand. With the improvement of public key encryption security,

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
  • Multiplier calculating modular multiplicatin of large numbers
  • Multiplier calculating modular multiplicatin of large numbers
  • Multiplier calculating modular multiplicatin of large numbers

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0043] The invention is an optimized hardware implementation scheme of the Montgomery algorithm. Compared with the original technical scheme, all operations of the original technical scheme are implemented by an adder, and the technical scheme of the present invention is implemented by a multiplier; the on-chip SRAM is used instead of the original technical scheme. Registers store operands and intermediate quantities in an operation.

[0044] In order to make the modular multiplication calculation of large numbers more convenient and reduce the use of hardware registers and hardware adders, for the Montgomery algorithm: when the integers A, B and N are given, calculate R=REDC(A, B, N, n), Satisfy the condition R*2 n =A*B mod N; the present invention has made the following improvements: let n=nn*Y, wherein nn is the binary bit number of N in units of Y bits; the modulo inverse N_INV[Y-1:0] satisfies the following conditions: N_INV[Y-1:0]*N[Y-1:0]mod 2 Y =-1. Y may be 1-128. ...

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

A multiplier of large number modulo multification is prepared as connecting REPC control unit to two write - read control ports of double port SRAM and able control port of REDC data channel separately for write - read control and calculation control; using double port synchronous random storage SRAM to store operation number of A, B, N and R in algorithm as well as intermediate result and final result of operation; using data channel to obtain data from two data write - read ports of double SRAM for finalizing operation of multification and addition of large number in algorithm.

Description

technical field [0001] The invention relates to an operation circuit, in particular to a large number modular multiplication calculation multiplier which can be applied in the field of encryption; it belongs to the field of circuit technology. Background technique [0002] Public key encryption algorithms are widely used in the information field (such as network security). The public key encryption algorithm requires the user to have two keys, one public key, which can be used by everyone, to encrypt the plaintext sent to the specified user; the other secret key, which the user can use to decrypt the ciphertext. A prerequisite of the public key algorithm is that it is almost impossible to derive the secret key from the public key. [0003] The RSA cryptosystem based on the difficulty of large number factorization is the most famous public key encryption method, and its key steps are: given non-negative integers M, e, N, calculate R=M e mod N(0<=E, M<N), obviously, t...

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): G06F7/72
Inventor 王海黄勇
Owner HUAWEI TECH CO LTD
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