EP0504996A2

Arithmetic unit for multiplying long integers modulo M and R.S.A. converter provided with such multiplication device.

Abstract

A systolized and modular arithmetic device has a control module, followed by a series arrangement of processing module, followed by a tail module. For multiplying an integer P and an integer Q modulo a third integer M, a provisional product is incremented each time with Q for a -1- bit in P, preceding by a doubling of the product. For a -0- bit only the doubling ensues. Normalizing mod M is effected by adding the complement of M, W, under control of propagated carry values. A similar procedure is proposed for exponentiation of Q. ̂F.

EP0504996A2, drawing sheet 1
Sheet 1 of 7

Term

Term ended

Projected expiry passed 13 March 2012, 14.5 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

7 claims: 1 independent, 6 dependent

  1. 1
    A systolized and modular arithmetic device for multiplying a first multibit integer Q with a second multibit integer P modulo a third multibit integer M, said arithmetic unit comprising a control module followed by a series arrangement of processing modules, followed by a tail module, said processing modules having modular storage means for storing mutually exclusive first bit parts of said first integer Q and mutually exclusive second bit parts indicating said third integer M of pairwise equal significance and along said series arrangement of monotonously decreasing significance levels away from said control module, said control module having presentation means for presenting a control bit of a control bit string in a first cycle and receiving means for receiving a carry value in a second cycle part, and wherein said processing modules have means to receive simultaneously a control bit from said control bit string from their respective more significant neighbour and a carry value from their respective less significant neighbour in a first cycle phase, as well as presentation means for presenting both a carry value to their respective more significant neighbour and the control bit of said control bit string to their respective less significant neighbour in a second phase, and wherein each processing module operates half a cycle out of phase with respect to its neighbours, and wherein said tail module has emulating means for emulating dummy parts of said first and third integers with respect to the low significant end of said series arrangement.
  2. 2
    A device as claimed in Claim 2, wherein said control module has presentation means for serially presenting a control signal string for forward propagation through said series arrangement, under control of carries received as well as successive bit values of said second integer according to monotonously decreasing significance levels, to wit a double instruction followed by an addQ instruction under control of a -1- bit in P, but only a double instruction under control of a zero bit in P, and said series arrangement having backpropagation means for back propagating a carry signal after each control signal, the control module forward propagates an addW instruction for every carry received which results effectively in a substraction of M.
  3. 3
    A device as claimed in Claim 1 or 2, wherein each processing module operates on a single bit significance level.
  4. 4
    A device as claimed in Claim 1, 2 or 3, wherein said control module has detection means for after presentation of all bit signals of said second integer detecting arrival of an unchanged dummy signal from said tail module signalling that no carry or non-dummy control signal is being propagated in said series arrangement for so signalling availability of a modularized product.
  5. 5
    A device as claimed in Claim 1, 2 or 3, wherein said control module has count means for after presentation of all bit signals of said second integer counting said cycles for upon reaching a particular count as determined by the length of said series arrangement signalling that any carry or non-dummy control signal had been rippled out for thereby signalling availability of a modularized product.
  6. 6
    A device as claimed in Claim 1 for exponentiation of an integer X to a power E modulo said third integer M, wherein said series arrangement has control means for loading said integer X as representing said first integer Q and said control module has second control means for activating said presentation means for presenting various powers of said integer X as representing said second integer P, and wherein furthermore recycling means are provided to recycle a preliminary product back to said control module as representing a subsequent value of said second integer P.
  7. 7
    A device as claimed in Claim 6, said control module having selection means for under control of successive bits in said exponent, either squaring said preliminary product, or squaring said preliminary product, followed by multiplying the new preliminary product by said integer X.